diff options
| author | George Angelopoulos <l4than.d3vers@gmail.com> | 2013-04-20 01:23:16 +0300 |
|---|---|---|
| committer | George Angelopoulos <l4than.d3vers@gmail.com> | 2013-04-20 01:23:16 +0300 |
| commit | 3541efc01e9519743ba96a798f39ca03b352493c (patch) | |
| tree | 203d38040809c3c98be412b0101c895b0628f54f /weatbag | |
| parent | d345a724c004cf2622e67949eb35d549f78d134f (diff) | |
Added first bug tile.
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/s1e1.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/weatbag/tiles/s1e1.py b/weatbag/tiles/s1e1.py new file mode 100644 index 0000000..9f96e6b --- /dev/null +++ b/weatbag/tiles/s1e1.py @@ -0,0 +1,21 @@ +from weatbag import words +import weatbag + +class Tile: + def __init__(self): + self.contents = {'bug': 1} + pass + + def describe(self): + print("There is a stream here.\n" + "It runs from South to North.") + + if self.contents['bug'] > 0: + print("You see a huge ugly bug rush past you, " + "following the river south.") + self.contents['bug'] -= 1 + else: + print("You remember this is where you saw that bug going south") + + def action(self, player, do): + pass |
