From 69cba96ca9d026467f3c98a1b8139ae0340e9669 Mon Sep 17 00:00:00 2001 From: George Angelopoulos Date: Sun, 21 Apr 2013 20:24:16 +0300 Subject: added some comments --- weatbag/tiles/s1e1.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/weatbag/tiles/s1e1.py b/weatbag/tiles/s1e1.py index 5dabe3c..a29c2d2 100644 --- a/weatbag/tiles/s1e1.py +++ b/weatbag/tiles/s1e1.py @@ -1,3 +1,4 @@ +# First bug quest tile. from weatbag import words import weatbag @@ -19,9 +20,13 @@ class Tile: else: print("You remember this is where you saw that bug going South.") + # Nothing to do here. def action(self, player, do): pass + # Player can only exit the bug quest going back North. + # Player gets different messages the first time he + # exits this tile, depending on his direction. def leave(self, player, direction): restricted_directions = { 'w', 'e' } if direction in restricted_directions: -- cgit v1.3