Merge branch 'main' of https://github.com/jyelon/luprex into main
This commit is contained in:
@@ -3,6 +3,7 @@ makeclass('login')
|
||||
function login.interface(actor, place)
|
||||
gui.menu_item("cb_becomeplayer", "Become a Player")
|
||||
gui.menu_item("cb_p123", "Print 1, 2, 3")
|
||||
gui.menu_item("cb_p123_nopredict", "Print 1, 2, 3 nopredict")
|
||||
gui.menu_item("cb_uglytimedaemon","Start the Time Daemon")
|
||||
end
|
||||
|
||||
@@ -23,12 +24,12 @@ function login.cb_p123(actor, place, dialog)
|
||||
print(3)
|
||||
end
|
||||
|
||||
-- this is function documentation for setfoo.
|
||||
function setfoo(n)
|
||||
tangible.nopredict()
|
||||
tangible.actor().inventory.foo = n
|
||||
function login.cb_p123_nopredict(actor, place, dialog)
|
||||
nopredict()
|
||||
print(1)
|
||||
wait(1)
|
||||
print(2)
|
||||
wait(1)
|
||||
print(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