mob/var
grabbed=0
grabee=null
mob/verb/grab(mob/M in get_step(src,dir
set category = "Skills"
grabee=M
M.grabbed=1
mob/Move()
if(!grabbed)
for(var/mob/M in oview())
if(grabee==M)
M.loc=locate(x,y,z)
..()
mob
verb
release()
set category = "Skills"
grabbed=0
grabee=null
Problem description:
I understand that this is my second post out of 3 hours, but I tried and tried, but I cant seem to do it. What I need is so that the player can also grab obj's, not just mobs. When I try to code it, I get a bunch of errors.
Can someone help? (Hoping this is the only big error I get in a while)