Advertisement
TheEatingSquirrel

Acorn Clicker

Dec 2nd, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. Let's make a game!
  2. name:Acorn Clicker
  3. by:TheEatingSquirrel
  4. created:02/12/2019
  5. version:1
  6.  
  7. Settings
  8. background:stuff/meadow.jpg
  9. building cost increase:110%
  10. building cost refund:85%
  11. spritesheet:icons, 48 by 48, stuff/acornIcons.png
  12. stylesheet:stuff/bigBlue.css
  13.  
  14. Layout
  15. use default
  16.  
  17. Buttons
  18. *acornButton
  19. name:Get an acorn
  20. desc:Click this acorn to get more acorns!
  21. on click:anim icon wobble
  22. on click:yield 1 acorn
  23. on click:if (have portalAchiev) yield -99 acorns
  24. icon:stuff/acorn.png
  25. no text
  26. class:bigButton hasFlares
  27. icon class:shadowed
  28. tooltip origin:bottom
  29. tooltip class:red
  30.  
  31. Resources
  32. *acorn|acorns
  33. name:Acorn|Acorns
  34. desc:These are your acorns. You can use them to purchase things. Your goal is to have as many acorns as possible!
  35. icon:icons[0,0]
  36. class:noBackground
  37. show earned
  38.  
  39. *nutLump|nutLumps
  40. name:Nut Lump|Nut Lumps
  41. desc:These shiny balls of mashed-up nuts are terribly rare, terribly precious and terribly delicious! (useless for now, they are used later(hint: get 100 of a certain type of building)
  42. icon:icons[0,1]
  43. class:noBackground
  44. hidden when 0
  45.  
  46. Shinies
  47. *luckySquirrel
  48. on click:log Woop
  49. movement:onRight moveLeft fade bounce:0.05
  50. frequency:60
  51. frequency variation:30
  52. icon:stuff/luckyBunny.png
  53. class:bigButton
  54. on click:
  55. $boost=1
  56. if (chance(25%))
  57. //get at least 7, or between 1 and 3 minutes of our acorn production
  58. $amount=max(7,random(acorns:ps*60*1,acorns:ps*60*3))*$boost
  59. toast The lucky squirrel grants you<//><b>[$amount] acorns</b>.
  60. yield $amount acorns
  61. else
  62. $amount=1*$boost
  63. toast The lucky squirrel grants you<//><b>[$amount] nut lump[s?$amount]</b>!
  64. yield $amount nutLump
  65. end
  66. end
  67.  
  68. Buildings
  69. *TEMPLATE
  70. on click:anim glow
  71.  
  72. *squirrel|squirrels
  73. name:Squirrel|Squirrels
  74. desc:A nice squirrel to gather more nuts!<//><b>Effect:</b><.>Gathers 1 acorn every 10 seconds.
  75. icon:icons[3,0]
  76. cost:15 acorns
  77. on tick:yield 0.1 acorn
  78. unlocked
  79.  
  80. *tree|trees
  81. name:Tree|Trees
  82. desc:A large, tall, tree to grow more nuts!<//><b>Effect:</b><.>Produces 1 acorn every 2 seconds.
  83. icon:icons[3,1]
  84. cost:100 acorns
  85. on tick:yield 0.5 acorns
  86. req:100 acorns:earned
  87.  
  88. *forest|forests
  89. name:Forest|Forests
  90. desc:A huge cluster of trees to grow large quantities of nuts simultaneously.<//><b>Effect:</b><.>Produces 5 acorns per second.
  91. icon:icons[3,2]
  92. cost:600 acorns
  93. on tick:yield 5 acorns
  94. req:600 acorns:earned
  95.  
  96. *factory|factories
  97. name:Factory|Factories
  98. desc:An efficient building to manufacture more delicious acorns!<//><b>Effect:</b><.>Produces 12 acorns per second.
  99. icon:icons[3,3]
  100. cost:4000 acorns
  101. on tick:yield 12 acorns
  102. req:4000 acorns:earned
  103.  
  104. *portal|portals
  105. name:Portal|Portals
  106. desc:An acorn portal that sucks in acorns from another dimension.<//><b>Effect:</b><.>Produces 90 acorns per second.
  107. icon:icons[3,4]
  108. cost:5000 acorns
  109. on tick:yield 90 acorns
  110. req:5000 acorns:earned
  111.  
  112. Upgrades
  113. *TEMPLATE
  114. on click:anim glow
  115.  
  116. *almond
  117. name:Almond
  118. desc:A nice little supplement to your squirrels' diet.<//><b>Effect:</b><.>+1 acorn/click
  119. icon:icons[1,1]
  120. cost:100 acorns
  121. passive:increase acorn yield of acornButton by 1
  122. req:10 acorns:earned
  123.  
  124. *peanut
  125. name:Peanut
  126. desc:Mainly popular among circus elephants, your squirrels will eat them just fine.<//><b>Effect:</b><.>+1 acorn/click
  127. icon:icons[1,2]
  128. cost:200 bunnies
  129. passive:increase acorn yield of acornButton by 1
  130. req:50 acorns:earned
  131.  
  132. *cashew
  133. name:Cashew
  134. desc:The main form of cash among squirrels.<//><b>Effect:</b><.>+1 acorn/click
  135. icon:icons[1,3]
  136. cost:400 bunnies
  137. passive:increase bunny yield of bunnyButton by 1
  138. req:200 bunnies:earned
  139.  
  140. //golden carrot upgrades
  141.  
  142. *goldenTouch
  143. name:Golden touch
  144. desc:The delicate art of finding nut lumps made of precious nuts.<//><b>Effect:</b><.>1% chance of gaining 1 nut lump per acorn click
  145. icon:icons[2,5]
  146. cost:1 nutLump
  147. req:1 nutLump:earned
  148.  
  149. *squirrelHaste
  150. name:Squirrel's haste
  151. desc:I'm late! I'm late! For a very important nut lump!<//><b>Effect:</b><.>lucky squirrels appear 30% more often
  152. icon:icons[2,6]
  153. passive:multiply frequency of luckySquirrel by 0.7
  154. cost:5 nutLumps
  155. req:1 nutLump:earned
  156.  
  157. Achievements
  158. *TEMPLATE
  159. on click:anim glow
  160.  
  161. *acornAchiev1
  162. name:beginning to gather
  163. desc:Have <b>1</b> squirrel.
  164. req:1 squirrel
  165. icon:icons[2,4] icons[0,2] icons[0,6]
  166.  
  167. *acornAchiev2
  168. name:Where did that acorn just come from???
  169. desc:Have <b>1</b> acorn.
  170. req:1 acorn
  171. icon:icons[2,4] icons[0,3] icons[0,6]
  172.  
  173. *bunnyAchiev3
  174. name:100 reasons to keep playing this game: ACORNS!
  175. desc:Have <b>100</b> acorns.
  176. req:100 acorns
  177. icon:icons[2,4] icons[0,4] icons[0,6]
  178.  
  179. *portalAchiev
  180. name:Oh No! Your 100 portals are ripping apart the dimension, sucking in most of your hard-earned acorns!
  181. desc:Have 100 portals, you need to sacrafice 10 nut lumps to get your acorns back.
  182. req:100 portals
  183. icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement