MisterGrapeSoda

CC2

Jan 21st, 2020
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.86 KB | None | 0 0
  1. Let's make a game!
  2. name:Cotton Clicker
  3. by:MisterGrapeSoda
  4. desc:This is a simple idle game to showcase some of the basic functionalities of Idle Game Maker.<//>Make Nugs and shoot for the stars!
  5. created:21/01/2020
  6. updated:21/01/2020
  7. version:1
  8.  
  9. Settings
  10. background:stuff/black.jpg
  11. building cost increase:115%
  12. building cost refund:50%
  13. spritesheet:icons, 48 by 48, stuff/nugIcons.png
  14. stylesheet:stuff/bigBlue.css
  15.  
  16. Layout
  17. use default
  18.  
  19. Buttons
  20. *cottonButton
  21. name:Make a nug
  22. desc:Click this little cotton nug to get more nuggies!
  23. on click:anim icon wobble
  24. on click:yield 1 nug
  25. on click:if (have goldenTouch and chance(1%)) yield 1 goldenNug
  26. icon:stuff/nug.png
  27. no text
  28. class:bigButton hasFlares
  29. icon class:shadowed
  30. tooltip origin:bottom
  31. tooltip class:red
  32.  
  33. Resources
  34. *nug|Nugs
  35. name:Nug|Nugs
  36. desc: These are nugs of cotton. You can use them to purchase things. Your goal is to have as many nugs of cotton as possible! icon:icons[0,0]
  37. class:noBackground
  38. show earned
  39.  
  40. *goldenNug|goldenNugs
  41. name:Golden nug|Golden nugs
  42. desc: These shiny cotton nugs are terribly rare, the negros would challenge a whipping for them!
  43. icon:icons[0,1]
  44. class:noBackground
  45. hidden when 0
  46.  
  47. Shinies
  48. *luckyNug
  49. on click:log Woop
  50. movement:onRight moveLeft fade bounce:0.05
  51. frequency:60
  52. frequency variation:30
  53. icon:stuff/luckyNug.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 nug production
  60. $amount=max(7,random(Nugs:ps*60*1,Nugs:ps*60*3))*$boost
  61. toast The lucky nug grants you<//><b>[$amount] Nugs</b>.
  62. yield $amount Nugs
  63. else
  64. $amount=1*$boost
  65. toast The lucky nug grants you<//><b>[$amount] Golden nug[s?$amount]</b>!
  66. yield $amount goldenNug
  67. end
  68. end
  69.  
  70. Buildings
  71. *TEMPLATE
  72. on click:anim glow
  73.  
  74. *nigger|niggers
  75. name:Nigger|Niggers
  76. desc: The bottom of the barrel slaves.<//><b>Effect:</b><.>Produces 1 nug every 10 seconds.
  77. icon: https://mulattodiaries.files.wordpress.com/2010/04/smokin.jpg
  78. cost:15 Nugs
  79. on tick:yield 0.1 nug
  80. unlocked
  81.  
  82. *negro|negroes
  83. name:Negro|Negroes
  84. desc:Slicker than your average nigger.<//><b>Effect:</b><.>Produces 1 nug every 2 seconds.
  85. icon: https://render.fineartamerica.com/images/rendered/default/poster/8/10/break/images/artworkimages/medium/1/1-the-jazz-singer-al-jolson-1927-everett.jpg
  86. cost:100 Nugs
  87. on tick:yield 0.5 Nugs
  88. req:100 Nugs:earned
  89.  
  90. *nigro|nigros
  91. name:Nigro|Nigros
  92. desc:Inbred scum.<//><b>Effect:</b><.>Produces 5 nugs per second.
  93. icon: https://multiracialmedia.com/wp-content/uploads/2017/04/24038068444_a75f5cc92f_o.jpg
  94. cost:600 Nugs
  95. on tick:yield 5 Nugs
  96. req:600 Nugs:earned
  97.  
  98. *Colored|Coloreds
  99. name:Colored|Coloreds
  100. desc:Front of the bus has never been better.<//><b>Effect:</b><.>Produces 12 nugs per second.
  101. icon: https://www.achievement.org/wp-content/uploads/2016/05/par0-025.jpg
  102. cost:4000 Nugs
  103. on tick:yield 12 Nugs
  104. req:4000 Nugs:earned
  105.  
  106. *black|blacks
  107. name:Black|Blacks
  108. desc:Free to use any water fountain they choose.<//><b>Effect:</b><.>Produces 90 nugs per second.
  109. icon: https://opengameart.org/sites/default/files/Preview%201_0.png
  110. cost:20000 Nugs
  111. on tick:yield 90 Nugs
  112. req:20000 Nugs:earned
  113.  
  114. *livingQuarter|livingQuarters
  115. name:LivingQuarter|LivingQuarters
  116. desc:The slaves are now building shelters!<//><b>Effect:</b><.>Produces 300 nugs per second.
  117. icon: https://images.fineartamerica.com/images-medium-large/1-oakley-plantation-slaves-quarters-bourbon-street.jpg
  118. cost:200000 Nugs, 1 goldenNug
  119. on tick:yield 300 Nugs
  120. req:200000 Nugs:earned and indeColoreddenceDay
  121.  
  122. *ghetto|ghettos
  123. name:Ghetto|Ghettos
  124. desc:Come to the dark side. b>Effect:</b><.>Produces 1000 nugs per second.
  125. icon: https://www.yadvashem.org/yv/en/exhibitions/communities/munkacs/images/during/02s200.jpg
  126. cost:3000000 Nugs, 4 goldenNugs
  127. on tick:yield 1000 Nugs
  128. req:3000000 Nugs:earned and indeColoreddenceDay
  129.  
  130. *trapHouse|trapHouses
  131. name:TrapHouse|TrapHouses
  132. desc:”You need?”<//><b>Effect:</b><.>Produces 4000 nugs per second.
  133. icon: https://f4.bcbits.com/img/a4221007235_16.jpg
  134. cost:70000000 Nugs, 16 goldenNugs
  135. on tick:yield 4000 Nugs
  136. on tick:if (have moonGardens) yield 0.01 goldenNug
  137. req:70000000 Nugs:earned and indeColoreddenceDay
  138.  
  139. *condo
  140. name:Condo
  141. text:Condo ([this]%)
  142. desc:Getting by, one welfare check at a time.<//><b>The condo is [this]% complete.</b>
  143. icon: https://coconutoz.files.wordpress.com/2010/01/ghetto.jpg?w=300&h=187
  144. cost:300000000 Nugs, 100 goldenNugs
  145. req:70000000 Nugs:earned and indeColoreddenceDay
  146. limit:100
  147. cost increase:105%
  148.  
  149. Upgrades
  150. *TEMPLATE
  151. on click:anim glow
  152.  
  153. //food upgrades
  154. //inspiration : http://nug.org/suggested-vegetables-and-fruits-for-a-nug-diet/
  155.  
  156. *KFC
  157. name:KFC
  158. desc:It’s finger lickin good.<//><b>Effect:</b><.>+1 nug/click
  159. icon: https://ichef.bbci.co.uk/news/320/cpsprodpb/66A2/production/_107847262_gettyimages-1152276563-594x594.jpg
  160. cost:100 Nugs
  161. passive:increase nug yield of cottonButton by 1
  162. req:10 Nugs:earned
  163.  
  164. *grapesoda
  165. name:Grape Soda
  166. desc:Somehow never sweet enough.<//><b>Effect:</b><.>+1 nug/click
  167. icon: https://scontent.harristeeter.com/legacy/productimagesroot/DJ/2/1016402.jpg
  168. cost:200 Nugs
  169. passive:increase nug yield of cottonButton by 1
  170. req:50 Nugs:earned
  171.  
  172. *grapejuice
  173. name:Grape Juice
  174. desc:When Grape Soda is too spicy.<//><b>Effect:</b><.>+1 nug/click
  175. icon: https://www.dollargeneral.com/media/catalog/product/cache/d09876fe1f368cbe7f9f079fb9c0048a/1/8/18656401.jpg
  176. cost:400 Nugs
  177. passive:increase nug yield of cottonButton by 1
  178. req:200 Nugs:earned
  179.  
  180. *Forty
  181. name:Colt 45
  182. desc:Not complete without 2 zig zags.<//><b>Effect:</b><.>Nugs/click x2<.>nug production +5%
  183. icon: https://d3r6kbofdnmd8.cloudfront.net/media/catalog/product/cache/image/1536x/a4e40ebdc3e371adff845072e1c73f37/1/0/100490_Colt-45-40oz-1183L-8-Vol_4.jpg
  184. cost:3000 Nugs
  185. passive:multiply nug yield of cottonButton by 2
  186. passive:multiply yield of Nugs by 1.05
  187. req:1000 Nugs:earned
  188.  
  189. *BlacknMild
  190. name:Black n Mild
  191. desc:Nothing better than lung cancer.<//><b>Effect:</b><.>Nugs/click x1.5<.>nug production +5%
  192. icon: https://www.alhamrah.com/wp-content/uploads/2016/05/mibnmjp.gif cost:10000 Nugs
  193. passive:multiply nug yield of cottonButton by 1.5
  194. passive:multiply yield of Nugs by 1.05
  195. req:1000 Nugs:earned
  196.  
  197. *joint
  198. name:Joint
  199. desc:A funny looking cigarette.<//><b>Effect:</b><.>Nugs/click x1.5<.>nug production +5%
  200. icon:icons[1,6]
  201. cost:50000 Nugs
  202. passive:multiply nug yield of cottonButton by 1.5
  203. passive:multiply yield of Nugs by 1.05
  204. req:10000 Nugs:earned
  205.  
  206. *blunt
  207. name:Blunt
  208. desc:A Cuban Doobie.<//><b>Effect:</b><.>Nugs/click x1.5<.>nug production +5%
  209. icon:icons[1,7]
  210. cost:100000 Nugs
  211. passive:multiply nug yield of cottonButton by 1.5
  212. passive:multiply yield of Nugs by 1.05
  213. req:50000 Nugs:earned
  214.  
  215. *crack
  216. name:Crack
  217. desc:Crack is whack.<//><b>Effect:</b><.>Nugs/click x1.5<.>nug production +5%
  218. icon:icons[1,8]
  219. cost:500000 Nugs
  220. passive:multiply nug yield of cottonButton by 1.5
  221. passive:multiply yield of Nugs by 1.05
  222. req:100000 Nugs:earned
  223.  
  224. *MDMA
  225. name:MDMA
  226. desc:Everything is sooo soft.<//><b>Effect:</b><.>Nugs/click x1.5<.>nug production +5%
  227. icon:icons[1,9]
  228. cost:1000000 Nugs
  229. passive:multiply nug yield of cottonButton by 1.5
  230. passive:multiply yield of Nugs by 1.05
  231. req:500000 Nugs:earned
  232.  
  233. *civilrights
  234. name:Civil Rights
  235. desc:What the brothers have been fighting for since the beginning.<//><b>Effect:</b><.>Nugs/click x2<.>nug production +10%
  236. icon:icons[1,0]
  237. cost:100000000 Nugs
  238. passive:multiply nug yield of cottonButton by 2
  239. passive:multiply yield of Nugs by 1.1
  240. req:1000000 Nugs:earned
  241.  
  242. //building upgrades
  243.  
  244. *buildingUpgrade1
  245. name:Second Amendment
  246. desc:The mere illusion of freedom has been provided<//><b>Effect:</b><.>nigger production x2<.>negro production x2<.>nigro production x2
  247. icon:icons[2,0] icons[3,0]
  248. cost:1000 Nugs
  249. passive:multiply yield of nigger by 2
  250. passive:multiply yield of negro by 2
  251. passive:multiply yield of nigro by 2
  252. req:(niggers>=10 or negroes>=10 or nigros>=10)
  253.  
  254. *buildingUpgrade2
  255. name:Jim Crow Laws
  256. desc:Out of sight, out of mind!<//><b>Effect:</b><.>nigger production x2<.>negro production x2<.>nigro production x2
  257. icon:icons[2,0] icons[3,1]
  258. cost:100000 Nugs
  259. passive:multiply yield of nigger by 2
  260. passive:multiply yield of negro by 2
  261. passive:multiply yield of nigro by 2
  262. req:(niggers>=50 or negroes>=50 or nigros>=50)
  263.  
  264. *buildingUpgrade3
  265. name:Women’s Rights
  266. desc:Everyone forgot about us after this.<//><b>Effect:</b><.>nigger production x2<.>negro production x2<.>nigro production x2
  267. icon:icons[2,0] icons[3,2]
  268. cost:5000000 Nugs
  269. passive:multiply yield of nigger by 2
  270. passive:multiply yield of negro by 2
  271. passive:multiply yield of nigro by 2
  272. req:(niggers>=100 or negroes>=100 or nigros>=100)
  273.  
  274. *buildingUpgrade4
  275. name:Bus ticket
  276. desc:I paid good money to sit here!<//><b>Effect:</b><.>colored production x2<.>black production x2
  277. icon:icons[2,0] icons[3,3]
  278. cost:50000 Nugs
  279. passive:multiply yield of Colored by 2
  280. passive:multiply yield of black by 2
  281. req:(Coloreds>=10 or blacks>=10)
  282.  
  283. *buildingUpgrade5
  284. name:Lashings
  285. desc:Hopefully those ashy hands move faster than the master’s whip<//><b>Effect:</b><.>colored production x2<.>black production x2
  286. icon:icons[2,0] icons[3,4]
  287. cost:5000000 Nugs
  288. passive:multiply yield of Colored by 2
  289. passive:multiply yield of black by 2
  290. req:(Coloreds>=50 or blacks>=50)
  291.  
  292. *buildingUpgrade6
  293. name:Tubman Time
  294. desc: Out of the plantations, into the hood.<//><b>Effect:</b><.>livingQuarter production x2<.>ghetto production x2
  295. icon:icons[2,0] icons[3,5]
  296. cost:1000000 Nugs
  297. passive:multiply yield of livingQuarter by 2
  298. passive:multiply yield of ghetto by 2
  299. req:(livingQuarters>=10 or ghettos>=10)
  300.  
  301. *buildingUpgrade7
  302. name:13th Amendment
  303. desc:My brothers and sisters free at last!<//><b>Effect:</b><.>livingQuarter production x2<.>ghetto production x2
  304. icon:icons[2,0] icons[3,6]
  305. cost:500000000 Nugs
  306. passive:multiply yield of livingQuarter by 2
  307. passive:multiply yield of ghetto by 2
  308. req:(livingQuarters>=50 or ghettos>=50)
  309.  
  310. *buildingUpgrade8
  311. name:The Lincolnator
  312. desc:The man, the myth, the president.<//><b>Effect:</b><.>trapHouse production x2
  313. icon:icons[2,0] icons[3,7]
  314. cost:1000000000 Nugs
  315. passive:multiply yield of trapHouse by 2
  316. req:10 trapHouses
  317.  
  318. //Golden nug upgrades
  319.  
  320. *goldenTouch
  321. name:Golden touch
  322. desc:The delicate art of finding vegetables made of precious metals.<//><b>Effect:</b><.>1% chance of gaining 1 Golden nug per nug click
  323. icon:icons[2,5]
  324. cost:1 goldenNug
  325. req:1 goldenNug:earned
  326.  
  327. *nugHaste
  328. name:Nug's haste
  329. desc:I'm late! I'm late! For a very important date!<//><b>Effect:</b><.>lucky Nugs appear 30% more often
  330. icon:icons[2,6]
  331. passive:multiply frequency of luckyNug by 0.7
  332. cost:5 goldenNugs
  333. req:1 goldenNug:earned
  334.  
  335. *indeColoreddenceDay
  336. name:IndeColoreddence day
  337. desc:Your Nugs are making their first step towards declaring their indeColoreddence from the oppressive shackles of Coloreds and niggers.<//><b>Effect:</b><.>unlocks new buildings
  338. icon:icons[2,7]
  339. cost:10 goldenNugs
  340. req:5 goldenNugs:earned
  341.  
  342. *clover
  343. name:Clover
  344. desc:A delicious herb that tastes lucky.<//><b>Effect:</b><.>lucky nug effects are 4 times more powerful
  345. icon:icons[2,8]
  346. cost:100 goldenNugs
  347. req:50 goldenNugs:earned
  348.  
  349. *moonGardens
  350. name:Moon gardens
  351. desc:The royal botanists in your trapHouses have found new ways of cultivating plants in reduced gravity!<//><b>Effect:</b><.>trapHouses now produce 1 Golden nug every 100 seconds
  352. icon:icons[2,9]
  353. cost:100 goldenNugs
  354. req:50 goldenNugs:earned
  355.  
  356. Achievements
  357. *TEMPLATE
  358. on click:anim glow
  359.  
  360. *nugAchiev1
  361. name:Run nug run
  362. desc:Have <b>1</b> nug.
  363. req:1 nug
  364. icon:icons[2,4] icons[0,2] icons[0,6]
  365. *nugAchiev2
  366. name:Nugst home videos
  367. desc:Have <b>1000</b> Nugs.
  368. req:1000 Nugs
  369. icon:icons[2,4] icons[0,3] icons[0,6]
  370. *nugAchiev3
  371. name:You got buns, hun
  372. desc:Have <b>1000000</b> Nugs.
  373. req:10000000 Nugs
  374. icon:icons[2,4] icons[0,4] icons[0,6]
  375.  
  376. *clickAchiev1
  377. name:That tickles
  378. desc:Click the nug <b>10</b> times.
  379. req:10 cottonButton clicks
  380. icon:icons[2,2] icons[0,2] icons[0,6]
  381. *clickAchiev2
  382. name:Don't squeeze me I'll fart
  383. desc:Click the nug <b>100</b> times.
  384. req:100 cottonButton clicks
  385. icon:icons[2,2] icons[0,3] icons[0,6]
  386. *clickAchiev3
  387. name:You're cruising for a bruising, dude
  388. desc:Click the nug <b>2000</b> times.
  389. req:2000 cottonButton clicks
  390. icon:icons[2,2] icons[0,4] icons[0,6]
  391.  
  392. *nugPsAchiev1
  393. name:Be vewy vewy quiet
  394. desc:Produce <b>10</b> Nugs per second.
  395. req:10 Nugs per second
  396. icon:icons[2,3] icons[0,2] icons[0,6]
  397. *nugPsAchiev2
  398. name:Hop and a skip
  399. desc:Produce <b>1000</b> Nugs per second.
  400. req:1000 Nugs per second
  401. icon:icons[2,3] icons[0,3] icons[0,6]
  402. *nugPsAchiev3
  403. name:Go forth and multiply
  404. desc:Produce <b>100000</b> Nugs per second.
  405. req:100000 Nugs per second
  406. icon:icons[2,3] icons[0,4] icons[0,6]
  407.  
  408. *civilrightsAchiev1
  409. name:Isn't it neat
  410. desc:Have <b>1</b> Golden nug.
  411. req:1 goldenNug
  412. icon:icons[0,1] icons[0,2]
  413. *civilrightsAchiev2
  414. name:All that glitters
  415. desc:Have <b>100</b> Golden nugs.
  416. req:100 goldenNug
  417. icon:icons[0,1] icons[0,3]
  418. *civilrightsAchiev3
  419. name:Zero nutritional value
  420. desc:Have <b>1000</b> Golden nugs.
  421. req:1000 goldenNug
  422. icon:icons[0,1] icons[0,4]
  423.  
  424. *condoAchiev
  425. name:Freedom!
  426. desc:Complete building the <b>condo</b>.<//>This is it. You beat the game!
  427. req:100 condo
  428. icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment