summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n1w1.py
blob: aad81044bb60b34d2f2bf71137624467693321b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class Tile:
    def describe(self):
        print("There is a small island northwest.\n"
            "Unfortunatelly, you can't swim so you need a transport to go there.\n"
            "Luckilly to the north you see 2 children with a raft sitting "
            "under a tree." )
    
    def action(self, player, do):
        pass

    def leave(self, player, direction):
        if direction == "w":
            print ("You can't go there by swimming, that part is full of "
                 "electric eels.")
            return False
        else:
            return True