summaryrefslogtreecommitdiffstats
path: root/weatbag
diff options
context:
space:
mode:
authorGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-04-21 20:24:16 +0300
committerGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-04-21 20:24:16 +0300
commit69cba96ca9d026467f3c98a1b8139ae0340e9669 (patch)
tree6cf5afaa1d0d6701116484e16a526eca1470cc38 /weatbag
parentb6494a43397a58d4861d715c737b299c9e8fe09b (diff)
added some comments
Diffstat (limited to 'weatbag')
-rw-r--r--weatbag/tiles/s1e1.py5
1 files changed, 5 insertions, 0 deletions
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: