ID:142921
 
Code:
obj
shirt
name = "Shirt"
icon = 'newHumanBase.dmi'
icon_state = "shirt"
verb
Wear()
set src in oview(2)
usr.overlays+=/obj/shirt


Problem description:
So I was trying to figure out how to do this overlay thing, and it doesn't work. Instead it's using another state instead of "shirt".
obj
shirt
name = "Shirt"
icon = 'newHumanBase.dmi'
icon_state = "shirt"
verb
Wear()
set src in oview(2)
usr.overlays+='newHumanBase.dmi'
In response to Pirata Inmortal
Problem there is there's more than one state in the newHumanBase.dmi file.
Add src to overlays instead of /obj/shirt. Adding type paths to overlays is generally not a good idea.