summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n4w5.py
diff options
context:
space:
mode:
Diffstat (limited to 'weatbag/tiles/n4w5.py')
-rw-r--r--weatbag/tiles/n4w5.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/weatbag/tiles/n4w5.py b/weatbag/tiles/n4w5.py
new file mode 100644
index 0000000..8308503
--- /dev/null
+++ b/weatbag/tiles/n4w5.py
@@ -0,0 +1,20 @@
+class Tile:
+ map_word = "Pine forest"
+
+ def describe(self):
+ print("There are not so many trees around but the ground is full of "
+ "pine needles and pine cones.\n")
+
+ def action(self, player, do):
+ print("I don't understand.")
+
+ def leave(self, player, direction):
+ if direction == "e":
+ print("Area 51. No trespassing beyond this point.")
+ return False
+ elif direction == "n":
+ print("There is an opening that leads you to the beach on the "
+ "northen side of the island.")
+ return True
+ else:
+ return True