summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-12 22:31:06 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-12 22:31:06 +0300
commit5acb9a792eec57714ed18f7d41051916be5c7f30 (patch)
tree2be6458aacf4bb53814f7d1529afb19218b7604d /weatbag/tiles
parent73ecb39b3e5c27c9f91315735334da249fae48a9 (diff)
corrected syntax on self.challenge_completed(n4w7)
Diffstat (limited to 'weatbag/tiles')
-rw-r--r--weatbag/tiles/n4w7.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/weatbag/tiles/n4w7.py b/weatbag/tiles/n4w7.py
index d2e4e76..75927dd 100644
--- a/weatbag/tiles/n4w7.py
+++ b/weatbag/tiles/n4w7.py
@@ -2,12 +2,11 @@ from weatbag import words
from weatbag.utils import transfer
class Tile:
-
def __init__(self):
self.challenge_completed = False
def describe(self):
- if challenge_completed:
+ if not self.challenge_completed:
print("The only thing around this place is sand, small rocks, the "
"beach waters and about a dozen of kitties playing around.\n"
"You aproach the kitties and to your surprise they all start "
@@ -18,6 +17,7 @@ class Tile:
"'PLZ SIR, IT VRY HAWT HEER, CAN U TREAT US SUM MICE "
"CREAM?! ALL U NED IZ 2 COMBINE SUM MICE AN SUM CREAM AN "
"READY IT IZ! PLEEEEASE!' *mieaw* *rub* *rub*\n")
+ self.challenge_completed = True
else:
print("The only thing around this place is sand, small rocks, the "
"beach waters and about a dozen of kitties playing around.\n")