Advertisement
ClickerGuy

Untitled

Mar 25th, 2018
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.98 KB | None | 0 0
  1. Let's make a game!
  2. name:Bread Clicker
  3. by:Funny
  4. desc:This is a clicker game!
  5. created:25/3/2018
  6. updated:25/3/2018
  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/breadIcons.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16.  
  17. Layout
  18. use default
  19.  
  20.  
  21. Buttons
  22.  
  23. *breadButton
  24. name:Make a bread
  25. desc:Click this bread to get more breads!
  26. on click:anim icon wobble
  27. on click:yield 1 bread
  28. on click:if (have goldenTouch and chance (1%)) yield 1 goldenBread
  29. icon:stuff/bread.png
  30. no text
  31. class:bigButton hasFlares
  32. icon class:shadowed
  33. tooltip origin:bottom
  34. tooltip class:brown
  35. Resources
  36. *bread|breads
  37. name:bread|breads
  38. desc:These are your breads. You can use them to purchase things. Your goal is to have as many breads as possible!
  39. icon:icons[0,0]
  40. class:noBackground
  41. show earned
  42.  
  43. *goldenBread|goldenBreads
  44. name:Golden bread|Golden breads
  45. desc:These shiny breads are terribly rare, terribly precious and terribly delicious!
  46. icon:icons[0,1]
  47. class:noBackground
  48. hidden when 0
  49.  
  50. Shinies
  51. *luckyBread
  52. on click:log Woop
  53. movement:onRight moveLeft fade bounce:0.05
  54. frequency:60
  55. frequency variation:30
  56. icon:stuff/luckyBread.png
  57. class:bigButton
  58. on click:
  59. $boost=1
  60. if (have clover) $boost=4
  61. if (chance($25))
  62. //get at least 7, or between 1 and 3 minutes of our bread production
  63. $amount=max(7,random(breads:ps*60*1,breads:ps*60*3))*$boost
  64. toast the lucky bread grants you<//><b>[$amount] breads</b>.
  65. yield $amount breads
  66. else
  67. $amount=1*$boost
  68. toast the lucky bread grants you<//><b>[$amount] golden bread[s?$amount]</b>!
  69. yield $amount goldenBread
  70.  
  71. end
  72.  
  73. end
  74.  
  75. Buildings
  76. *TEMPLATE
  77. on click:anim glow
  78.  
  79. *cage|cages
  80. name:Bread cage|bread cages
  81. desc:A tiny little cage.<//><b>Effect:</b><.>Produces 1 bread every 10 seconds.
  82. icon:icons[3,0]
  83. cost:15 breads
  84. on tick:yield 0.1 bread
  85. unlocked
  86.  
  87.  
  88. *hutch|hutches
  89. name:Bread hutch|Bread hutches
  90. desc:No Description
  91. icon:icons[3,1]
  92. cost:100 breads
  93. on tick:yield 0.5 breads
  94. req:100 breads:earned
  95.  
  96.  
  97. *coop|coops
  98. name:Bread coop|Breads coops
  99. desc:A much nicer bread home where full Bread families can live.<//><b>Effect:</b><.>Produces 5 Breads per second.
  100. icon:icons[3,2]
  101. cost:600 Breads
  102. on tick:yield 12 bread
  103. req:600 breads:earned
  104.  
  105. *pen|pens
  106. name:Rabbit pen|Rabbit pens
  107. desc:A lovely enclosure with plenty of green space.<//><b>Effect:</b><.>Produces 12 Breads per second.
  108. icon:icons[3,3]
  109. cost:4000 breads
  110. on tick:yield 12 breads
  111. req:4000 breads:earned
  112.  
  113. *meadow|meadows
  114. name:Breads meadow|Breads meadows
  115. desc:A wide open space full of shade and lush grass.<//><b>Effect:</b><.>Produces 90 Breads per second.
  116. icon:icons[3,4]
  117. cost:20000 breads
  118. on tick:yield 90 breads
  119. req:20000 breads:earned
  120.  
  121. *village|villages
  122. name:Bread village|Breads villages
  123. desc:Your Breads are building their own villages now!<//><b>Effect:</b><.>Produces 300 Breads per second.
  124. icon:icons[3,5]
  125. cost:200000 Breads, 1 goldenBreads
  126. on tick:yield 300 Breads
  127. req:200000 Breads:earned and independenceDay
  128.  
  129. *city|cities
  130. name:Bread city|Breads cities
  131. desc:A bustling little city, populated with busy Breads.<//><b>Effect:</b><.>Produces 1000 Breads per second.
  132. icon:icons[3,6]
  133. cost:3000000 Breads, 4 goldenBreads
  134. on tick:yield 1000 breads
  135. req:3000000 Breads:earned and independenceDay
  136.  
  137. *citadel|citadels
  138. name:Moon citadel|Moon citadels
  139. desc:An ornate palace standing on the moon, ruled by Breads kings and queens and staffed with royal Bread guards.<//><b>Effect:</b><.>Produces 4000 Breads per second.
  140. icon:icons[3,7]
  141. cost:70000000 Breads, 16 goldenBreads
  142. on tick:yield 4000 breads
  143. on tick:if (have moonGardens) yield 0.01 goldenBreads
  144. req:70000000 Breads:earned and independenceDay
  145.  
  146. *fortress
  147. name:Freedom fortress
  148. text:Freedom fortress ([this]%)
  149. desc:A huge bunny castle. A monument to the adventurous spirit of Breadkind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
  150. icon:icons[3,8]
  151. cost:300000000 Breads, 100 goldenBreads
  152. req:70000000 Breads:earned and independenceDay
  153. limit:100
  154. cost increase:105
  155.  
  156.  
  157. Upgrades
  158. *TEMPLATE
  159. on click:anim glow
  160.  
  161. //food upgrades
  162.  
  163. *parsley
  164. name:Parsley
  165. desc:A nice little supplement to your Bread's diet.<//><b>Effect:</b><.>+1 Bread/click
  166. icon:icons[1,1]
  167. cost:100 Breads
  168. passive:increase breads yield of breadButton by 1
  169. req:10 breads:earned
  170.  
  171. *spinach
  172. name:Spinach
  173. desc:Big tasty leaves, perfect for hungry breads.<//><b>Effect:</b><.>+1 breads/click
  174. icon:icons[1,2]
  175. cost:200 bunnies
  176. passive:increase bread yield of breadButton by 1
  177. req:50 bread:earned
  178.  
  179. *lettuce
  180. name:Lettuce
  181. desc:Frilly greens loved by all breads.<//><b>Effect:</b><.>+1 bread/click
  182. icon:icons[1,3]
  183. cost:400 breads
  184. passive:increase bread yield of breadButton by 1
  185. req:200 bread:earned
  186.  
  187.  
  188.  
  189. //building upgrades
  190.  
  191. *buildingUpgrade1
  192. name:Sippy bottles
  193. desc:Your breads can drink their fill!<//><b>Effect:</b><.>breads cage production x2<.>breads hutch production x2<.>breads coop production x2
  194. icon:icons[2,0] icons[3,0]
  195. cost:1000 breads
  196. passive:multiply yield of cage by 2
  197. passive:multiply yield of hutch by 2
  198. passive:multiply yield of coop by 2
  199. req:(cages>=10 or hutches>=10 or coops>=10)
  200.  
  201. *buildingUpgrade2
  202. name:Prime grade hay
  203. desc:Not just for horses anymore!<//><b>Effect:</b><.>bread cage production x2<.>bread hutch production x2<.>breads coop production x2
  204. icon:icons[2,0] icons[3,1]
  205. cost:100000 breads
  206. passive:multiply yield of cage by 2
  207. passive:multiply yield of hutch by 2
  208. passive:multiply yield of breadscoop by 2
  209. req:(cages>=50 or hutches>=50 or coops>=50)
  210.  
  211. *buildingUpgrade3
  212. name:Shredded newspapers
  213. desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>breads cage production x2<.>breads hutch production x2<.>breads coop production x2
  214. icon:icons[2,0] icons[3,2]
  215. cost:5000000 breads
  216. passive:multiply yield of cage by 2
  217. passive:multiply yield of hutch by 2
  218. passive:multiply yield of coop by 2
  219. req:(cages>=100 or hutches>=100 or coops>=100)
  220.  
  221.  
  222. //golden bread upgrades
  223.  
  224. *goldenTouch
  225. name:Golden touch
  226. desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 golden bread per bread click
  227. icon:icons[2,5]
  228. cost:1 goldenBread
  229. req:1 goldenBread:earned
  230.  
  231. *rabbitHaste
  232. name:Rabbit's haste
  233. desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky Breads appear 30% more often
  234. icon:icons[2,6]
  235. passive:multiply frequency of luckyBread by 0.7
  236. cost:5 goldenBread
  237. req:1 goldenBread:earned
  238.  
  239. *independenceDay
  240. name:Independence day
  241. desc:Your Breads are making their first step towards declaring their independence from the oppressive shackles of pens and cages.<//><b>Effect:</b><.>unlocks new buildings
  242. icon:icons[2,7]
  243. cost:10 goldenBreads
  244. req:5 goldenBreads:earned
  245.  
  246. *clover
  247. name:Clover
  248. desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky beard effects are 4 times more powerful
  249. icon:icons[2,8]
  250. cost:100 goldenBreads
  251. req:50 goldenCarrots:earned
  252.  
  253. *moonGardens
  254. name:Moon gardens
  255. 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 bread every 100 seconds
  256. icon:icons[2,9]
  257. cost:100 goldenBreads
  258. req:50 goldenBreads:earned
  259.  
  260. Achievements
  261. *TEMPLATE
  262. on click:anim glow
  263.  
  264. *breadAchiev1
  265. name:Run bread run
  266. desc:Have <b>1</b> bread.
  267. req:1 bread
  268. icon:icons[2,4] icons[0,2] icons[0,6]
  269. *breadAchiev2
  270. name:bread home videos
  271. desc:Have <b>1000</b> breads.
  272. req:1000 breads
  273. icon:icons[2,4] icons[0,3] icons[0,6]
  274. *bunnyAchiev3
  275. name:You got breads, bread
  276. desc:Have <b>1000000</b> breads.
  277. req:10000000 bunnies
  278. icon:icons[2,4] icons[0,4] icons[0,6]
  279.  
  280. *clickAchiev1
  281. name:That tickles
  282. desc:Click the bread <b>10</b> times.
  283. req:10 breadButton clicks
  284. icon:icons[2,2] icons[0,2] icons[0,6]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement