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

    def describe(self):
        print("The sandy beach is transforming into big rocks but it looks "
              "like you are able to climb them.\n"
              "Just be carefull because they are a bit slipery.")

    def action(self, player, do):
        print("Sorry, I don't speak giberish.\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. "
                  "Unfortunatelly you cannot climb them.")
        else:
            return True