Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from __future__ import print_function
- import time
- print("Made by Christain Orozco Copyright 2018 All Rights Reserved")
- time.sleep(5)
- print("'So lets begin, what is your name?'")
- x = raw_input()
- print("'Nice to meet you' " + x)
- time.sleep(3)
- print("'So, " + x, "do you know why you've been brought here'? \n[y/n]")
- # First player input
- y = raw_input()
- if y == "y":
- print("'No you don't...'")
- else:
- print("'Well, I'll tell you.'")
- time.sleep(2)
- print("'So the generic storyline is that there is an evil dark lord who hates humans'")
- time.sleep(6)
- print("'Here is your magic sword' \n'You can point it and use it like a gun'")
- time.sleep(4)
- print("+1 Magic Sword")
- # Inventory
- inv = []
- inv.append("Magic Sword")
- time.sleep(3)
- print("Inventory: ", inv)
- time.sleep(4)
- # training
- print("'Want me to train you?'\n 'Or do you want to just skip the tutorial'")
- time.sleep(3)
- print("Want to train? [y/n]")
- train = raw_input()
- time.sleep(2)
- # Train "choice"
- if train == "y":
- print("'Great head to the camp to get started'")
- elif train == "n":
- print("'Well then I guess were getting straight into it,\n Follow me to the castle.'")
- else:
- print("'I didn't ask for anything other than yes or no... but I take it you don't want to train.!'")
- time.sleep(4)
- print("+1 Super Awesome Spear")
- inv.append("Super Awesome Spear")
- print("Inventory: ", inv)
- time.sleep(3)
- print("Here is an awesome mega spear, its magic or something")
- # damage and armor/weapons
- print("Quick! Throw it at that goblin over there!")
- weapdmg = {"spear": 50}
- # Combat function
- def attack(fightseq):
- for k, v in fightseq.items():
- return ("Your weapon " + k + " did " + str(v) + " points of damage to the enemy")
- print(attack(weapdmg))
- time.sleep(3)
- print("Nice job! Now Ill finish it off!")
- time.sleep(5)
- print("+1 Goblin Tooth")
- time.sleep(2)
- inv.append("Goblin Tooth")
- print(inv)
- time.sleep(4)
- print("Now that that is over where do you wanna go?\n [castle gate = a, village = b, forest = c")
- # input for the location the player wants to travel
- dest = raw_input()
- if dest == "a":
- time.sleep(5)
- print("Welcome to isolation the biggest castle in all of groundcenter")
- time.sleep(4)
- print("Gaurd: 'HALT! Who goes there!'\n'It is me bigger boss and my friend " + x)
- time.sleep(5)
- print("Gaurd: Okay you may enter, you will be wacthed")
- print("coolio")
- elif dest == "b":
- time.sleep(5)
- print("We have made it to the village of Blackwalk\n I wouldn't look folks in the eye here")
- time.sleep(3)
- print("Look! Over there those thugs are attacking that women! What should we do?")
- time.sleep(4)
- print("a- Keep walking and ignore them\n b- Run in blindly and attack them\n c-Threaten them")
- a = raw_input()
- if a == "a":
- print("Wow you're not who I thought you were, leaving that poor old women to die...")
- elif a == "b":
- print("Wait slow down! *you get brutally beat and they steal your money as well as the lady's")
- else:
- print("They slowly back off and the woman gives you 10 coins")
- inv.append("10 coins")
- print("+ 10 coins")
- time.sleep(4)
- print(inv)
- time.sleep(5)
- print("Well that was an ordeal but you got some coin out of it at least\n even though only one option made sense")
- time.sleep(4)
- else:
- # User goes to forest
- time.sleep(5)
- inv.append("Torch")
- print("Its dark here I should light a torch")
- time.sleep(4)
- print("+1 Torch(lit)")
- time.sleep(3)
- print("*As the light intrudes on the darkness you make out the eyes of wolves stalking you*")
- time.sleep(5)
- # Player chooses what to do
- print(
- "What do you do?\n a- Scare them off with the light\n b- Howl and try to befriend them\n c- try and kill them")
- ch = raw_input()
- if ch == "a":
- print("They back off and eventually leave you alone")
- elif ch == "b":
- print("They howl back and leave you a gift\n +1 Wolf Horn")
- inv.append("Wolf Horn")
- else:
- print(
- "They slowly start to intrude on you and you strike! Killing one of them but the other three slowly creep in and they attack nearly killing you\n -20hp")
- time.sleep(5)
- print("I knew I shouldn't have come here!")
- time.sleep(5)
- # Coming back to the main file
- print("Okay we should head back to base now!")
- print(inv)
Advertisement
Add Comment
Please, Sign In to add comment