added /tick command
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user