page "config-fetish"
  image "fetish"
  say "Okay! Please select all fetishes you'd like to include in your journey, then click on 'Resume'\n\n<c:secondary>**Feet:**</c> Includes feet related rooms\n\n<c:secondary>**Pain / CBT:**</c> Includes pain / CBT\n\n<c:secondary>**Denial:**</c> Possible denial during the normal game\n\n<c:secondary>**Latex:**</c> Contains rooms with explicit latex content\n\n<c:secondary>**CrossDress:**</c> CrossDressing, traps, some cumplay, some dick sucking. **No** Anal included automatically.\n\n<c:secondary>**Anal:**</c> Anal stuff\n\n<c:secondary>**Complex:**</c> Include task which are a little more complex than others (Select, if you have no problem with rooms which take a few minutes)"
  choices
    choice "Feet: NO", color: :danger, if: fetish_feet == 0
      fetish_feet = 1
      goto_page "config-fetish"
    end
    choice "Feet: YES", color: :success, if: fetish_feet == 1
      fetish_feet = 0
      goto_page "config-fetish"
    end
    choice "Pain: NO", color: :danger, if: fetish_pain == 0
      fetish_pain = 1
      goto_page "config-fetish"
    end
    choice "Pain: YES", color: :success, if: fetish_pain == 1
      fetish_pain = 0
      goto_page "config-fetish"
    end
    choice "CBT: NO", color: :danger, if: fetish_cbt == 0
      fetish_cbt = 1
      goto_page "config-fetish"
    end
    choice "CBT: YES", color: :success, if: fetish_cbt == 1
      fetish_cbt = 0
      goto_page "config-fetish"
    end
    choice "Latex: NO", color: :danger, if: fetish_latex == 0
      fetish_latex = 1
      goto_page "config-fetish"
    end
    choice "Latex: YES", color: :success, if: fetish_latex == 1
      fetish_latex = 0
      goto_page "config-fetish"
    end
    choice "CrossDress: NO", color: :danger, if: fetish_cd == 0
      fetish_cd = 1
      goto_page "config-fetish"
    end
    choice "CrossDress: YES", color: :success, if: fetish_cd == 1
      fetish_cd = 0
      goto_page "config-fetish"
    end
    choice "Anal: NO", color: :danger, if: fetish_anal == 0
      fetish_anal = 1
      goto_page "config-fetish"
    end
    choice "Anal: YES", color: :success, if: fetish_anal == 1
      fetish_anal = 0
      goto_page "config-fetish"
    end
    choice "Denial: NO", color: :danger, if: fetish_denial == 0
      fetish_denial = 1
      goto_page "config-fetish"
    end
    choice "Denial: YES", color: :success, if: fetish_denial == 1
      fetish_denial = 0
      goto_page "config-fetish"
    end
    choice "Complex: NO", color: :danger, if: fetish_complex == 0
      fetish_complex = 1
      goto_page "config-fetish"
    end
    choice "Complex: YES", color: :success, if: fetish_complex == 1
      fetish_complex = 0
      goto_page "config-fetish"
    end
    choice "Resume", color: :warning
      goto_page "config-toys"
    end
  end
end

page "config-toys"
  image "toys"
  say "Great choice! Now please select all toys you'd like to include in your journey, then click on 'Resume'\n\n<c:secondary>**Vibrator:**</c> Anything is ok, also a bullet vibrator", mode: :instant

  say "<c:secondary>**Wooden Spoon:**</c> You can also use alternate spanking toys", mode: :instant

  say "<c:secondary>**Dildo:**</c> Can also be an Anal-Plug. Select <c:secondary>**Second Dildo**</c> AND **Dildo** if you own two dildos/plugs", mode: :instant

  choices
    choice "Vibrator: NO", color: :danger, if: toy_vibrator == 0
      toy_vibrator = 1
      goto_page "config-toys"
    end
    choice "Vibrator: YES", color: :success, if: toy_vibrator == 1
      toy_vibrator = 0
      goto_page "config-toys"
    end
    choice "Latex Gloves: NO", color: :danger, if: toy_latex_glove == 0 && fetish_latex == 1
      toy_latex_glove = 1
      goto_page "config-toys"
    end
    choice "Latex Gloves: YES", color: :success, if: toy_latex_glove == 1 && fetish_latex == 1
      toy_latex_glove = 0
      goto_page "config-toys"
    end
    choice "Latex Socks: NO", color: :danger, if: toy_latex_socks == 0 && fetish_latex == 1
      toy_latex_socks = 1
      goto_page "config-toys"
    end
    choice "Latex Socks: YES", color: :success, if: toy_latex_socks == 1 && fetish_latex == 1
      toy_latex_socks = 0
      goto_page "config-toys"
    end
    choice "Wooden Spoon: NO", color: :danger, if: toy_wood_spoon == 0
      toy_wood_spoon = 1
      goto_page "config-toys"
    end
    choice "Wooden Spoon: YES", color: :success, if: toy_wood_spoon == 1
      toy_wood_spoon = 0
      goto_page "config-toys"
    end
    choice "Whip: NO", color: :danger, if: toy_whip == 0
      toy_whip = 1
      goto_page "config-toys"
    end
    choice "Whip: YES", color: :success, if: toy_whip == 1
      toy_whip = 0
      goto_page "config-toys"
    end
    choice "Clamps: NO", color: :danger, if: toy_clamps == 0
      toy_clamps = 1
      goto_page "config-toys"
    end
    choice "Clamps: YES", color: :success, if: toy_clamps == 1
      toy_clamps = 0
      goto_page "config-toys"
    end
    choice "Gag: NO", color: :danger, if: toy_gag == 0
      toy_gag = 1
      goto_page "config-toys"
    end
    choice "Gag: YES", color: :success, if: toy_gag == 1
      toy_gag = 0
      goto_page "config-toys"
    end
    choice "Dildo/Plug: NO", color: :danger, if: toy_dildo == 0
      toy_dildo = 1
      goto_page "config-toys"
    end
    choice "Dildo/Plug: YES", color: :success, if: toy_dildo == 1
      toy_dildo = 0
      goto_page "config-toys"
    end
    choice "Second Dildo: NO", color: :danger, if: toy_dildo2 == 0
      toy_dildo2 = 1
      goto_page "config-toys"
    end
    choice "Second Dildo: YES", color: :success, if: toy_dildo2 == 1
      toy_dildo2 = 0
      goto_page "config-toys"
    end
    choice "Dilator / Urethra: NO", color: :danger, if: toy_penis_plug == 0
      toy_penis_plug = 1
      goto_page "config-toys"
    end
    choice "Dilator / Urethra: YES", color: :success, if: toy_penis_plug == 1
      toy_penis_plug = 0
      goto_page "config-toys"
    end
    choice "Condom: NO", color: :danger, if: toy_condom == 0
      toy_condom = 1
      goto_page "config-toys"
    end
    choice "Condom: YES", color: :success, if: toy_condom == 1
      toy_condom = 0
      goto_page "config-toys"
    end
    choice "Toothbrush: NO", color: :danger, if: toy_toothbrush == 0
      toy_toothbrush = 1
      goto_page "config-toys"
    end
    choice "Toothbrush: YES", color: :success, if: toy_toothbrush == 1
      toy_toothbrush = 0
      goto_page "config-toys"
    end
    choice "Chasity Device: NO", color: :danger, if: toy_chasity == 0
      toy_chasity = 1
      goto_page "config-toys"
    end
    choice "Chasity Device: YES", color: :success, if: toy_chasity == 1
      toy_chasity = 0
      goto_page "config-toys"
    end
    choice "Hand Cuffs: NO", color: :danger, if: toy_cuffs == 0
      toy_cuffs = 1
      goto_page "config-toys"
    end
    choice "Hand Cuffs: YES", color: :success, if: toy_cuffs == 1
      toy_cuffs = 0
      goto_page "config-toys"
    end
    choice "Resume", color: :warning
      store_fetish_config
      goto_page "config-size"
    end
  end
end

page "config-size"
  image "size"
  say "What <c:secondary>size</c> should the maze be? A small size is easier and fast to finish while a large size might take a lot of time to finish.", mode: :instant
  say "Select <c:secondary>'Lottery'</c> if you prefer playing a lottery game instead of the maze. However, this game is optimized for being played in maze mode."
  choices
    choice "Small", color: :success
      say "Please wait, while the maze is being generated...", mode: :instant
      initialize_maze 7
    end
    choice "Medium", color: :warning
      say "Please wait, while the maze is being generated...", mode: :instant
      initialize_maze 9
    end
    choice "Large", color: :danger
      say "Please wait, while the maze is being generated...", mode: :instant
      initialize_maze 11
    end
    choice "Lottery", color: :secondary
      initialize_lottery 0
    end
    #choice "DEBUG: All Rooms", if: is_debug_mode == 1
    #  initialize_lottery 1
    #end
  end
  goto_page "config-difficult"
end

page "config-difficult"
  image "difficult"
  say "What <c:secondary>difficulty</c> do you like to play? Depending on the selected difficult you'll have to find more or less specific rooms. Furthermore unauthorized edges will be punished less in easier modes.", mode: :instant
  say "You should select an easier mode if you don't have too much of free time or your stamina isn't that great", mode: :instant
  say "Choose <c:danger>hard</c> to additionally have quite longer stroking periods in most rooms.", mode: :instant
  choices
    choice "Very Easy", color: :secondary
      difficult = 2
    end
    choice "Easy", color: :success
      difficult = 3
    end
    choice "Normal", color: :warning
      difficult = 4
    end
    choice "Hard", color: :danger
      difficult = 4
      stroke_difficult = 1
    end
  end
  goto_page "config-end"
end

page "config-end"
  image "empty"
  say "Thank you! The game will start in a few seconds."
  wait 5s, mode: :normal
  goto_page "school-intro"
end
