Basicly I am trying to get the players HAIR changed with a RGB input. I have never used the F_COLOR_LIB before, and I am having a few problems :)
Right now it is giving me an error saying
runtime error: undefined proc or verb /obj/Hair/Long/Blend().
proc name: Create New (/mob/proc/Create_New)
source file: Login.dm,68
usr: the kl (/mob/Player)
src: the kl (/mob/Player)
call stack:
the kl (/mob/Player): Create New()
(4,10,1) (/turf/Title/New): Click( (4,10,1) (/turf/Title/New))
Code:
STEP3
var/obj/Hair
src.Hair = input("What type of hair do you have?")in list("Bald","Short","Spikey","Messy","Erect","Long")
switch(src.Hair)
if("Short")
Hair = new/obj/Hair/Short
src.Hair = "Short"
if("Long")
Hair = new/obj/Hair/Long
src.Hair = "Long"
if("Spikey")
Hair = new/obj/Hair/Spikey
src.Hair = "Spikey"
if("Messy")
Hair = new/obj/Hair/Messy
src.Hair = "Messy"
if("Erect")
Hair = new/obj/Hair/Erect
src.Hair = "Erect"
var/new_rgb = F_Color_Selector.Get_Color(src)
src.Old_RGB = new_rgb
var/icon/I = Hair
I.Blend(new_rgb)
Hair.icon = I
src.overlays += Hair
goto STEP4