summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weatbag/tiles/centre.py7
-rw-r--r--weatbag/tiles/e1.py5
-rw-r--r--weatbag/tiles/n1.py4
-rw-r--r--weatbag/tiles/n2.py9
-rw-r--r--weatbag/tiles/n3.py2
-rw-r--r--weatbag/tiles/s1.py3
-rw-r--r--weatbag/tiles/s2.py8
-rw-r--r--weatbag/tiles/s3.py21
-rw-r--r--weatbag/tiles/w1.py5
9 files changed, 35 insertions, 29 deletions
diff --git a/weatbag/tiles/centre.py b/weatbag/tiles/centre.py
index c2709d7..2dc33ca 100644
--- a/weatbag/tiles/centre.py
+++ b/weatbag/tiles/centre.py
@@ -5,9 +5,10 @@ class Tile:
self.contents = {'rope': 1}
def describe(self):
- print("You are in a sizeable clearing in the forest. Paths lead off in "
- "four directions, which your unerring sense of direction tells you "
- "correspond to the four compass points.")
+ print("You are in a sizeable clearing in the forest. "
+ "Paths lead off in four directions, "
+ "which your unerring sense of direction tells you "
+ "correspond to the four compass points.")
if self.contents.get('rope'):
print("A short length of rope is lying on the floor.")
diff --git a/weatbag/tiles/e1.py b/weatbag/tiles/e1.py
index 486a98f..39f73e5 100644
--- a/weatbag/tiles/e1.py
+++ b/weatbag/tiles/e1.py
@@ -8,8 +8,9 @@ class Tile:
def describe(self):
print("The path crosses a small stream.")
if self.contents['berries']:
- print("There are some berries hanging from a tree. They look edible. "
- "If you're hungry enough, anyway.")
+ print("There are some berries hanging from a tree. "
+ "They look edible. "
+ "If you're hungry enough, anyway.")
def action(self, player, do):
if (do[0] in words.take) and ('berries' in do):
diff --git a/weatbag/tiles/n1.py b/weatbag/tiles/n1.py
index 1484ca4..ac89a1b 100644
--- a/weatbag/tiles/n1.py
+++ b/weatbag/tiles/n1.py
@@ -1,7 +1,7 @@
class Tile:
def describe(self):
- print("A path runs through dense jungle. To the north, you can see the "
- "entrance to a cave.")
+ print("A path runs through dense jungle. To the north, "
+ "you can see the entrance to a cave.")
def action(self, player, do):
# Nothing to do here yet.
diff --git a/weatbag/tiles/n2.py b/weatbag/tiles/n2.py
index 70f6051..fe4a3df 100644
--- a/weatbag/tiles/n2.py
+++ b/weatbag/tiles/n2.py
@@ -6,8 +6,8 @@ class Tile:
self.contents = {'match': 42}
def describe(self):
- print("You are standing in the mouth of a cave. The air feels cool and "
- "is filled with the stench of rotting flesh. "
+ print("You are standing in the mouth of a cave. The air "
+ "feels cool and is filled with the stench of rotting flesh. "
"A dark path leads to the north. An exit to the south.")
if self.contents['match'] > 0:
print("Someone has dropped a box of matches on the ground.")
@@ -17,8 +17,9 @@ class Tile:
return True
if player.has('flaming torch'):
return True
- print("You can't explore the cave without being able to see. You'll need "
- "that stalwart friend of the adventurer, the flaming torch.")
+ print("You can't explore the cave without being able to see. "
+ "You'll need that stalwart friend of the adventurer, "
+ "the flaming torch.")
def action(self, player, do):
if (do[0] in words.take) and ('matches' in do):
diff --git a/weatbag/tiles/n3.py b/weatbag/tiles/n3.py
index a1d8602..7d78b84 100644
--- a/weatbag/tiles/n3.py
+++ b/weatbag/tiles/n3.py
@@ -8,7 +8,7 @@ class Tile:
def describe(self):
if not self.enemy_dead:
- print("You encounter an orc! He's got a mean look, but you're a "
+ print("You encounter an orc! He's got a mean look, but you're a "
"strong one. You should be able to take him. Attack or flee?")
else:
print("You see an orc corpse here.")
diff --git a/weatbag/tiles/s1.py b/weatbag/tiles/s1.py
index 4e50936..556a3f3 100644
--- a/weatbag/tiles/s1.py
+++ b/weatbag/tiles/s1.py
@@ -1,6 +1,7 @@
class Tile:
def describe(self):
- print("You push through the undergrowth - the path is overgrown but continues on...")
+ print("You push through the undergrowth - "
+ "the path is overgrown but continues on...")
def action(self, player, do):
# Nothing to do here yet.
diff --git a/weatbag/tiles/s2.py b/weatbag/tiles/s2.py
index a66aa98..13b6d83 100644
--- a/weatbag/tiles/s2.py
+++ b/weatbag/tiles/s2.py
@@ -4,10 +4,10 @@ from weatbag import words
class Tile:
def describe(self):
- print("To the South, the foliage begins to thin and the path winds forwards "
- "up a steep hillside. A rugged granite rockformation tops "
- "the hill, its centerpiece two slabs of rock leaning together "
- "to form a crude arch." )
+ print("To the South, the foliage begins to thin and the path winds "
+ "forwards up a steep hillside. A rugged granite rockformation tops "
+ "the hill, its centerpiece two slabs of rock leaning together "
+ "to form a crude arch." )
def action(self, player, do):
# Nothing to do here yet.
diff --git a/weatbag/tiles/s3.py b/weatbag/tiles/s3.py
index 657f4a3..2eab970 100644
--- a/weatbag/tiles/s3.py
+++ b/weatbag/tiles/s3.py
@@ -14,8 +14,8 @@ class Tile:
self.pants_on_fire = True
print( "Just as you are returning to the path, a ball of fire "
"hurtles through the air and explodes at your feet, setting "
- "one of your pant legs on fire. You hear high pitched cackling and "
- "snorting.")
+ "one of your pant legs on fire. You hear high pitched cackling "
+ "and snorting.")
else:
print( "You see the charred ground, "
"reminding you of your encounter with the short man who set "
@@ -52,15 +52,15 @@ class Tile:
"drop to the ground and roll around until the fire is "
"extinguished. Covered in dirt and pantleg in tatters, you "
"stand up and face your assailant, a rather short man "
- "with pale skin and bushy orange hair."
+ "with pale skin and bushy orange hair. "
"Do you talk to him or rush him?")
elif 'puddle' in do:
self.pants_on_fire = False
print("You dash over the the mud puddle and splash water on your "
- "legs until the fire is quenched. Covered in mud and pantleg"
- "in taters, you stand up and face your assailant, a rather short man "
- "with pale skin and bushy orange hair."
+ "legs until the fire is quenched. Covered in mud and pantleg "
+ "in taters, you stand up and face your assailant, "
+ "a rather short man with pale skin and bushy orange hair."
"Do you talk to him or attack him?")
else:
print("You had better find a way to put out this fire. Your legs "
@@ -70,10 +70,11 @@ class Tile:
def action_short_man(self, player, do):
if do[0] in words.attack:
self.short_man_here = False
- print("Not one to be played around with, you charge the man. His amusement "
- "quickly turns to surprise and then fear as your size and "
- "determination become apparent. The man stumbles backwards and emits "
- "a yelp. Just before he hits the groud there is a dry popping noise "
+ print("Not one to be played around with, you charge the man. "
+ "His amusement quickly turns to surprise "
+ "and then fear as your size and determination become apparent. "
+ "The man stumbles backwards and emits a yelp. "
+ "Just before he hits the groud there is a dry popping noise "
"a flash of light and the man is gone. ")
elif do[0] in words.talk:
self.short_man_here = False
diff --git a/weatbag/tiles/w1.py b/weatbag/tiles/w1.py
index 6f9119e..b880840 100644
--- a/weatbag/tiles/w1.py
+++ b/weatbag/tiles/w1.py
@@ -1,8 +1,9 @@
class Tile:
def describe(self):
- print("The trees open out onto a beautiful beach. Small waves lap at the "
- "sand. Ahead of you, the ocean stretches as far as you can see.")
+ print("The trees open out onto a beautiful beach. "
+ "Small waves lap at the sand. Ahead of you, "
+ "the ocean stretches as far as you can see.")
def action(self, player, do):
# Nothing to do here yet.