summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/s1e1.py
blob: 9f96e6b6c775900d61074817e6f8f51106a6d8ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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