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

    def describe(self):
        print("Woooah! Those rocks are full of lichens!\n")

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

    def leave(self, player, direction):
        if direction == "s":
            print("Are you planing to throw your self to the rocks? You can't "
                  "go there!\n")
            return False
        elif direction == "n":
            print("The rocks are way to high for you. "
                  "Unfortunately you cannot climb them.")
            return False
        elif direction == "w":
            print("The rocks led you to a path uphill.")
            return True
        else:
            return True