diff --git a/entities/weapons/nut_hands.lua b/entities/weapons/nut_hands.lua index dd8d00da..232d0f5b 100644 --- a/entities/weapons/nut_hands.lua +++ b/entities/weapons/nut_hands.lua @@ -62,7 +62,7 @@ CARRY_FORCE_LEVEL = { -- gameplay purposes CARRY_WEIGHT_LIMIT = 100 --- I know some people will fuck around with new prop-throwing system. I'm preventing that shit without making it too non-sense +-- Prevent prop-throwing system abuse. THROW_VELOCITY_CAP = 150 PLAYER_PICKUP_RANGE = 200 diff --git a/gamemode/core/derma/cl_dev_icon.lua b/gamemode/core/derma/cl_dev_icon.lua index b4145d11..c4de1e64 100644 --- a/gamemode/core/derma/cl_dev_icon.lua +++ b/gamemode/core/derma/cl_dev_icon.lua @@ -243,7 +243,7 @@ function PANEL:Init() btn:DockMargin(5, 5, 5, 0) btn.DoClick = function() self:SetupEditor(true, i) - self:UpdateShits() + self:UpdateIcon() end end @@ -258,7 +258,7 @@ function PANEL:Init() self.mdl.OnEnter = function() ICON_INFO.modelName = self.mdl:GetValue() self:SetupEditor(true) - self:UpdateShits() + self:UpdateIcon() end self:AddText("Icon Size") @@ -396,10 +396,10 @@ function PANEL:Init() end self:SetupEditor() - self:UpdateShits(true) + self:UpdateIcon(true) end -function PANEL:UpdateShits() +function PANEL:UpdateIcon() fagLord = true self.camFOV:SetValue(ICON_INFO.FOV) local p = self.prev diff --git a/gamemode/core/libs/sh_chatbox.lua b/gamemode/core/libs/sh_chatbox.lua index a4180358..8eff1c63 100644 --- a/gamemode/core/libs/sh_chatbox.lua +++ b/gamemode/core/libs/sh_chatbox.lua @@ -81,15 +81,6 @@ function nut.chat.parse(client, message, noSend) local anonymous = false local chatType = "ic" - --[[ - -- fuckoff - -- Handle anonymous/unknown speaker chat. - if (message:sub(1, 1) == "?" and message:sub(2):find("%S")) then - anonymous = true - message = message:sub(2) - end - ]] - -- Loop through all chat classes and see if the message contains their prefix. for k, v in pairs(nut.chat.classes) do local isChosen = false diff --git a/gamemode/core/libs/thirdparty/cl_ikon.lua b/gamemode/core/libs/thirdparty/cl_ikon.lua index 1899d08e..ecf35475 100644 --- a/gamemode/core/libs/thirdparty/cl_ikon.lua +++ b/gamemode/core/libs/thirdparty/cl_ikon.lua @@ -44,7 +44,7 @@ ikon = ikon or {} ikon.dev = false -ikon.maxSize = 8 -- 8x8 (512^2) is max icon size. eitherwise, fuck off. +ikon.maxSize = 8 -- 8x8 (512^2) is max icon size. /* Initialize hooks and RT Screens. @@ -66,7 +66,6 @@ function ikon:init() */ OLD_HALOADD = OLD_HALOADD or halo.Add function halo.Add(...) - -- shut the fuck up if (ikon.rendering != true) then OLD_HALOADD(...) end @@ -74,7 +73,7 @@ function ikon:init() OLD_HALORENDER = OLD_HALORENDER or halo.Render function halo.Render(...) - -- shut the fuck up + if (ikon.rendering != true) then OLD_HALORENDER(...) end @@ -321,22 +320,17 @@ function ikon:renderIcon(name, w, h, mdl, camInfo, updateCache) file.Write("nsIcon/" .. schemaName .. "/" .. name .. ".png", capturedIcon) ikon.info = nil render.PopRenderTarget() - - -- lol blame your shit mate + if (updateCache) then - -- it's all your falut - -- you rendered wrong shit - -- if you know better solution, give me to it. - local noshit = tostring(os.time()) - file.Write(noshit .. ".png", capturedIcon) + local iconString = tostring(os.time()) + file.Write(iconString .. ".png", capturedIcon) timer.Simple(0, function() - local wtf = Material("../data/".. noshit ..".png") + local wtf = Material("../data/".. iconString ..".png") ikon.cache[name] = wtf - file.Delete(noshit .. ".png") + file.Delete(iconString .. ".png") end) - -- make small ass texture and put that thing in here? end ikon.requestList[name] = nil return true diff --git a/gamemode/core/libs/thirdparty/sh_pon.lua b/gamemode/core/libs/thirdparty/sh_pon.lua index fd09b31b..210ae5c6 100644 --- a/gamemode/core/libs/thirdparty/sh_pon.lua +++ b/gamemode/core/libs/thirdparty/sh_pon.lua @@ -95,7 +95,7 @@ do if predictedNumeric == nil then output[#output + 1] = '[' -- no array component else - output[#output + 1] = '~' -- array component came first so shit needs to happen + output[#output + 1] = '~' -- array component came first end for k, v in next, tbl, predictedNumeric do diff --git a/plugins/area/sh_plugin.lua b/plugins/area/sh_plugin.lua index 54c739aa..b6015b04 100644 --- a/plugins/area/sh_plugin.lua +++ b/plugins/area/sh_plugin.lua @@ -254,7 +254,6 @@ else end -- draw matrix string. - -- slow as fuck I guess? local function drawMatrixString(str, font, x, y, scale, angle, color) surface.SetFont(font) local tx, ty = surface.GetTextSize(str) diff --git a/plugins/doors/sh_commands.lua b/plugins/doors/sh_commands.lua index 955c1224..9227ca70 100644 --- a/plugins/doors/sh_commands.lua +++ b/plugins/doors/sh_commands.lua @@ -27,7 +27,7 @@ nut.command.add("doorsell", { -- Take their money and notify them. client:getChar():giveMoney(price) client:notifyLocalized("dSold", nut.currency.get(price)) - hook.Run("OnPlayerPurchaseDoor", client, entity, false, PLUGIN.callOnDoorChildren) -- i fucking hate this life + hook.Run("OnPlayerPurchaseDoor", client, entity, false, PLUGIN.callOnDoorChildren) nut.log.add(client, "selldoor") else -- Otherwise tell them they can not. @@ -79,7 +79,7 @@ nut.command.add("doorbuy", { client:getChar():takeMoney(price) client:notifyLocalized("dPurchased", nut.currency.get(price)) - hook.Run("OnPlayerPurchaseDoor", client, entity, true, PLUGIN.callOnDoorChildren) -- i fucking hate this life + hook.Run("OnPlayerPurchaseDoor", client, entity, true, PLUGIN.callOnDoorChildren) nut.log.add(client, "buydoor") else -- Otherwise tell them they can not.