Advertisement
EstrumbiloPlease

CGU Idle

Apr 24th, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.93 KB | None | 0 0
  1. Let's make a game!
  2. name:CGU Idle
  3. by:Estrumbilo
  4. desc:A game about making Cookies go up! Inspired (and copied) from Cookie Clicker and NGU Idle.</>Hover your mouse above the cookie resource for a tutorial.<//>----<//><b>v0.1</b><.>Added 10 buildings.<.>Added prestige system.<//><b>v0.2</b><.>Added 2 buildings.<.>Added Gold system and Augment System (incomplete).
  5. created:14/04/2020
  6. version:0.1
  7.  
  8. Settings
  9. stylesheet:https://pastebin.com/68BPwLSr
  10. background:http://orteil.dashnet.org/cookieclicker/img/bgBlue.jpg
  11. spritesheet:icons, 48 by 48, http://orteil.dashnet.org/cookieclicker/img/icons.png
  12. building cost increase:100%
  13.  
  14. Layout
  15. *main
  16. contains:res, buttons
  17. *res
  18. contains:Resources
  19. class:fullWidth
  20. *buttons
  21. contains:Buttons
  22. *store
  23. contains:buildings, upgrades
  24. *buildings
  25. contains:Buildings
  26. header:Buildings
  27. tooltip origin:left
  28. *upgrades
  29. contains:Upgrades, tag:expUps, tag:rebirthStuff, tag:mineStuff, tag:mineStuffb, tag:augmentStuff
  30. header:Menu
  31. costs:hide
  32. names:hide
  33.  
  34. Resources
  35.  
  36. *cookie|cookies
  37. name:Cookies
  38. desc:<//>Welcome to CGU Idle (Cookies Going Up Idle), a game inspired (and copied) from Cookie Clicker and NGU Idle.<//>In this game your goal is to make as much cookies as possible. You probably already know the basics of a idle/clicker game, you click and buy stuff and the cookies go BRRRRRRR.<//>--- <b>Buildings</b> ---<//>Buildings produce cookies. When you buy a building, it gains 1 Exp, a building level ups once it reaches 10 Exp. Each level increases the production of that building by 1%. The later buildings are less cost efficient, and their price increase is BIG (cursor -> 110% | grandma -> 120% | farm -> 130% | ... ).<//><b>Warning!</b> - Don't use bulk buy or sell any building, it may BREAK the game, don't do it.
  39. class:noBackground
  40. icon:icons[10,0]
  41.  
  42. *gold
  43. name:Gold
  44. on click:yield (cookies*10) cookies
  45. class:noBackground
  46. icon:icons[25,11]
  47. //req:20 mines
  48.  
  49. *TEMPLATE
  50. hidden
  51.  
  52. //Building Stuff
  53.  
  54. *cursorP
  55. start with:0.2
  56. *cursorT
  57. *grandmaP
  58. start with:1
  59. *grandmaT
  60. *farmP
  61. start with:4
  62. *farmT
  63. *mineP
  64. start with:10
  65. *mineT
  66. *factoryP
  67. start with:20
  68. *factoryT
  69. *bankP
  70. start with:50
  71. *bankT
  72. *templeP
  73. start with:200
  74. *templeT
  75. *wtowerP
  76. start with:720
  77. *wtowerT
  78. *shipP
  79. start with:2650
  80. *shipT
  81. *labP
  82. start with:14000
  83. *labT
  84. *portalP
  85. start with:83000
  86. *portalT
  87. *tmachineP
  88. start with:470000
  89. *tmachineT
  90.  
  91. //Building Level
  92.  
  93. *cursorEXP
  94. *grandmaEXP
  95. *farmEXP
  96. *mineEXP
  97. *factoryEXP
  98. *bankEXP
  99. *templeEXP
  100. *wtowerEXP
  101. *shipEXP
  102. *labEXP
  103. *portalEXP
  104. *tmachineEXP
  105. *cursorLVL
  106. *grandmaLVL
  107. *farmLVL
  108. *mineLVL
  109. *factoryLVL
  110. *bankLVL
  111. *templeLVL
  112. *wtowerLVL
  113. *shipLVL
  114. *labLVL
  115. *portalLVL
  116. *tmachineLVL
  117.  
  118. //Building Multipliers
  119.  
  120. *globalBoost
  121. *cursorBoostA
  122. *grandmaBoostA
  123. *farmBoostA
  124. *mineBoostA
  125. *factoryBoostA
  126. *bankBoostA
  127. *templeBoostA
  128. *wtowerBoostA
  129. *shipBoostA
  130. *labBoostA
  131. *portalBoostA
  132. *tmachineBoostA
  133.  
  134. //Misc
  135.  
  136. *heavenlyChips
  137. start with:1
  138. *timeTotal
  139. *timeCurrent
  140. *timeBonus
  141. *buildingBonus
  142. *cookieBonus
  143.  
  144. Buttons
  145.  
  146. *cookieButton
  147. on click:yield (1 * (cursorBoostA) * (globalBoost + 1) * heavenlyChips) cookie
  148. on tick:yield 1 timeTotal
  149. on tick:yield 1 timeCurrent
  150. on tick:
  151. cursorP is (0.2 * (1 + globalBoost) * cursorBoostA * ((cursorLVL / 100) + 1 ) * heavenlyChips)
  152. grandmaP is (1 * (1 + globalBoost) * (1 + grandmaBoostA) * ((grandmaLVL / 100) + 1 ) * heavenlyChips)
  153. farmP is (4 * (1 + globalBoost) * (1 + farmBoostA) * ((farmLVL / 100) + 1 ) * heavenlyChips)
  154. mineP is (10 * (1 + globalBoost) * (1 + mineBoostA) * ((mineLVL / 100) + 1 ) * heavenlyChips)
  155. factoryP is (20 * (1 + globalBoost) * (1 + factoryBoostA) * ((factoryLVL / 100) + 1 ) * heavenlyChips)
  156. bankP is (50 * (1 + globalBoost) * (1 + bankBoostA) * ((bankLVL / 100) + 1 ) * heavenlyChips)
  157. templeP is (200 * (1 + globalBoost) * (1 + templeBoostA) * ((templeLVL / 100) + 1 ) * heavenlyChips)
  158. wtowerP is (720 * (1 + globalBoost) * (1 + wtowerBoostA) * ((wtowerLVL / 100) + 1 ) * heavenlyChips)
  159. shipP is (2650 * (1 + globalBoost) * (1 + shipBoostA) * ((shipLVL / 100) + 1 ) * heavenlyChips)
  160. labP is (14000 * (1 + globalBoost) * (1 + labBoostA) * ((labLVL / 100) + 1 ) * heavenlyChips)
  161. portalP is (83000 * (1 + globalBoost) * (1 + portalBoostA) * ((portalLVL / 100) + 1 ) * heavenlyChips)
  162. tmachineP is (470000 * (1 + globalBoost) * (1 + tmachineBoostA) * ((tmachineLVL / 100) + 1 ) * heavenlyChips)
  163. end
  164. on load:toast Hello! If this is your first time playing, hover your mouse above the cookie resource for a tutorial.
  165. no tooltip
  166. no text
  167. class:bigButton hasFlares
  168. icon:https://i.imgur.com/MMuzLA7.png
  169.  
  170. Buildings
  171.  
  172. *cursor|cursors
  173. name:Cursor
  174. desc:Autoclicks every 5 seconds.<//><b>Info:</b><.>Each cursor produces <b>[cursorP]</b> cookies per second.<.>[cursors] cursors producing <b>[cursorT:ps]</b> cookies per second.<.>Building Level: <b>[cursorLVL]</b> ([cursorEXP] / 10 Exp)
  175. on tick:yield (0.2 * (cursorBoostA) * (globalBoost + 1) * ((cursorLVL / 100) + 1 ) * heavenlyChips) cookies
  176. on tick:yield (0.2 * (cursorBoostA) * (globalBoost + 1) * ((cursorLVL / 100) + 1 ) * heavenlyChips) cursorT
  177. on earn:yield (1/this) cursorEXP
  178. on earn:
  179. if (cursorEXP >= 10)
  180. yield (cursorEXP / 10 / this) cursorLVL
  181. lose (cursorEXP / 10) cursorEXP
  182. end
  183. end
  184. cost:15 cookies
  185. cost increase:110%
  186. icon:icons[0,0]
  187.  
  188. *grandma|grandmas
  189. name:Grandma
  190. desc:A nice grandma to bake more cookies.<//><b>Info:</b><.>Each grandmas produces <b>[grandmaP]</b> cookies per second.<.>[grandma] grandmas producing <b>[grandmaT:ps]</b> cookies per second.<.>Building Level: <b>[grandmaLVL]</b> ([grandmaEXP] / 10 Exp)
  191. on tick:yield (1 * (grandmaBoostA + 1) * (globalBoost + 1) * ((grandmaLVL / 100) + 1 ) * heavenlyChips) cookies
  192. on tick:yield (1 * (grandmaBoostA + 1) * (globalBoost + 1) * ((grandmaLVL / 100) + 1 ) * heavenlyChips) grandmaT
  193. on earn:yield (1/this) grandmaEXP
  194. on earn:
  195. if (grandmaEXP >= 10)
  196. yield (grandmaEXP / 10 / this) grandmaLVL
  197. lose (grandmaEXP / 10) grandmaEXP
  198. end
  199. end
  200. cost:100 cookies
  201. cost increase:120%
  202. icon:icons[1,0]
  203. req:1 cursor
  204.  
  205. *farm|farms
  206. name:Farm
  207. desc:Grows cookie plants from cookie seeds.<//><b>Info:</b><.>Each farm produces <b>[farmP]</b> cookies per second.<.>[farm] farms producing <b>[farmT:ps]</b> cookies per second.<.>Building Level: <b>[farmLVL]</b> ([farmEXP] / 10 Exp)
  208. on tick:yield (4 * (farmBoostA + 1) * (globalBoost + 1) * ((farmLVL / 100) + 1 ) * heavenlyChips) cookies
  209. on tick:yield (4 * (farmBoostA + 1) * (globalBoost + 1) * ((farmLVL / 100) + 1 ) * heavenlyChips) farmT
  210. on earn:yield (1/this) farmEXP
  211. on earn:
  212. if (farmEXP >= 10)
  213. yield (farmEXP / 10 / this) farmLVL
  214. lose (farmEXP / 10) farmEXP
  215. end
  216. end
  217. cost:600 cookies
  218. cost increase:130%
  219. icon:icons[2,0]
  220. req:1 grandma
  221.  
  222. *mine|mines
  223. name:Mine
  224. desc:Mines out cookie dough and chocolate chips.<//><b>Info:</b><.>Each mine produces <b>[mineP]</b> cookies per second.<.>[mine] mimes producing <b>[mineT:ps]</b> cookies per second.<.>Building Level: <b>[mineLVL]</b> ([mineEXP] / 10 Exp)
  225. on tick:yield (10 * (mineBoostA + 1) * (globalBoost + 1) * ((mineLVL / 100) + 1 ) * heavenlyChips) cookies
  226. on tick:yield (10 * (mineBoostA + 1) * (globalBoost + 1) * ((mineLVL / 100) + 1 ) * heavenlyChips) mineT
  227. on earn:yield (1/this) mineEXP
  228. on earn:
  229. if (mineEXP >= 10)
  230. yield (mineEXP / 10 / this) mineLVL
  231. lose (mineEXP / 10) mineEXP
  232. end
  233. end
  234. cost:2500 cookies
  235. cost increase:140%
  236. icon:icons[3,0]
  237. req:1 farm
  238.  
  239. *factory|factories
  240. name:Factory
  241. desc:Produces large quantities of cookies.<//><b>Info:</b><.>Each factory produces <b>[factoryP]</b> cookies per second.<.>[factory] factories producing <b>[factoryT:ps]</b> cookies per second.<.>Building Level: <b>[factoryLVL]</b> ([factoryEXP] / 10 Exp)
  242. on tick:yield (20 * (factoryBoostA + 1) * (globalBoost + 1) * ((factoryLVL / 100) + 1 ) * heavenlyChips) cookies
  243. on tick:yield (20 * (factoryBoostA + 1) * (globalBoost + 1) * ((factoryLVL / 100) + 1 ) * heavenlyChips) factoryT
  244. on earn:yield (1/this) factoryEXP
  245. on earn:
  246. if (factoryEXP >= 10)
  247. yield (factoryEXP / 10 / this) factoryLVL
  248. lose (factoryEXP / 10) factoryEXP
  249. end
  250. end
  251. cost:8000 cookies
  252. cost increase:150%
  253. icon:icons[4,0]
  254. req:1 mine
  255.  
  256. *bank|banks
  257. name:Bank
  258. desc:Generates cookies from interest.<//><b>Info:</b><.>Each alchemy bank produces <b>[bankP]</b> cookies per second.<.>[bank] alchemy banks producing <b>[bankT:ps]</b> cookies per second.<.>Building Level: <b>[bankLVL]</b> ([bankEXP] / 10 Exp)
  259. on tick:yield (50 * (bankBoostA + 1) * (globalBoost + 1) * ((bankLVL / 100) + 1 ) * heavenlyChips) cookies
  260. on tick:yield (50 * (bankBoostA + 1) * (globalBoost + 1) * ((bankLVL / 100) + 1 ) * heavenlyChips) bankT
  261. on earn:yield (1/this) bankEXP
  262. on earn:
  263. if (bankEXP >= 10)
  264. yield (bankEXP / 10 / this) bankLVL
  265. lose (bankEXP / 10) bankEXP
  266. end
  267. end
  268. cost:30000 cookies
  269. cost increase:160%
  270. icon:icons[15,0]
  271. req:1 factory
  272.  
  273. *temple|temples
  274. name:Temple
  275. desc:Full of precious, ancient chocolate.<//><b>Info:</b><.>Each temple produces <b>[templeP]</b> cookies per second.<.>[temple] temples producing <b>[templeT:ps]</b> cookies per second.<.>Building Level: <b>[templeLVL]</b> ([templeEXP] / 10 Exp)
  276. on tick:yield (200 * (templeBoostA + 1) * (globalBoost + 1) * ((templeLVL / 100) + 1 ) * heavenlyChips) cookies
  277. on tick:yield (200 * (templeBoostA + 1) * (globalBoost + 1) * ((templeLVL / 100) + 1 ) * heavenlyChips) templeT
  278. on earn:yield (1/this) templeEXP
  279. on earn:
  280. if (templeEXP >= 10)
  281. yield (templeEXP / 10 / this) templeLVL
  282. lose (templeEXP / 10) templeEXP
  283. end
  284. end
  285. cost:180000 cookies
  286. cost increase:170%
  287. icon:icons[16,0]
  288. req:1 bank
  289.  
  290. *wtower|wtowers
  291. name:Wizard Tower
  292. desc:Summons cookies with magic spells.<//><b>Info:</b><.>Each wizard tower produces <b>[wtowerP]</b> cookies per second.<.>[wtower] wizard towers producing <b>[wtowerT:ps]</b> cookies per second.<.>Building Level: <b>[wtowerLVL]</b> ([wtowerEXP] / 10 Exp)
  293. on tick:yield (720 * (wtowerBoostA + 1) * (globalBoost + 1) * ((wtowerLVL / 100) + 1 ) * heavenlyChips) cookies
  294. on tick:yield (720 * (wtowerBoostA + 1) * (globalBoost + 1) * ((wtowerLVL / 100) + 1 ) * heavenlyChips) wtowerT
  295. on earn:yield (1/this) wtowerEXP
  296. on earn:
  297. if (wtowerEXP >= 10)
  298. yield (wtowerEXP / 10 / this) wtowerLVL
  299. lose (wtowerEXP / 10) wtowerEXP
  300. end
  301. end
  302. cost:900000 cookies
  303. cost increase:180%
  304. icon:icons[17,0]
  305. req:1 temple
  306.  
  307. *ship|ships
  308. name:Shipment
  309. desc:Brings in fresh cookies from the cookie planet.<//><b>Info:</b><.>Each shipment produces <b>[shipP]</b> cookies per second.<.>[ship] shipments producing <b>[shipT:ps]</b> cookies per second.<.>Building Level: <b>[shipLVL]</b> ([shipEXP] / 10 Exp)
  310. on tick:yield (2650 * (shipBoostA + 1) * (globalBoost + 1) * ((shipLVL / 100) + 1 ) * heavenlyChips) cookies
  311. on tick:yield (2650 * (shipBoostA + 1) * (globalBoost + 1) * ((shipLVL / 100) + 1 ) * heavenlyChips) shipT
  312. on earn:yield (1/this) shipEXP
  313. on earn:
  314. if (shipEXP >= 10)
  315. yield (shipEXP / 10 / this) shipLVL
  316. lose (shipEXP / 10) shipEXP
  317. end
  318. end
  319. cost:5300000 cookies
  320. cost increase:190%
  321. icon:icons[5,0]
  322. req:1 wtower
  323.  
  324. *lab|labs
  325. name:Alchemy Lab
  326. desc:Turns gold into cookies!<//><b>Info:</b><.>Each lab produces <b>[labP]</b> cookies per second.<.>[lab] labs producing <b>[labT:ps]</b> cookies per second.<.>Building Level: <b>[labLVL]</b> ([labEXP] / 10 Exp)
  327. on tick:yield (14000 * (labBoostA + 1) * (globalBoost + 1) * ((labLVL / 100) + 1 ) * heavenlyChips) cookies
  328. on tick:yield (14000 * (labBoostA + 1) * (globalBoost + 1) * ((labLVL / 100) + 1 ) * heavenlyChips) labT
  329. on earn:yield (1/this) labEXP
  330. on earn:
  331. if (labEXP >= 10)
  332. yield (labEXP / 10 / this) labLVL
  333. lose (labEXP / 10) labEXP
  334. end
  335. end
  336. cost:42000000 cookies
  337. cost increase:200%
  338. icon:icons[6,0]
  339. req:1 ship
  340.  
  341. *portal|portals
  342. name:Portal
  343. desc:Opens a door to the cookieverse.<//><b>Info:</b><.>Each portal produces <b>[portalP]</b> cookies per second.<.>[portal] portals producing <b>[portalT:ps]</b> cookies per second.<.>Building Level: <b>[portalLVL]</b> ([portalEXP] / 10 Exp)
  344. on tick:yield (83000 * (portalBoostA + 1) * (globalBoost + 1) * ((portalLVL / 100) + 1 ) * heavenlyChips) cookies
  345. on tick:yield (83000 * (portalBoostA + 1) * (globalBoost + 1) * ((portalLVL / 100) + 1 ) * heavenlyChips) portalT
  346. on earn:yield (1/this) portalEXP
  347. on earn:
  348. if (portalEXP >= 10)
  349. yield (portalEXP / 10 / this) portalLVL
  350. lose (portalEXP / 10) portalEXP
  351. end
  352. end
  353. cost:335000000 cookies
  354. cost increase:210%
  355. icon:icons[7,0]
  356. req:1 lab
  357.  
  358. *tmachine|tmachines
  359. name:Time Machine
  360. desc:Opens a door to the cookieverse.<//><b>Info:</b><.>Each time machine produces <b>[tmachineP]</b> cookies per second.<.>[tmachine] time machines producing <b>[tmachineT:ps]</b> cookies per second.<.>Building Level: <b>[tmachineLVL]</b> ([tmachineEXP] / 10 Exp)
  361. on tick:yield (470000 * (tmachineBoostA + 1) * (globalBoost + 1) * ((tmachineLVL / 100) + 1 ) * heavenlyChips) cookies
  362. on tick:yield (470000 * (tmachineBoostA + 1) * (globalBoost + 1) * ((tmachineLVL / 100) + 1 ) * heavenlyChips) tmachineT
  363. on earn:yield (1/this) tmachineEXP
  364. on earn:
  365. if (tmachineEXP >= 10)
  366. yield (tmachineEXP / 10 / this) tmachineLVL
  367. lose (tmachineEXP / 10) tmachineEXP
  368. end
  369. end
  370. cost:2600000000 cookies
  371. cost increase:220%
  372. icon:icons[8,0]
  373. req:1 portal
  374.  
  375. *TEMPLATE
  376.  
  377. *pickUpgrade
  378. name:Better Pickaxes
  379. text:Better Pickaxes | Level [this]
  380. desc:Get your miners better pickaxes.<//><b>Info:</b><.> Upgrades bought: <b>[this]</b><.>GPS Multiplier: <b>[((pickUpgrade + 1) * 100)]%</b>
  381. cost:10000000 cookies
  382. cost increase:200%
  383. tag:mineStuffb
  384. tooltip origin:bottom
  385. req:15 mines
  386.  
  387. *TEMPLATE
  388. tag:augmentStuff
  389.  
  390. *cursorAugment
  391. text:Extra Fingers | Level [this]
  392. name:Extra Fingers
  393. desc:[this] extra fingers boosting your cursors's production by <b>[((pow(2,this)) * 100)]%</b>.<//><b>Info:</b><.> Augment level: <b>[this]</b><.>Base Multiplier: <b>[((pow(2,this)) * 100)]%</b>.
  394. on tick:cursorBoostA is (pow(2,this))
  395. cost:20 gold
  396. cost increase:500%
  397. req:15 factories and 1 cursor
  398.  
  399.  
  400. Upgrades
  401.  
  402. *goback
  403. name:Go back
  404. no tooltip
  405. on click:hide tag:rebirthStuff
  406. on click:hide tag:mineStuff
  407. on click:hide tag:mineStuffb
  408. on click:hide tag:augmentStuff
  409. on click:hide this
  410. on click:show tag:menu
  411. hidden
  412. start with
  413. class:menu goback
  414.  
  415. *TEMPLATE
  416. tag:menu
  417. class:menu
  418. no tooltip
  419. no buy
  420.  
  421. *rebirthMenu
  422. name:Rebirth Menu
  423. on click:show tag:rebirthStuff
  424. on click:hide tag:menu
  425. on click:show goback
  426. req:1000 cookies:earned
  427.  
  428. *mineMenu
  429. name:Gold Mine
  430. on click:show tag:mineStuff
  431. on click:show tag:mineStuffb
  432. on click:hide tag:menu
  433. on click:show goback
  434. req:20 mines
  435.  
  436. *augmentMenu
  437. name:Augment Factory
  438. on click:show tag:augmentStuff
  439. on click:hide tag:menu
  440. on click:show goback
  441. req:20 factories
  442.  
  443. *TEMPLATE
  444. start with
  445. tag:rebirthStuff
  446. class:menu
  447. hidden
  448.  
  449. *rebirthButton
  450. name:Rebirth
  451. desc:You played in this run for <b>[timeCurrent]s</b><//>You have <b>[heavenlyChips]</b> Heavenly Chips.<//>On rebirth you will have <b>[(1 * cookieBonus * buildingBonus * (timeBonus))]</b> Heavenly Chips.<//><b>Factors:</b><.>Cookie Bonus: <b>[cookieBonus]</b><.>Building Bonus: <b>[buildingBonus]</b><.>Time Bonus: <b>[(timeBonus)]</b>
  452. on tick:
  453. cookieBonus is (pow(cookies,(1/3)))
  454. buildingBonus is (pow((cursors + (grandmas * 1.1) + (farms * 1.2) + (mines * 1.3) + (factories * 1.4) + (banks * 1.5) + (temples * 1.6) + (wtowers * 1.7) + (ship * 1.8) + (lab * 1.9)),0.5))
  455. if (timeCurrent < 180)
  456. timeBonus is ((timeCurrent / 60) / 971520)
  457. end
  458. if (timeCurrent >= 180 and timeCurrent < 240)
  459. timeBonus is ((timeCurrent / 60) / 122880)
  460. end
  461. if (timeCurrent >= 240 and timeCurrent < 300)
  462. timeBonus is ((timeCurrent / 60) / 30720)
  463. end
  464. if (timeCurrent >= 300 and timeCurrent < 420)
  465. timeBonus is ((timeCurrent / 60) / 7680)
  466. end
  467. if (timeCurrent >= 420 and timeCurrent < 600)
  468. timeBonus is ((timeCurrent / 60) / 1920)
  469. end
  470. if (timeCurrent >= 600 and timeCurrent < 720)
  471. timeBonus is ((timeCurrent / 60) / 480)
  472. end
  473. if (timeCurrent >= 720 and timeCurrent < 900)
  474. timeBonus is ((timeCurrent / 60) / 240)
  475. end
  476. if (timeCurrent >= 900 and timeCurrent < 1800)
  477. timeBonus is ((timeCurrent / 60) / 120)
  478. end
  479. if (timeCurrent >= 1800 and timeCurrent < 3600)
  480. timeBonus is ((timeCurrent / 60) / 60)
  481. end
  482. if (timeCurrent >= 3600)
  483. timeBonus is (1 + 0,5 * ((timeCurrent / 3600) / 24))
  484. end
  485. end
  486. on click:
  487. if (timeCurrent >= 180 and (1 * cookieBonus * buildingBonus * (timeBonus)) >= 1)
  488. heavenlyChips is (1 * cookieBonus * buildingBonus * (timeBonus))
  489. cookies is 0
  490. cursors is 0
  491. grandmas is 0
  492. farms is 0
  493. mines is 0
  494. factories is 0
  495. banks is 0
  496. temples is 0
  497. wtowers is 0
  498. ship is 0
  499. lab is 0
  500. cookieBonus is 0
  501. buildingBonus is 0
  502. timeBonus is 0
  503. timeCurrent is 0
  504. gold is 0
  505. pickUpgrade is 0
  506. cursorAugment is 0
  507. cursorBoostA is 1
  508. else
  509. toast You can only rebirth if you played for 3 minutes in this run and your Heavenly Chips on rebirth are bigger than 0.
  510. end
  511. end
  512.  
  513. *TEMPLATE
  514. start with
  515. class:menu
  516. tag:mineStuff
  517. hidden
  518.  
  519. *gps
  520. text:GPS: [gold:ps]/s
  521. name:Gold Production
  522. desc:Your making <b>[gold:ps]</b> gold per second. Each mine produces <b>0.1</b> gold per second.<//><b>Info:</b><.>Base production: <b>[gold:ps]/s</b><.>Total production: <b>[((mines/10) * (pickUpgrade + 1))]/s</b><.>Better Pickaxes Bonus: <b>[((pickUpgrade + 1) * 100)]%</b>
  523. on tick:
  524. if (mines >= 20)
  525. yield ((mines / 10) * (pickUpgrade + 1)) gold
  526. end
  527. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement