diff options
| author | Thomas Kluyver <takowl@gmail.com> | 2013-04-18 13:23:23 -0700 |
|---|---|---|
| committer | Thomas Kluyver <takowl@gmail.com> | 2013-04-18 13:23:23 -0700 |
| commit | 32db2f567c844ece509a5001233606465474d18f (patch) | |
| tree | 71b0f86bb78aa06536090d54dc8125761781ff67 /weatbag/tiles/n2.py | |
| parent | 26abad862afefb0e6c598719545572e187fa9033 (diff) | |
| parent | a0d1dc13e0923b12e8a9f21fcfa71165b333eb71 (diff) | |
Merge pull request #17 from lathan/master
Fixed bug in e2.py, Wrapped all lines in tiles longer than 79 characters to conform to PEP 8
Diffstat (limited to 'weatbag/tiles/n2.py')
| -rw-r--r-- | weatbag/tiles/n2.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/weatbag/tiles/n2.py b/weatbag/tiles/n2.py index 70f6051..fe4a3df 100644 --- a/weatbag/tiles/n2.py +++ b/weatbag/tiles/n2.py @@ -6,8 +6,8 @@ class Tile: self.contents = {'match': 42} def describe(self): - print("You are standing in the mouth of a cave. The air feels cool and " - "is filled with the stench of rotting flesh. " + print("You are standing in the mouth of a cave. The air " + "feels cool and is filled with the stench of rotting flesh. " "A dark path leads to the north. An exit to the south.") if self.contents['match'] > 0: print("Someone has dropped a box of matches on the ground.") @@ -17,8 +17,9 @@ class Tile: return True if player.has('flaming torch'): return True - print("You can't explore the cave without being able to see. You'll need " - "that stalwart friend of the adventurer, the flaming torch.") + print("You can't explore the cave without being able to see. " + "You'll need that stalwart friend of the adventurer, " + "the flaming torch.") def action(self, player, do): if (do[0] in words.take) and ('matches' in do): |
