2021-04-09 19:01:18 +00:00

7 lines
175 B
Lua

local lastMove = now
onPlayerPositionChange(function(newPos, oldPos)
if now - lastMove > 13*60*1000 then
turn(math.random(0,3))
lastMove = now
end
end)