This commit is contained in:
2022-03-16 15:47:46 -04:00
parent 3b1c3e022a
commit 18c133ca9d
3 changed files with 76 additions and 14 deletions

View File

@@ -6,6 +6,9 @@ function login.interface(actor, place)
end
function login.cb_becomeplayer(actor, place, dialog)
actor.kind='P'
actor.Count={}
setmetatable(actor.Count,{jones=5,__index=function(t,k) return 0 end,__newindex=function(t,k,v) if v~=nil and v~=0 then rawset(t,k,v) end end})
tangible.setclass(actor, player)
tangible.animate(actor,{action="warp",plane="main",x=0,y=0,z=0})
end