function game_end() while true print("\nYour quest ends here. Or does it?\n\n") choice = input("\nWould you like to restart your quest? Y/N: ") if choice == "Y" main() elseif choice == "y" main() elseif choice == "N" exit() elseif choice == "n" exit() else print("That was not one of your choices.") end end end function dui() print("Here are your options. \n\n") print("Option 1 - Go to your local Safeway. \n") print("Option 2 - Go to the closest gas station. \n\n") choice = input("Choose an option by pressing its number: ") if choice == "1" print(dui_car_option1,"\n") game_end() elseif choice == "2" print("\nThe cops pull you over and smell malt liquor on your breath.\n You have gotten a DUI. \n") game_end() end end function leavehouse() print("\nYou get in your car to find glass bottled Sun Drop. \n\n") end