joshuaSB96

Untitled

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