ID:315076
 
(See the best response by DarkCampainger.)
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~.
Best response
You can use get_step() to get a turf in a certain direction from the player:
mob/verb/test()
var/turf/T = get_step(src,src.dir)
if(T.newtype == "Tree")
src<<"Bonk!"
Ah, hell..It really WAS simple. I'd been using get step, but for some reason it wasn't working right. I've got a problem with overthinking, and it shows based on my attempts at this, haha.

That said, thanks a lot. I feel silly now, but at least I can continue :X.