summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-07 20:27:24 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-07 20:27:24 +0300
commit3c5b891a716f942708109339944701cc03f957b5 (patch)
tree800ad68ede875fb0a0929e4564b4217e95eeb290
parent20bae4715686b91b97dcf7fdb21d50ddd38312ed (diff)
added else inside action for when the player says something else except the solution of the riddle
-rw-r--r--weatbag/tiles/n1w4.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/weatbag/tiles/n1w4.py b/weatbag/tiles/n1w4.py
index d3a9c2b..984063e 100644
--- a/weatbag/tiles/n1w4.py
+++ b/weatbag/tiles/n1w4.py
@@ -34,7 +34,7 @@ class Tile:
#To describe 11, you have two 1's, or 21. Now you have one 2 and one 1,
#so the next number is 1211. The solution is to simply continue
#describing the previous number using only numbers.\n")
-
+
def action(self, player, do):
if not self.challenge_completed:
if do[0] == self.sequence:
@@ -46,6 +46,8 @@ class Tile:
self.contents['neko'] -= 1
player.give('neko')
self.challenge_completed = True
+ else:
+ print("Wut? Try h4rd3r st00p3d hum4n!")
else:
print("I don't understand...")