mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
33
gamemodes/ixhl2rp/plugins/willardskills/cl_recipe.lua
Normal file
33
gamemodes/ixhl2rp/plugins/willardskills/cl_recipe.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
|
||||
local PLUGIN = PLUGIN
|
||||
|
||||
netstream.Hook("RebuildCrafting", function(data)
|
||||
PLUGIN.craftingPanel:Rebuild()
|
||||
end)
|
||||
|
||||
netstream.Hook("CraftTime", function(data)
|
||||
ix.CraftCooldown = data
|
||||
end)
|
||||
|
||||
netstream.Hook("SendMessageListToClient", function(messagelist, storedNewspapers)
|
||||
LocalPlayer().messagelist = messagelist
|
||||
local capda = vgui.Create("ixCAPDA")
|
||||
capda.storedNewspapers = storedNewspapers
|
||||
capda:CreateNewspaperButton()
|
||||
end)
|
||||
|
||||
-- Called when the local player's crafting is rebuilt.
|
||||
function PLUGIN:PlayerCraftingRebuilt(panel, categories) end
|
||||
|
||||
-- Called when the local player's crafting item should be adjusted.
|
||||
function PLUGIN:PlayerAdjustCraftingRecipe(recipe) end
|
||||
Reference in New Issue
Block a user