mob
Barber
icon = 'guy.dmi'
verb
Talk()
set src in oview(1)
set category ="Communication"
switch(input("Do you want to get your Hair Cut?", text) in list ("Yes","No"))
if ("Yes")
switch(input("What hair style do you want?", "Customization", text) in list ("default","Spikey"))
if("Spikey")
usr.overlays = 0
var/new_rgb = F_Color_Selector.Get_Color(src)
var/icon/I = new('hair_black_spikey.dmi')
I.Blend(new_rgb)
usr.overlays = I
else
usr << "Just Shorting this
Problem description:
Just trying to get away from the 3 ol' input screens. but i have no idea how this works. Please advise.
var/new_rgb = F_Color_Selector.Get_Color(src)
"src" is the "Barber", which is passing the barber into the proc as an argument, when it should be the player.
var/new_rgb = F_Color_Selector.Get_Color(usr)
Is what you need.