obj/item
ShirtM
name = "Shirt"
icon = 'Shirt.dmi'
var
Wear = 0
verb
Change_Color()
set name = "Change Color"
var/r = input("How much red?","Hair Color") as num
var/g = input("How much green?","Hair Color") as num
var/b = input("How much blue?","Hair Color") as num
icon += rgb(r,g,b)
Wear()
if(src.Wear==0)
src.Wear = 1
usr.overlays += 'Shirt.dmi'
usr << "You wear the [src.name]."
src.suffix = "Equipped"
else
src.Wear = 0
usr.overlays -= 'Shirt.dmi'
usr << "You take off the [src.name]."
src.suffix = ""
Problem description: It colors the src in your inventory just fine. Problem is, when you wear the src, it's still black like the icon file.