19 lines
400 B
Plaintext
19 lines
400 B
Plaintext
@LAZYGLOBAL OFF.
|
|
|
|
function warp_to {
|
|
parameter timestamp.
|
|
|
|
if timestamp <= TIME:seconds {
|
|
return.
|
|
}
|
|
|
|
print "Warping for " + round(timestamp - TIME:seconds, 1) + " seconds".
|
|
KUNIVERSE:timewarp:warpto(timestamp). // TODO: improve.
|
|
wait until TIME:seconds >= timestamp. // TODO
|
|
}
|
|
|
|
function warp_for {
|
|
parameter seconds.
|
|
return warp_to(TIME:seconds + seconds).
|
|
}
|