Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- import time
- import random
- #is_damage_1 is 1-3 dmg USE RANDOM
- #is_damage_2 is 4-7 dmg USE RANDOM
- #is_damage_3 is 8-11 dmg USE RANDOM
- #is_damage_4 is 12-15 dmg USE RANDOM
- #is_damage_5 is 16-19 dmg USE RANDOM
- apple = 1
- apple
- stick = 0
- stick_name = "stick"
- apple_name = "apple"
- Health = 100
- inventory = [apple_name, apple,]
- is_armed_1 = False
- is_damage_1 = False
- is_damage_2 = False
- is_damage_3 = False
- is_damage_4 = False
- is_damage_5 = False
- name = input("Hey! What's your name?")
- print("Wow, that's a gay name")
- time.sleep(2)
- question = input("Anyway, you ready to go on an adventure? [yes/no]")
- if question.lower() == "no":
- print("Oh, okay")
- quit()
- if question.lower() == "yes":
- print("Well damn, I didn't expect you to say yes..")
- time.sleep(2)
- question = input("Before we start, do you have any food I could borrow? I haven't eaten in a month. [Give apple? [y/n]")
- if question.lower() == "n":
- print("You're a dick")
- if question.lower() == "y":
- print("Thanks!")
- apple -= 1
- inventory = [apple_name, apple, ]
- time.sleep(2)
- question = input("How many apples do you have left? [inventory]")
- if question.lower() == "inventory":
- print(inventory)
- time.sleep(2)
- print("Well whatever, we'll find more on our journey.")
- time.sleep(3)
- print("My name's Jake by the way.")
- time.sleep(5)
- print("[You and Jake begin your journey]")
- time.sleep(3.5)
- question = input("Jake: Hey, " + name + ". Have you ever passed over the mountains before? [y/n]")
- if question.lower() == "n":
- print("Jake: Ah, me neither. Too scared to go up there alone.")
- time.sleep(2)
- question2 = input(name + ":" + " [a] What's there to be afraid of?" + " [b] [remain silent]")
- if question2.lower() == "a":
- print("Jake: Have you not heard the tales of The Great Mountain Tree Donkey?")
- question3 = input(name + ":" + " [a] No, what is that?" + " [b] I don't care about stupid tales.")
- if question3.lower() == "a":
- print("Jake: Dude, I can't believe you've never heard the tale!")
- print("Legend has it that there's a huge donkey that hides in the trees of Mount Treestump.")
- print("Now that I think of it... I'm not sure why we're heading towards the mountains.")
- if question3.lower() == "b":
- print("Jake: I promise you, this is not just some stupid tale.")
- question4 = input(name + ": " "[a] All tales are stupid. \n [b] Fine. Let's hear it. ")
- if question4.lower() == "a":
- print("Jake: Whatever.")
- if question4.lower() == "b":
- print("Jake: Legend has it that there's a huge donkey that hides in the trees of Mount Treestump.\n Now that I think of it... I'm not sure why we're heading towards the mountains. ")
- time.sleep(4)
- print("[You give Jake an odd look]")
- if question2.lower() == "b":
- print("Jake: I hope you're not one of those taciturn people who don't talk much. This journey would be a lot more fun if we conversed.")
- if question.lower() == "y":
- print("Jake: Are you serious? I'm surprised you're alive and well.")
- time.sleep(4)
- print("[You give Jake an odd look]")
- time.sleep(6)
- question5 = input("You come across a stick [Pick it up? y/n]")
- if question5.lower() == "y":
- print("[You picked up the stick]")
- is_armed_1 = True
- is_damage_1 = True
- stick += 1
- inventory += stick_name, stick
- if question5.lower() == "n":
- print("[You leave the stick]")
- time.sleep(5)
- print("[An hour passes]")
- time.sleep(2)
- print("[You feel hungry]")
- time.sleep(2)
- question6 = input("[Do you check your inventory for food? y/n]")
- if question6.lower() == "y":
- print(inventory)
- if apple < 1:
- print("[You have no food]")
- if apple > 0:
- question7 = input("[Do you eat the apple? y/n]")
- if question7.lower() == "y":
- print("You feel less hungry")
- apple -= 1
- inventory[1] = apple
- time.sleep(4)
- print("[A coyote approaches]")
- time.sleep(2)
- if is_armed_1 == True:
- print("[It notices you're armed. It decides to retreat]")
- if is_armed_1 == False:
- print("[The coyote growls at you. It's rabid.]")
- time.sleep(2)
- print("Jake: Uhhh... what do we do?")
- time.sleep(1)
- print(name + ": " + "[a] Run\n [b] Fight")
- question8 = input()
- if question8.lower() == "a":
- print(name + ": Let's run for it!")
- print("[You turn around and begin to run, but you trip and fall]")
- time.sleep(2)
- print("[The coyote jumps on you and starts eating your fingers]")
- Health -= 10
- time.sleep(1)
- print("[Jake returns and kicks the coyote in it's eye socket]")
- time.sleep(2)
- print("Health -10")
- if Health < 1:
- print("[You died! Try again]")
- quit()
- if question8.lower() == "b":
- if apple > 0:
- print("[You throw an apple at it]")
- else:
- print("[You growl at the coyote, attempting to scare it off]")
- time.sleep(2)
- print("[It seems to have little effect]")
- time.sleep(2)
- print("[The coyote jumps at your leg, getting a few nips in before Jake kicks it away]")
- Health -= 5
- time.sleep(2)
- print("[The coyote scurries away")
- time.sleep(2)
- print("Health -5")
- if Health < 1:
- print("[You died! Try again]")
- quit()
- time.sleep(4)
- print("Jake: Phew... that could've been really bad.")
- if is_armed_1 == True:
- print(name + ": Yeah. Thank god it ran off.")
- else:
- print("[a] Check health\n[b] Check inventory\n[c] Continue")
- question9 = input()
- if question9.lower() == "a":
- print(Health)
- time.sleep(3)
- print("[b] Check inventory\n[c] Continue")
- question10 = input()
- if question10.lower() == "b":
- print(inventory)
- if question10.lower() == "c":
- print("")
- if question9.lower() == "b":
- print(inventory)
- time.sleep(3)
- print("[a] Check health\n[c] Continue")
- question11 = input()
- if question11.lower() == "a":
- print(Health)
- if question11.lower() == "c":
- print("")
- if question9.lower() == "c":
- print("")
- time.sleep(3)
- print("[You continue your journey]")
- time.sleep(4)
- print("There's a fork in the road")
- time.sleep(2)
- print("[a] Go left\n[b] Go right")
- question12 = input()
- if question12.lower() == "a":
- print("[You go left]")
- time.sleep(4)
- print("[You stumble upon a dungeon built into the mountain]")
- time.sleep(2)
- print("[a] Enter the dungeon\n[b] Continue walking down the path")
- question13 = input()
- if question13.lower() == "a":
- print(name + ": Hey, Jake. Let's explore this.")
- time.sleep(2)
- print("Jake: Alright then.")
- time.sleep(2)
- print("[You enter the dungeon]")
- time.sleep(2)
- print("[You're greeted with the prominent stench of death]")
- time.sleep(2)
- print("[You hear a noise from deeper in the dungeon]")
- time.sleep(2)
- print("[a] Investigate\n[b] Continue looking around")
- question14 = input()
- if question14.lower() == "b":
- print("[You continue looking around]")
- if question13.lower() == "b":
- print("[You decide not to enter the dungeon]")
- if question12.lower() == "b":
- print("[You go right]")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement