Alright, this one's killing me. I can't seem to get something to work, unfortunately.
What I'm wanting is a verb that checks if the tile in front of them is a turf. If it is, it checks the turf's var called "newtype". then, if the turf's "newtype" is "Tree", it outputs usr<<"Bonk" so that I can see that it's working :D.
Sorry if that doesn't make sense, I can try to explain it better if you can't understand my cryptic descriptions. I have a feeling there is going to be an easy solution, but it's just out of my reach at this point
thanks in advance~.
Feb 18 2012, 2:08 am
Best response
|
|
You can use get_step() to get a turf in a certain direction from the player:
|