mob
verb
Action_Verb(atom/a in get_step(src, src.dir))
if(ismob(a))
if(istype(a, /mob/Monster))
Attack(a)
Problem description: I can't make the code differentiate between certain obj's and mobs. When in-game the code makes a menu-box appear, asking what to target. I need assisstance on how to make it skip over certain obj's and mobs, not counting them at all in the proc.
Alternately, if you do want to target only some kinds of obj or mob what you'll want to do is take out the verb argument entirely. Then, create a new list and manually populate it with the things you want. After you have completed the list, pass it to an input() proc. This will produce the identical effect of giving the player a menu-box to choose from, but now with a tailor-built list.