ID:139279
 
Code:
obj
wheat
icon = 'icon.dmi'
icon_state = "wheat"
verb/harvest(O as obj in oview(1))
for(var/obj/wheat/w in loc)
w.Move(usr)


Problem description: I don't know why this code is not working. No errors but It is meant to take all the Wheat in the area. but the verb doesnt even show in the commands tab.

The reason is because the verb is tied to /obj/wheat.

To be able to harvest it of you're near it, you should be doing set src in oview(1, src) or something like that.
In response to LordAndrew
Oh I see. Thank you. It works now