Mercurial > boomslang
comparison gamelib/scenes/machine.py @ 731:2f74064bc779 pyntnclick
Misc pep8 cleanups
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Tue, 15 Jan 2013 22:57:41 +0200 |
parents | 3ce19d33b51f |
children | ef4bda7d623d |
comparison
equal
deleted
inserted
replaced
730:eca4d2fc11a4 | 731:2f74064bc779 |
---|---|
142 " laser welder.") | 142 " laser welder.") |
143 if len(contents) == 1: | 143 if len(contents) == 1: |
144 msg = "The laser welder looks hungry, somehow." | 144 msg = "The laser welder looks hungry, somehow." |
145 if "can" in contents: | 145 if "can" in contents: |
146 msg += " It currently contains an empty can." | 146 msg += " It currently contains an empty can." |
147 elif "tube" in contents: | 147 elif "tube" in contents: |
148 msg += " It currently contains a tube fragment." | 148 msg += " It currently contains a tube fragment." |
149 elif len(contents) == 2: | 149 elif len(contents) == 2: |
150 msg = "The laser welder looks expectant. " | 150 msg = "The laser welder looks expectant. " |
151 if "can" in contents and "tube" in contents: | 151 if "can" in contents and "tube" in contents: |
152 msg += (" It currently contains an empty can and a" | 152 msg += (" It currently contains an empty can and a" |