ID:167162
 
Code:
    naruto_hair
identifier="shield"

naruto_hair
icon='armor.dmi'
icon_state="naruto_hair"
defense=8
OnEquip()

if(istype(src.loc,/mob))

var/mob/P=loc

P.defense+=src.defense

OnRemoval()

if(istype(src.loc,/mob))

var/mob/P=loc

P.defense-=src.defense

Problem description:
any 1 please help me all i want to do is when you equip "naruto hair" the hair will show up.. but the code above when you equip the hair it wont show out.. please help me

thank you..
You have to add it to the mob's overlays.
mob.overlays+=obj
In response to Artekia
Artekia wrote:
You have to add it to the mob's overlays.
> mob.overlays+=obj
>


where am i going to put it?