198 lines
6.3 KiB
Text
198 lines
6.3 KiB
Text
$title Fishing Minigame
|
|
$start_music under_the_surface
|
|
|
|
$label prompt1
|
|
: How many fishing targets?
|
|
$prompt
|
|
$option t1 One
|
|
$option t2 Two
|
|
$option t3 Three
|
|
$label t1
|
|
$set targets 1
|
|
$goto prompt2
|
|
$label t2
|
|
$set targets 2
|
|
$goto prompt2
|
|
$label t3
|
|
$set targets 3
|
|
$goto prompt2
|
|
|
|
$label prompt2
|
|
: Which difficulty?
|
|
$prompt
|
|
$option d0 0%
|
|
$option d25 25%
|
|
$option d50 50%
|
|
$option d75 75%
|
|
$option d100 100%
|
|
$label d0
|
|
$set difficulty 0
|
|
$goto prompt3
|
|
$label d25
|
|
$set difficulty 25
|
|
$goto prompt3
|
|
$label d50
|
|
$set difficulty 50
|
|
$goto prompt3
|
|
$label d75
|
|
$set difficulty 75
|
|
$goto prompt3
|
|
$label d100
|
|
$set difficulty 100
|
|
$goto prompt3
|
|
|
|
$label prompt3
|
|
: Should the boat keep moving?
|
|
$prompt
|
|
$option m1 Yes
|
|
$option m0 No
|
|
|
|
|
|
$label m0
|
|
$hide_textbox
|
|
$set_background akhirah_back_stopped
|
|
$if difficulty >= 100 m0_d100
|
|
$if difficulty >= 75 m0_d75
|
|
$if difficulty >= 50 m0_d50
|
|
$if difficulty >= 25 m0_d25
|
|
$label m0_d0
|
|
$if targets >= 3 m0_d0_t3
|
|
$if targets >= 2 m0_d0_t2
|
|
$goto m0_d0_t1
|
|
$label m0_d25
|
|
$if targets >= 3 m0_d25_t3
|
|
$if targets >= 2 m0_d25_t2
|
|
$goto m0_d25_t1
|
|
$label m0_d50
|
|
$if targets >= 3 m0_d50_t3
|
|
$if targets >= 2 m0_d50_t2
|
|
$goto m0_d50_t1
|
|
$label m0_d75
|
|
$if targets >= 3 m0_d75_t3
|
|
$if targets >= 2 m0_d75_t2
|
|
$goto m0_d75_t1
|
|
$label m0_d100
|
|
$if targets >= 3 m0_d100_t3
|
|
$if targets >= 2 m0_d100_t2
|
|
$goto m0_d100_t1
|
|
|
|
$label m1
|
|
$hide_textbox
|
|
$set_background akhirah_back_moving
|
|
$if difficulty >= 100 m1_d100
|
|
$if difficulty >= 75 m1_d75
|
|
$if difficulty >= 50 m1_d50
|
|
$if difficulty >= 25 m1_d25
|
|
$label m1_d0
|
|
$if targets >= 3 m1_d0_t3
|
|
$if targets >= 2 m1_d0_t2
|
|
$goto m1_d0_t1
|
|
$label m1_d25
|
|
$if targets >= 3 m1_d25_t3
|
|
$if targets >= 2 m1_d25_t2
|
|
$goto m1_d25_t1
|
|
$label m1_d50
|
|
$if targets >= 3 m1_d50_t3
|
|
$if targets >= 2 m1_d50_t2
|
|
$goto m1_d50_t1
|
|
$label m1_d75
|
|
$if targets >= 3 m1_d75_t3
|
|
$if targets >= 2 m1_d75_t2
|
|
$goto m1_d75_t1
|
|
$label m1_d100
|
|
$if targets >= 3 m1_d100_t3
|
|
$if targets >= 2 m1_d100_t2
|
|
$goto m1_d100_t1
|
|
|
|
|
|
# Boat stopped, difficulty = 0%
|
|
$label m0_d0_t1
|
|
$escape fishing fishing_over_single 0.0 false {"name":"success","sprite":"default"}
|
|
$label m0_d0_t2
|
|
$escape fishing fishing_over 0.0 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m0_d0_t3
|
|
$escape fishing fishing_over 0.0 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat stopped, difficulty = 25%
|
|
$label m0_d25_t1
|
|
$escape fishing fishing_over_single 0.25 false {"name":"success","sprite":"default"}
|
|
$label m0_d25_t2
|
|
$escape fishing fishing_over 0.25 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m0_d25_t3
|
|
$escape fishing fishing_over 0.25 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat stopped, difficulty = 50%
|
|
$label m0_d50_t1
|
|
$escape fishing fishing_over_single 0.50 false {"name":"success","sprite":"default"}
|
|
$label m0_d50_t2
|
|
$escape fishing fishing_over 0.50 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m0_d50_t3
|
|
$escape fishing fishing_over 0.50 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat stopped, difficulty = 75%
|
|
$label m0_d75_t1
|
|
$escape fishing fishing_over_single 0.75 false {"name":"success","sprite":"default"}
|
|
$label m0_d75_t2
|
|
$escape fishing fishing_over 0.75 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m0_d75_t3
|
|
$escape fishing fishing_over 0.75 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat stopped, difficulty = 100%
|
|
$label m0_d100_t1
|
|
$escape fishing fishing_over_single 1.0 false {"name":"success","sprite":"default"}
|
|
$label m0_d100_t2
|
|
$escape fishing fishing_over 1.0 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m0_d100_t3
|
|
$escape fishing fishing_over 1.0 false {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
|
|
# Boat moving, difficulty = 0%
|
|
$label m1_d0_t1
|
|
$escape fishing fishing_over_single 0.0 true {"name":"success","sprite":"default"}
|
|
$label m1_d0_t2
|
|
$escape fishing fishing_over 0.0 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m1_d0_t3
|
|
$escape fishing fishing_over 0.0 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat moving, difficulty = 25%
|
|
$label m1_d25_t1
|
|
$escape fishing fishing_over_single 0.25 true {"name":"success","sprite":"default"}
|
|
$label m1_d25_t2
|
|
$escape fishing fishing_over 0.25 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m1_d25_t3
|
|
$escape fishing fishing_over 0.25 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat moving, difficulty = 50%
|
|
$label m1_d50_t1
|
|
$escape fishing fishing_over_single 0.50 true {"name":"success","sprite":"default"}
|
|
$label m1_d50_t2
|
|
$escape fishing fishing_over 0.50 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m1_d50_t3
|
|
$escape fishing fishing_over 0.50 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat moving, difficulty = 75%
|
|
$label m1_d75_t1
|
|
$escape fishing fishing_over_single 0.75 true {"name":"success","sprite":"default"}
|
|
$label m1_d75_t2
|
|
$escape fishing fishing_over 0.75 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m1_d75_t3
|
|
$escape fishing fishing_over 0.75 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
# Boat moving, difficulty = 100%
|
|
$label m1_d100_t1
|
|
$escape fishing fishing_over_single 1.0 true {"name":"success","sprite":"default"}
|
|
$label m1_d100_t2
|
|
$escape fishing fishing_over 1.0 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
$label m1_d100_t3
|
|
$escape fishing fishing_over 1.0 true {"name":"success","sprite":"default"} {"name":"success","sprite":"default"} {"name":"success","sprite":"default"}
|
|
|
|
|
|
$label success
|
|
$wait 0.3
|
|
$escape return_to_fishing
|
|
$label fishing_over_single
|
|
: You've fished the target!
|
|
$quit
|
|
$label fishing_over
|
|
: You've fished all of the targets!
|
|
$quit
|