summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n4w5.py
blob: 95971e3a58eeb3aae6df7ee56fc32610a05ff3a9 (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 = "Pine forest"
    
    def describe(self):
        print("There are not so many trees around but the ground is full of "
              "pine needles and pine cones.\n")

    def action(self, player, do):
        print("I don't understand.")
        
    def leave(self, player, direction):
        if direction == "e":
            print("Area 51. No trespassing beyond this point.")
            return False
        elif direction == "n":
            print("There is an opening that leads you to the beach on the "
                  "northen side of the island.\n")
            return True
        else:
            return True