#!/usr/bin/env python3 import random import sys print("(This story is based off of the video game series Risk of Rain)") print("You are a soldier for a delivery company, dispatched to an unknown\n") print("planet responding to a distress signal.\n") print("\n") print("Your escape pod barrels towards the planet, and you get out.\n") print("\n") print("You see a creature coming towards you, but are unsure if it is hostile.\n") print("[ ? ] Do you leave it or attack it?\n" print("( 1 ) Leave it\n") print("( 2 ) Attack it\n") a = int(input("==> ")) if a == "1": print("It attacks you. With only a pistol to defend yourself, you manage to fend it off, but more come.\n") print("You are unsure of their intentions, and they eventually overpower you. You die without a trace.\n") print("GAME OVER\n") sys.exit(0) elif a == "2": print("You attack the creature. It drops money, which looks like it can open locked chests from\n") print("the crash of a previous cargo ship. You open one, and you find a pair of sunglasses inside\n") print("The sunglasses appear to make the wearer more powerful.\n") print("\n") print("You find a strange stone altar in the landscape, and you activate it.\n") print("After a brief flash of red light, a large stone figure appears.\n") print("\n") print("