summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n3w1.py
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2013-04-30 10:15:21 -0700
committerThomas Kluyver <takowl@gmail.com>2013-04-30 10:15:21 -0700
commite8676fe2073467b093af0abc8ccb19443ed4ecb7 (patch)
treec25d9794e1b8c77d70c2862f07f197fc0c69f067 /weatbag/tiles/n3w1.py
parente3612c7544341abf9e84234d4bda5f65ce8ee47a (diff)
parent3d626b5229add94f08acc3ae3731566507fc2f7e (diff)
Merge pull request #22 from ratmonkey/island_rebased
Island area
Diffstat (limited to 'weatbag/tiles/n3w1.py')
-rw-r--r--weatbag/tiles/n3w1.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/weatbag/tiles/n3w1.py b/weatbag/tiles/n3w1.py
new file mode 100644
index 0000000..98877eb
--- /dev/null
+++ b/weatbag/tiles/n3w1.py
@@ -0,0 +1,41 @@
+class Tile:
+ def describe(self):
+ print("The beach is quiet. To the south children are playing.\n")
+
+ def action(self, player, do):
+ print("wo0t w0ot?! o_O")
+
+ def leave(self, player, direction):
+ if direction == 'w':
+ print("I'm afraid you can't go west.\nThe sea on that part is "
+ "full of electric eels and you don't have a transport.\n")
+ return False
+ elif direction == 'e':
+ print("There's a steep mountainside here which you can't climb.")
+ return False
+ elif direction == 'n':
+ print(" , , \n"
+ " _/(( \)\ \n"
+ " _.---. .' `\ / '. .---._ \n"
+ " .' ` ^ T= =P ^ ` '. \n"
+ " / \ .--' `--. / \ \n"
+ "| / )'-. .-'( \ | \n"
+ "; , <__..-( '-.) (.-' )-..__> , ; \n"
+ " \ \-.__) ``--._) (_.--`` (__.-/ / \n"
+ " '.'-.__.-. .-.__.-'.' \n"
+ " '-...-' '-...-' \n"
+ " , , \n"
+ " _/(( \)\ \n"
+ " _.---. .' `\ / '. .---._ \n"
+ " .' ` ^ T= =P ^ ` '. \n"
+ " / \ .--' `--. / \ \n"
+ "| / )'-. .-'( \ | \n"
+ "; , <__..-( '-.) (.-' )-..__> , ; \n"
+ " \ \-.__) ``--._) (_.--`` (__.-/ / \n"
+ " '.'-.__.-. .-.__.-'.' \n"
+ " '-...-' '-...-' \n")
+ print("A wall of kitties doesn't allow you to go North.\n"
+ "But that doesn't make you mad... "
+ "You can't be mad at kitties, rite?!\n")
+ return False
+ return True