Pumpernickel_Bread

ClickerClicker code

Jun 8th, 2024 (edited)
94
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.20 KB | None | 0 0
  1. Let's make a game!
  2. name:Clicker clicker
  3. by:Pumpernickel Bread
  4. desc:Click stuff so you can be better at clicking.<//>Maybe towards the end you might not have to click <i>(what?)</i>
  5. created:8/6/2024
  6. updated:8/6/2024
  7. version:1
  8.  
  9. Settings
  10. background:https://static.vecteezy.com/system/resources/previews/027/614/799/large_2x/the-texture-of-the-crumpled-paper-is-light-brown-abstract-paper-background-a-copy-of-the-space-layout-blank-template-photo.jpg
  11. building cost increase:115%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, https://i.imgur.com/gSSzosm.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *cclickButton
  21. name:Click lol
  22. desc:Click the clicker for cool clickers to spend on stuff that clicks cool?
  23. on click:anim icon wobble
  24. on click:yield 1 cclick
  25. on click:if (have goldenTouch and chance(1%)) yield 1 csclick
  26. icon:https://freeiconshop.com/wp-content/uploads/edd/cursor-outline.png
  27. no text
  28. class:bigButton hasFlares
  29. icon class:shadowed
  30. tooltip origin:bottom
  31. tooltip class:red
  32.  
  33. Resources
  34. *cclick|cclicks
  35. name:Cool click|Cool clicks
  36. desc: You may be asking, "what the hell is a cool click??" I could tell you, but you know damn well what these are.
  37. icon:icons[0,2]
  38. class:noBackground
  39. show earned
  40.  
  41. *csclick|csclicks
  42. name:Coolest click|Coolest clicks
  43. desc:Well here is the thing, its just a better click. But it's always confused me if you have two coolest clicks, then you actually would have a cooler click then the coolest click, you get me?
  44. icon:icons[1,2]
  45. class:noBackground
  46. hidden when 0
  47.  
  48. Shinies
  49. *luckycclick
  50. on click:log Woop
  51. movement:onRight moveLeft fade bounce:0.05
  52. frequency:60
  53. frequency variation:30
  54. icon:https://freepngimg.com/thumb/sunglasses/14-2-sunglasses-transparent-thumb.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 cclick production
  61. $amount=max(7,random(cclicks:ps*60*1,cclicks:ps*60*3))*$boost
  62. toast The lucky cclick grants you<//><b>[$amount] cclicks</b>.
  63. yield $amount cclicks
  64. else
  65. $amount=1*$boost
  66. toast The lucky cclick grants you<//><b>[$amount] coolest clicks[s?$amount]</b>!
  67. yield $amount csclick
  68. end
  69. end
  70.  
  71. Buildings
  72. *TEMPLATE
  73. on click:anim glow
  74.  
  75. *cur|curs
  76. name:Cursor|Cursors
  77. desc:So, a cursor, to click a cursor.<//><b>Effect:</b><.>Produces 1 click every 10 seconds.
  78. icon:icons[0,0]
  79. cost:10 cclicks
  80. on tick:yield 0.1 cclick
  81. unlocked
  82.  
  83. *amouse|amousees
  84. name:Mouse|Mice
  85. desc:No, not the thing you use to click. It's the animal instead. <//><b>Effect:</b><.>Produces 1 clcik every 2 seconds.
  86. icon:icons[1,0]
  87. cost:100 cclicks
  88. on tick:yield 0.5 cclicks
  89. req:100 cclicks:earned
  90.  
  91. *keyboard|keyboards
  92. name:Keyboard|Keyboards
  93. desc:Pro tip: pressing the space bar does nothing. An item that looks like its from a different clicker game. <//><b>Effect:</b><.>Produces 5 clicks per second.
  94. icon:icons[2,0]
  95. cost:600 cclicks
  96. on tick:yield 5 cclicks
  97. req:600 cclicks:earned
  98.  
  99. *pen|pens
  100. name:Pen|Pens
  101. desc:It turns out you can more than just draw, in fact, these have the little rubber bits on the end to use on a tablet or touchpad.<//><b>Effect:</b><.>Produces 12 clicks per second.
  102. icon:icons[3,0]
  103. cost:4000 cclicks
  104. on tick:yield 12 cclicks
  105. req:4000 cclicks:earned
  106.  
  107. *mouse|mouses
  108. name:Mouse|Mice
  109. desc:I guess i owe you an apology for making you buy actual mice before.<//><b>Effect:</b><.>Produces 90 clicks per second.
  110. icon:icons[4,0]
  111. cost:20000 cclicks
  112. on tick:yield 90 cclicks
  113. req:20000 cclicks:earned
  114.  
  115. *Ipad|Ipads
  116. name:Ipad|Ipads
  117. desc:Hire the iPad kids who mindlessly tap on their screen, and put them to work. ):< <//><b>Effect:</b><.>Produces 300 clicks per second.
  118. icon:icons[5,0]
  119. cost:200000 cclicks, 1 csclick
  120. on tick:yield 300 cclicks
  121. req:200000 cclicks:earned and independenceDay
  122.  
  123. *console|consoles
  124. name:Console gamer|Console
  125. desc:Exploit .<//><b>Effect:</b><.>Produces 1000 clicks per second.
  126. icon:icons[3,6]
  127. cost:3000000 cclicks, 4 csclicks
  128. on tick:yield 1000 cclicks
  129. req:3000000 cclicks:earned and independenceDay
  130.  
  131. *citadel|citadels
  132. name:Moon citadel|Moon citadels
  133. desc:An ornate palace standing on the moon, ruled by cclick kings and queens and staffed with royal cclick guards.<//><b>Effect:</b><.>Produces 4000 clicks per second.
  134. icon:icons[3,7]
  135. cost:70000000 cclicks, 16 csclicks
  136. on tick:yield 4000 cclicks
  137. on tick:if (have moonGardens) yield 0.01 csclick
  138. req:70000000 cclicks:earned and independenceDay
  139.  
  140. *fortress
  141. name:Freedom fortress
  142. text:Freedom fortress ([this]%)
  143. desc:A huge cclick castle. A monument to the adventurous spirit of cclickkind, which will take time and effort to complete.<//><b>The fortress is [this]% complete.</b>
  144. icon:icons[3,8]
  145. cost:300000000 cclicks, 100 csclicks
  146. req:70000000 cclicks: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://click.org/suggested-vegetables-and-fruits-for-a-click-diet/
  156.  
  157. *button
  158. name:Button
  159. desc:push.<//><b>Effect:</b><.>+1 click every time you click the clicker
  160. icon:icons[0,1]
  161. cost:100 cclicks
  162. passive:increase cclick yield of cclickButton by 1
  163. req:10 cclicks:earned
  164.  
  165. *Strongf
  166. name:Strong Finger
  167. desc:Your finger gets more buff and allows you to get more clicks!<//><b>Effect:</b><.>+1 click every time you click the clicker <//><i>(results not guaranteed)</i>
  168. icon:icons[1,1]
  169. cost:200 cclicks
  170. passive:increase cclick yield of cclickButton by 1
  171. req:50 cclicks:earned
  172.  
  173. *Strongerf
  174. name:Stronger Finger
  175. desc:Your finger now goes to it's own gym!<//><b>Effect:</b><.>+1 click every time you click the clicker
  176. icon:icons[2,1]
  177. cost:400 cclicks
  178. passive:increase cclick yield of cclickButton by 1
  179. req:200 cclicks:earned and Strongf
  180.  
  181. *technician
  182. name:Technician
  183. desc:A technician to solve your finger hurt problems.<//><b>Effect:</b><.>2x more clicks every time you click the clicker<.>click production +5%
  184. icon:icons[3,1]
  185. cost:3000 cclicks
  186. passive:multiply cclick yield of cclickButton by 2
  187. passive:multiply yield of cclicks by 1.05
  188. req:1000 cclicks:earned
  189.  
  190. *engineer
  191. name:Engineer
  192. desc:Im an engineer, I solve problems.<//><b>Effect:</b><.>x1.5 more clicks every time you click the clicker<.>click production +5%
  193. icon:icons[4,1]
  194. cost:10000 cclicks
  195. passive:multiply cclick yield of cclickButton by 1.5
  196. passive:multiply yield of cclicks by 1.05
  197. req:1000 cclicks:earned
  198.  
  199. *mechnician
  200. name:Mechnician
  201. desc:Dont you mean mechanic?.<//><b>Effect:</b><.>x1.5 more click every time you click the clicker<.>click production +5%
  202. icon:icons[5,1]
  203. cost:50000 cclicks
  204. passive:multiply cclick yield of cclickButton by 1.5
  205. passive:multiply yield of cclicks by 1.05
  206. req:10000 cclicks:earned
  207.  
  208. *rmouse
  209. name:Reinforced mouse
  210. desc:Instead of making you better, we just made your mouse better!<//><b>Effect:</b><.>cclicks/click x1.5<.>cclick production +5%
  211. icon:icons[6,2]
  212. cost:100000 cclicks
  213. passive:multiply cclick yield of cclickButton by 1.5
  214. passive:multiply yield of cclicks by 1.05
  215. req:50000 cclicks:earned
  216.  
  217. *strongestf
  218. name:Strongest Finger!
  219. desc:Your finger is now the strongest of all the land!<//><b>Effect:</b><.>x1.5 more clicks every time you click the clicker<.>click production +5%
  220. icon:icons[1,8]
  221. cost:500000 cclicks
  222. passive:multiply cclick yield of cclickButton by 1.5
  223. passive:multiply yield of cclicks by 1.05
  224. req:100000 cclicks:earned and Strongerf
  225.  
  226. *cherry
  227. name:Cherry
  228. desc:Your cclicks look like little vampires when they start munching on these!<//><b>Effect:</b><.>cclicks/click x1.5<.>cclick production +5%
  229. icon:icons[1,9]
  230. cost:1000000 cclicks
  231. passive:multiply cclick yield of cclickButton by 1.5
  232. passive:multiply yield of cclicks by 1.05
  233. req:500000 cclicks:earned
  234.  
  235. *carrot
  236. name:Carrot
  237. desc:The quintessential click food! Crunchy, orange, and perfect.<//><b>Effect:</b><.>cclicks/click x2<.>cclick production +10%
  238. icon:icons[1,0]
  239. cost:100000000 cclicks
  240. passive:multiply cclick yield of cclickButton by 2
  241. passive:multiply yield of cclicks by 1.1
  242. req:1000000 cclicks:earned
  243.  
  244. //building upgrades
  245.  
  246. *buildingUpgrade1
  247. name:Cat
  248. desc:Buy a cat to chase the mice, walk on the keyboards, and attack the cursors, making them all work harder. <//><b>Effect:</b><.>Cursor production x2<.>Mice production x2<.>Keyboard production x2
  249. icon:icons[3,2]
  250. cost:1000 cclicks
  251. passive:multiply yield of cur by 2
  252. passive:multiply yield of amouse by 2
  253. passive:multiply yield of keyboard by 2
  254. req:(curs>=10 or amousees>=10 or keyboards>=10)
  255.  
  256. *buildingUpgrade2
  257. name:Termi-cat-er
  258. desc:Your cats are now cyborgs!?<//><b>Effect:</b><.>Cursor production x2<.>Mice production x2<.>Keyboard production x2<//><i>"Come with me if you want to (not) live"</i>
  259. icon:icons[4,2]
  260. cost:100000 cclicks
  261. passive:multiply yield of cur by 2
  262. passive:multiply yield of amouse by 2
  263. passive:multiply yield of keyboard by 2
  264. req:(curs>=50 or amousees>=50 or keyboards>=50) and buildingUpgrade1
  265.  
  266. *buildingUpgrade3
  267. name:Full cat robot.
  268. desc:BEEP BOOP- mouse detected - INITATING "Mouse chase" SEQUENCE.<//><b>Effect:</b><.>click cur production x2<.>click amouse production x2<.>click keyboard production x2
  269. icon:icons[5,2]
  270. cost:5000000 cclicks
  271. passive:multiply yield of cur by 2
  272. passive:multiply yield of amouse by 2
  273. passive:multiply yield of keyboard by 2
  274. req:(curs>=100 or amousees>=100 or keyboards>=100) and buildingUpgrade2
  275.  
  276. *buildingUpgrade4
  277. name:Pretty fences
  278. desc:Just the right size so your cclicks can peek through but not hop over!<//><b>Effect:</b><.>click pen production x2<.>click mouse production x2
  279. icon:icons[2,0] icons[3,3]
  280. cost:50000 cclicks
  281. passive:multiply yield of pen by 2
  282. passive:multiply yield of mouse by 2
  283. req:(pens>=10 or mouses>=10)
  284.  
  285. *buildingUpgrade5
  286. name:cclick playground
  287. desc:If your cclicks are outside, they might as well get some exercise!<//><b>Effect:</b><.>click pen production x2<.>click mouse production x2
  288. icon:icons[2,0] icons[3,4]
  289. cost:5000000 cclicks
  290. passive:multiply yield of pen by 2
  291. passive:multiply yield of mouse by 2
  292. req:(pens>=50 or mouses>=50)
  293.  
  294. *buildingUpgrade6
  295. name:cclick TVs
  296. desc:Televisions that broadcast cclick cartoons, cclick sitcoms, and cclick news bulletins.<//><b>Effect:</b><.>click Ipad production x2<.>click console production x2
  297. icon:icons[2,0] icons[3,5]
  298. cost:1000000 cclicks
  299. passive:multiply yield of Ipad by 2
  300. passive:multiply yield of console by 2
  301. req:(Ipads>=10 or consoles>=10)
  302.  
  303. *buildingUpgrade7
  304. name:Wee little cclick cars
  305. desc:Your cclicks drive around in these. How nice!<//><b>Effect:</b><.>click Ipad production x2<.>click console production x2
  306. icon:icons[2,0] icons[3,6]
  307. cost:500000000 cclicks
  308. passive:multiply yield of Ipad by 2
  309. passive:multiply yield of console by 2
  310. req:(Ipads>=50 or consoles>=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 cclicks
  317. passive:multiply yield of citadel by 2
  318. req:10 citadels
  319.  
  320. //golden carrot upgrades
  321.  
  322. *goldenTouch
  323. name:Golden tip
  324. desc:Give your cursor a nice golden edging, but of course, you can't see it. <//><b>Effect:</b><.>1% chance of gaining 1 coolest click per click
  325. icon:icons[2,2]
  326. cost:1 csclick
  327. req:1 csclick:earned
  328.  
  329. *clickHaste
  330. name:Sunglasses
  331. desc:These look so stylish that even clicks will look cooler and even come more often!<//><b>Effect:</b><.>Coolest clicks appear 30% more often
  332. icon:icons[1,2]
  333. passive:multiply frequency of luckycclick by 0.7
  334. cost:5 csclicks
  335. req:1 csclick:earned
  336.  
  337. *independenceDay
  338. name:Domain Expansion
  339. desc:This upgrade allows you and your team to get 1% more smarter! Now you can start making others who already are dumb, seem dumber.<//><b>Effect:</b><.>unlocks new buildings
  340. icon:icons[6,1]
  341. cost:10 csclicks
  342. req:5 csclicks:earned
  343.  
  344. *clover
  345. name:Clover
  346. desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky cclick effects are 4 times more powerful
  347. icon:icons[2,8]
  348. cost:100 csclicks
  349. req:50 csclicks: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 csclicks
  356. req:50 csclicks:earned
  357.  
  358. Achievements
  359. *TEMPLATE
  360. on click:anim glow
  361.  
  362. *cclickAchiev1
  363. name:It begins.
  364. desc:Click the clicker
  365. req:1 cclick
  366. icon:icons[2,4] icons[0,2] icons[0,6]
  367. *cclickAchiev2
  368. name:You like this, huh?
  369. desc:Have <b>1000</b> cclicks.
  370. req:1000 cclicks
  371. icon:icons[2,4] icons[0,3] icons[0,6]
  372. *cclickAchiev3
  373. name:Okay.. You can stop now!
  374. desc:Have <b>1000000</b> cclicks.
  375. req:10000000 cclicks
  376. icon:icons[2,4] icons[0,4] icons[0,6]
  377. *cclickAchiev4
  378. name:Seriously, <b>stop</b>.
  379. desc:Have <b>10000000</b> cclicks.
  380. req:100000000 cclicks
  381. icon:icons[2,4] icons[0,4] icons[0,6]
  382. *clickAchiev1
  383. name:Now lets buy a cursor!
  384. desc:Click the clicker <b>10</b> times, we are all so proud of you.
  385. req:10 cclickButton clicks
  386. icon:icons[2,2] icons[0,2] icons[0,6]
  387. *clickAchiev2
  388. name:Isn't 100 the biggest number?
  389. desc:Click the clicker <b>100</b> times. what.
  390. req:100 cclickButton clicks
  391. icon:icons[2,2] icons[0,3] icons[0,6]
  392. *clickAchiev3
  393. name:Nope, it isn't.
  394. desc:Click the clicker <b>2000</b> times.
  395. req:2000 cclickButton clicks
  396. icon:icons[2,2] icons[0,4] icons[0,6]
  397. *clickAchiev4
  398. name:But wait, there's more!
  399. desc:Click the clicker <b>10000</b> times. Jeez louise.
  400. req:2000 cclickButton clicks
  401. icon:icons[2,2] icons[0,4] icons[0,6]
  402.  
  403. *cclickPsAchiev1
  404. name:Just a mini helper.
  405. desc:Produce <b>10</b> clicks per second. O:.
  406. req:10 cclicks per second
  407. icon:icons[2,3] icons[0,2] icons[0,6]
  408. *cclickPsAchiev2
  409. name:This is my clicker-tron 9000!
  410. desc:Produce <b>1000</b> clicks per second. I would say "wow" or something, but im not rewarding you for making your life easier. PARRY?!
  411. req:1000 cclicks per second
  412. icon:icons[2,3] icons[0,3] icons[0,6]
  413. *cclickPsAchiev3
  414. name:Carpal tunnel prevention achievement
  415. desc:Produce <b>100000</b> clicks per second. Thats cool, I guess
  416. req:100000 cclicks per second
  417. icon:icons[2,3] icons[0,4] icons[0,6]
  418.  
  419. *carrotAchiev1
  420. name:A very epik click
  421. desc:Have <b>1</b> whole coolest click.
  422. req:1 csclick
  423. icon:icons[0,1] icons[0,2]
  424. *carrotAchiev2
  425. name:All that glitters
  426. desc:Have <b>100</b> golden carrots.
  427. req:100 csclick
  428. icon:icons[0,1] icons[0,3]
  429. *carrotAchiev3
  430. name:Zero nutritional value
  431. desc:Have <b>1000</b> golden carrots.
  432. req:1000 csclick
  433. icon:icons[0,1] icons[0,4]
  434.  
  435. *fortressAchiev
  436. name:Freedom!
  437. desc:Complete building the <b>freedom fortress</b>.<//>This is it. You beat the game!
  438. req:100 fortress
  439. icon:icons[3,8] icons[0,4]
  440.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment