Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #456 lines without those shitty breaks
- from sys import exit
- meat = False
- cooked = False
- hat = False
- sword = False
- instinct = False
- name = ""
- next = ""
- def cthuhlu_room():
- print "You see Cthlulu, the Lord of Terror."
- print "You are stunned Cthulu reaches you with his hand."
- die("You fainted and the Lord of terror ate your face.")
- def dragon_room():
- global hat
- global sword
- global instinct
- print "You see a mighty dragon in front of you."
- print "You feel that you could defeat him!"
- if instinct:
- print "INSTINCT: Without proper skills and equipment you can't take this fight! If you feel that you have both of these, DESTROY this beast!"
- print "What do you want to do? [fight/flee/taunt/suicide]"
- next = raw_input("> ")
- if "fight" in next:
- if hat and sword:
- print "The dragon was a worthy foe. You managed to defeat him before he even saw you! Good job!"
- hall_room()
- elif hat and not sword:
- print "Your fists were to weak to kill the beast!"
- die("Dragon ate your heart.")
- elif not hat and sword:
- print "Without any armor on you were easy to kill for the dragon."
- die("Dragon slapped you.")
- else:
- print "You were too weak!"
- die("You suck.")
- elif "flee" in next:
- print "Somehow you did manage to run from the room before the dragon could notice you. You lucky bastard!"
- if instinct:
- print "You lost your instinct forever!"
- start(False)
- elif "taunt" in next:
- print "Oh, you're really so silly to taunt the dragon. Death is what you wanted?"
- die("You suck.")
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def hall_room():
- global instinct
- print "You enter a long hall. You can see an enormous door in front of you. You can also notice a smaller one on the right."
- if instinct:
- print "INSTINCT: A great evil emerges from the bigger door!"
- print "What do you want to do? [open big door/open small door/flee/suicide]"
- next = raw_input("> ")
- if "open big door" in next:
- print "You like big things! I see..."
- cthuhlu_room()
- elif "open small door" in next:
- print "Some people say 'Smaller is better.'. Are you one of them?"
- dragon_room()
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def oldpub_room():
- global instinct
- print "You enter a strange room. You smell old irish ale. It looks like an old pub."
- print "You can see broken bottles, a few skeletons, some chairs and tables."
- if instinct:
- print "INSTINCT: Hey! There's an old satchel under on table. Go grab it and look what it contains!"
- print "Do you want to listen you this strange voice in your head? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "You find a journal of someone called 'Stinker!'"
- print "22nd May 1969"
- print "Seven days has passed since Mary went to look for her husband. We start to worry."
- print "I want to go and look for her, but.."
- print "---"
- print "You can't read more, The words are illegible, because of the Irish ale which probably spilled on the paper.."
- print "What do you want to do now? [go back/flee/suicide]"
- next = raw_input("> ")
- if "go back" in next:
- print "A smart decision!"
- corridor2_room()
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def corridor2_room():
- print "You enter a large room. It is the shape of octagon."
- print "There are three ways that you can take. You can't see where they go."
- print "The corridor on the left is completely dark. You notice a small light coming out from the one on the left. There is door between them."
- print "What do you want to do? [take left path/take right path/open door/flee/suicide]"
- next = raw_input("> ")
- if "take left path" in next:
- print "You can't see anything. The walls seem to bring themselves closer to each other."
- oldpub_room()
- elif "take right path" in next:
- print "You follow the light. Something smells here.."
- fire_corridor(True)
- elif "open door" in next:
- print "You use your strength to open the door. It makes you tired."
- hall_room()
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def chest2_room():
- global instinct
- print "You enter a dark room, which smells like your old unckle Benny."
- print "You see a chest. It looks strange, but you want to open it."
- if instinct:
- print "INSTINCT: A pure evil emerges from the chest. Stay away from it!"
- print "What do you want to do? [open door/open chest/flee/suicide]"
- next = raw_input("> ")
- if "open door" in next:
- print "You open the door and see a pile of barrels in front of you."
- print "You can try to jump over them, or try to break them with your head (you'll probably die)"
- print "What do you want to do? [jump/break/flee/suicide]"
- next = raw_input("> ")
- if "jump" in next:
- print "You try to jump."
- die("You tripped and hit the floor with your head.")
- elif "break" in next:
- print "The barrels are hard, but you manage to destroy them and survive. Good job!"
- corridor2_room()
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- elif "open chest" in next:
- print "You use all of your strength to break the lock."
- die("The evil, which was locked in the chest, killed you from the inside.")
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def pig_room():
- global meat
- print "Something really stinks here. You go further and see a pig."
- print "What do you want to do? [play with the pig/kill the pig/flee/suicide]"
- next = raw_input("> ")
- if "play with the pig" in next:
- print "You play with the pig. it is a very smart pig, which doesnt like you. You paddle the pig up and it takes you to the start."
- print "You're so mad that you kill the pig."
- print "Congratulations! You've acquired a meat!"
- meat = True
- start(False)
- elif "kill the pig" in next:
- print "You're such a bad person, how could you!"
- die("I don't like you anymore!")
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def fire_corridor(corridor2):
- global meat
- global cooked
- print "You see fire, fire and fire."
- if meat == True:
- print "You can cook your meat here."
- print "Do you want to do it? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "It smells delicious!"
- meat = False
- cooked = True
- elif "no" in next:
- print "Okay.."
- print "You go back."
- if corridor2:
- corridor2_room()
- else:
- corridor1_room()
- def hat_room():
- global hat
- print "You enter a room in a shape of a circle. It is very bright in here."
- print "You see a large chest."
- print "Do you want to open it? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "Congratulations, you've found a hat!"
- hat = True
- print "Defense + 9001"
- elif "no" in next:
- print "You suck, man."
- else:
- print "I don't understand you."
- start(False)
- print "What do you want to do now? [boast about hat/go back/flee/suicide]"
- next = raw_input()
- if "boast about hat" in next:
- print "You're stupid. You're alone, you can't boast. Die."
- die("LOL'D")
- elif "go back" in next:
- print "Smart decision."
- corridor1_room()
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def corridor1_room():
- global instinct
- print """You enter a great hall. There are 6 ways to go:
- |---------|
- #3 #6
- | |
- #2 #5 X - you
- | |
- #1 X #4
- |---| |---|
- | |"""
- if instinct:
- print "INSTINCT: I'd chose a way no. 4!"
- print "What do you want to do now? [1/2/3/4/5/6/go back/flee/suicide]"
- next = raw_input("> ")
- if "1" in next:
- print "You have chosen the first way. You see some skeletons."
- pig_room()
- elif "2" in next:
- print "You have chosen the second way. You see a bright light in front of you."
- hat_room()
- elif "3" in next:
- print "You have chosen the third way. You go straight the turn right two times. You open small door."
- chest2_room()
- elif "6" in next:
- print "You have chosen the fourth way. You see Gandalf. He shouts: 'You shall not pass!'"
- print "You go back."
- corridor1_room()
- elif "5" in next:
- print "You have chosen the fifth way. you go straight and then turn left."
- print "You see the back of Gandalf. You can stab him if you want."
- print "Do you want to stab gandalf in his back? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "You stab Gandalf and watch him as he dies."
- print "You are so sad, that you kill yourself too."
- die("You're a moron.")
- elif "no" in next:
- print "You are a coward!"
- else:
- print "I don't understand you!"
- start(False)
- print "Do you want to go back? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "You go back."
- corridor1_room()
- elif "no" in next:
- print "You starve to death!"
- die("You're a FUCKING moron.")
- else:
- print "I don't understand you!"
- start(False)
- elif "4" in next:
- fire_corridor(False)
- elif "go back" in next:
- print "You go back."
- start(False)
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif "suicide" in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def spider_room():
- global instinct
- global sword
- print "You see a giant spider in front of you. You can't believe how big it is."
- print "You feel power emerging from it."
- print "What do you want to do now? [fight/flee/suicide]"
- next = raw_input("> ")
- if "fight" in next:
- if sword:
- print "You've defeated the beast! Congratulations."
- print "You've gained a new power: INSTINCT."
- instinct = True
- print "You go back."
- start(False)
- else:
- print "You didn't manage to kill the beast."
- die("The Spider Queen ate your lungs off")
- elif "flee" in next:
- print "You got caught in spider's web and died."
- print "Spider Queen: 'He was delicious!'"
- die("Your pussy was delicious.")
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def eric_room():
- global meat
- global cooked
- print "You enter a dark room. You smell death."
- print "You see an old man standing in the corner."
- print "Stranger: 'Hey! You! The ugly one! I am Eric. Behind this door *points at door* you can find a great treasure."
- print "Eric: 'I'm hungry though and I won't let you pass unless you give me pork."
- if meat:
- print "Do you want to give your meat to Eric? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "Eric: 'It's raw. I don't want it!'"
- elif "no" in next:
- print "You're greedy man. Learn to share."
- else:
- print "I don't understand you!"
- start(False)
- elif cooked:
- print "Do you want to give your cooked meat to Eric? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "Eric: 'Mmm..delicious! You can go now.'"
- cooked = False
- chest1_room()
- elif "no" in next:
- print "Eric knows you have cooked meat. He kills you and takes the meat."
- die("Learn to share!")
- else:
- print "I don't understand you!"
- start(False)
- else:
- print "What do you want to do now? [have sex with Eric/go back/flee/suicide]"
- next = raw_input("> ")
- if "have sex with Eric" in next:
- die("GAY")
- elif "go back":
- print "Okay."
- start(False)
- else:
- print "I don't understand you."
- start(False)
- def chest1_room():
- global sword
- print "You enter a really small room. It is the smallest room you've ever seen."
- print "You see a large chest."
- print "Do you want to open it? [yes/no]"
- next = raw_input("> ")
- if "yes" in next:
- print "Congratulations, you've found a sword!"
- sword = True
- print "Damage + 2"
- elif "no" in next:
- print "You suck, man."
- else:
- print "I don't understand you."
- start(False)
- print "What do you want to do now? [sharpen the sword/go back/flee/suicide]"
- next = raw_input()
- if "sharpen the sword" in next:
- print "You're an idiot. You try to sharpen the sword but you accidentaly cut your head off."
- die("LOL'D")
- elif "go back" in next:
- print "Smart decision."
- start(False)
- elif "flee" in next:
- print "Seriously? Okay.."
- start(False)
- elif suicide in next:
- print "As you wish."
- die("You commited a suicide!")
- else:
- print "I don't understand you!"
- start(False)
- def die(message):
- global name
- print """
- |-------------|
- | |
- | | |
- | --|-- |
- | | |
- | | |
- | R.I.P. |
- | |
- |-------------|
- %s, %s""" %(name, message)
- exit(0)
- def start(first):
- global name
- if first:
- print "Hello Stranger! My name is Jospeh and I'm your guide. I will help you find your way out of here."
- print "Trust me, I'm an engineer. Please remember to type the decisions exactly as given."
- print "What's your name?"
- name = raw_input("> ")
- print "There are 3 doors in the room. One on the right, one in front of you, and one on the left."
- print "Which one do you want to take? [right/opposite/left]"
- next = raw_input("> ")
- if "left" in next:
- spider_room()
- elif "right" in next:
- eric_room()
- elif "opposite" in next:
- corridor1_room()
- else:
- print "Bye!"
- exit(0)
- start(True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement