Beispiel #1
0
def ONE(self):
    print("""
	Lorp Masson, the pious of Dr. Hat,
	sent Waddleston Emissary town to Tybalt Lane
	to oversee the booming of the goliath.

	Now this was overseas,
	and as such it was naturally underdone.
	The banions were paltry,
	but red, white, and blue nonetheless,
	so we threw our hats in the air
	and sung along with the band,
	though it was only three pieces
	and their drums were worn.

	Well, that was Labour Day,
	and naturally we came away from it...
	but, who knows?
	Maybe some good came of it anyway.

	Now you, sir.
	What did you say to Tybalt on that day?

	["Said he was a right thwacker, sir."]
	["Called him a buffoon."]
	["Told him to get out of it."]
	["Beat him right off."]
	""")

    choice = choose("thwacker", "buffoon", "get out", "beat")

    print("""
	Of course you did.
	""")
    raw_input()

    if choice == "thwacker":
        self["punchiness"] += 5
        self["barbosity"] += 2
        self["slickitude"] += 1
    elif choice == "buffoon":
        self["punchiness"] += 3
        self["barbosity"] += 4
        self["slickitude"] += 1
    elif choice == "get out":
        self["punchiness"] += 3
        self["barbosity"] += 2
        self["slickitude"] += 3
    else:
        self["punchiness"] += 4
        self["barbosity"] += 4

    return self
Beispiel #2
0
def ONE( self ):
	print("""
	Lorp Masson, the pious of Dr. Hat,
	sent Waddleston Emissary town to Tybalt Lane
	to oversee the booming of the goliath.

	Now this was overseas,
	and as such it was naturally underdone.
	The banions were paltry,
	but red, white, and blue nonetheless,
	so we threw our hats in the air
	and sung along with the band,
	though it was only three pieces
	and their drums were worn.

	Well, that was Labour Day,
	and naturally we came away from it...
	but, who knows?
	Maybe some good came of it anyway.

	Now you, sir.
	What did you say to Tybalt on that day?

	["Said he was a right thwacker, sir."]
	["Called him a buffoon."]
	["Told him to get out of it."]
	["Beat him right off."]
	""")

	choice = choose( "thwacker", "buffoon", "get out", "beat" )

	print("""
	Of course you did.
	""")
	raw_input()

	if choice == "thwacker":
		self["punchiness"] += 5
		self["barbosity"] += 2
		self["slickitude"] += 1
	elif choice == "buffoon":
		self["punchiness"] += 3
		self["barbosity"] += 4
		self["slickitude"] += 1
	elif choice == "get out":
		self["punchiness"] += 3
		self["barbosity"] += 2
		self["slickitude"] += 3
	else:
		self["punchiness"] += 4
		self["barbosity"] += 4
	
	return self
Beispiel #3
0
def TWO( self ):
	print( """
	Now, Tybalt was bearing papers that time,
	papers bourne to him by Waddleston Emissary,
	signed in the name of Dr. Hat
	and sealed with his personal signet,
	asserting his right to trundle the left-wight spigot.

	Did he produce those papers for you?

	["He did not."]
	["He denied having papers."]
	["He had no such papers."]
	["Yes, I saw them."]
	""")
	choice = choose( "not", "denied", "none", "saw" )

	if choice == "not":
		print("""
			He didn't ask for 'em, yr'onor!
		""")
		self["justicality"] += 1
	elif choice == "denied":
		print("""
			That is a heinous lie, yr'honor!
		""")
		self["justicality"] -= 1
		
	elif choice == "none":
		print("""
			That is a heinous lie, yr'honor!
		""")
		self["justicality"] -= 1
	else:
		print("""
			Damn right he did!
		""")
	print("""
	Your testimony has been heard, Mr. Tybalt.
	""")
	raw_input()

	return self
Beispiel #4
0
def TWO(self):
    print("""
	Now, Tybalt was bearing papers that time,
	papers bourne to him by Waddleston Emissary,
	signed in the name of Dr. Hat
	and sealed with his personal signet,
	asserting his right to trundle the left-wight spigot.

	Did he produce those papers for you?

	["He did not."]
	["He denied having papers."]
	["He had no such papers."]
	["Yes, I saw them."]
	""")
    choice = choose("not", "denied", "none", "saw")

    if choice == "not":
        print("""
			He didn't ask for 'em, yr'onor!
		""")
        self["justicality"] += 1
    elif choice == "denied":
        print("""
			That is a heinous lie, yr'honor!
		""")
        self["justicality"] -= 1

    elif choice == "none":
        print("""
			That is a heinous lie, yr'honor!
		""")
        self["justicality"] -= 1
    else:
        print("""
			Damn right he did!
		""")
    print("""
	Your testimony has been heard, Mr. Tybalt.
	""")
    raw_input()

    return self
Beispiel #5
0
def FOUR( self ):
	print("""
	There is one more matter
	of which I want to assure myself.

	Your wife, Mrs. Mason, I'm sure you remember her,
	the hermwig in the white dress,
	she came up here and spoke to us
	a minute before you got in,
	and she told us that you justified yourself
	that day and hereafter, publicly,
	as regards your actions on that day.

	You're certainly aware of the pernicious malevolences,
	their threat to the throne,
	the obwobbles, syndromes, and various Disguises,
	with which are manifest the baseries
	and the various vilenesses
	that do strive to undo us.
	And you are naturally aware
	of the effect such words might have.

	I ask you to justify yourself --
	though bear in mind that no justification
	is a legitimate defense
	for having contradicted an edict composed of Royal Power --
	I ask you to justify yourself
	here, in this courtroom,
	in the same manner in which you have justified yourself publicly
	in past and in presence of masses.

	["It was a matter of justice."]
	["It was a matter of public safety."]
	["I was simply angry."]
	["Go f**k yourself."]
	""")
	choice = choose( "justice", "safety", "angry", "f**k" )
	if choice == "justice":
		print("""
		The Royal Power is the only justice
		with which this court is concerned, sir.
		I don't know what kind of tribal law you follow,
		but your alternate system of ethics
		does not enter into the matter.
		""")
		self["pluchritude"] += 2
		self["barbosity"] += 2
		self["punchiness"] += 2
		self["slickitude"] -= 2
	elif choice == "safety":
		print("""
		Well, is that so?
		Naturally, you would be an expert in the matter.
		Well.

		Should it turn out to be the case
		that there is justification for your actions
		on the grounds of public safety
		then you may expect a Royal Pardon.
		But that is not the business of this court,
		so I suggest you keep your defense in order.
		""")
		self["slickitude"] += 4
		self["punchiness"] += 2
	elif choice == "angry":
		print("""
		Well, at least you are honest.
		""")
		self["punchiness"] += 4
		self["barbosity"] += 4
		self["slickitude"] -= 2
	else:
		print("""
	Why thank you!
		""")
		raw_input()
		print("""
	That makes the matter much easier!
	I was hoping I might have the day off today,
	and you, child, have just made it possible.

	(BANG OF GAVEL)

	I find the defendent in contempt of court
	and sentence it to death.

	Court adjourned till the morrow.
		""")
		sys.exit()

	return self
Beispiel #6
0
def THREE( self ):
	print("""
	Whenceward and upward, you heard
	that fairness was gone out of it:
	the command was granted,
	and you were all to clear out.
	Now, it is well-established:
	that you had been informed
	of the nature of the edict
	and its suchwhile surveillance.

	You're under key with it, sir?

	["I am, sir."]
	["I am not, sir."]
	""")

	choice = choose( "am", "not" )

	if choice == "am":
		pass
	else:
		self["punchiness"] += 2
		self["barbosity"] += 2
		self["slickitude"] -= 2
		print("""
	Don't you play dumb with me,
	you young snappit!
	I've seen your test results
	and they're nothing to play around with.
	Now, if you don't understand,
	I shall explain for you in simpler terms,
	but I shall only warn you once:
	you f**k with this court
	and you shall be held in contempt.

	Now, hear me:
	Witnesses attest to your being informed
	of the nature of Mr. Tybalt's mission.
	Multiple witnesses.
	Is this not the case?

	["Yes."]
	["No."]
	""")
		choice = choose( "yes", "no" )
		if choice == "yes":
			pass
		else:
			print("""
	I hold the witness in contempt of court.
	The remainder of the trial
	will be conducted in its absence.
		""")
			raw_input()
			sys.exit()

	print("""
	Very well then, let's proceed.
	""")
	raw_input()

	return self
Beispiel #7
0
def partTwo( chars ):
	self = chars["self"]
	citadel = chars["citadel"]
	grove = chars["grove"]


	print( """ 
	GUARDSMAN:
	Well NOW we know it's real!

	SCENE:
	The parapet surrounded.
	What use is armor?
	Shall we throw fire?

	From here, we can oversee
	the whole Westlands,
	the great Plains of Avinor,
	now fogged with marsh.
	
	And the song they bled,
	great trees out of the ancient lands
	grown wild beyond repair.

	They disassemble the parapet.
	They crush babies with stones.
	""" )
	raw_input()

	# Next some setup:

	# Setup the player
	playerEarth = 5
	playerAir = 5
	playerFire = 5
	playerWater = 5

	# Setup the tree
	willowEarth = 20
	willowAir = 10
	willowFire = 2
	willowWater = 20

	# There are two sides, the player and the willow.
	# Each receives a bonus equal to their side's share of
	# the three stats below.
	# Sorrow does not yet come into play.
	multiplier = 10
	totalDeterm = citadel["determination"] + self["determination"] + grove["determination"]
	totalPeace = citadel["peace"] + self["peace"] + grove["peace"]
	totalDeterm = citadel["anger"] + self["anger"] + grove["anger"]
	
	defenderDetermBonus = ( citadel["determination"] + self["determination"] ) / totalDeterm * multiplier
	defenderPeaceBonus = ( citadel["peace"] + self["peace"] ) / totalDeterm * multiplier
	defenderAngerBonus = ( citadel["anger"] + self["anger"] ) / totalDeterm * multiplier
	
	# Determination boosts Earth and Fire
	playerEarth += int(defenderDetermBonus)
	playerFire += int(defenderDetermBonus)
	
	# Peace boosts Water and Air
	playerWater += int(defenderPeaceBonus)
	playerAir += int(defenderPeaceBonus)
	
	# Anger boosts fire
	playerFire += int(defenderAngerBonus)
	
	# The willow receives the same bonuses, but mirrored.
	willowEarth += int( multiplier - defenderDetermBonus )
	willowFire += int( multiplier - defenderDetermBonus )
	willowFire += int( multiplier - defenderAngerBonus )
	willowWater += int( multiplier - defenderPeaceBonus )
	willowAir += int( multiplier - defenderPeaceBonus )
	
	if playerEarth > willowEarth:
		print("""
	The tree's bulk does not intimidate you.

	One might say it is willowy.
	""")

	if playerAir <= 10:
		print("""
	You hope this doesn't last too long.
		""")
	if playerAir <= 5:
		print("""
	You feel out of breath and anxious.
		""")

	if playerWater < willowWater:
		print("""
	The tree drinks from deep roots.
		""")
	if playerWater > willowWater:
		print("""
	Trees are things of peace.
		""")
	else:
		print("""
	The signs are fortuitous.
		""")

	if playerFire > willowFire:
		print("""
	You could probably overpower the tree.
		""")
		if playerWater > willowWater:
			print("""
		The it doesn't look too dangerous.
			""")
	elif playerFire < willowFire:
		print("""
	The tree's anger intimidates you.
		""")
		if playerWater == willowWater:
			print("""
		Yet the signs are good.
			""")

	# Use that info to create the dance object

	dance = rules.set_stage( 
			playerEarth, playerAir, playerFire, playerWater, # Player
			willowWater, willowAir, willowFire, willowWater, # Someday name a character WillowFire
			2, 0 ) # Start at mid-range
	gameData = json.loads( dance )
#	display.display( dance )

	dance = json.dumps( gameData )

	print( """
		This was autumn,
		and the leaves of the maples were yellow.
		The kingdom was white and amber that year;
		the sky was clear blue.
		And their white barks upon us,
		their twisting roots and their
		white whips of flower,
		they tore the stones from our walls
		and flung them down upon the city,
		brought the castle to earth,
		dissolved our entire architecture
		then besieged us here in the citadel.
		We defend it with fire-arrows.

		Your children are inside.
		Your brothers and sisters,
		your whole monstrous society:
		you have broken the covenant.

		They put an axe in your hand.
		Can you wield it?
		Can you wield it against the tree whose flesh
		is the flesh of your ancestors?

		""" )
	raw_input()

#	CHOICE TWO:

	def attack():
		"""
		Doing violence increases your own anger
		and the grove's.
		"""
		grove["anger"] += 2
		grove["peace"] -= 2
		self["anger"] += 1
		self["peace"] -= 2
	def holy():
		"""
		Holy behavior has a stranger effect.
		"""
		grove["sorrow"] += 2
		grove["peace"] += 1
		grove["determination"] -= 1
		self["peace"] += 2
		citadel["peace"] += 2
		citadel["sorrow"] += 1

	def checkDistance( distance ):
		"""
		Gives you information
		about how far the tree is.
		"""
		if distance == 0:
			print("""
		You are entangled in branches,
		actively wrestling and choking
		against great muscular trunks,
		struggling for survival.
			""")
		elif abs(distance) == 1:
			print("""
		The tree lashes you with its branches.
			""")
		else:
			print("""
		You are not very close to the tree.
			""")
	def checkBalance( bal0, bal1 ):
		"""
		Give information about relative balances,
		assuming bal0 is of the player,
		and prints an indication of one's chances.
		"""
		if abs(bal0) < abs(bal1):
			print("""
			You feel confident.
			""")
		elif abs(bal0) > abs(bal1):
			print("""
			Something doesn't feel right.
			""")
		else:
			print("""
			Things could go either way.
			""")
	def checkDeath():
		pass

	# INFORMATION:
	print( """
It roots up marble flagstones 
and heaves them through storefronts.

It crushes the homes of the living,
scatters their property all about.

It is the home of the dead.

You have a good steel axe in hand.
""")

	checkDistance( gameData["game"]["d"] )
	checkBalance( gameData["0"]["balance"], gameData["1"]["balance"] )
	
	# CHOICES:
	print("""
Do you advance upon it?
Do you shout out a prayer?
		""")

	answer = choose.choose( "advance", "shout" )

	# EFFECTS:
	if answer == "advance":
		print( """
	You advance purposefullly toward the willow,
	axe steady in your hand.

	It gazes sorrowfully at you.
	""" )
		grove["sorrow"] += 1
		gameData["0"]["choice"] = "advance"
	elif answer == "shout":
		print("""
	You shout out an urgent prayer:

	"Father! Have pity on me!
	Mother! Have pity on me!
	Honored grandfather,
	show me how I may be absolved!"

	The tree seems to glare at you.
	""")
		holy()
		gameData["0"]["choice"] = "jest"

	# RESPONSE:
	gameData["1"]["choice"] = "advance"
	if self["sorrow"] >= grove["sorrow"]:
		print( """
		The willow abandons its sad work
		and turns its attention to you.
		It trundles forwards,
		flaling its whips menacingly.
		""")
	else:
		print( """
	The willow flails its whips menacingly
	and advances upon you,
	crumbling marble with its feet.
	""")

	# INFORMATION
	if abs(gameData["0"]["balance"]) == abs(gameData["1"]["balance"]):
		print("""
	All things are in alignment.
	""")
	if abs(gameData["0"]["balance"]) < abs(gameData["1"]["balance"]):
		print("""
	What is to be feared?
	""")
	else:
		print("""
		What's wrong with me?
		""")

	if gameData["0"]["heat"] == gameData["0"]["fire"]:
		print("""
	Sweat upon your brow.
	You feel high.
	""")
		self["anger"] += 2
	raw_input()
	
	# TURN OVER THE GAME
	dance = json.dumps( gameData )
	dance = rules.turn( dance )
	gameData = json.loads( dance )
#	display.display( dance )

	# INFORMATION:
	checkDistance( gameData["game"]["d"] )
	checkBalance( gameData["0"]["balance"], gameData["1"]["balance"] )

	print("""
Do you chop at the tree's trunk?
Do you stand motionless before it?
Do you keep your distance?
""")
	answer = choose.choose( "chop", "stand", "distance" )

	# RESULTS:
	if answer == "chop":
		gameData["0"]["choice"] = "touch"
		print("""
		You raise your axe and swing with all your might.
	
		It bites deep into the limb.
		""")
		self["anger"] += 3
	elif answer == "stand":
		gameData["0"]["choice"] = "breathe"
		print("""
	You close your eyes and remain motionless.
	All thoughts leave your mind.
	""")
	elif answer == "distance":
		print("""
	You backpedal quickly,
	trying to stay out of its reach.
	""")
		gameData["0"]["choice"] = "retreat"
	else: raise Exception

	# IN RESPONSE, THE TREE WILL TOUCH.

	gameData["1"]["choice"] = "touch"

	# TURN OVER THE GAME
	dance = json.dumps( gameData )
	dance = rules.turn( dance )
	gameData = json.loads( dance )
#	display.display( dance )

	# INFORMATION
	if abs(gameData["game"]["d"]) < 2:
		print("""
		You're struck soundly by a branch,
		right in the gut,
		knocked to the ground,
		gasping for air.

		Dust rises around you.
		""")
	else:
		print("""
	The tree flails at you in rage.
	""")

	if gameData["0"]["heat"] == gameData["0"]["fire"]:
		print("""
	Your body is covered in cuts and bruises.
	""")

	if gameData["1"]["heat"] == gameData["1"]["fire"]:
		print("""
	You've made a fine start on that tree though.
	It looks like you could start
	to do some real damage soon.

	Maybe take off a limb.
	""")
	
	if gameData["0"]["heat"] == gameData["0"]["fire"]:
		print("""
		You feel dizzy.

		Can you keep this up?
		""")

	# CHOICE:

	checkDistance( gameData["game"]["d"] )
	checkBalance( gameData["0"]["balance"], gameData["1"]["balance"] )

	print("""
		Do you defend yourself?
		Or do you suddenly give voice to an ecstatic hymn?
		""")
	answer = choose.choose( "defend", "hymn" )

	# RESULT:
	if answer == "defend":
		if abs(gameData["game"]["d"]) > 1:
			if self["anger"] > 2:
				gameData["0"]["choice"] = "advance"
				print("""
			Sometimes the best defense
			is a good offence!
	
			You dive once again into the fray.
			People cheer from the balconies:
			their red & green silks,
			the marble balustrades,
			their golden bangles and ornaments.

			You swing your axe wildly to protect yourself.
			""")
			else:
				gameData["0"]["choice"] = "breathe"
				print("""
			Yet you feel in no danger.

			So you merely close your eyes
			and meditate upon the beauty of the universe.
			""")
			
		else:
			gameData["0"]["choice"] = "evade"
			print("""
		You manage to dodge a series of swiftly-swung branches.

		Gosh! That was close!
		""")
	elif answer == "hymn":
		gameData["0"]["choice"] = "jest"
		print("""
	Hao yumm ho hai!
	We bask the day away.
	Good tree, don't cry
	cause we forgot your
	ancient mystery,
	for TREE, we do love you
	& we sorrow for you.

	Please don't do us evil.
	Don't destroy our home.
	""")
		holy()
	else: raise Exception

	# IN RESPONSE, THE TREE WILL ADVANCE
	# This is the turning point.
	# If the player still has their faith after this,
	# The tree will back off.
	gameData["1"]["choice"] = "advance"
	print("""
		The tree closes in on you.
		""")

	print("""
		You have a sense of something
		heightened about the moment.
		""")

	# TURN THE GAME OVER
	dance = json.dumps( gameData )
	dance = rules.turn( dance )
	gameData = json.loads( dance )
#	display.display( dance )

	# INFORMATION:
	if gameData["game"]["d"] == 0 and gameData["0"]["choice"] != "evade":
		print("""
			The tree gives you a good knock in the head.
			""")
	else:
		print("""
	The willow thrashes
	its thin whips menacingly.

	It strews petals all about.
	""")

	if gameData["0"]["will"] < gameData["0"]["earth"]:
		print("""
	Your vision goes fuzzy for a second.
	You can feel your temple swelling
	and your brain pounding
	""")


	# CHOICE:

	checkDistance( gameData["game"]["d"] )
	checkBalance( gameData["0"]["balance"], gameData["1"]["balance"] )

	if gameData["1"]["heat"] == gameData["1"]["fire"]:
		print("""
		The bark is shorn from its limb.
		""")

	print("""
		Do you strike once again?
		Do you give yourself up to the tree's will?
		Or do you try to flee?
		""")
	answer = choose.choose( "strike", "drift", "flee" )
	# Poor lads don't have command lines
	if answer == "strike":
		gameData["0"]["choice"] = "touch"
		print("""
	You swing your axe in a great arc.
	""")
		attack()
		
		# Note the quality of the blow
		if abs(gameData["0"]["balance"]) < abs(gameData["1"]["balance"]):
			print("""
		You deal it a mighty blow!
		""")
		if abs(gameData["0"]["balance"]) == abs(gameData["1"]["balance"]):
			print("""
		The terrace echoes
		with the sound of your strike.
		""")
		if abs(gameData["0"]["balance"]) > abs(gameData["1"]["balance"]):
			print("""
		It's not a direct hit.
		""")
		
		# Then tell if real damage has been dealt.
		if gameData["1"]["will"] < gameData["1"]["earth"]:
			print("""
			You have lopped off a great limb!
			It falls you the ground!

			This will make a fine trophy.
			""")


	elif answer == "drift":
		gameData["0"]["choice"] = "breathe"
		print("""
	You collapse into the tree's embrace.
	""")
		holy()
	elif answer == "flee":
		gameData["0"]["choice"] = "retreat"
		if abs(gameData["game"]["d"]) == 0:
			print("""
		You disentangle yourself
		and slip out of the grasp
		of twining tendrils.
		""")
		else:
			print("""
		You back further away.
		""")
	else: raise Exception

	# IN RESPONSE, THE TREE WILL JUDGE YOU
	def judge( gameData ):
		if (gameData["1"]["heat"] < gameData["1"]["fire"]) and (gameData["0"]["calm"] >= gameData["1"]["calm"]):
			return True
		elif self["peace"] >= grove["peace"] and gameData["0"]["calm"] >= gameData["1"]["calm"]:
			return True
		else: return False

	if judge( gameData ):
		gameData["1"]["choice"] = "breathe"
		gameData["1"]["will"] = 0
		grove["peace"] += 5
		grove["anger"] -= 5
		print( """
The tree suddenly relaxes.
It seems to expand,
and sparkle in the sunlight.

You have brought it to peace.
""")
	else:
		gameData["1"]["choice"] = "touch"
		print( """
	The tree rages and thrashes its mighty branches.
	""")

	dance = json.dumps( gameData )
	dance = rules.turn( dance )
	display.display( dance )
	gameData = json.loads( dance )
#	display.display( dance )
	
	if abs(gameData["game"]["d"]) <= 1:
		print("""
		You are badly wounded,
		and later wake up in the infirmary.
		""")
	else:
		print("""
		You manage to get away,
		and return to the citadel
		to give word of your mission.
		""")
# EPODE
# Wrap up the chapter by turning dance data back into real data

# If your heat is greater than the tree's,
# you may have walked a path of power.
	if gameData["0"]["heat"] > gameData["1"]["heat"]:
		print( """
		Now THIS will show your worth!
		""")
	
	if gameData["1"]["will"] < gameData["1"]["earth"]:
		print("""
		They tell you the tree has retreated!
		""")

	# If your calm is greater than the tree's,
	# You may have walked a path of peace.
	if gameData["0"]["calm"] > gameData["1"]["calm"]:
		print("""
		You have navigated the situation
		with grace and beauty.
		""")
		if abs(gameData["0"]["balance"]) < abs(gameData["1"]["balance"]):
			print("""
			Even the tree is in awe of you.
			""")
		if gameData["1"]["will"] < gameData["1"]["earth"]:
			print("""
			They will sing of this day for ages.
			""")
		if gameData["0"]["will"] < gameData["0"]["earth"]:
			print("""
			You have sacrificed much,
			and you will sacrifice again.
			""")
	elif gameData["0"]["calm"] > gameData["1"]["calm"]:
		print("""
		And yet the grove is so beautiful.
		""")
	else:
		print("""
		A fair omen shines in the east.
		""")


	# If you have taken will damage, determination is reduced.
	if gameData["0"]["will"] * 2 < gameData["0"]["earth"]:
		print("""
		You have been gravely wounded.

		They looked at you for a while
		as if you were already dead.

		Now they watch you with hope and fear.
		""")
		self["determination"] -= 5
		self["anger"] += 3
		citadel["anger"] += 7
	elif gameData["0"]["will"] < gameData["0"]["earth"]:
		print("""
		The experience has taken a toll on you.
	
		People stare at your wounds.
		""")
		self["determination"] -= 2
		self["anger"] += 2
		citadel["anger"] += 5
	
	# If the tree hasn't taken will damage, the citadel is harmed.
	if gameData["1"]["calm"] == gameData["1"]["air"]:
		# Unless it has been calmed.
		grove["peace"] += 3
		grove["determination"] -= 3
		print("""
		The tree seems to smile upon you.
		""")
	elif gameData["1"]["will"] == gameData["1"]["earth"]:
		citadel["determination"] -= 5
		print("""
		The tree is grim toward you.
		""")
	else:
		# Your violence makes you feel guilty
		# But the forest's determination is dulled.
		self["sorrow"] += 5
		print("""
		You regret your brutal and heretical acts.
		""")

	print( "self" )
	print( self )
	print( "grove" )
	print( grove )
	print( "citadel" )
	print( citadel )
	
	return chars
Beispiel #8
0
def partOne( chars ):
	self = chars["self"]
	citadel = chars["citadel"]
	grove = chars["grove"]


	print("""
CHAPTER ONE
	""")

	# CHOICE ONE:

	raw_input()
	print( """
		And you.

		What do you want?
	""" )

	answer = choose.choose( "power", "love", "peace", "forgiveness" )

	if answer == "power":
		self["anger"] += 12.5 # power, greed, and hate are interrelated
		self["sorrow"] += 1 # ambition rarely begets regret
		self["peace"] += 7.5 # serenity is the path to power
		self["determination"] += 9 # perhaps selfishness is not as strong as empathy
		print("""
	You feel that you're not as strong
	as you once were.

	But then again,
	maybe you're stronger than ever.

		""")
	elif answer == "love":
		self["anger"] += 4 # because love is often lost
		self["sorrow"] += 5 # because love leads to empathy
		self["peace"] += 10 # because the path of love is joyous
		self["determination"] += 10
		print("""
	Isn't love the answer to everything?
		""")
	elif answer == "peace":
		self["anger"] += 1 # because you are not perfect
		self["peace"] += 15 # because you often find what you seek
		self["sorrow"] += 2 # because coolness does not beget sorrow much
		self["determination"] += 10
		# Accidentally destroyed art of cat that was supposed to go here.
		print("""
		You ain't mad.
		""")
	elif answer == "forgiveness":
		# this might be the weakest loadout, but high sorrow is good in the end
		self["anger"] += 3 # your people have failed you, and vice versa
		self["sorrow"] += 10 # you are filled with regret
		self["determination"] += 5 # you are weak-willed and trembling
		self["peace"] = 5 # you are all decomposed
		print("""
	They ripped a child in half.

	Two men threw fire upon one,
	and it stood before their homes
	while it burned to a single pillar
	of black ash.

	They came upon the library
	and they ripped each book to shreds,
	slept than night in the confetti.
		""")
	else: raise Exception

	# AND THE REACTION TO YOUR CHOICE
	if citadel["anger"] < self["anger"]:
		citadel["peace"] -= 1 # because of your influence
		print("""
		Love is a word for the weak:
		let them hear it stamped out!

		We will not be annihilated because of love!
		""")
	elif self["anger"] < citadel["anger"]:
		self["sorrow"] += 1
		print("""
		"Love is a word for the weak:
		let them hear it stamped out!"

		"We will not be annihilated because of love!"
		""")
	else:
		print("""
		The world seems strange to you.

		Are you asleep?
		""")

	if self["peace"] > grove["peace"]:
		self["peace"] += 2
		grove["peace"] += 2
		citadel["peace"] += 2
		print("""
		Have no fear for this.

		It is a matter of mistakes.

		Let us be grateful.
		""")
	elif self["peace"] == grove["peace"]:
		self["peace"] += 1
		grove["peace"] += 1
		citadel["peace"] += 1
		print("""
		A good sign appears in the eastern sky.

		Your little boy tells you about it the next day.
		""")
	else:
		print("""
		The grasses so tremble...
		all the willows, their white flashes...
		upon the hillside, upon the fields...
		they besiege us so gently,
		they sway in repose.

		How could such beauty
		redouble your terror?
		""")
	
	if self["sorrow"] >= 10:
		print("""
		We have been so foolish.
		I have been so foolish.

		Can we be forgiven?
		
		Can we dedicate ourselves to reform?

		Or have we grown too weak
		to even muster the strength
		to recognize our own decadence
		and the necessity of tradition?
		""")
	if self["sorrow"] >= 5:
		print("""
		Nobody knows.

		Nothing matters.
		Nothing means anything.
	
		Let us free.
		""")
		grove["peace"] += 5
		self["peace"] += 5
	elif self["sorrow"] >= 2:
		print("""
		Let us free.
		Let us seek out
		some way of escape,
		let us get away from this.

		It's so foolish...
		just forgive us!
		We couldn't have known!
		""")
		grove["peace"] += 2
		self["peace"] += 2
	else:
		print("""
		No sentiment is required here.
		We will do what is necessary,
		and the superstitions of our forefathers
		will not hold back our progress.
		""")
		grove["anger"] += 5
		grove["determination"] += 5

	# finally determination

# NOW SET STAGE FOR DANCING
# The first dance is between the player
# and a single willow.
# The setting is a terrace on the 
# high part of the Marble City.
# The willows are pink in the distance
	return chars
Beispiel #9
0
def FOUR(self):
    print("""
	There is one more matter
	of which I want to assure myself.

	Your wife, Mrs. Mason, I'm sure you remember her,
	the hermwig in the white dress,
	she came up here and spoke to us
	a minute before you got in,
	and she told us that you justified yourself
	that day and hereafter, publicly,
	as regards your actions on that day.

	You're certainly aware of the pernicious malevolences,
	their threat to the throne,
	the obwobbles, syndromes, and various Disguises,
	with which are manifest the baseries
	and the various vilenesses
	that do strive to undo us.
	And you are naturally aware
	of the effect such words might have.

	I ask you to justify yourself --
	though bear in mind that no justification
	is a legitimate defense
	for having contradicted an edict composed of Royal Power --
	I ask you to justify yourself
	here, in this courtroom,
	in the same manner in which you have justified yourself publicly
	in past and in presence of masses.

	["It was a matter of justice."]
	["It was a matter of public safety."]
	["I was simply angry."]
	["Go f**k yourself."]
	""")
    choice = choose("justice", "safety", "angry", "f**k")
    if choice == "justice":
        print("""
		The Royal Power is the only justice
		with which this court is concerned, sir.
		I don't know what kind of tribal law you follow,
		but your alternate system of ethics
		does not enter into the matter.
		""")
        self["pluchritude"] += 2
        self["barbosity"] += 2
        self["punchiness"] += 2
        self["slickitude"] -= 2
    elif choice == "safety":
        print("""
		Well, is that so?
		Naturally, you would be an expert in the matter.
		Well.

		Should it turn out to be the case
		that there is justification for your actions
		on the grounds of public safety
		then you may expect a Royal Pardon.
		But that is not the business of this court,
		so I suggest you keep your defense in order.
		""")
        self["slickitude"] += 4
        self["punchiness"] += 2
    elif choice == "angry":
        print("""
		Well, at least you are honest.
		""")
        self["punchiness"] += 4
        self["barbosity"] += 4
        self["slickitude"] -= 2
    else:
        print("""
	Why thank you!
		""")
        raw_input()
        print("""
	That makes the matter much easier!
	I was hoping I might have the day off today,
	and you, child, have just made it possible.

	(BANG OF GAVEL)

	I find the defendent in contempt of court
	and sentence it to death.

	Court adjourned till the morrow.
		""")
        sys.exit()

    return self
Beispiel #10
0
def THREE(self):
    print("""
	Whenceward and upward, you heard
	that fairness was gone out of it:
	the command was granted,
	and you were all to clear out.
	Now, it is well-established:
	that you had been informed
	of the nature of the edict
	and its suchwhile surveillance.

	You're under key with it, sir?

	["I am, sir."]
	["I am not, sir."]
	""")

    choice = choose("am", "not")

    if choice == "am":
        pass
    else:
        self["punchiness"] += 2
        self["barbosity"] += 2
        self["slickitude"] -= 2
        print("""
	Don't you play dumb with me,
	you young snappit!
	I've seen your test results
	and they're nothing to play around with.
	Now, if you don't understand,
	I shall explain for you in simpler terms,
	but I shall only warn you once:
	you f**k with this court
	and you shall be held in contempt.

	Now, hear me:
	Witnesses attest to your being informed
	of the nature of Mr. Tybalt's mission.
	Multiple witnesses.
	Is this not the case?

	["Yes."]
	["No."]
	""")
        choice = choose("yes", "no")
        if choice == "yes":
            pass
        else:
            print("""
	I hold the witness in contempt of court.
	The remainder of the trial
	will be conducted in its absence.
		""")
            raw_input()
            sys.exit()

    print("""
	Very well then, let's proceed.
	""")
    raw_input()

    return self