diff options
Diffstat (limited to 'weatbag/tiles/n1w1.py')
| -rw-r--r-- | weatbag/tiles/n1w1.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/weatbag/tiles/n1w1.py b/weatbag/tiles/n1w1.py new file mode 100644 index 0000000..f809dc4 --- /dev/null +++ b/weatbag/tiles/n1w1.py @@ -0,0 +1,18 @@ +class Tile: + def describe(self): + print("There is a small island northwest.\n" + "Unfortunatelly, you can't swim because the sea is full of " + "electric eels so you need a transport to go there.\n" + "Luckilly to the north you see 2 children with a raft sitting " + "under a tree.\n" ) + + def action(self, player, do): + print("Waitwat?!") + + def leave(self, player, direction): + if direction == "w": + print ("You can't go there by swimming, that part is full of " + "electric eels.\n") + return False + else: + return True |
