From: Simon Cross Date: Sat, 10 Sep 2016 18:12:33 +0000 (+0200) Subject: More PEP. X-Git-Tag: tabakrolletjie-v1.0.0~57 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=01cc81943ba89fb856466c79e79e954d9296a944;p=tabakrolletjie.git More PEP. --- diff --git a/tabakrolletjie/scenes/help.py b/tabakrolletjie/scenes/help.py index b30b151..0f6a94c 100644 --- a/tabakrolletjie/scenes/help.py +++ b/tabakrolletjie/scenes/help.py @@ -57,13 +57,39 @@ class HelpScene(BaseScene): def create_items(self, gamestate): items = [ - HelpItem(("48", "turnip3.png"), "This is a space turnip, the most valuable vegetable in the universe. A crucial ingredient of longevity serum, space navigator tonic and a pink sweet that everyone loves."), - HelpItem(("64", "mouldA.png"), "This is Boyd the space mould. He loves turnips. You've disinfected your ship a thousand times, but somehow he shows up on every planet at night to devour your crop. He is vulnerable to light, but beware -- he builds up a resistance if you overuse the same colour."), - HelpItem(("32", "seed.png"), "This is a turnip seed. You get a limited number of these at the start of a level. You can plant them, and you can use them to buy lights to protect your crop. Turnips which survive to harvest yield more seeds."), - HelpItem(("48", "lamp.png"), "This is a lamp. It comes in many colours, and has some other varying properties. It is powered by your farm's battery during the night. The battery recharges during the day.", transform=Multiply(colour=COLOURS["yellow"])), - HelpItem(("48", "spotlight.png"), "This is a spotlight. Unlike a lamp, it has a rotating beam. Lights can be multicoloured, like this one. You can toggle lights on and off at night to conserve power, and toggle the colour of multicoloured lights.", transform=ColourWedges(colours=("red", "green"))), - HelpItem(("32", "night.png"), "When you have finished planting seeds and placing lights, you can prepare for Boyd's night-time onslaught by clicking this button."), - HelpItem(("32", "pause.png"), "You can pause the game during the night if you need to make a more detailed analysis of why you're losing horribly."), + HelpItem(("48", "turnip3.png"), ( + "This is a space turnip, the most valuable vegetable in the" + " universe. A crucial ingredient of longevity serum, space" + " navigator tonic and a pink sweet that everyone loves.")), + HelpItem(("64", "mouldA.png"), ( + "This is Boyd the space mould. He loves turnips. You've" + " disinfected your ship a thousand times, but somehow he shows" + " up on every planet at night to devour your crop. He is" + " vulnerable to light, but beware -- he builds up a resistance" + " if you overuse the same colour.")), + HelpItem(("32", "seed.png"), ( + "This is a turnip seed. You get a limited number of these at" + " the start of a level. You can plant them, and you can use" + " them to buy lights to protect your crop. Turnips which" + " survive to harvest yield more seeds.")), + HelpItem(("48", "lamp.png"), ( + "This is a lamp. It comes in many colours, and has some other" + " varying properties. It is powered by your farm's battery" + " during the night. The battery recharges during the day."), + transform=Multiply(colour=COLOURS["yellow"])), + HelpItem(("48", "spotlight.png"), ( + "This is a spotlight. Unlike a lamp, it has a rotating beam." + " Lights can be multicoloured, like this one. You can toggle" + " lights on and off at night to conserve power, and toggle the" + " colour of multicoloured lights."), + transform=ColourWedges(colours=("red", "green"))), + HelpItem(("32", "night.png"), ( + "When you have finished planting seeds and placing lights, you" + " can prepare for Boyd's night-time onslaught by clicking this" + " button.")), + HelpItem(("32", "pause.png"), ( + "You can pause the game during the night if you need to make a" + " more detailed analysis of why you're losing horribly.")), ] # Special mould assembly