Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 9.92 KB | None | 0 0
  1. import random
  2. import time
  3.  
  4. print "Type ancientRome() to begin."
  5.  
  6. def ancientRome():
  7.  
  8.   #INTRODUCTION#
  9.   item=[]
  10.   gender=input("What is your gender? Type 1 for male, type 2 for female.")
  11.   if gender==1:
  12.     name="Albus"
  13.   if gender==2:
  14.     name="Aemilia"
  15.   print "You are "+ name+", a Roman citizen growing up in the heart of the ancient city."
  16.   time.sleep(1.5)
  17.   print "Your parents own a tavern and you consider yourselves lucky that it is such a well-known spot that occasionally, Roman senators appear there to have evening drinks and talk politics."
  18.   time.sleep(3)
  19.  
  20.   # # # # INTRODUCTION # # # #
  21.  
  22.   print "One night, however, you overhear a strange conversation: a senator and a few of his drunk friends keep referencing some 'plan' of theirs that involves 'their last chance for good old Julius' and the 'code: senate'."
  23.   time.sleep(2)
  24.  
  25.   # # # # First Decesion # # # #
  26.  
  27.   first=input("Do you inch closer to them in hopes of hearing more of their conversation? Type 1 for no, 2 for yes.")
  28.  
  29.   if first==1:
  30.     return "Horrible idea. You may have gotten a good night's sleep, but Caesar's days are over tomorrow. However, you did ensure William Shakespeare could write his play 'Julius Caesar' years later. So not everything is horrible. Unless, of course, you hate Shakespeare."
  31.  
  32.   if first==2:
  33.     print "In vino veritas, you decide - excellent! You find out the guests indeed have a plan for Caesar and they keep saying that nobody must know. How fun! Secrets excite you."
  34.     time.sleep(3)
  35.     print "When the guests leave, the senator holds you back."
  36.     time.sleep(1.5)
  37.     print "'You're the one who served us, aren't you?' he asks. 'Well, please excuse my friend', he points at his drunken friend who kept making references."
  38.     time.sleep(3)
  39.     print "'I am afraid he has had rather too much to drink tonight. As this does not make for a good image of a Roman citizen, it would be better if you just forgot this evening', he says, 'please do accept this as a . . . promise you will not tell anyone about his drunk escapades.' He offers you several gold coins. That looks like quite the sum of money!"
  40.     time.sleep(4)
  41.    
  42.   # # # # Second Decision # # # #
  43.  
  44.     second=input("Do you accept his money? Type 1 for yes, 2 for no.")
  45.     if second==1:
  46.       item+="money"
  47.       print "The senator smiles, hands you the money and bids you goodbye. As you leave, you finally recognize him: his name is Gaius Cassius Longinus, a close confindante of Caesar. How odd. Despite having accepted his money, this affair seems to be getting stranger by the minute."
  48.       time.sleep(2)
  49.       print "Maybe you should investigate a bit further."
  50.    
  51.     if second==2:
  52.       time.sleep(2)
  53.       print "The senator looks at you with furrowed eyebrows, suddenly a lot less friendly. You recognize him as Gaius Cassius Longinus, Caesar's confidante along with Marcus Iunius Brutus."
  54.       time.sleep(3)
  55.       print "'But you will not tell anyone about this evening, understood?!', he asks you, his voice gaining a steely note."
  56.  
  57.    # # # Sub-Decision TWO # # #  
  58.    
  59.       third2=input("Do you stand up to him and tell him where to stick his ideas or do you just agree? Type 1 to stand up to him, 2 to remain quiet.")
  60.      
  61.       if third2==1:
  62.         print "That was a terrible idea, I'm sorry to say. Unfortunately, you will not live to see the Ides of March because Cassius, that little . . . @#%!# (censored) . . . has brought a dagger with him and before you can even figure out what he's doing with it, your windpipe is slashed."
  63.         time.sleep(3)
  64.         return "My condolences. But hey, at least Shakespeare got his characterisation of Cassius down correctly a few hundred years later."
  65.      
  66.       if third2==2:
  67.         time.sleep(2)
  68.         print "Good. You seem to have appeased him. However, this business still seems fishy to you, despite Cassius now looking friendlier, nodding at you and leaving. He rejoins his friends at the end of the alleyway."
  69.        
  70.     # # # # Return to Main String # # # #
  71.    
  72.     third1=input("Do you sneak after him to further eavesdrop on the conversation or do you return to your parents' tavern? Type 1 to investigate further, 2 to return to the tavern.")
  73.    
  74.     if third1==1:
  75.       print "As the saying goes, carpe noctem! Seize the night! You sneak after the group, your sandals barely making a sound."
  76.       time.sleep(2)
  77.       print "After a couple of blocks, the group meets up with a cloaked figure in a corner of the Forum Romanum. When the cloaked figure unveils its head, you are utterly shocked: it is Marcus Iunius Brutus, Caesar's right hand man."
  78.       time.sleep(3)
  79.       print "Cassius and Brutus and the other continue to speak in hushed voices.  There's something about 'toppling the emperor' and ' . . . must die'. You can understand enough to guess that this is about Caesar. It sounds like they wish to kill Caesar. You've discovered a plot to assasinate the leader of Rome!"
  80.       time.sleep(4)
  81.      
  82.       # # Sub-Decision Fourth # #
  83.      
  84.       fourth1=input("Now you have two options: you could listen for a bit longer or return home to plan from the safety of your room. Type 1 to listen for a bit longer, 2 to return home.")
  85.       if fourth1==1:
  86.         print "Hic manebimus optime, you decide, or 'Here we will stay, most excellently' - except everything is not excellent. A patrolling soldier eventually discovers you and drags you off. Your protesting doesn't do much-at least the conspirators didn't recognize you."
  87.         time.sleep(4)
  88.         subdue=input("Depending whether you accepted it, you could give the soldier Cassius's money as a bribe. Do you? 1 for no, 2 for yes.")
  89.         if subdue==1:
  90.           return "Well, this adventure didn't go too well. The soldier imprisons you, but you can escape the next morning after chaos breaks out in the Rome following Caesar's death. You haven't saved the future dictator, but hey, at least his death saved you. "
  91.         if subdue==2:
  92.           item.remove("m")
  93.           item.remove("o")
  94.           item.remove("n")
  95.           item.remove("e")
  96.           item.remove("y")
  97.           print "What luck! The soldier lets you go. Unfortunately, you're out of money now, but at least you're not in prison. To avoid any other bad circumstances, you go home immediately."
  98.        
  99.       # # return home # #
  100.      
  101.     if third1==2:
  102.       print "You make your way back to your parents' tavern. This day proved adventurous, and you'd like to go to bed now. However, that is not the plan Jupiter has in store for you. You see a man waving over to you and recognize him as Artemidorus of Cnidos, a travelling messenger."
  103.        
  104.         # # Sub-Decision Fifth # #
  105.        
  106.       fourth2=input("Do you go over to Artemidorus? Type 1 for no, 2 for yes.")
  107.       if fourth2==1:
  108.         return "There are other guests looking around eagerly for a server, including a nasty-looking man who's had rather too much wine. Unfortunately, this decision also kills all your options to save Caesar. The great dictator dies - and hundreds of years later, future you will get stuck with William Shakespeare's play."
  109.       if fourth2==2:
  110.          print "Artemidorus looks tired as you come over to him. He orders wine and you wrap in up in a conversation about his latest travels. It turns out he's been in Rome for weeks and was paid just today for a mysterious messenging service. It involves handing over a message to Antony or Caesar (Artemidorus didn't quite understand that part) to warn them about a conspiracy that could end in death."
  111.          time.sleep(4)
  112.          print "Of course! Realization hits you like brutum fulmen - a senseless thunderbolt, excpt this isn't senseless. That must be what Cassius was talking about. No one must know' and whatnot - this is about killing Caesar! You've discovered a conspiracy! Brilliant!"
  113.          time.sleep(3)
  114.     print "What to do now? The Ides of March are tomorrow."
  115.     print "You could write a note, a letter, and deliver it to Caesar's home. With a bit of luck, you could get past the guards."
  116.     time.sleep(2)
  117.     print "You decide to do just that. Though your penmanship is not the best, you string together the words and explain what you have seen and heard and discovered."
  118.     print "Now off to Caesar's home you go! It is a large building slightly outside the city and it is nighttime, meaning the guards won't be able to see as well. This could be an advantage."
  119.     time.sleep(4)
  120.     decision=input("Do you still have Cassius's money? If yes, money is excellent for causing distractions. If no, you may have to speak to a guard. Type 1 to use the money, 2 to speak to a guard: ")
  121.     if decision==1:
  122.       print "You throw the money against the wall. The loud clanging noise immediately distracts the soldiers, who rush over to check. You, meanwhile, climb over the wall and throw the letter through an open window in the first floor. After that, you can only make a quick exit and hope for the best."
  123.     if decision==2:
  124.       response=raw_input("What is the code word?: ")
  125.       while True:
  126.         if response=="senate":
  127.           break
  128.         else:
  129.           response=raw_input("What is the code word?: ")
  130.       print "You walk past the guard and hand your letter to the servant at the door. He takes it and you leave, hoping for the best for tomorrow."  
  131.     time.sleep(2)
  132.     print "But fear not-alea jacta est, the die have fallen, and they have fallen in favor of Caesar. By the next morning, Rome is in uproar, not because of Caesar's death, but because of the discovery of a conspiracy that attempted to take his life. Romans all thorughout the city are celebrating the anonymous tip that saved the emperor's life - congratulations! The conspiracy did exist, you proved it and thus, you also get the honor of using 'quod erat demonstrandum'. (Also, William Shakespeare will now find his play in the science-fiction/alternate reality section of bookstores since the events of the play never really happened)."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement