martyn12345678901

Untitled

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