ID:164557
 
ok, I need a suit that u can equip AND have an overlay of the suit icon also i need it were u have verbs such as cloak,fly,ect.
There is no such thing as "a code" in programming, in almost all cases. Code is its own plural when referring to programming.
mob
var
equipped

obj
Suit
icon = 'suit.dmi'
verb
Equip(obj in oview(1))
if(usr.equipped == 0)
usr.equipped == 1
usr.overlays += 'suit.dmi'
else
usr << "You already have [src] equipped!"
return ..()


Unequip()
if(usr.equipped == 1)
usr.equipped == 0
usr.overlays -= 'suit.dmi'
else
usr << "You don't have anything equipped!"
return ..()


That should work (only) if your using just the cloak.

*note* I don't have time to do the verbs you asked for.
*edit* Make sure you know how this works before you use it.