Advertisement
DuckxSTUDIOS

Egg Clicker

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