From 28affa22541b9ef251707793f6b1c1a26d663592 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sat, 3 Nov 2018 18:23:45 -0400 Subject: Started on new npc system Started work on the new npc system --- gamemode/npcsystem/sh_talkablenpc.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gamemode/npcsystem/sh_talkablenpc.lua (limited to 'gamemode/npcsystem/sh_talkablenpc.lua') diff --git a/gamemode/npcsystem/sh_talkablenpc.lua b/gamemode/npcsystem/sh_talkablenpc.lua new file mode 100644 index 0000000..9e1cfb9 --- /dev/null +++ b/gamemode/npcsystem/sh_talkablenpc.lua @@ -0,0 +1,14 @@ +--[[ + Some basics for talking to npcs +]] +local reg = nrequire("sh_npcsystem.lua") + +local base = nrequire("sh_basenpc.lua") +local npc = {} +setmetatable(npc,{__index = base}) + +npc.Name = "Talkable NPC Base" + +reg.RegisterNPC(npc) + +return npc -- cgit v1.2.3-70-g09d2