IronDizaster

Untitled

Oct 6th, 2023 (edited)
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Let's make a game!
  2.  
  3. Settings
  4. stylesheet:stuff/bigBlue.css
  5.  
  6.  
  7. Buttons
  8. *button1
  9. on click:yield 1 gold
  10.  
  11. Resources
  12. *gold
  13. name:Gold
  14. start with:980
  15.  
  16. *second|seconds
  17. name:Seconds
  18.  
  19. Upgrades
  20. *timerUpgrade
  21. on tick:
  22. if (gold >= 1000)
  23. yield 1 second
  24. if (seconds != 0 and seconds % 3 = 0)
  25. yield 1000 gold
  26. else
  27. yield 10 gold
  28. end
  29. else
  30. yield 5 gold
  31. end
  32. end
  33.  
Advertisement
Add Comment
Please, Sign In to add comment