ice
icon = 'ice.dmi'
Entered()
usr.movelock = 1
if(usr.dir == NORTH)
sleep(5)
usr.y ++
if(usr.dir == SOUTH)
sleep(5)
usr.y --
if(usr.dir == EAST)
sleep(5)
usr.x ++
if(usr.dir == WEST)
sleep(5)
usr.x --
usr.movelock = 0
..()
Problem description:
This is under terf, there was just a lot of junk above it that is irrelevant etc.
How do I get this to work ;-;
You step onto the ice and I want you to slide until you hit an object like a tree. ;-;
Calling step() does the trick because it's using movement, events like Entered() will be called on the next step where in your code right now you just change the location without any movement.