summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n4w6.py
blob: 0f2c508ae1bf5302ab24f712d60cd278ec7c4d8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class Tile:
    map_word = "Beach curve"
    
    def describe(self):
        print("The beach makes a nice little curve on that spot. There are "
              "some pine trees around too. A really quiet sceenery!\n")

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

    def leave(self, player, direction):
        if direction == "s":
            print("You follow the path uphill. There are some rocks. Just be "
                  "careful, they all have this gooey green stuff on them!")
            return True
        elif direction == "e":
            print("You are going through the pine trees.")
            return True
        else:
            return True