Files
integration/luprex/core/lua/login.lua

20 lines
420 B
Lua

maketangible('login')
function login.interface(actor, place)
gui.menu_item("becomeplayer", "Become a Player")
end
function login.action.becomeplayer(actor, place, dialog)
tangible.setclass(actor, player)
end
function setfoo(n)
tangible.nopredict()
tangible.actor().inventory.foo = n
end
function buildq()
return tangible.build{class="login", x=10, y=0, z=0, plane="nowhere", graphic="what"}
end