Advertisement
Jacorb90

Energy Incremental

Apr 23rd, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.41 KB | None | 0 0
  1. Let's make a game!
  2. name:Energy Incremental
  3.  
  4. Settings
  5. building cost increase: 100%
  6. building cost refund: 50%
  7.  
  8. Layout
  9. use default
  10.  
  11. Buttons
  12. *RevolveCore
  13. name:Revolve Core
  14. desc:Click here to gain Energy
  15. on click:yield 1 Energy
  16. *Dig
  17. name:Dig
  18. desc:Click here to dig Metal
  19. hidden
  20. on click:
  21. if (Energy>=1)
  22. yield -1 Energy
  23. yield 1 Metal
  24. yield 0.001 Gem
  25. end
  26. end
  27. *BuyMetal
  28. name:Buy Metal
  29. desc:Click here to buy Metal
  30. hidden
  31. on click:
  32. if (Money>=1)
  33. yield -1 Money
  34. yield 100 Metal
  35. end
  36. end
  37.  
  38. Resources
  39. *Energy
  40. name:Energy
  41. desc:This is your energy. You need more of it to power up your core.
  42. *CoreLevel
  43. hidden
  44. start with:1
  45. *Metal
  46. name:Metal
  47. desc:Your metal can be used to build things.
  48. hidden when 0
  49. *MotorAscends
  50. hidden
  51. *DrillAscends
  52. hidden
  53. *ScientistAscends
  54. hidden
  55. *MetalBuyerAscends
  56. hidden
  57. *WizardAscends
  58. hidden
  59. *AngelAscends
  60. hidden
  61. *HeavenPow
  62. start with:0.1
  63. hidden
  64. *AscendCheapers
  65. start with:0
  66. hidden
  67. *Gem
  68. name:Gems
  69. desc:Gems can be used for powerful upgrades.
  70. hidden when 0
  71. *Science
  72. name:Science
  73. desc:Science can also be used for powerful upgrades.
  74. hidden when 0
  75. *Money
  76. name:Money
  77. desc:Money can be used to buy things.
  78. hidden when 0
  79. *Magic
  80. name:Magic
  81. desc:Magic can be used to buy things?
  82. hidden when 0
  83. *Gold
  84. name:Gold
  85. desc:Gold is very precious
  86. hidden when 0
  87. *HeavenEnergy
  88. name:Heaven Energy
  89. desc:Provides a boost to all buildings before Angels
  90. hidden when 0
  91.  
  92. Buildings
  93. *Motor
  94. name:Motor
  95. desc:Motors revolve the core for you to gain Energy
  96. hidden
  97. cost:25 Metal
  98. on tick:yield 1 Energy
  99. tag:building
  100. *Drill
  101. name:Drill
  102. desc:Drills dig up metal for you without wasting energy
  103. hidden
  104. cost:100 Energy
  105. cost:100 Metal
  106. on tick:yield -1 Energy
  107. on tick:yield 1 Metal
  108. on tick:yield 0.001 Gem
  109. tag:building
  110. *Scientists
  111. name:Scientists
  112. desc:Scientists give you science for further upgrades
  113. hidden
  114. cost:1000 Gem
  115. on tick:yield 1 Science
  116. on tick:if (have RichScientists) yield 0 Money
  117. tag:building
  118. *MetalBuyer
  119. name:Metal Buyer
  120. desc:Metal Buyers buy Metal for you
  121. hidden
  122. cost:100000 Metal
  123. cost:100 Money
  124. on tick:yield -1 Money
  125. on tick:yield 100 Metal
  126. on tick:yield 0.01 Gold
  127. tag:building
  128. *Wizard
  129. name:Wizard
  130. desc:Wizards produce Magic for you
  131. hidden
  132. cost:10000000000000 Energy
  133. on tick:yield 0.1 Magic
  134. tag:building
  135. *Angel
  136. name:Angel
  137. desc:Angels produce Heaven Energy for you (are not effected by Heaven Energy)
  138. hidden
  139. cost:1 HeavenEnergy
  140. on tick:yield 0.1 HeavenEnergy
  141. tag:building2
  142.  
  143. Upgrades
  144. *Control
  145. hidden
  146. owned
  147. passive:
  148. multiply yield of RevolveCore by (pow(2,CoreLevel-1))
  149. multiply yield of Motor by (pow(2,CoreLevel-1))
  150. if (have FreeCoreUpg)
  151. multiply cost of CoreUpgrade by (pow(5+(CoreLevel-2)*0.5,CoreLevel-2))
  152. else
  153. multiply cost of CoreUpgrade by (pow(5+(CoreLevel-1)*0.5,CoreLevel-1))
  154. end
  155. if (have DigBoost)
  156. multiply yield of Dig by (pow(1.5,CoreLevel-1))
  157. multiply yield of Drill by (pow(1.5,CoreLevel-1))
  158. end
  159. multiply cost of Motor by (pow(100,MotorAscends))
  160. multiply yield of Motor by (pow(10,MotorAscends))
  161. multiply cost of Drill by (pow(100,DrillAscends))
  162. multiply yield of Drill by (pow(10,DrillAscends))
  163. multiply cost of Scientists by (pow(100,ScientistAscends))
  164. multiply yield of Scientists by (pow(10,ScientistAscends))
  165. multiply cost of MetalBuyer by (pow(100,MetalBuyerAscends))
  166. multiply yield of MetalBuyer by (pow(10,MetalBuyerAscends))
  167. multiply cost of Wizard by (pow(100,WizardAscends))
  168. multiply yield of Wizard by (pow(10,WizardAscends))
  169. multiply cost of Angel by (pow(100,AngelAscends))
  170. multiply yield of Angel by (pow(10,AngelAscends))
  171. multiply cost of MotorAsc by (pow(1000,MotorAscends))
  172. multiply cost of DrillAsc by (pow(1000,DrillAscends))
  173. multiply cost of ScientistAsc by (pow(1000,ScientistAscends))
  174. multiply cost of MetalBuyerAsc by (pow(1000,MetalBuyerAscends))
  175. multiply cost of WizardAsc by (pow(1000,WizardAscends))
  176. multiply cost of AngelAsc by (pow(1000,AngelAscends))
  177. if (have AscendCostReduction)
  178. multiply cost of MotorAsc by (pow(0.5,MotorAscends))
  179. multiply cost of DrillAsc by (pow(0.5,DrillAscends))
  180. multiply cost of ScientistAsc by (pow(0.5,ScientistAscends))
  181. multiply cost of MetalBuyerAsc by (pow(0.5,MetalBuyerAscends))
  182. multiply cost of WizardAsc by (pow(0.5,WizardAscends))
  183. multiply cost of AngelAsc by (pow(0.5,AngelAscends))
  184. end
  185. if (have AscendBoost)
  186. multiply cost of MotorAsc by (pow(0.5,MotorAscends))
  187. multiply cost of DrillAsc by (pow(0.5,DrillAscends))
  188. multiply cost of ScientistAsc by (pow(0.5,ScientistAscends))
  189. multiply cost of MetalBuyerAsc by (pow(0.5,MetalBuyerAscends))
  190. multiply cost of WizardAsc by (pow(0.5,WizardAscends))
  191. multiply cost of AngelAsc by (pow(0.5,AngelAscends))
  192. end
  193. if (have CheapBuildings)
  194. multiply cost of MotorAsc by (pow(0.5,MotorAscends))
  195. multiply cost of DrillAsc by (pow(0.5,DrillAscends))
  196. multiply cost of ScientistAsc by (pow(0.5,ScientistAscends))
  197. multiply cost of MetalBuyerAsc by (pow(0.5,MetalBuyerAscends))
  198. multiply cost of WizardAsc by (pow(0.5,WizardAscends))
  199. multiply cost of AngelAsc by (pow(0.5,AngelAscends))
  200. end
  201. multiply cost of MotorAsc by (pow(pow(0.5,AscendCheapers),MotorAscends))
  202. multiply cost of DrillAsc by (pow(pow(0.5,AscendCheapers),DrillAscends))
  203. multiply cost of ScientistAsc by (pow(pow(0.5,AscendCheapers),ScientistAscends))
  204. multiply cost of MetalBuyerAsc by (pow(pow(0.5,AscendCheapers),MetalBuyerAscends))
  205. multiply cost of WizardAsc by (pow(pow(0.5,AscendCheapers),WizardAscends))
  206. multiply cost of AngelAsc by (pow(pow(0.5,AscendCheapers),AngelAscends))
  207. multiply cost of CheaperAscensions by pow(1000,AscendCheapers)
  208. multiply yield of tag:building by (pow(HeavenEnergy+1,HeavenPow))
  209. end
  210. *CoreUpgrade
  211. name:Core Upgrade
  212. desc:Upgrade your core to gain more Energy per revolution. You currently have [CoreLevel-1] upgrades.
  213. cost:25 Energy
  214. on earn:
  215. yield 1 CoreLevel
  216. lose this
  217. end
  218. *UnlockDigging
  219. name:Unlock Digging
  220. desc:Unlocks digging, so you can get metal
  221. cost:50 Energy
  222. req:2 CoreLevel
  223. on earn:hide this
  224. passive:show Dig
  225. *UnlockMotor
  226. name:Unlock Motor
  227. desc:Unlocks motors, which automatically revolves the core for you
  228. cost:25 Metal
  229. req:2 CoreLevel
  230. req:1 Metal
  231. on earn:hide this
  232. passive:show Motor
  233. *UnlockDrill
  234. name:Unlock Drill
  235. desc:Unlocks drills, which automatically dig up metal for you
  236. cost:100 Energy
  237. cost:100 Metal
  238. req:3 CoreLevel
  239. req:3 Motor
  240. on earn:hide this
  241. passive:show Drill
  242. *DigBoost
  243. name:Dig Boost
  244. desc:Digging is now affected by Core Upgrades
  245. cost:50 Metal
  246. req:25 Metal
  247. on earn:hide this
  248. *CheaperMotors
  249. name:Cheaper Motors
  250. desc:Makes motors much cheaper
  251. cost:1000 Metal
  252. req:5 CoreLevel
  253. on earn:hide this
  254. passive:multiply cost of Motor by 0.5
  255. *CheaperDrills
  256. name:Cheaper Drills
  257. desc:Makes drills much cheaper
  258. cost:1000 Metal
  259. req:5 CoreLevel
  260. on earn:hide this
  261. passive:multiply cost of Drill by 0.5
  262. *CrystallineMotors
  263. name:Crystalline Motors
  264. desc:Turns your motors to crystal which makes them more powerful
  265. cost:10 Gem
  266. req:1 Gem
  267. req:5 CoreLevel
  268. on earn:hide this
  269. passive:multiply yield of Motor by 2
  270. tag:su
  271. *CrystallineDrills
  272. name:Crystalline Drills
  273. desc:Turns your drills to crystal which makes them more powerful
  274. cost:10 Gem
  275. req:1 Gem
  276. req:5 CoreLevel
  277. on earn:hide this
  278. passive:multiply yield of Drill by 2
  279. tag:su
  280. *UnlockScientists
  281. name:Unlock Scientists
  282. desc:Unlocks scientists, which give you science for more upgrades
  283. cost:1000 Gem
  284. req:1 MotorAscends
  285. req:1 DrillAscends
  286. req:7 CoreLevel
  287. on earn:hide this
  288. passive:show Scientists
  289. *SmartMotors
  290. name:Smart Motors
  291. desc:Motors become powered by science, making them even more powerful
  292. cost:100 Science
  293. req:1 Scientists
  294. on earn:hide this
  295. passive:multiply yield of Motor by 2
  296. tag:su
  297. *SmartDrills
  298. name:Smart Drills
  299. desc:Drills become powered by science, making them even more powerful
  300. cost:100 Science
  301. req:1 Scientists
  302. on earn:hide this
  303. passive:multiply yield of Drill by 2
  304. tag:su
  305. *SmarterScientists
  306. name:Smarter Scientists
  307. desc:Scientists are even smarter, generating even more Science
  308. cost:1000 Science
  309. req:10 Scientists
  310. req:8 CoreLevel
  311. on earn:hide this
  312. passive:multiply yield of Scientists by 2
  313. tag:su
  314. *RichScientists
  315. name:Rich Scientists
  316. desc:Scientists realize they can make a profit, generating money
  317. cost:10000 Science
  318. cost:1000000 Energy
  319. req:have SmarterScientists
  320. req:1 ScientistAscends
  321. on earn:hide this
  322. passive:increase Money yield of Scientists by 1
  323. *MoneyToMetal
  324. name:Money To Metal
  325. desc:Unlocks a button which gives you metal for money
  326. cost:100000 Metal
  327. req:have RichScientists
  328. on earn:hide this
  329. passive:show BuyMetal
  330. *UnlockMetalBuyer
  331. name:Unlock Metal Buyer
  332. desc:Unlocks the metal buyer which buys metal for you
  333. cost:1000000 Metal
  334. req:have MoneyToMetal
  335. on earn:hide this
  336. passive:show MetalBuyer
  337. *BigDrillBoost
  338. name:Big Drill Boost
  339. desc:Boosts drill production based on money
  340. cost:10000 Money
  341. req:1000 Money
  342. req:9 CoreLevel
  343. on earn:hide this
  344. passive:multiply yield of Drill by (pow(Money,0.1))
  345. *AscendCostReduction
  346. name:Ascend Cost Reduction
  347. desc:Reduces the costs of ascensions
  348. cost:100000 Gems
  349. req:10 CoreLevel
  350. on earn:hide this
  351. *SlightBoost
  352. name:Slight Boost
  353. desc:Boosts certain upgrades slightly
  354. cost:1000000 Metal
  355. cost:5000 Science
  356. req:10 CoreLevel
  357. on earn:hide this
  358. passive:multiply yield of tag:su by 1.5
  359. *SlightBoost2
  360. name:Slight Boost 2
  361. desc:Boosts certain upgrades slightly
  362. cost:10000000 Metal
  363. cost:50000 Science
  364. req:11 CoreLevel
  365. on earn:hide this
  366. passive:multiply yield of tag:su by 1.5
  367. *CostReduction
  368. name:Cost Reduction
  369. desc:Lowers the cost of all buildings
  370. cost:50000 Money
  371. req:11 CoreLevel
  372. on earn:hide this
  373. passive:multiply cost of tag:building by 0.4
  374. *EconomicBoost
  375. name:Economic Boost
  376. desc:You gain more Science based on your current Money
  377. cost:150000 Money
  378. req:12 CoreLevel
  379. on earn:hide this
  380. passive:multiply Science yield of Scientists by (pow(Money,0.1))
  381. *UnlockWizards
  382. name:Unlock Wizards
  383. desc:Unlocks wizards, which generate magic for you
  384. cost:1000000 Money
  385. cost:10000000000000 Energy
  386. req:13 CoreLevel
  387. on earn:hide this
  388. passive:show Wizard
  389. *BuildGoldenWall
  390. name:Build Golden Wall
  391. desc:Builds a golden wall, greatly boosting all buildings
  392. cost:1000 Gold
  393. req:100 Gold
  394. on earn:hide this
  395. passive:multiply yield of tag:building by 4
  396. *BuildBigGoldWall
  397. name:Build Bigger Golden Wall
  398. desc:Builds an even bigger golden wall, greatly boosting all buildings
  399. cost:100000 Gold
  400. req:have BuildGoldenWall
  401. on earn:hide this
  402. passive:multiply yield of tag:building by 4
  403. *MagicWall
  404. name:Magic Wall
  405. desc:Builds a magical wall, greatly boosting all buildings
  406. cost:1000000 Magic
  407. req:1 WizardAscends
  408. on earn:hide this
  409. passive:multiply yield of tag:building by 4
  410. *MagicalUses
  411. name:Magical Uses
  412. desc:Makes all buildings more powerful depending on your magic amount
  413. cost:5000000 Magic
  414. req:16 CoreLevel
  415. on earn:hide this
  416. passive:multiply yield of tag:building by (pow(Magic,0.1))
  417. *AscendBoost
  418. name:Ascend Boost
  419. desc:Makes ascensions cost less
  420. cost:1000000000 Gold
  421. req:16 CoreLevel
  422. on earn:hide this
  423. *MagicalGold
  424. name:Magical Gold
  425. desc:Fuses your gold and magic, massively boosting your gold-producing buildings and your magic-producing buildings
  426. cost:10000000 Magic
  427. cost:1000000000 Gold
  428. req:18 CoreLevel
  429. on earn:hide this
  430. passive:multiply Gold yield of tag:building by 10
  431. passive:multiply Magic yield of tag:buidling by 10
  432. *FreeCoreUpg
  433. name:Free Core Upgrade
  434. desc:Gives you a free core upgrade
  435. cost:1000000000000000000 Energy
  436. req:19 CoreLevel
  437. on earn:hide this
  438. on earn:yield 1 CoreLevel
  439. *UnlockAngels
  440. name:Unlock Angels
  441. desc:Unlocks angels, which grant powerful boosts to other buildings based on its amount
  442. cost:100000000000000000000 Energy
  443. req:21 CoreLevel
  444. on earn:hide this
  445. on earn:yield 1 HeavenEnergy
  446. passive:show Angel
  447. *LittleAngels
  448. name:Little Angels
  449. desc:Heaven Energy powers up Angels very slightly
  450. cost:10000000 HeavenEnergy
  451. req:23 CoreLevel
  452. on earn:hide this
  453. passive:multiply yield of Angel by (pow(HeavenEnergy+1,HeavenPow/2))
  454. *HB
  455. name:To Heaven And Back
  456. desc:Heaven Energy powers up buildings a little more
  457. cost:100000000 HeavenEnergy
  458. req:24 CoreLevel
  459. on earn:hide this
  460. on earn:HeavenPow = HeavenPow*1.2
  461. *HB2
  462. name:To Heaven And Back Again
  463. desc:Heaven Energy powers up buildings a little more
  464. cost:10000000000 HeavenEnergy
  465. req:25 CoreLevel
  466. req:have HB
  467. on earn:hide this
  468. on earn:HeavenPow = HeavenPow*1.2
  469. *HB3
  470. name:To Heaven And Back Again Again
  471. desc:Heaven Energy powers up buildings a little more
  472. cost:1000000000000 HeavenEnergy
  473. req:26 CoreLevel
  474. req:have HB2
  475. on earn:hide this
  476. on earn:HeavenPow = HeavenPow*1.2
  477. *CheapBuildings
  478. name:Cheap Buildings
  479. desc:Makes all buildings and ascensions much cheaper
  480. cost:1000000000000000000000000000 Energy
  481. req:25 CoreLevel
  482. on earn:hide this
  483. passive:multiply cost of tag:building by 0.01
  484. passive:multiply cost of tag:building2 by 0.05
  485. *GoldenAngels
  486. name:Golden Angels
  487. desc:Makes angels more efficient based on gold amount
  488. cost:1000000000000000 Gold
  489. req:27 CoreLevel
  490. on earn:hide this
  491. passive:multiply yield of Angel by (pow(Gold,0.02))
  492. *CheaperAscensions
  493. name:Cheaper Ascensions
  494. desc:Makes ascensions cheaper (is rebuyable for a higher cost)
  495. cost:1000000000 HeavenEnergy
  496. req:27 CoreLevel
  497. on earn:AscendCheapers = AscendCheapers + 1
  498. on earn:lose this
  499. *AHE
  500. name:Anti-Heaven Energy
  501. desc:Greatly boosts all buildings that are not affected by Heaven Energy
  502. cost:1000 HeavenEnergy
  503. req:have UnlockAngels
  504. on earn:hide this
  505. passive:multiply yield of tag:building2 by 4
  506. *AHE2
  507. name:Anti-Heaven Energy 2
  508. desc:Greatly boosts all buildings that are not affected by Heaven Energy
  509. cost:1000000 HeavenEnergy
  510. req:have AHE
  511. req:1 AngelAscends
  512. on earn:hide this
  513. passive:multiply yield of tag:building2 by 4
  514. *AHE3
  515. name:Anti-Heaven Energy 3
  516. desc:Greatly boosts all buildings that are not affected by Heaven Energy
  517. cost:1000000000 HeavenEnergy
  518. req:have AHE2
  519. req:2 AngelAscends
  520. on earn:hide this
  521. passive:multiply yield of tag:building2 by 4
  522. *AHE4
  523. name:Anti-Heaven Energy 4
  524. desc:Greatly boosts all buildings that are not affected by Heaven Energy
  525. cost:1000000000000 HeavenEnergy
  526. req:have AHE3
  527. req:3 AngelAscends
  528. on earn:hide this
  529. passive:multiply yield of tag:building2 by 4
  530. *MotorAsc
  531. name:Motor Ascend
  532. desc:Lose all your motors to make them much more powerful
  533. cost:1000 Energy
  534. req:1000 Motor
  535. on earn:
  536. lose Motor
  537. yield 1 Motor
  538. yield 1 MotorAscends
  539. lose this
  540. end
  541. *DrillAsc
  542. name:Drill Ascend
  543. desc:Lose all your drills to make them much more powerful
  544. cost:1000 Energy
  545. cost:1000 Metal
  546. req:1000 Drill
  547. on earn:
  548. lose Drill
  549. yield 1 Drill
  550. yield 1 DrillAscends
  551. lose this
  552. end
  553. *ScientistAsc
  554. name:Scientist Ascend
  555. desc:Lose all your scientists to make them much more powerful
  556. cost:10000 Science
  557. req:1000 Scientists
  558. on earn:
  559. lose Scientists
  560. yield 1 Scientists
  561. yield 1 ScientistAscends
  562. lose this
  563. end
  564. *MetalBuyerAsc
  565. name:Metal Buyer Ascend
  566. desc:Lose all your Metal Buyers to make them much more powerful
  567. cost:1000000 Metal
  568. cost:1000 Money
  569. req:1000 MetalBuyer
  570. on earn:
  571. lose MetalBuyer
  572. yield 1 MetalBuyer
  573. yield 1 MetalBuyerAscends
  574. lose this
  575. end
  576. *WizardAsc
  577. name:Wizard Ascend
  578. desc:Lose all your Wizards to make them much more powerful
  579. cost:10000 Magic
  580. req:1000 Wizard
  581. on earn:
  582. lose Wizard
  583. yield 1 Wizard
  584. yield 1 WizardAscends
  585. lose this
  586. end
  587. *AngelAsc
  588. name:Angel Ascend
  589. desc:Lose all your Angels to make them much more powerful
  590. cost:10000 HeavenEnergy
  591. req:1000 Angel
  592. on earn:
  593. lose Angel
  594. yield 1 Angel
  595. yield 1 AngelAscends
  596. lose this
  597. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement