From 4e3d061d5c8bde61d94715d3b05aede333912b66 Mon Sep 17 00:00:00 2001 From: George Angelopoulos Date: Thu, 18 Apr 2013 15:01:31 +0300 Subject: PEP 8 police: Wrapped 80+ char lines in all tiles! --- weatbag/tiles/n2.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'weatbag/tiles/n2.py') 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): -- cgit v1.3