summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n2w2.py
blob: 09575713edcf3b0f9039182c529b9edb1185f2c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Tile:
   def describe(self):
       print("You are now on the island. In front of you there are some trees "
             "and a small path.\nFeeling adventurous?\n")
   
   def action(self, player, do):
       print("Sorry, wat?!")
       
   def leave(self, player, direction):
       if direction == "e":
           print("You can't go back by swimming, that part is full of "
                 "electric eels.\n")
           return False
       elif direction == "s":
           print("I'm afraid I can't let you go there Dave.\n")
           return False
       else:
           return True