aboutsummaryrefslogtreecommitdiff
path: root/gamemode/npcsystem/sh_shop.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/npcsystem/sh_shop.lua')
-rw-r--r--gamemode/npcsystem/sh_shop.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/gamemode/npcsystem/sh_shop.lua b/gamemode/npcsystem/sh_shop.lua
new file mode 100644
index 0000000..c2b291d
--- /dev/null
+++ b/gamemode/npcsystem/sh_shop.lua
@@ -0,0 +1,16 @@
+local reg = nrequire("sh_npcsystem.lua")
+
+local base = nrequire("sh_talkablenpc.lua")
+local npc = {}
+
+local npc_m = {__index = function(self,key)
+ return base[key]
+end}
+
+setmetatable(npc,npc_m)
+
+npc.Name = "Shopkeep"
+
+reg.RegisterNPC(npc)
+
+return npc