summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n3w1.py
blob: 43986e30d42873c1361d0d3e4bcbec89b5f64b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class Tile:
    def describe(self):
        print("\nThe beach is quiet. On the south are children playing.")
    
    def action(self, player, do):
        print("\nSorry, I don't understand")
        
    def leave(self, player, direction):
        if direction == 'w':
            print("\nI'm afraid you can't go west.\nThe sea on that part is "
                  "fool of electric eels and you don't have a transport.")
            return False
        elif direction == 'e':
            print("\nThere is the side of a cave in front of you.\nYou can't go "
                  "east.")
            return False
        elif direction == 'n':
            print("               ,               , \n"
                  "             _/((             \)\ \n"
                  "    _.---. .'   `\           /    '. .---._ \n"
                  "  .'      `     ^ T=       =P ^     `      '. \n"
                  " /     \       .--'         `--.       /     \ \n"
                  "|      /       )'-.         .-'(       \      | \n"
                  "; ,   <__..-(   '-.)       (.-'   )-..__>   , ; \n"
                  " \ \-.__)    ``--._)       (_.--``    (__.-/ / \n"
                  "  '.'-.__.-.                       .-.__.-'.' \n"
                  "    '-...-'                        '-...-' \n"
                  "               ,               , \n"
                  "             _/((             \)\ \n"
                  "    _.---. .'   `\           /    '. .---._ \n"
                  "  .'      `     ^ T=       =P ^     `      '. \n"
                  " /     \       .--'         `--.       /     \ \n"
                  "|      /       )'-.         .-'(       \      | \n"
                  "; ,   <__..-(   '-.)       (.-'   )-..__>   , ; \n"
                  " \ \-.__)    ``--._)       (_.--``    (__.-/ / \n"
                  "  '.'-.__.-.                       .-.__.-'.' \n"
                  "    '-...-'                        '-...-' \n")
            print("A wall of kitties doesn't allow you to go North.\nBut that "
                  "doesn't make you mad... You can't be mad at kitties, "
                  "rite?!\n")
            return False
        return True