SHOW:
|
|
- or go back to the newest paste.
| 1 | Let's make a game! | |
| 2 | name:Bunny Clicker | |
| 3 | by:Orteil | |
| 4 | desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make bunnies and shoot for the stars! | |
| 5 | created:25/7/2017 | |
| 6 | updated:24/10/2017 | |
| 7 | version:1 | |
| 8 | ||
| 9 | Settings | |
| 10 | background:stuff/meadow.jpg | |
| 11 | building cost increase:115% | |
| 12 | building cost refund:50% | |
| 13 | spritesheet:icons, 48 by 48, stuff/bunnyIcons.png | |
| 14 | stylesheet:stuff/bigBlue.css | |
| 15 | ||
| 16 | Layout | |
| 17 | use default | |
| 18 | ||
| 19 | Buttons | |
| 20 | *bunnyButton | |
| 21 | name:Make a bunny | |
| 22 | desc:Click this little bunny to get more bunnies! | |
| 23 | on click:anim icon wobble | |
| 24 | on click:yield 1 bunny | |
| 25 | on click:if (have goldenTouch and chance(1%)) yield 1 goldenCarrot | |
| 26 | icon:stuff/bunny.png | |
| 27 | no text | |
| 28 | class:bigButton hasFlares | |
| 29 | icon class:shadowed | |
| 30 | tooltip origin:bottom | |
| 31 | tooltip class:red | |
| 32 | ||
| 33 | *forageButton | |
| 34 | name:Forage | |
| 35 | desc:Forage around for junk | |
| 36 | on click:anim icon wobble | |
| 37 | on click:if (chance(10%)) yield 1 animalBone | |
| 38 | icon:stuff/bunny.png | |
| 39 | no text | |
| 40 | class:bigButton hasFlares | |
| 41 | icon class:shadowed | |
| 42 | tooltip origin:bottom | |
| 43 | tooltip class:red | |
| 44 | ||
| 45 | Resources | |
| 46 | *bunny|bunnies | |
| 47 | name:Bunny|Bunnies | |
| 48 | desc:These are your bunnies. You can use them to purchase things. Your goal is to have as many bunnies as possible! | |
| 49 | icon:icons[0,0] | |
| 50 | class:noBackground | |
| 51 | show earned | |
| 52 | ||
| 53 | *goldenCarrot|goldenCarrots | |
| 54 | name:Golden carrot|Golden carrots | |
| 55 | desc:These shiny carrots are terribly rare, terribly precious and terribly delicious! | |
| 56 | icon:icons[0,1] | |
| 57 | class:noBackground | |
| 58 | hidden when 0 | |
| 59 | ||
| 60 | ||
| 61 | *animalBone|animalBones | |
| 62 | name:Animal Bone|Animal Bones | |
| 63 | desc:Bones from an animal. Junk. | |
| 64 | icon:icons[0,1] | |
| 65 | class:noBackground | |
| 66 | hidden when 0 | |
| 67 | ||
| 68 | Shinies | |
| 69 | *luckyBunny | |
| 70 | on click:log Woop | |
| 71 | movement:onRight moveLeft fade bounce:0.05 | |
| 72 | frequency:60 | |
| 73 | frequency variation:30 | |
| 74 | icon:stuff/luckyBunny.png | |
| 75 | class:bigButton | |
| 76 | on click: | |
| 77 | $boost=1 | |
| 78 | if (have clover) $boost=4 | |
| 79 | if (chance(25%)) | |
| 80 | //get at least 7, or between 1 and 3 minutes of our bunny production | |
| 81 | $amount=max(7,random(bunnies:ps*60*1,bunnies:ps*60*3))*$boost | |
| 82 | toast The lucky bunny grants you<//><b>[$amount] bunnies</b>. | |
| 83 | yield $amount bunnies | |
| 84 | else | |
| 85 | $amount=1*$boost | |
| 86 | toast The lucky bunny grants you<//><b>[$amount] golden carrot[s?$amount]</b>! | |
| 87 | yield $amount goldenCarrot | |
| 88 | end | |
| 89 | end | |
| 90 | ||
| 91 | Buildings | |
| 92 | *TEMPLATE | |
| 93 | on click:anim glow | |
| 94 | ||
| 95 | *cage|cages | |
| 96 | name:Rabbit cage|Rabbit cages | |
| 97 | desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 rabbit every 10 seconds. | |
| 98 | icon:icons[3,0] | |
| 99 | cost:15 bunnies | |
| 100 | on tick:yield 0.1 bunny | |
| 101 | unlocked | |
| 102 | ||
| 103 | *hutch|hutches | |
| 104 | name:Rabbit hutch|Rabbit hutches | |
| 105 | desc:A bit roomier than a cage, with enough space to hop around.<//><b>Effect:</b><.>Produces 1 rabbit every 2 seconds. | |
| 106 | icon:icons[3,1] | |
| 107 | cost:100 bunnies | |
| 108 | on tick:yield 0.5 bunnies | |
| 109 | req:100 bunnies:earned | |
| 110 | ||
| 111 | *coop|coops | |
| 112 | name:Rabbit coop|Rabbit coops | |
| 113 | desc:A much nicer rabbit home where full bunny families can live.<//><b>Effect:</b><.>Produces 5 rabbits per second. | |
| 114 | icon:icons[3,2] | |
| 115 | cost:600 bunnies | |
| 116 | on tick:yield 5 bunnies | |
| 117 | req:600 bunnies:earned | |
| 118 | ||
| 119 | *pen|pens | |
| 120 | name:Rabbit pen|Rabbit pens | |
| 121 | desc:A lovely enclosure with plenty of green space.<//><b>Effect:</b><.>Produces 12 rabbits per second. | |
| 122 | icon:icons[3,3] | |
| 123 | cost:4000 bunnies | |
| 124 | on tick:yield 12 bunnies | |
| 125 | req:4000 bunnies:earned | |
| 126 | ||
| 127 | *meadow|meadows | |
| 128 | name:Rabbit meadow|Rabbit meadows | |
| 129 | desc:A wide open space full of shade and lush grass.<//><b>Effect:</b><.>Produces 90 rabbits per second. | |
| 130 | icon:icons[3,4] | |
| 131 | cost:20000 bunnies | |
| 132 | on tick:yield 90 bunnies | |
| 133 | req:20000 bunnies:earned | |
| 134 | ||
| 135 | *village|villages | |
| 136 | name:Rabbit village|Rabbit villages | |
| 137 | desc:Your bunnies are building their own villages now!<//><b>Effect:</b><.>Produces 300 rabbits per second. | |
| 138 | icon:icons[3,5] | |
| 139 | cost:200000 bunnies, 1 goldenCarrot | |
| 140 | on tick:yield 300 bunnies | |
| 141 | req:200000 bunnies:earned and independenceDay | |
| 142 | ||
| 143 | *city|cities | |
| 144 | name:Rabbit city|Rabbit cities | |
| 145 | desc:A bustling little city, populated with busy rabbits.<//><b>Effect:</b><.>Produces 1000 rabbits per second. | |
| 146 | icon:icons[3,6] | |
| 147 | cost:3000000 bunnies, 4 goldenCarrots | |
| 148 | on tick:yield 1000 bunnies | |
| 149 | req:3000000 bunnies:earned and independenceDay | |
| 150 | ||
| 151 | *citadel|citadels | |
| 152 | name:Moon citadel|Moon citadels | |
| 153 | desc:An ornate palace standing on the moon, ruled by bunny kings and queens and staffed with royal bunny guards.<//><b>Effect:</b><.>Produces 4000 rabbits per second. | |
| 154 | icon:icons[3,7] | |
| 155 | cost:70000000 bunnies, 16 goldenCarrots | |
| 156 | on tick:yield 4000 bunnies | |
| 157 | on tick:if (have moonGardens) yield 0.01 goldenCarrot | |
| 158 | req:70000000 bunnies:earned and independenceDay | |
| 159 | ||
| 160 | *fortress | |
| 161 | name:Freedom fortress | |
| 162 | text:Freedom fortress ([this]%) | |
| 163 | desc:A huge bunny castle. A monument to the adventurous spirit of bunnykind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b> | |
| 164 | icon:icons[3,8] | |
| 165 | cost:300000000 bunnies, 100 goldenCarrots | |
| 166 | req:70000000 bunnies:earned and independenceDay | |
| 167 | limit:100 | |
| 168 | cost increase:105% | |
| 169 | ||
| 170 | Upgrades | |
| 171 | *TEMPLATE | |
| 172 | on click:anim glow | |
| 173 | ||
| 174 | //food upgrades | |
| 175 | //inspiration : http://rabbit.org/suggested-vegetables-and-fruits-for-a-rabbit-diet/ | |
| 176 | ||
| 177 | *parsley | |
| 178 | name:Parsley | |
| 179 | desc:A nice little supplement to your bunnies' diet.<//><b>Effect:</b><.>+1 bunny/click | |
| 180 | icon:icons[1,1] | |
| 181 | cost:100 bunnies | |
| 182 | passive:increase bunny yield of bunnyButton by 1 | |
| 183 | req:10 bunnies:earned | |
| 184 | ||
| 185 | *spinach | |
| 186 | name:Spinach | |
| 187 | desc:Big tasty leaves, perfect for hungry bunnies.<//><b>Effect:</b><.>+1 bunny/click | |
| 188 | icon:icons[1,2] | |
| 189 | cost:200 bunnies | |
| 190 | passive:increase bunny yield of bunnyButton by 1 | |
| 191 | req:50 bunnies:earned | |
| 192 | ||
| 193 | *lettuce | |
| 194 | name:Lettuce | |
| 195 | desc:Frilly greens loved by all bunnies.<//><b>Effect:</b><.>+1 bunny/click | |
| 196 | icon:icons[1,3] | |
| 197 | cost:400 bunnies | |
| 198 | passive:increase bunny yield of bunnyButton by 1 | |
| 199 | req:200 bunnies:earned | |
| 200 | ||
| 201 | *broccoli | |
| 202 | name:Broccoli | |
| 203 | desc:Crunchy greens that look like little trees.<//><b>Effect:</b><.>bunnies/click x2<.>bunny production +5% | |
| 204 | icon:icons[1,4] | |
| 205 | cost:3000 bunnies | |
| 206 | passive:multiply bunny yield of bunnyButton by 2 | |
| 207 | passive:multiply yield of bunnies by 1.05 | |
| 208 | req:1000 bunnies:earned | |
| 209 | ||
| 210 | *apple | |
| 211 | name:Apple | |
| 212 | desc:Nice pieces of juicy red apples.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5% | |
| 213 | icon:icons[1,5] | |
| 214 | cost:10000 bunnies | |
| 215 | passive:multiply bunny yield of bunnyButton by 1.5 | |
| 216 | passive:multiply yield of bunnies by 1.05 | |
| 217 | req:1000 bunnies:earned | |
| 218 | ||
| 219 | *radish | |
| 220 | name:Radish | |
| 221 | desc:Purple, crunchy, and strangely spicy.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5% | |
| 222 | icon:icons[1,6] | |
| 223 | cost:50000 bunnies | |
| 224 | passive:multiply bunny yield of bunnyButton by 1.5 | |
| 225 | passive:multiply yield of bunnies by 1.05 | |
| 226 | req:10000 bunnies:earned | |
| 227 | ||
| 228 | *mint | |
| 229 | name:Mint | |
| 230 | desc:Tasty, and gives your bunnies a lovely breath.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5% | |
| 231 | icon:icons[1,7] | |
| 232 | cost:100000 bunnies | |
| 233 | passive:multiply bunny yield of bunnyButton by 1.5 | |
| 234 | passive:multiply yield of bunnies by 1.05 | |
| 235 | req:50000 bunnies:earned | |
| 236 | ||
| 237 | *chard | |
| 238 | name:Chard | |
| 239 | desc:Broad leaves that make for a tasty salad.<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5% | |
| 240 | icon:icons[1,8] | |
| 241 | cost:500000 bunnies | |
| 242 | passive:multiply bunny yield of bunnyButton by 1.5 | |
| 243 | passive:multiply yield of bunnies by 1.05 | |
| 244 | req:100000 bunnies:earned | |
| 245 | ||
| 246 | *cherry | |
| 247 | name:Cherry | |
| 248 | desc:Your bunnies look like little vampires when they start munching on these!<//><b>Effect:</b><.>bunnies/click x1.5<.>bunny production +5% | |
| 249 | icon:icons[1,9] | |
| 250 | cost:1000000 bunnies | |
| 251 | passive:multiply bunny yield of bunnyButton by 1.5 | |
| 252 | passive:multiply yield of bunnies by 1.05 | |
| 253 | req:500000 bunnies:earned | |
| 254 | ||
| 255 | *carrot | |
| 256 | name:Carrot | |
| 257 | desc:The quintessential rabbit food! Crunchy, orange, and perfect.<//><b>Effect:</b><.>bunnies/click x2<.>bunny production +10% | |
| 258 | icon:icons[1,0] | |
| 259 | cost:100000000 bunnies | |
| 260 | passive:multiply bunny yield of bunnyButton by 2 | |
| 261 | passive:multiply yield of bunnies by 1.1 | |
| 262 | req:1000000 bunnies:earned | |
| 263 | ||
| 264 | //building upgrades | |
| 265 | ||
| 266 | *buildingUpgrade1 | |
| 267 | name:Sippy bottles | |
| 268 | desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2 | |
| 269 | icon:icons[2,0] icons[3,0] | |
| 270 | cost:1000 bunnies | |
| 271 | passive:multiply yield of cage by 2 | |
| 272 | passive:multiply yield of hutch by 2 | |
| 273 | passive:multiply yield of coop by 2 | |
| 274 | req:(cages>=10 or hutches>=10 or coops>=10) | |
| 275 | ||
| 276 | *buildingUpgrade2 | |
| 277 | name:Prime grade hay | |
| 278 | desc:Not just for horses anymore!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2 | |
| 279 | icon:icons[2,0] icons[3,1] | |
| 280 | cost:100000 bunnies | |
| 281 | passive:multiply yield of cage by 2 | |
| 282 | passive:multiply yield of hutch by 2 | |
| 283 | passive:multiply yield of coop by 2 | |
| 284 | req:(cages>=50 or hutches>=50 or coops>=50) | |
| 285 | ||
| 286 | *buildingUpgrade3 | |
| 287 | name:Shredded newspapers | |
| 288 | desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2 | |
| 289 | icon:icons[2,0] icons[3,2] | |
| 290 | cost:5000000 bunnies | |
| 291 | passive:multiply yield of cage by 2 | |
| 292 | passive:multiply yield of hutch by 2 | |
| 293 | passive:multiply yield of coop by 2 | |
| 294 | req:(cages>=100 or hutches>=100 or coops>=100) | |
| 295 | ||
| 296 | *buildingUpgrade4 | |
| 297 | name:Pretty fences | |
| 298 | desc:Just the right size so your bunnies can peek through but not hop over!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2 | |
| 299 | icon:icons[2,0] icons[3,3] | |
| 300 | cost:50000 bunnies | |
| 301 | passive:multiply yield of pen by 2 | |
| 302 | passive:multiply yield of meadow by 2 | |
| 303 | req:(pens>=10 or meadows>=10) | |
| 304 | ||
| 305 | *buildingUpgrade5 | |
| 306 | name:Bunny playground | |
| 307 | desc:If your bunnies are outside, they might as well get some exercise!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2 | |
| 308 | icon:icons[2,0] icons[3,4] | |
| 309 | cost:5000000 bunnies | |
| 310 | passive:multiply yield of pen by 2 | |
| 311 | passive:multiply yield of meadow by 2 | |
| 312 | req:(pens>=50 or meadows>=50) | |
| 313 | ||
| 314 | *buildingUpgrade6 | |
| 315 | name:Bunny TVs | |
| 316 | desc:Televisions that broadcast bunny cartoons, bunny sitcoms, and bunny news bulletins.<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2 | |
| 317 | icon:icons[2,0] icons[3,5] | |
| 318 | cost:1000000 bunnies | |
| 319 | passive:multiply yield of village by 2 | |
| 320 | passive:multiply yield of city by 2 | |
| 321 | req:(villages>=10 or cities>=10) | |
| 322 | ||
| 323 | *buildingUpgrade7 | |
| 324 | name:Wee little bunny cars | |
| 325 | desc:Your bunnies drive around in these. How nice!<//><b>Effect:</b><.>rabbit village production x2<.>rabbit city production x2 | |
| 326 | icon:icons[2,0] icons[3,6] | |
| 327 | cost:500000000 bunnies | |
| 328 | passive:multiply yield of village by 2 | |
| 329 | passive:multiply yield of city by 2 | |
| 330 | req:(villages>=50 or cities>=50) | |
| 331 | ||
| 332 | *buildingUpgrade8 | |
| 333 | name:Soothing moon crystals | |
| 334 | desc:Just really nice to be around.<//><b>Effect:</b><.>moon citadel production x2 | |
| 335 | icon:icons[2,0] icons[3,7] | |
| 336 | cost:1000000000 bunnies | |
| 337 | passive:multiply yield of citadel by 2 | |
| 338 | req:10 citadels | |
| 339 | ||
| 340 | //golden carrot upgrades | |
| 341 | ||
| 342 | *goldenTouch | |
| 343 | name:Golden touch | |
| 344 | desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden carrot per bunny click | |
| 345 | icon:icons[2,5] | |
| 346 | cost:1 goldenCarrot | |
| 347 | req:1 goldenCarrot:earned | |
| 348 | ||
| 349 | *rabbitHaste | |
| 350 | name:Rabbit's haste | |
| 351 | desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky bunnies appear 30% more often | |
| 352 | icon:icons[2,6] | |
| 353 | passive:multiply frequency of luckyBunny by 0.7 | |
| 354 | cost:5 goldenCarrots | |
| 355 | req:1 goldenCarrot:earned | |
| 356 | ||
| 357 | *independenceDay | |
| 358 | name:Independence day | |
| 359 | desc:Your bunnies are making their first step towards declaring their independence from the oppressive shackles of pens and cages.<//><b>Effect:</b><.>unlocks new buildings | |
| 360 | icon:icons[2,7] | |
| 361 | cost:10 goldenCarrots | |
| 362 | req:5 goldenCarrots:earned | |
| 363 | ||
| 364 | *clover | |
| 365 | name:Clover | |
| 366 | desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky bunny effects are 4 times more powerful | |
| 367 | icon:icons[2,8] | |
| 368 | cost:100 goldenCarrots | |
| 369 | req:50 goldenCarrots:earned | |
| 370 | ||
| 371 | *moonGardens | |
| 372 | name:Moon gardens | |
| 373 | desc:The royal botanists in your moon citadels have found new ways of cultivating plants in reduced gravity!<//><b>Effect:</b><.>moon citadels now produce 1 golden carrot every 100 seconds | |
| 374 | icon:icons[2,9] | |
| 375 | cost:100 goldenCarrots | |
| 376 | req:50 goldenCarrots:earned | |
| 377 | ||
| 378 | Achievements | |
| 379 | *TEMPLATE | |
| 380 | on click:anim glow | |
| 381 | ||
| 382 | *bunnyAchiev1 | |
| 383 | name:Run rabbit run | |
| 384 | desc:Have <b>1</b> bunny. | |
| 385 | req:1 bunny | |
| 386 | icon:icons[2,4] icons[0,2] icons[0,6] | |
| 387 | *bunnyAchiev2 | |
| 388 | name:Bunniest home videos | |
| 389 | desc:Have <b>1000</b> bunnies. | |
| 390 | req:1000 bunnies | |
| 391 | icon:icons[2,4] icons[0,3] icons[0,6] | |
| 392 | *bunnyAchiev3 | |
| 393 | name:You got buns, hun | |
| 394 | desc:Have <b>1000000</b> bunnies. | |
| 395 | req:10000000 bunnies | |
| 396 | icon:icons[2,4] icons[0,4] icons[0,6] | |
| 397 | ||
| 398 | *clickAchiev1 | |
| 399 | name:That tickles | |
| 400 | desc:Click the bunny <b>10</b> times. | |
| 401 | req:10 bunnyButton clicks | |
| 402 | icon:icons[2,2] icons[0,2] icons[0,6] | |
| 403 | *clickAchiev2 | |
| 404 | name:Don't squeeze me I'll fart | |
| 405 | desc:Click the bunny <b>100</b> times. | |
| 406 | req:100 bunnyButton clicks | |
| 407 | icon:icons[2,2] icons[0,3] icons[0,6] | |
| 408 | *clickAchiev3 | |
| 409 | name:You're cruising for a bruising, dude | |
| 410 | desc:Click the bunny <b>2000</b> times. | |
| 411 | req:2000 bunnyButton clicks | |
| 412 | icon:icons[2,2] icons[0,4] icons[0,6] | |
| 413 | ||
| 414 | *bunnyPsAchiev1 | |
| 415 | name:Be vewy vewy quiet | |
| 416 | desc:Produce <b>10</b> bunnies per second. | |
| 417 | req:10 bunnies per second | |
| 418 | icon:icons[2,3] icons[0,2] icons[0,6] | |
| 419 | *bunnyPsAchiev2 | |
| 420 | name:Hop and a skip | |
| 421 | desc:Produce <b>1000</b> bunnies per second. | |
| 422 | req:1000 bunnies per second | |
| 423 | icon:icons[2,3] icons[0,3] icons[0,6] | |
| 424 | *bunnyPsAchiev3 | |
| 425 | name:Go forth and multiply | |
| 426 | desc:Produce <b>100000</b> bunnies per second. | |
| 427 | req:100000 bunnies per second | |
| 428 | icon:icons[2,3] icons[0,4] icons[0,6] | |
| 429 | ||
| 430 | *carrotAchiev1 | |
| 431 | name:Isn't it neat | |
| 432 | desc:Have <b>1</b> golden carrot. | |
| 433 | req:1 goldenCarrot | |
| 434 | icon:icons[0,1] icons[0,2] | |
| 435 | *carrotAchiev2 | |
| 436 | name:All that glitters | |
| 437 | desc:Have <b>100</b> golden carrots. | |
| 438 | req:100 goldenCarrot | |
| 439 | icon:icons[0,1] icons[0,3] | |
| 440 | *carrotAchiev3 | |
| 441 | name:Zero nutritional value | |
| 442 | desc:Have <b>1000</b> golden carrots. | |
| 443 | req:1000 goldenCarrot | |
| 444 | icon:icons[0,1] icons[0,4] | |
| 445 | ||
| 446 | *fortressAchiev | |
| 447 | name:Freedom! | |
| 448 | desc:Complete building the <b>freedom fortress</b>.<//>This is it. You beat the game! | |
| 449 | req:100 fortress | |
| 450 | icon:icons[3,8] icons[0,4] |