From b9c323a705caa324cebfea994cf7b69294f9eebe Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Mon, 6 Nov 2017 21:13:46 -0500 Subject: Several additions * Minor bugfix / feature addition for dropped entities * Major bugfix for inventories * Adjusted logo * ADded some more skills * Stoped bundeling bobbleheadbob's zones api --- gamemode/inventorysystem/shapedinventory/sh_shaped.lua | 2 ++ gamemode/inventorysystem/skills/sh_skillcommon.lua | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'gamemode/inventorysystem') diff --git a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua index 1b53d43..e9b2e91 100644 --- a/gamemode/inventorysystem/shapedinventory/sh_shaped.lua +++ b/gamemode/inventorysystem/shapedinventory/sh_shaped.lua @@ -104,6 +104,8 @@ function inv:Remove(tbl) end end end + print("shaped is returning",item) + return item end function inv:Get(tbl) diff --git a/gamemode/inventorysystem/skills/sh_skillcommon.lua b/gamemode/inventorysystem/skills/sh_skillcommon.lua index d48fb98..fd05eaa 100644 --- a/gamemode/inventorysystem/skills/sh_skillcommon.lua +++ b/gamemode/inventorysystem/skills/sh_skillcommon.lua @@ -2,7 +2,7 @@ Common functions since skills are a special inventory, adding skills need to be a special item ]] local itm = nrequire("item.lua") - +local log = nrequire("log.lua") --Common things --Make sure items have a "name" and "ammt" attribute local item = {} -- cgit v1.2.3-70-g09d2