Advertisement
heathdaughtrey23

Commie Clicker source

Dec 10th, 2018
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.14 KB | None | 0 0
  1. Let's make a game!
  2. name:Commie Clicker
  3. by:Heath Daughtrey, YeetCode NLC
  4. desc:Collect Rubles
  5. created:12/13/2018
  6. updated:1/29/2019
  7. version:20
  8.  
  9. Settings
  10. building cost increase:116%
  11. building cost refund:25%
  12. background:https://static.politico.com/dims4/default/0505a75/2147483647/resize/1160x%3E/quality/90/?url=https%3A%2F%2Fstatic.politico.com%2F56%2F15%2F9b7c8c3d4c5da3f0282e1f96085a%2F180717-vladimir-putin.jpg
  13.  
  14. CSS
  15. .thing
  16. {
  17. border-radius:8px;
  18. }
  19. #game.filtersOn .thing.cantAfford.notOwned
  20. {
  21. filter:blur(3px);
  22. }
  23.  
  24. Layout
  25.  
  26. *main
  27. contains:res, buttons
  28.  
  29. *res
  30. contains:Resources
  31. class:fullWidth
  32.  
  33.  
  34. *buttons
  35. contains:Buttons
  36.  
  37. *xpbox
  38. contains:tag:xpbox
  39.  
  40. *store
  41. contains:buildings, upgrades
  42. ps:show
  43.  
  44. *buildings
  45. contains:BulkDisplay, Buildings
  46. header:Buildings
  47. tooltip origin:left
  48.  
  49. *upgrades
  50. contains:Upgrades
  51. header:Upgrades
  52. costs:hide
  53. names:hide
  54.  
  55. Buttons
  56. *rublebutton
  57. name:Joseph Stalin
  58. desc:Click him and he will give you Rubles!
  59. on click:yield 1 Ruble
  60. on click:yield .5 XP
  61. icon:https://content.justrivals.com/s3/justrivals-webassets/rivals/64fc8e13f95a43f38370a000c47ada06.jpg?width=260&height=260&quality=100&scale=both&mode=crop&autorotate=true
  62. no text
  63. class:bigButton hasFlares
  64.  
  65. Resources
  66. *Ruble|Rubles
  67. name:Ruble|Rubles
  68. desc:These are your Rubles, don't spend them all in one place. Try to be richest comrade.
  69. show max
  70. *XP
  71. name:XP
  72. desc:These are experience points, awarded when you buy buildings. The more buildings you buy, there more XP you get each time you buy a building.
  73. show max
  74. tags:xpbox
  75.  
  76. *level
  77. name:Lvl
  78. desc:Your current prestige level.
  79. show max
  80. tags:xpbox
  81.  
  82. Buildings
  83. *TEMPLATE
  84. on click:anim glow
  85.  
  86. *workcamp
  87. name:Work camp|Work camps
  88. desc:A congregation of enslaved captured capitalists that give you free labor. Gives .5 Ruble/sec (without upgrades)
  89. cost:15 Rubles
  90. on tick:yield 0.5 Ruble
  91. on click:yield 1 XP
  92. unlocked
  93.  
  94. *gulag
  95. name:Gulag|Gulags
  96. desc:Free work force from prisoners. Gives 1 Ruble/sec (without upgrades)
  97. cost:100 Rubles
  98. dim
  99. on tick:yield 1 Ruble
  100. on click:yield 1 XP
  101.  
  102. *potatofactory
  103. name:Potato Factory|Potato Factories
  104. desc:The fastest way to produce Russia's favorite food. Gives 3 Ruble/sec (without upgrades)
  105. cost:500 Rubles
  106. dim
  107. on tick:yield 3 Ruble
  108. on click:yield 1 XP
  109.  
  110. *hammerfactory
  111. name:Hammer Factory|Hammer Factories
  112. desc:A factory that builds hammers. They're missing sickles, though. Gives 4.5 Ruble/sec (without upgrades)
  113. cost:1000 Rubles
  114. dim
  115. on tick:yield 4.5 Ruble
  116. on click:yield 1 XP
  117.  
  118. *sicklefactory
  119. name:Sickle Factory|Sickle Factories
  120. desc: A factory that builds sickles. They're missing hammers, though. Gives 6 Ruble/sec (without upgrades)
  121. cost:1400 Rubles
  122. dim
  123. on tick:yield 6 Ruble
  124. on click:yield 1 XP
  125.  
  126. *vodkadistillery
  127. name:Vodka Distillery
  128. desc:The main source of Russia's favorite drink. Gives 12 Ruble/sec (without upgrades)
  129. cost:2500 Rubles
  130. dim
  131. on tick:yield 12 Ruble
  132. on click:yield 1 XP
  133.  
  134. *missilesilo
  135. name:Missile Silo|Missile Silos
  136. desc:Nuclear bomb storage for big boys. Gives 20 Ruble/sec (without upgrades)
  137. cost:5000 Rubles
  138. dim
  139. on tick:yield 20 Ruble
  140. on click:yield 1 XP
  141.  
  142. *embassy
  143. name:Embassy|Embassies
  144. desc:A mutual connection between the motherland and some other capitalist nation. Gives 30 Ruble/sec (without upgrades)
  145. cost:10000 Ruble
  146. dim
  147. on tick:yield 30 Ruble
  148. on click:yield 1 XP
  149.  
  150. Upgrades
  151. *kvasboost
  152. name:Kvas Boost
  153. desc:Drinking Kvas gives you x2 Rubles per click!
  154. passive:multiply yield of rublebutton by 2
  155. cost:1000 Rubles
  156.  
  157. *blinboost
  158. name:Blin Boost
  159. desc:Eating Blin will give you x2 Rubles per click!
  160. passive:multiply yield of rublebutton by 2
  161. cost:2000 Rubles
  162. req:kvasboost
  163.  
  164. *cheekibreekiboost
  165. name:Cheeki Breeki Boost
  166. desc:Saying "Cheeki Breek!" will give you 2x Rubles per click!
  167. passive:multiply yield of rublebutton by 2
  168. cost:4000 Rubles
  169. req:blinboost
  170.  
  171. *blyatboost
  172. name:Blyat Boost
  173. desc:Ultimate power of the Blyat will give you 4x Rubles per click!
  174. passive:multiply yield of rublebutton by 4
  175. cost:10000 Rubles
  176. req:cheekibreekiboost
  177.  
  178. *workcampboost
  179. name:Worker Boost
  180. desc:Giving workers suppliments will make them work harder, giving you x2 Rubles from Work Camps.
  181. passive:multiply yield of workcamp by 2
  182. cost:1000 Rubles
  183. req:blinboost
  184.  
  185. *gulagboost
  186. name:Gulag Boost
  187. desc:Incentivizes prisoners to work harder, giving you x2 Rubles from Gulags.
  188. passive:multiply yield of gulag by 2
  189. cost:5000 Rubles
  190. req:workcampboost
  191.  
  192. *potatofactoryboost
  193. name:Potato Factory Boost
  194. desc:Adds special fertilizer to soil to make potatos grow faster. Gives x2 Rubles from Potato Factories.
  195. passive:multiply yield of potatofactory by 2
  196. cost:7500 Rubles
  197. req:gulagboost
  198.  
  199. *putinswrath
  200. name:Putin's Wrath
  201. desc:By the might of glorious leader Putin, and by having exactly 69 Gulags, thou shall feel the mighty wrath of Putin, giving x3 production to all buildings.
  202. passive:multiply yield of workcamp by 3
  203. passive:multiply yield of gulag by 3
  204. passive:multiply yield of potatofactory by 3
  205. passive:multiply yield of hammerfactory by 3
  206. passive:multiply yield of sicklefactory by 3
  207. passive:multiply yield of vodkadistillery by 3
  208. passive:multiply yield of missilesilo by 3
  209. passive:multiply yield of embassy by 3
  210. cost:100000 Rubles
  211. req:69 gulag
  212.  
  213. *1stprestige
  214. name:Prestige 1
  215. desc:Clicking this effectively prestiges your game to level 1 and everything is reset. Multiplies all outputs by 3. (Req: 1,500,000 Rubles + 1000 XP)
  216. on earn:lose XP
  217. on earn:lose Rubles
  218. on earn:lose notTag:prestige
  219. on earn:yield 1 level
  220. passive:multiply yield of workcamp by 3
  221. passive:multiply yield of gulag by 3
  222. passive:multiply yield of potatofactory by 3
  223. passive:multiply yield of hammerfactory by 3
  224. passive:multiply yield of sicklefactory by 3
  225. passive:multiply yield of vodkadistillery by 3
  226. passive:multiply yield of missilesilo by 3
  227. passive:multiply yield of embassy by 3
  228. req:1000 XP
  229. req:1500000 Ruble
  230. tag:prestige
  231.  
  232. *2ndprestige
  233. name:Prestige 2
  234. desc:Clicking this effectively prestiges your game to level 2 and everything is reset. Multiplies all outputs by 4. (Req:2,000,000 Rubles + 5000 XP)
  235. on earn:lose XP
  236. on earn:lose Rubles
  237. on earn:lose notTag:2ndprestige
  238. on earn:lose notTag:1stprestige
  239. on earn:yield 1 level
  240. passive:multiply yield of workcamp by 4
  241. passive:multiply yield of gulag by 4
  242. passive:multiply yield of potatofactory by 4
  243. passive:multiply yield of hammerfactory by 4
  244. passive:multiply yield of sicklefactory by 4
  245. passive:multiply yield of vodkadistillery by 4
  246. passive:multiply yield of missilesilo by 4
  247. passive:multiply yield of embassy by 4
  248. req:5000 XP
  249. req:2000000 Ruble
  250. req:1stprestige
  251. tag:prestige
  252.  
  253. *3rdprestige
  254. name:Prestige 3
  255. desc:Clicking this effectively prestiges your game to level 3 and everything is reset. Multiplies all outputs by 6. (Req:2,500,000 Rubles + 6500 XP)
  256. on earn:lose XP
  257. on earn:lose Rubles
  258. on earn:lose notTag:2ndprestige
  259. on earn:lose notTag:1stprestige
  260. on earn:yield 1 level
  261. passive:multiply yield of workcamp by 6
  262. passive:multiply yield of gulag by 6
  263. passive:multiply yield of potatofactory by 6
  264. passive:multiply yield of hammerfactory by 6
  265. passive:multiply yield of sicklefactory by 6
  266. passive:multiply yield of vodkadistillery by 6
  267. passive:multiply yield of missilesilo by 6
  268. passive:multiply yield of embassy by 6
  269. req:6500 XP
  270. req:2500000 Ruble
  271. req:2ndprestige
  272. tag:prestige
  273.  
  274. *4thprestige
  275. name:Prestige 4
  276. desc:Clicking this effectively prestiges your game to level 4 and everything is reset. Multiplies all outputs by 7. (Req:2,750,000 Rubles + 7200 XP)
  277. on earn:lose XP
  278. on earn:lose Rubles
  279. on earn:lose notTag:2ndprestige
  280. on earn:lose notTag:1stprestige
  281. on earn:yield 1 level
  282. passive:multiply yield of workcamp by 6
  283. passive:multiply yield of gulag by 6
  284. passive:multiply yield of potatofactory by 6
  285. passive:multiply yield of hammerfactory by 6
  286. passive:multiply yield of sicklefactory by 6
  287. passive:multiply yield of vodkadistillery by 6
  288. passive:multiply yield of missilesilo by 6
  289. passive:multiply yield of embassy by 6
  290. req:7200 XP
  291. req:2750000 Ruble
  292. req:2ndprestige
  293. tag:prestige
  294.  
  295. *autoxp
  296. name:XP Generator v1
  297. desc:Generates 0.1 XP per second! Requires prestige 2
  298. req:2 level
  299. on tick:yield .001 XP
  300. cost:250000 Ruble
  301.  
  302. *autoxp2
  303. name:XP Generator v2
  304. desc:Generates 0.5 XP per second! Requires prestige 4
  305. req:4 level
  306. on tick:yield .01 XP
  307. cost:500000 Ruble
  308.  
  309. Achievements
  310. *10clicks
  311. name:You're a communist!
  312. desc:Congratulations, you've clicked Stalin 10 times!
  313. req:10 rublebutton:clicks
  314.  
  315. *ad
  316. name:Visit our site!
  317. desc:Vist YeetCode's website at sites.google.com/farmcards.org/yeetcode-inc
  318. req:100 rublebutton:clicks
  319.  
  320. *1000clicks
  321. name:Debt Collector
  322. desc:Congratulations, you've cliked Stalin 1000 times!
  323. req:1000 rublebutton:clicks
  324.  
  325. *10000clicks
  326. name:Party Member
  327. desc:Congratulations, you've clicked Stalin 10,000 times!
  328. req:10000 rublebutton:clicks
  329.  
  330. *1stworkcamp
  331. name:Free labor
  332. desc:You've bought your first Work Camp!
  333. req:1 workcamp
  334.  
  335. *1stgulag
  336. name:What missing from G_lag? U!
  337. desc:You've bought your first Gulag!
  338. req:1 gulag
  339.  
  340. *1stpotatofactory
  341. name:Imported from Ireland
  342. desc:You've bought your first Potato Factory!
  343. req:1 potatofactory
  344.  
  345. *1sthammerfactory
  346. name:Hammer time...
  347. desc:You've bought your first Hammer Factory!
  348. req:1 hammerfactory
  349.  
  350. *1stsicklefactory
  351. name:Icecicles
  352. desc:You've bought your first Sickle Factory!
  353. req:1 sicklefactory
  354.  
  355. *1stvodkadistillery
  356. name:It's like water, but better
  357. desc:You've bought your first Vodka Distillery!
  358. req:1 vodkadistillery
  359.  
  360. *1stmissilesilo
  361. name:Boom time...
  362. desc:You've bought your first Missile Silo!
  363. req:1 missilesilo
  364.  
  365. *1stembassy
  366. name:"Its just a whole lotta diplomatic mildew"
  367. desc:You've bought your first Embassy!
  368. req:1 embassy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement