Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def start():
- print("You are on a deck. Treated, weatherproof wood stretches as far as the eye can see.")
- print("It's hot and muggy outside. This is rather unpleasant.")
- print("To your east is a covered patio, to your north is an aboveground pool with deck surrounding it.")
- print("It's supposed to make it look like an in-ground pool. It doesn't work. It's still obviously")
- print("A cheap, above-ground pool.")
- choice = input("Where do you go? > ")
- if "pool" in choice:
- pool()
- elif "patio" in choice:
- patio()
- else:
- print("you decide to waste time typing nonsense in. Let's just try again. \n")
- start()
- def patio():
- print("this is a covered portion of the deck. A patio. whatever.")
- print("Around the edges of this are tiki-torch style citronella candles, stuck in planters. No plants though.")
- print("There is a picnic table in the center, with a copper key and some glasses of lemonade on it.")
- print("To the south is a shed. To the north is a barbecue grill.")
- have_shed_key = False
- have_candle = False
- have_20_dollars = False
- while True:
- choice = input("What do you do now?")
- if "lemonade" in choice or "glass" in choice:
- print("the ice in it melted a long time ago. also there was a bee in it. still good though.\n")
- elif "key" in choice:
- print("It's glued down. Luckily you pried it up with your fingernails.")
- print("You think to yourself that you probably should have needed to do more to unstick it.")
- print("But then...sometimes things aren't that complicated.\n")
- print("You got the key! Good job.")
- have_shed_key = True
- elif "candle" in choice or "citronella" in choice or "torch" in choice:
- print("You unstick a tiki torch candle from the planter. Smells weird.\n")
- have_candle = True
- elif "shed" in choice or "south" in choice:
- shed()
- break
- elif "grill" in choice or "barbecue" in choice or "north" in choice:
- grill(have_candle)
- break
- else:
- print("You decide to be a rebel and do something the program wasn't intended to do.")
- print("This shows initiative. Well done. Have 20 dollars.\n")
- have_20_dollars = True
- def shed():
- print("it's a shed")
- def grill(have_candle):
- ate_steak = False
- while True:
- if have_candle == True:
- print("it's a grill. The smell of burning meat fills the air. You are kinda hungry.")
- print("to the east is the pool you saw earlier. To the west, tons and tons of deck.")
- choice = input("What now? > ")
- if "eat" in choice or "meat" in choice:
- print("you eat the meat. Very filling. You can taste the factory farm antibiotics.")
- ate_steak = True
- if "east" in choice or "tons" in choice:
- deck_desert()
- break
- if "west" in choice or "pool" in choice:
- pool()
- break
- if have_candle == False:
- print("You are swarmed by mosquitos! You contract Malaria, West Nile Virus, and also are exsanguinated.")
- dead()
- break
- def pool():
- print("You reach the edge of the pool. Several pool toys are floating around.")
- print("There are some dead bugs around the intake for the filter.")
- print("There's a strong smell of chlorine.")
- print("To the east is a barbecue grill.")
- while True:
- choice = input("What now? > ")
- if "swim" in choice and ate_steak == True:
- print("You swam too soon after eating! You cramp up and drown.")
- dead()
- break
- if "swim" in choice and ate_steak == False:
- print("You dive in. Well, not dive. It's an aboveground pool and you'd break your neck. These pools suck.")
- print("While clearing funoodles from your path, you see a conspicuous drain at the bottom of the pool.")
- if "unplug" in choice or "drain" in choice:
- drain()
- break
- if "east" in choice or "grill" in choice or "barbecue" in choice:
- grill()
- break
- if "leave pool" in choice:
- print("you get back out of the pool. Now your clothes are wet.")
- def drain():
- print("you get sucked down a drain")
- def dead():
- print("\nYou got DECK'D")
- exit(0)
- def deck_desert():
- print("Miles and miles of KeefeI mean deck.")
- start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement