Advertisement
Diesel0307

Untitled

Apr 7th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Let's make a game!
  2. name:Star Test
  3. by:Diesel0307
  4. desc:A test for some star things
  5. created:7/4/18
  6. updated:7/4/18
  7.  
  8. Settings
  9. building cost increase:100%
  10.  
  11. Layout
  12. use default
  13.  
  14. Buttons
  15. *random
  16. name:Random Star
  17. desc:Generates a Random Star
  18. on click:
  19. lose mass
  20. yield frandom(0.5,1.4) mass
  21. end
  22.  
  23. Resources
  24. *thing
  25. name:thing
  26. always hidden
  27. is always:1
  28. *mass
  29. name:blank
  30. desc:It's mass
  31. always hidden
  32. *realMass
  33. name:Mass
  34. desc:It's mass
  35. is always:mass*1000
  36. text:[this] Thousand Solar Masses
  37. *radius
  38. name:Radius
  39. desc:It's radius
  40. is always:
  41. if (mass<thing)
  42. mass^0.8
  43. end
  44. if (mass>thing)
  45. mass^0.5
  46. end
  47. end
  48. text:[this] Solar Radii
  49. *luminosity
  50. name:Luminosity
  51. desc:It's luminosity
  52. is always:mass^3.5
  53. text:[this] Solar Luminosities
  54. *temperature
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement