diff --git a/src/quest-for-sundrop.jl b/src/quest-for-sundrop.jl index 6c6ae67..13f9206 100755 --- a/src/quest-for-sundrop.jl +++ b/src/quest-for-sundrop.jl @@ -59,7 +59,6 @@ function main() print("Here are your options. \n") print("Option 1 - Go to your local Safeway. \n") - main() print("Option 2 - Go to the closest gas station. \n") choice = input("Choose an option by pressing its number: ") @@ -75,6 +74,23 @@ function main() else print(wrong_key_error) end + + print("Here are your options. \n") + print("Option 1 - Attempt to hitch a ride with a trucker. \n") + print("Option 2 - Purchase a plane ticket to Polaski, Tennessee. \n") + choice = input("Choose an option by pressing its number: ") + + if choice == "1" + print(tn_option1outcome_text) + elseif choice == "2" + print(tn_option2outcome_text) + + elseif choice == "q" + exit() + + else + print(wrong_key_error) + end end main() \ No newline at end of file