IronDizaster

Ascension

Aug 22nd, 2023 (edited)
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. Let's make a game!
  2.  
  3. Settings
  4. stylesheet:stuff/bigBlue.css
  5.  
  6. Buttons
  7. *resButton
  8. on click:yield 1e12 cash
  9.  
  10. Resources
  11. *cash
  12. tag:losable
  13. start with:999999999995
  14. *ascensionRes
  15. name:Penultimate Cash
  16. hidden when 0
  17.  
  18. *cashEarnedNow
  19. name:Cash Earned Now
  20. is always:((cash:earned)-cashLeftBehind)
  21. tag:losable
  22. always hidden
  23.  
  24. *cashLeftBehind
  25. always hidden
  26.  
  27. *N
  28. is always:floor(1+(pow(cashEarnedNow/1e12,1/3)))
  29. always hidden
  30.  
  31. Upgrades
  32. *ascensionBoosting
  33. passive:multiply yield of resButton by 1+(10*ascensionRes)
  34. passive:multiply yield of tag:AscensionMultiplier by 1+(10*ascensionRes)
  35. owned
  36. always hidden
  37.  
  38. *TEMPLATE
  39. tag:losable
  40.  
  41. *fillerUpgrade1
  42. *fillerUpgrade2
  43. *fillerUpgrade3
  44. *fillerUpgrade4
  45. *fillerUpgrade5
  46.  
  47. *ascension
  48. name:Ascend
  49. desc:Ascend to a higher state of being, and gain penultimate cash.</>Ascending now will grant you <b>[floor(pow(cashEarnedNow/1e12,1/3))]</b> Penultimate Cash.</>You need to earn <b>[((N*N*N*1e12)-cashEarnedNow)]</b> more cash in this ascension for <b>+1 Penultimate Cash</b>
  50.  
  51. on earn:yield (cashEarnedNow) cashLeftBehind
  52. on earn:yield floor(pow(cashEarnedNow/1e12,1/3)) ascensionRes
  53. on earn:lose tag:losable
  54.  
  55. Buildings
  56. *TEMPLATE
  57.  
  58. *fillerBuilding1
  59. on tick:yield 1 cash
  60. tags:AscensionMultiplier losable
  61. *fillerBuilding2
  62. *fillerBuilding3
Advertisement
Add Comment
Please, Sign In to add comment