summaryrefslogtreecommitdiff
path: root/lua/autorun/town.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-09-02 17:33:23 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-09-02 17:33:23 -0400
commit9cafd07d43443a662bd279d4a303586e29d92a4e (patch)
tree91f10000f6ec6ef0e004c146909945ffed885772 /lua/autorun/town.lua
parent147c4b979de268fdf45c01beb0bb877d32e3e32c (diff)
downloadartery_editor-9cafd07d43443a662bd279d4a303586e29d92a4e.tar.gz
artery_editor-9cafd07d43443a662bd279d4a303586e29d92a4e.tar.bz2
artery_editor-9cafd07d43443a662bd279d4a303586e29d92a4e.zip
Various updates
Diffstat (limited to 'lua/autorun/town.lua')
-rw-r--r--lua/autorun/town.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/autorun/town.lua b/lua/autorun/town.lua
index 0d36f41..a6f6e87 100644
--- a/lua/autorun/town.lua
+++ b/lua/autorun/town.lua
@@ -88,6 +88,11 @@ local fakes = {
e:SetPos(pos)
e:Spawn()
end
+ },
+ ["core/inventory/inventory.lua"] = {
+ CreateInventory = function(name)
+ return {}
+ end
}
}
fakes["core/npc/sv_npcsystem.lua"] = fakes["sv_npcsystem.lua"]
@@ -149,4 +154,5 @@ concommand.Add("artery_loadtownies",function(ply,cmd,args)
if not ply:IsAdmin() then return end
loadtownies()
end)
+
hook.Add("InitPostEntity","load_lua",loadtownies)