diff options
| author | Thomas Kluyver <takowl@gmail.com> | 2013-04-30 10:15:21 -0700 |
|---|---|---|
| committer | Thomas Kluyver <takowl@gmail.com> | 2013-04-30 10:15:21 -0700 |
| commit | e8676fe2073467b093af0abc8ccb19443ed4ecb7 (patch) | |
| tree | c25d9794e1b8c77d70c2862f07f197fc0c69f067 /weatbag/tiles/n3w4.py | |
| parent | e3612c7544341abf9e84234d4bda5f65ce8ee47a (diff) | |
| parent | 3d626b5229add94f08acc3ae3731566507fc2f7e (diff) | |
Merge pull request #22 from ratmonkey/island_rebased
Island area
Diffstat (limited to 'weatbag/tiles/n3w4.py')
| -rw-r--r-- | weatbag/tiles/n3w4.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/weatbag/tiles/n3w4.py b/weatbag/tiles/n3w4.py new file mode 100644 index 0000000..aeb58f9 --- /dev/null +++ b/weatbag/tiles/n3w4.py @@ -0,0 +1,17 @@ +class Tile: + def describe(self): + print("Looks like you are in a walking mood because you still follow " + "the path.\nYou hear birds singing, some small waves on the " + "background, there is a nice flowery smell, rays of sun make the " + "tree sceenery heavenly...\n" + "I totaly get you, it's a nice path to have a walk!\n") + + def action(self, player, do): + print("Sorry, I don't understand.\n") + + def leave(self, player, direction): + if direction in ('n', 'w'): + print("No trespasing. Violators will vanish without a trace.\n") + return False + else: + return True |
