Help with hair coding!

Can anyone make me a hair template that only allows the readers to change their hair into low styled, afro hair and updo hairstyles? I tried dara amaries but her template unlocks all the hairstyles I only want those 3 categories

1 Like

Try this. All credit goes to Dara, all I did was edit it.

Template
        NARRATOR
    Do you want to change your hairstyle?

choice
"Yes, let's change it!" {
goto hair_styles_0
} "No, keep my current hairstyle." {
        NARRATOR
    Are you sure you don't want to change it?
choice
"Yes, I'm sure." {
goto after_hair_change_0
} "Actually, let's change it!" {
goto hair_styles_0
}}

label hair_styles_0

        NARRATOR
    All hairstyles.

choice
"Afro-Textured" {
goto hair_Afro_0
} "Updo's" {
goto hair_Updo_0
}"Low Styled" {
goto hair_Styled_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}

label hair_Afro_0

        NARRATOR
    Afro-textured hairstyles.

choice [shouldPaginate: YES]
"Afro" {
@FEMALEAVATAR changes hair into Afro
goto hair_Afro_0
} "Short Afro" {
@FEMALEAVATAR changes hair into Short Afro
goto hair_Afro_0
}"Type 4 Afro" {
@FEMALEAVATAR changes hair into Type 4 Afro
goto hair_Afro_0
}"Natural Afro" {
@FEMALEAVATAR changes hair into Natural Afro
goto hair_Afro_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Type 4 High Puff" {
@FEMALEAVATAR changes hair into Type 4 High Puff Hair
goto hair_Afro_0
}"Braided Afro Bun" {
@FEMALEAVATAR changes hair into Braided Afro Bun
goto hair_Afro_0
}"Double Afro Puffs" {
@FEMALEAVATAR changes hair into Curly Double Afro Puffs
goto hair_Afro_0
}"Natural Pulled Updo" {
@FEMALEAVATAR changes hair into Natural Curly Pulled Updo Hair
goto hair_Afro_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Shoulder Curly" {
@FEMALEAVATAR changes hair into Medium Shoulder Curly
goto hair_Afro_0
}"Shoulder Curly Half Bun" {
@FEMALEAVATAR changes hair into Medium Shoulder Curly Bun Hair
goto hair_Afro_0
}"Voluminous Curls" {
@FEMALEAVATAR changes hair into Voluminous Curls
goto hair_Afro_0
}"High Bun Coil" {
@FEMALEAVATAR changes hair into Type 3 High Bun Coil Hair
goto hair_Afro_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Short Fade" {
@FEMALEAVATAR changes hair into Short Curly Fade
goto hair_Afro_0
}"Bantu Knots" {
@FEMALEAVATAR changes hair into Bantu Knots
goto hair_Afro_0
}"Updo Braids" {
@FEMALEAVATAR changes hair into Braids Updo
goto hair_Afro_0
}"Braided Bun" {
@FEMALEAVATAR changes hair into Braided Bun
goto hair_Afro_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Dreads Braided Parted" {
@FEMALEAVATAR changes hair into Dreads Braided
goto hair_Afro_0
}"Locks" {
@FEMALEAVATAR changes hair into Shoulder Length Locks Hair
goto hair_Afro_0
}"Side Shave Braids" {
@FEMALEAVATAR changes hair into Curly Braids Hair
goto hair_Afro_0
}"Faux Hawk" {
@FEMALEAVATAR changes hair into Long Faux Hawk Solid
goto hair_Afro_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Medium Braided" {
@FEMALEAVATAR changes hair into Medium Braided
goto hair_Afro_0
}"Long Braided" {
@FEMALEAVATAR changes hair into Long Braided
goto hair_Afro_0
}"Medium Dreadlocks" {
@FEMALEAVATAR changes hair into Medium Dreadlocks
goto hair_Afro_0
}"Long Dreadlocks" {
@FEMALEAVATAR changes hair into Long Dreadlocks
goto hair_Afro_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}


label hair_Updo_0

        NARRATOR
    Updo hairstyles.

choice [shouldPaginate: YES]
"Updo Low Bun" {
@FEMALEAVATAR changes hair into Updo
goto hair_Updo_0
}"Updo Curly Messy" {
@FEMALEAVATAR changes hair into Updo Curly Messy
goto hair_Updo_0
}"Updo Twist Bangs" {
@FEMALEAVATAR changes hair into Updo High Twist Bangs Blunt
goto hair_Updo_0
}"Morning Updo" {
@FEMALEAVATAR changes hair into Morning Updo
goto hair_Updo_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Small Bun" {
@FEMALEAVATAR changes hair into Small Bun
goto hair_Updo_0
}"Messy Sock Bun" {
@FEMALEAVATAR changes hair into Messy Sock Bun
goto hair_Updo_0
}"Double Buns" {
@FEMALEAVATAR changes hair into Double Buns
goto hair_Updo_0
}"Blunt Bangs Ponytail" {
@FEMALEAVATAR changes hair into Pony Tail Blunt Bangs
goto hair_Updo_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Braided Curly Pony" {
@FEMALEAVATAR changes hair into Braided Curly Pony
goto hair_Updo_0
}"Messy Ponytail" {
@FEMALEAVATAR changes hair into Short Messy Pony Tail
goto hair_Updo_0
}"Updo Princess Braid" {
@FEMALEAVATAR changes hair into Long Updo Wavy Princess Braid
goto hair_Updo_0
}"High Spiral Pigtail" {
@FEMALEAVATAR changes hair into High Spiral Pigtail Hair
goto hair_Updo_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Short Ponytail" {
@FEMALEAVATAR changes hair into Short High Ponytail
goto hair_Updo_0
}"Long Ponytail" {
@FEMALEAVATAR changes hair into Long High Ponytail
goto hair_Updo_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}


label hair_Styled_0

        NARRATOR
    Low styled hairstyles.

choice [shouldPaginate: YES]
"Sleek Ponytail" {
@FEMALEAVATAR changes hair into Sleek Ponytail
goto hair_Styled_0
}"Over Shoulder Braid" {
@FEMALEAVATAR changes hair into Over Shoulder Braid
goto hair_Styled_0
}"Double Dutch Braids" {
@FEMALEAVATAR changes hair into Long Double Dutch Braids
goto hair_Styled_0
}"Side Swept" {
@FEMALEAVATAR changes hair into Side Swept Updo Long
goto hair_Styled_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Pinup Rolls" {
@FEMALEAVATAR changes hair into Pinup Victory Rolls
goto hair_Styled_0
}"High Wavy Pony Tail Over Shoulder" {
@FEMALEAVATAR changes hair into High Wavy Pony Tail Over Shoulder Solid
goto hair_Styled_0
}"Bouffant Wavy" {
@FEMALEAVATAR changes hair into Bouffant Long Wavy
goto hair_Styled_0
}"Long Wavy Ponytail" {
@FEMALEAVATAR changes hair into Updo Pony Wavy Long
goto hair_Styled_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Half Up Top Knot Ponytail" {
@FEMALEAVATAR changes hair into Medium Half Up Top Knot Ponytail
goto hair_Styled_0
}"Long Half Up Ponytail" {
@FEMALEAVATAR changes hair into Long Half Up Ponytail Hair
goto hair_Styled_0
}"Side Bang Double Bun" {
@FEMALEAVATAR changes hair into Medium Side Bang Double Bun
goto hair_Styled_0
}"Double Bun Half Down" {
@FEMALEAVATAR changes hair into Double Bun Half Down Hair
goto hair_Styled_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}
"Updo Curly Long" {
@FEMALEAVATAR changes hair into Updo Curly Long
goto hair_Styled_0
}"Long Curl Half Updo" {
@FEMALEAVATAR changes hair into Long Curl Half Updo
goto hair_Styled_0
}"Full Pigtail" {
@FEMALEAVATAR changes hair into Full Pigtail
goto hair_Styled_0
}"Punk Hair" {
@FEMALEAVATAR changes hair into Cropped Punk Cut
goto hair_Styled_0
}<GREEN>"Back to Styles"{
goto hair_styles_0
}<PREMIUM>"Done"{
goto hair_change_end_0
}

label hair_change_end_0

        NARRATOR
    Is this the look you're going for?

choice
<PREMIUM> "Yes, I look perfect!" {
readerMessage Follow @dara.amarie.ep on Instagram! with messageTitle Hair Template Credit
@FEMALEAVATAR is blush_shy
goto after_hair_change_0
} "No, I want to try a different style." {
goto hair_styles_0
}

label after_hair_change_0
#continue story here

IT WORKED THANK YOU SO MUCH!! Are you sure you dont want me to credit you? I can credit both you and dara.

I don’t need credit, no worries. I did nothing to contribute to the template itself, all I did was cut out the other options. Morally it wouldn’t be right to take credit for editing another person’s creation, but I appreciate the thought :slight_smile:

I’m glad this was what you were looking for, best of luck with your story :slight_smile:

2 Likes