Advertisement
nilrem3

spaceship idle

May 21st, 2019
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. Let's make a game!
  2. name:spaceship Idle
  3.  
  4. Settings
  5. cost increase:125%
  6. Resources
  7. *distance
  8. name:distance
  9. *speed
  10. name:speed
  11. on tick:yield (speed) distance
  12. on tick:yield (speed) totaldist
  13. always hidden
  14.  
  15.  
  16. *money
  17. name:money
  18. on tick:yield ((distance / 10) * (1 + mult / 100)) money
  19. *mult
  20. name:multiplier
  21. *newmult
  22. name:New multiplier
  23. desc:When you return to earth, you will get this much multiplier
  24. on tick:if (totaldist > newmultreq) yield 1 newmult
  25. on tick:if (totaldist > newmultreq) yield (newmultreq) newmultreq
  26.  
  27.  
  28.  
  29. *totaldist
  30. always hidden
  31.  
  32.  
  33. *newmultreq
  34. start with:1
  35. always hidden
  36. Buttons
  37. *blow
  38. name:blow out the back of the ship
  39. on click:yield 0.001 distance
  40. *return
  41. name:Return to earth
  42. on click:yield (newmult) mult
  43. on click:distance is 0
  44. on click:fan is 1
  45. on click:iondrive is 0
  46. on click:money is 0
  47. on click:newmult is 0
  48.  
  49. desc:WARNING: this will set everything except multiplier to zero, but you will 1 multiplier per 100 distance and get a multiplier % increase to earnings permanently.
  50. Buildings
  51. *fan
  52. name:Fan
  53. on tick:yield 0.01 distance
  54. on tick:yield 0.01 totaldist
  55. cost:1 money
  56. start with:1
  57.  
  58. *iondrive
  59. name:Ion drive
  60. on tick:yield 0.01 speed
  61. cost:1000000 money
  62. cost increase:150%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement