Omtegu2

Life Game using IGM

May 20th, 2021 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. Let's make a game!
  2.  
  3. name:Life Tycoon
  4. by:Omtegu#0234
  5. desc:A game about managing your health, hunger, thirst, happiness, and gaining skills to get money.
  6.  
  7. Settings
  8.  
  9. building cost increase:110%
  10. background-color:blue
  11.  
  12. Resources
  13.  
  14. *Age
  15. Name:Age
  16. desc:Your age as a number, try to live a happy life!
  17. on earn:if (Age ==80) toast You have died!
  18. on earn:if (Age ==80) Age=0
  19. show earned
  20.  
  21. *Money
  22. name:Money
  23. desc:Your money
  24. show earned
  25.  
  26. *Health
  27. name:Health
  28. desc:Your Health. 100 is death
  29. show earned
  30.  
  31. *hunger
  32. name:Hunger
  33. desc:Your hunger. Keep this below 100 or you'll die!
  34. show earned
  35. *Thirst
  36. name:Thirst
  37. desc:Your Thirst. Keep this below 100 or you'll die!
  38. show earned
  39.  
  40. *Happiness
  41. name:Happiness
  42. desc:Your Happiness. If this gets to 0, you will no longer have the will to live. You will die...
  43. on tick:if (Happiness == 0) toast You have died!
  44. on tick:if (Happiness == 0) Age=0
  45. start with:10
  46. show earned
  47. *up
  48. name:Up
  49. desc:Tracks forward
  50. always hidden
  51. can be negative
  52. on earn:
  53. if (up == 1) toast "You can not move that way."
  54. if (up == 1) lose 1 up
  55. if (up == -1) toast "You can not move that way."
  56. if (up == -1) yield 1 up
  57. end
  58.  
  59.  
  60. Buttons
  61.  
  62. *foward
  63. name:Move Foward
  64. desc:Move foward on the map
  65. on click:yield 1 up
  66. *backward
  67. name:Move Backward
  68. desc:Move Backward on the map
  69. on click:lose 1 up
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
Add Comment
Please, Sign In to add comment