summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n5w6.py
blob: b73947966d76062475f7a8ac41476db18faede20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class Tile:
    map_word = "Beach"
    
    def describe(self):
        print("You walk in the beach. There is a light house on the west.\n")

    def action(self, player, do):
        print("I don't understand.")
    
    def leave(self, player, direction):
        if direction == "n":
            print("It's the open sea. You can't go anywhere near by "
                  "swimming.\n")
            return False
        else:
            return True