X-Git-Url: https://git.ctpug.org.za/?a=blobdiff_plain;f=tabakrolletjie%2Fscenes%2Fhelp.py;h=c58fea548eb8cc1dbcf77f6d17770ca6c12c140d;hb=bf0cca2f391ed3e49b09933325b430c33cf59daf;hp=b30b151dd8c645b4784fe0d426537ec541d40a6c;hpb=8634a7d222b5982f81d1b8f740f788fcbdf6518d;p=tabakrolletjie.git diff --git a/tabakrolletjie/scenes/help.py b/tabakrolletjie/scenes/help.py index b30b151..c58fea5 100644 --- a/tabakrolletjie/scenes/help.py +++ b/tabakrolletjie/scenes/help.py @@ -57,13 +57,44 @@ 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.")), + HelpItem(("32", "day.png"), ( + "If you have run out of turnips, you can click this button to" + " skip to the next day. Or you can keep playing with your lights." + " If you have no power left either, or you are completely" + " bankrupt, the night will end automatically.")), ] # Special mould assembly @@ -73,6 +104,9 @@ class HelpScene(BaseScene): items[1]._img.blit( loader.load_image("32", "eyeballA.png").convert_alpha(), (10, 10), None) + items[1]._img.blit( + loader.load_image("32", "eyelid.png").convert_alpha(), + (10, 10), None) return items