Advertisement
MiningcookiesVIII

Untitled

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