var/icon/I = src
I.Blend(rgb(red,green,blue))
usr.overlays += I
But then I get the following error:
runtime error: undefined proc or verb /obj/Hair/DeLonge/Blend().
proc name: Click (/obj/Hair/Click)
source file: Objects.dm,53
usr: Seraphrevan (/mob/CreatingCharacter)
src: DeLonge (/obj/Hair/DeLonge)
call stack:
DeLonge (/obj/Hair/DeLonge): Click(White (6,6,3) (/turf/White))
Which points to this line of code:
I.Blend(rgb(red,green,blue))
Any help would be much appreciated.
var/icon/I = src.icon