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

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

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

    def leave(self, player, direction):
        if direction == "w":
            print("No-no! You'll break your head to the rocks down there!\n")
            return False
        elif direction == "s":
            print("You follow the path uphill. Just be careful of the slipery "
                  "rocks.")
            return True
        else:
            return True