blob: 85c5aaafe57b17a94eb9797f8d2482877a37a459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--[[
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"
--Get the dialog for a particular player
function npc.getDialogFor(ply)
end
reg.RegisterNPC(npc)
return npc
|