(Free to use) Multiple Choice code block for hair customisation option

HAHAHA I AM SO STUPID
Why did I write this it was not worth it
If you for some reason want your character hair customisation choices (color, length, texture) to be on the same page, don’t make the mistake of writing 1K/426lines and copy paste this GOD I AM SO STUPID

*choice Length Color Texture
 #buzzed
  #black
   #straight
    *set hair_texture "straight"
    *set hair_length "buzzed"
    *set hair_color "black"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "buzzed"
    *set hair_color "black"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "buzzed"
    *set hair_color "black"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "buzzed"
    *set hair_color "black"
    *goto hair
  #brown
   #straight
    *set hair_texture "straight"
    *set hair_length "buzzed"
    *set hair_color "brown"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "buzzed"
    *set hair_color "brown"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "buzzed"
    *set hair_color "brown"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "buzzed"
    *set hair_color "brown"
    *goto hair
  #blond
   #straight
    *set hair_texture "straight"
    *set hair_length "buzzed"
    *set hair_color "blond"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "buzzed"
    *set hair_color "blond"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "buzzed"
    *set hair_color "blond"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "buzzed"
    *set hair_color "blond"
    *goto hair
  #ginger
   #straight
    *set hair_texture "straight"
    *set hair_length "buzzed"
    *set hair_color "ginger"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "buzzed"
    *set hair_color "ginger"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "buzzed"
    *set hair_color "ginger"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "buzzed"
    *set hair_color "ginger"
    *goto hair
 #short
  #black
   #straight
    *set hair_texture "straight"
    *set hair_color "black"
    *set hair_length "short"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "black"
    *set hair_length "short"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "black"
    *set hair_length "short"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "black"
    *set hair_length "short"
    *goto hair
  #brown
   #straight
    *set hair_texture "straight"
    *set hair_color "brown"
    *set hair_length "short"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "brown"
    *set hair_length "short"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "brown"
    *set hair_length "short"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "brown"
    *set hair_length "short"
    *goto hair
  #blond
   #straight
    *set hair_texture "straight"
    *set hair_color "blond"
    *set hair_length "short"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "blond"
    *set hair_length "short"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "blond"
    *set hair_length "short"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "blond"
    *set hair_length "short"
    *goto hair
  #ginger
   #straight
    *set hair_texture "straight"
    *set hair_color "ginger"
    *set hair_length "short"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "ginger"
    *set hair_length "short"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "ginger"
    *set hair_length "short"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "ginger"
    *set hair_length "short"
    *goto hair
 #chin length
  #black
   #straight
    *set hair_texture "straight"
    *set hair_color "black"
    *set hair_length "chin length"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "black"
    *set hair_length "chin length"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "black"
    *set hair_length "chin length"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "black"
    *set hair_length "chin length"
    *goto hair
  #brown
   #straight
    *set hair_texture "straight"
    *set hair_color "brown"
    *set hair_length "chin length"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "brown"
    *set hair_length "chin length"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "brown"
    *set hair_length "chin length"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "brown"
    *set hair_length "chin length"
    *goto hair
  #blond
   #straight
    *set hair_texture "straight"
    *set hair_color "blond"
    *set hair_length "chin length"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "blond"
    *set hair_length "chin length"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "blond"
    *set hair_length "chin length"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "blond"
    *set hair_length "chin length"
    *goto hair
  #ginger
   #straight
    *set hair_texture "straight"
    *set hair_color "ginger"
    *set hair_length "chin length"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_color "ginger"
    *set hair_length "chin length"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_color "ginger"
    *set hair_length "chin length"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_color "ginger"
    *set hair_length "chin length"
    *goto hair
 #shoulder length
  #black
   #straight
    *set hair_texture "straight"
    *set hair_length "shoulder length"
    *set hair_color "black"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "shoulder length"
    *set hair_color "black"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "shoulder length"
    *set hair_color "black"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "shoulder length"
    *set hair_color "black"
    *goto hair
  #brown
   #straight
    *set hair_texture "straight"
    *set hair_length "shoulder length"
    *set hair_color "brown"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "shoulder length"
    *set hair_color "brown"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "shoulder length"
    *set hair_color "brown"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "shoulder length"
    *set hair_color "brown"
    *goto hair
  #blond
   #straight
    *set hair_texture "straight"
    *set hair_length "shoulder length"
    *set hair_color "blond"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "shoulder length"
    *set hair_color "blond"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "shoulder length"
    *set hair_color "blond"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "shoulder length"
    *set hair_color "blond"
    *goto hair
  #ginger
   #straight
    *set hair_texture "straight"
    *set hair_length "shoulder length"
    *set hair_color "ginger"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "shoulder length"
    *set hair_color "ginger"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "shoulder length"
    *set hair_color "ginger"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "shoulder length"
    *set hair_color "ginger"
    *goto hair
 #long
  #black
   #straight
    *set hair_texture "straight"
    *set hair_length "long"
    *set hair_color "black"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "long"
    *set hair_color "black"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "long"
    *set hair_color "black"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "long"
    *set hair_color "black"
    *goto hair
  #brown
   #straight
    *set hair_texture "straight"
    *set hair_length "long"
    *set hair_color "brown"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "long"
    *set hair_color "brown"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "long"
    *set hair_color "brown"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "long"
    *set hair_color "brown"
    *goto hair
  #blond
   #straight
    *set hair_texture "straight"
    *set hair_length "long"
    *set hair_color "blond"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "long"
    *set hair_color "blond"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "long"
    *set hair_color "blond"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "long"
    *set hair_color "blond"
    *goto hair
  #ginger
   #straight
    *set hair_texture "straight"
    *set hair_length "long"
    *set hair_color "ginger"
    *goto hair
   #wavy
    *set hair_texture "wavy"
    *set hair_length "long"
    *set hair_color "ginger"
    *goto hair
   #curly
    *set hair_texture "curly"
    *set hair_length "long"
    *set hair_color "ginger"
    *goto hair
   #kinky
    *set hair_texture "kinky"
    *set hair_length "long"
    *set hair_color "ginger"
    *goto hair

*label hair

8 Likes

You could also do this (changed indents to tabs for my own convinience).

Choose your hair length.
*fake_choice
	#buzzed
		*set hair_length "buzzed"
	#short
		*set hair_length "short"
	#chin length
		*set hair_length "chin length"
	#shoulder length
		*set hair_length "shoulder length"
	#long
		*set hair_length "long"

Choose your hair color.
*fake_choice
	#black
		*set hair_color "black"
	#brown
		*set hair_color "brown"
	#blond
		*set hair_color "blond"
	#ginger
		*set hair_color "ginger"

Choose your hair texture.
*fake_choice
	#straight
		*set hair_texture "straight"
	#wavy
		*set hair_texture "wavy"
	#curly
		*set hair_texture "curly"
	#kinky
		*set hair_texture "kinky"

3 choices, but easier to code.

11 Likes

dude… I know…
I wrote multichoice because I wanted it to show in one page. It wasn’t worth the effort, and that’s why I’m sharing it here for people do use.

1 Like

Question: would this be legal?

*choice Length Color Texture
    #buzzed
        *set hair_length "buzzed"
        #black
             *set hair_color "black"
             #straight
                 *set hair_texture "straight"
                 *goto hair
             #wavy
                 *set hair_texture "wavy"
                 *goto hair
             #curly
                 *set hair_texture "curly"
                 *goto hair

argh

Had to delete the last reply because the indentations weren’t properly placed, and I don’t know how to fix it.
Make sure you have all your variables set up. Once you place your * and # somewhere, you have to follow those for that entire page. You cannot place them elsewhere without confusing the code.

Disclaimer: I’m not a professional at this, I may be wrong.

Sadly it’s illegal and you’ll be apprehended by the bug police

2 Likes