var/const
HAIR_LAYER = FLOAT_LAYER-3
var
Mullet
Gotenks
obj/overlay
hair
icon = 'hairstyles.dmi'
icon_state = "Mullet"
pixel_y=1;layer=100;pixel_x=0
layer = HAIR_LAYER
hair1
icon = 'hair.dmi'
icon_state = "Gotenks"
pixel_y=1;layer=100;pixel_x=0
layer = HAIR_LAYER
mob/player/verb
style_hair()
input("Please select a hair style.") in list("Mullet","Gotenks")
if("Mullet")
overlays += /obj/overlay/hair
else if("Gotenks")
overlays += /obj/overlay/hair1
Problem description:Above is code for a hair verb, I found part of it on this forum and tried to modify it to fit my needs. What I want is once you have used the verb, an input with a list of options(currently 2 options) to pop up and have you select what hairstyle you want. What's happening is either option you pick you still end up with the Mullet. I know this code isn't right but it's compiling fine. Still new to this so any help is appreciated.
-BIGBROYO