added /tick command

This commit is contained in:
2021-11-26 15:45:36 -05:00
parent 1e93533246
commit 742209988b
9 changed files with 61 additions and 21 deletions

View File

@@ -2,12 +2,21 @@ maketangible('login')
function login.interface(actor, place)
gui.menu_item("becomeplayer", "Become a Player")
gui.menu_item("p123", "Print 1, 2, 3")
end
function login.action.becomeplayer(actor, place, dialog)
tangible.setclass(actor, player)
end
function login.action.p123(actor, place, dialog)
print(1)
wait(1)
print(2)
wait(1)
print(3)
end
function setfoo(n)
tangible.nopredict()
tangible.actor().inventory.foo = n
@@ -16,4 +25,3 @@ end
function buildq()
return tangible.build{class="login", x=10, y=0, z=0, plane="nowhere", graphic="what"}
end