Let's make a game! name:Bread Clicker by:Funny desc:This is a clicker game! created:25/3/2018 updated:25/3/2018 version:1 Settings background:stuff/meadow.jpg building cost increase:115% building cost refund:50% spritesheet:icons, 48 by 48, stuff/breadIcons.png stylesheet:stuff/bigBlue.css Layout use default Buttons *breadButton name:Make a bread desc:Click this bread to get more breads! on click:anim icon wobble on click:yield 1 bread on click:if (have goldenTouch and chance (1%)) yield 1 goldenBread icon:stuff/bread.png no text class:bigButton hasFlares icon class:shadowed tooltip origin:bottom tooltip class:brown Resources *bread|breads name:bread|breads desc:These are your breads. You can use them to purchase things. Your goal is to have as many breads as possible! icon:icons[0,0] class:noBackground show earned *goldenBread|goldenBreads name:Golden bread|Golden breads desc:These shiny breads are terribly rare, terribly precious and terribly delicious! icon:icons[0,1] class:noBackground hidden when 0 Shinies *luckyBread on click:log Woop movement:onRight moveLeft fade bounce:0.05 frequency:60 frequency variation:30 icon:stuff/luckyBread.png class:bigButton on click: $boost=1 if (have clover) $boost=4 if (chance($25)) //get at least 7, or between 1 and 3 minutes of our bread production $amount=max(7,random(breads:ps*60*1,breads:ps*60*3))*$boost toast the lucky bread grants you[$amount] breads. yield $amount breads else $amount=1*$boost toast the lucky bread grants you[$amount] golden bread[s?$amount]! yield $amount goldenBread end end Buildings *TEMPLATE on click:anim glow *cage|cages name:Bread cage|bread cages desc:A tiny little cage.Effect:<.>Produces 1 bread every 10 seconds. icon:icons[3,0] cost:15 breads on tick:yield 0.1 bread unlocked *hutch|hutches name:Bread hutch|Bread hutches desc:No Description icon:icons[3,1] cost:100 breads on tick:yield 0.5 breads req:100 breads:earned *coop|coops name:Bread coop|Breads coops desc:A much nicer bread home where full Bread families can live.Effect:<.>Produces 5 Breads per second. icon:icons[3,2] cost:600 Breads on tick:yield 12 bread req:600 breads:earned *pen|pens name:Rabbit pen|Rabbit pens desc:A lovely enclosure with plenty of green space.Effect:<.>Produces 12 Breads per second. icon:icons[3,3] cost:4000 breads on tick:yield 12 breads req:4000 breads:earned *meadow|meadows name:Breads meadow|Breads meadows desc:A wide open space full of shade and lush grass.Effect:<.>Produces 90 Breads per second. icon:icons[3,4] cost:20000 breads on tick:yield 90 breads req:20000 breads:earned *village|villages name:Bread village|Breads villages desc:Your Breads are building their own villages now!Effect:<.>Produces 300 Breads per second. icon:icons[3,5] cost:200000 Breads, 1 goldenBreads on tick:yield 300 Breads req:200000 Breads:earned and independenceDay *city|cities name:Bread city|Breads cities desc:A bustling little city, populated with busy Breads.Effect:<.>Produces 1000 Breads per second. icon:icons[3,6] cost:3000000 Breads, 4 goldenBreads on tick:yield 1000 breads req:3000000 Breads:earned and independenceDay *citadel|citadels name:Moon citadel|Moon citadels desc:An ornate palace standing on the moon, ruled by Breads kings and queens and staffed with royal Bread guards.Effect:<.>Produces 4000 Breads per second. icon:icons[3,7] cost:70000000 Breads, 16 goldenBreads on tick:yield 4000 breads on tick:if (have moonGardens) yield 0.01 goldenBreads req:70000000 Breads:earned and independenceDay *fortress name:Freedom fortress text:Freedom fortress ([this]%) desc:A huge bunny castle. A monument to the adventurous spirit of Breadkind, which will take time and effort to complete.The fortress is [this]% complete. icon:icons[3,8] cost:300000000 Breads, 100 goldenBreads req:70000000 Breads:earned and independenceDay limit:100 cost increase:105 Upgrades *TEMPLATE on click:anim glow //food upgrades *parsley name:Parsley desc:A nice little supplement to your Bread's diet.Effect:<.>+1 Bread/click icon:icons[1,1] cost:100 Breads passive:increase breads yield of breadButton by 1 req:10 breads:earned *spinach name:Spinach desc:Big tasty leaves, perfect for hungry breads.Effect:<.>+1 breads/click icon:icons[1,2] cost:200 bunnies passive:increase bread yield of breadButton by 1 req:50 bread:earned *lettuce name:Lettuce desc:Frilly greens loved by all breads.Effect:<.>+1 bread/click icon:icons[1,3] cost:400 breads passive:increase bread yield of breadButton by 1 req:200 bread:earned //building upgrades *buildingUpgrade1 name:Sippy bottles desc:Your breads can drink their fill!Effect:<.>breads cage production x2<.>breads hutch production x2<.>breads coop production x2 icon:icons[2,0] icons[3,0] cost:1000 breads passive:multiply yield of cage by 2 passive:multiply yield of hutch by 2 passive:multiply yield of coop by 2 req:(cages>=10 or hutches>=10 or coops>=10) *buildingUpgrade2 name:Prime grade hay desc:Not just for horses anymore!Effect:<.>bread cage production x2<.>bread hutch production x2<.>breads coop production x2 icon:icons[2,0] icons[3,1] cost:100000 breads passive:multiply yield of cage by 2 passive:multiply yield of hutch by 2 passive:multiply yield of breadscoop by 2 req:(cages>=50 or hutches>=50 or coops>=50) *buildingUpgrade3 name:Shredded newspapers desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.Effect:<.>breads cage production x2<.>breads hutch production x2<.>breads coop production x2 icon:icons[2,0] icons[3,2] cost:5000000 breads passive:multiply yield of cage by 2 passive:multiply yield of hutch by 2 passive:multiply yield of coop by 2 req:(cages>=100 or hutches>=100 or coops>=100) //golden bread upgrades *goldenTouch name:Golden touch desc:The delicate art of finding vegetables made of precious metals.Effect:<.>1% chance of gaining 1 golden bread per bread click icon:icons[2,5] cost:1 goldenBread req:1 goldenBread:earned *rabbitHaste name:Rabbit's haste desc:I'm late! I'm late! For a very important date!Effect:<.>lucky Breads appear 30% more often icon:icons[2,6] passive:multiply frequency of luckyBread by 0.7 cost:5 goldenBread req:1 goldenBread:earned *independenceDay name:Independence day desc:Your Breads are making their first step towards declaring their independence from the oppressive shackles of pens and cages.Effect:<.>unlocks new buildings icon:icons[2,7] cost:10 goldenBreads req:5 goldenBreads:earned *clover name:Clover desc:A delicious herb that tastes lucky.Effect:<.>lucky beard effects are 4 times more powerful icon:icons[2,8] cost:100 goldenBreads req:50 goldenCarrots:earned *moonGardens name:Moon gardens desc:The royal botanists in your moon citadels have found new ways of cultivating plants in reduced gravity!Effect:<.>moon citadels now produce 1 golden bread every 100 seconds icon:icons[2,9] cost:100 goldenBreads req:50 goldenBreads:earned Achievements *TEMPLATE on click:anim glow *breadAchiev1 name:Run bread run desc:Have 1 bread. req:1 bread icon:icons[2,4] icons[0,2] icons[0,6] *breadAchiev2 name:bread home videos desc:Have 1000 breads. req:1000 breads icon:icons[2,4] icons[0,3] icons[0,6] *bunnyAchiev3 name:You got breads, bread desc:Have 1000000 breads. req:10000000 bunnies icon:icons[2,4] icons[0,4] icons[0,6] *clickAchiev1 name:That tickles desc:Click the bread 10 times. req:10 breadButton clicks icon:icons[2,2] icons[0,2] icons[0,6]