IronDizaster

Ascension Tutorial

Aug 16th, 2023 (edited)
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 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 1*(1+ascensionRes*10) cash
  9. class:bigButton hasFlares
  10.  
  11. Resources
  12. *cash
  13. name:Cash
  14. tag:losable
  15. show earned
  16.  
  17. *cashLeftBehind
  18.  
  19. *cashEarnedNow
  20. is always:((cash:earned)-cashLeftBehind)
  21. tag:losable
  22.  
  23. *ascensionRes
  24. name:Penultimate Cash
  25. hidden when 0
  26. *N
  27. is always:floor(1+(pow(cashEarnedNow/1000000000000,1/3)))
  28.  
  29. Upgrades
  30. *TEMPLATE
  31. tag:losable
  32.  
  33. *clickerUpgrade
  34. passive:multiply yield of resButton by 100e9
  35. *fillerUpgrade2
  36. *fillerUpgrade3
  37. *fillerUpgrade4
  38. *fillerUpgrade5
  39. *fillerUpgrade6
  40. *fillerUpgrade7
  41.  
  42. *ascension
  43. name:Ascend
  44. desc:Ascend to a higher state of being, and gain penultimate cash.</>Ascending now will grant you <b>[floor(pow(cashEarnedNow/1000000000000,1/3))]</b> Penultimate Cash</>You need <b>[((N*N*N*1000000000000)-cashEarnedNow)]</b> more cash for <b>+1</b> Penultimate Cash
  45.  
  46. on earn:yield (cashEarnedNow) cashLeftBehind
  47. on earn:yield floor(pow(cashEarnedNow/1000000000000,1/3)) ascensionRes
  48. on earn:lose tag:losable
  49.  
  50. Buildings
  51. *TEMPLATE
  52. tag:losable
  53.  
  54. *fillerBuilding1
  55. *fillerBuilding2
  56. *fillerBuilding3
Advertisement
Add Comment
Please, Sign In to add comment