Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlew <jlew.blackout@gmail.com>2010-08-02 15:48:36 (GMT)
committer jlew <jlew.blackout@gmail.com>2010-08-02 15:48:36 (GMT)
commit4e706cac2b99b7eb4b98bd55d5a28da728d4cf39 (patch)
tree3ef34b35be1e9ce92b0f214416a705d4f56870a4
parent7a81c2a3e9365025b981900309d43d2582001148 (diff)
Just a few minor 80 char line fixes
-rw-r--r--MAFH2/Dungeon.py15
1 files changed, 10 insertions, 5 deletions
diff --git a/MAFH2/Dungeon.py b/MAFH2/Dungeon.py
index 6822396..3b7f39c 100644
--- a/MAFH2/Dungeon.py
+++ b/MAFH2/Dungeon.py
@@ -105,10 +105,12 @@ class Dungeon(GameEngineElement):
for item in self.game_engine.get_object('profile').inventory:
# Search for small key (ID: 'q')
if item.id == 'q':
- self.game_engine.get_object('mesg').add_line(_("You use a SMALL KEY"))
+ self.game_engine.get_object('mesg').add_line(
+ _("You use a SMALL KEY"))
return True
- self.game_engine.get_object('mesg').add_line(_("This door is locked, you need a SMALL KEY"))
+ self.game_engine.get_object('mesg').add_line(
+ _("This door is locked, you need a SMALL KEY"))
return False
elif door_type == PUZZLE_DOOR or door_type == LOCKED_PUZZLE_DOOR:
@@ -116,7 +118,8 @@ class Dungeon(GameEngineElement):
return False
elif door_type == ENTRANCE_DOOR:
- self.game_engine.get_object('mesg').add_line(_("There is no turning back now"))
+ self.game_engine.get_object('mesg').add_line(
+ _("There is no turning back now"))
return False
elif door_type == EXIT_DOOR:
@@ -124,11 +127,13 @@ class Dungeon(GameEngineElement):
for item in self.game_engine.get_object('profile').inventory:
# Search for big key (ID: 'r')
if item.id == 'r':
- self.game_engine.get_object('mesg').add_line(_("You use the BIG KEY, and the door slams behind you!"))
+ self.game_engine.get_object('mesg').add_line(
+ _("You use the BIG KEY, and the door slams behind you!"))
return True
- self.game_engine.get_object('mesg').add_line(_("This door is locked, you need a BIG KEY"))
+ self.game_engine.get_object('mesg').add_line(
+ _("This door is locked, you need a BIG KEY"))
return False
return False