summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n1w6.py
blob: 7c3d7993fe3849f7c5f20e4839b1f6a6c7ef64e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Tile:

    def describe(self):
        print("blah blah describe\n")

    def action(self, player, do):
        print("Sorry, I don't understand.\n")

    def leave(self, player, direction):
        if direction in ('s', 'w'):
            print("My dear traveler, you can't go there, you will fall of the "
                   "cliff!\n")
            return False
        else:
            return True