summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/s2.py
diff options
context:
space:
mode:
authorJulian Irwin <julian.irwin@gmail.com>2013-01-10 13:48:33 -0600
committerJulian Irwin <julian.irwin@gmail.com>2013-01-10 13:48:33 -0600
commit1bec3009e4d30e7e7c6854103d2688aa2059ebf5 (patch)
treeced8e2bab371fb4fa82a638bac05a5750327f6ba /weatbag/tiles/s2.py
parent31ee9408bd3f8510ded20755f5a56cd6404aea73 (diff)
Half way done with s3
Diffstat (limited to 'weatbag/tiles/s2.py')
-rw-r--r--weatbag/tiles/s2.py23
1 files changed, 3 insertions, 20 deletions
diff --git a/weatbag/tiles/s2.py b/weatbag/tiles/s2.py
index 85e94c6..a66aa98 100644
--- a/weatbag/tiles/s2.py
+++ b/weatbag/tiles/s2.py
@@ -4,30 +4,13 @@ from weatbag import words
class Tile:
def describe(self):
- print("The foliage begins to thin and the path winds forwards "
+ 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. Nondescript fields lie to the "
- "East and West.")
+ "to form a crude arch." )
def action(self, player, do):
# Nothing to do here yet.
print("Sorry, I don't understand")
- # Used for more colorfull invisible wall messages in leave.
- wrong_direction_counter = 0
-
- # Only allow movement to south, norht
- def leave(self, player, direction):
- if direction is 'e' or 'w':
- if self.wrong_direction_counter <=1 :
- print("There's nothing but non-descript fields over here. Better "
- "not leave the path.")
- else:
- print("You spend an hour wandering through the field and confirm that "
- "it is indeed nondescript. Upon returning to the path, the hilltop "
- "appears ever more alluring.")
- self.wrong_direction_counter += 1
- return False
- else:
- return True
+