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

29 lines
625 B
Lua
Raw Normal View History

2021-06-02 15:00:14 -04:00
maketangible('login')
function login.interface(actor, place)
gui.menu_item("becomeplayer", "Become a Player")
2021-11-26 15:45:36 -05:00
gui.menu_item("p123", "Print 1, 2, 3")
2021-06-02 15:00:14 -04:00
end
function login.action.becomeplayer(actor, place, dialog)
tangible.setclass(actor, player)
end
2021-11-26 15:45:36 -05:00
function login.action.p123(actor, place, dialog)
print(1)
wait(1)
print(2)
wait(1)
print(3)
end
2021-12-15 23:03:43 -05:00
-- this is function documentation for setfoo.
2021-11-21 13:35:39 -05:00
function setfoo(n)
tangible.nopredict()
2021-11-23 13:18:23 -05:00
tangible.actor().inventory.foo = n
2021-11-21 13:35:39 -05:00
end
function buildq()
return tangible.build{class="login", x=10, y=0, z=0, plane="nowhere", graphic="what"}
end