Advertisement
Builder17

Settler Grandma

Feb 15th, 2022 (edited)
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. Let's make a game!
  2. name:Settler Grandma
  3. by:Builder17
  4. desc:Build your own settlement, but don't run out of resources!
  5. created:14/2/2022
  6. updated:15/2/2022
  7. version:1
  8.  
  9. Settings
  10. building cost increase:200%
  11. building cost refund:90%
  12. //spritesheet:icons, 48 by 48, stuff/foodIcons.png
  13. stylesheet:stuff/bigBlue.css
  14.  
  15. Layout
  16. use default
  17.  
  18. Buttons
  19. *growButton
  20. name:Grow some food
  21. desc:Takes some hard work to not starve to death in Wild West.
  22. //on click:anim icon wobble
  23. on click:yield 1 food
  24. //icon:stuff/food.png
  25. //no text
  26. //class:bigButton hasFlares
  27. //icon class:shadowed
  28. //tooltip origin:bottom
  29. //tooltip class:red
  30.  
  31. Resources
  32. *food
  33. name:Food
  34. desc:This is your food. It's most important one of your resources.
  35. //icon:icons[0,0]
  36. //class:noBackground
  37. show earned
  38.  
  39. *lumber
  40. name:Lumber
  41. desc:Useful for cooking and construction. Usually easy to get.
  42.  
  43. *stone
  44. name:Stone
  45. desc:A much better resource for construction, but also harder to get.
  46.  
  47. *goldenNugget|goldenNuggets
  48. name:Golden nugget|Golden nuggets
  49. desc:These shiny nuggets are terribly rare, terribly precious and terribly useful!
  50. //icon:icons[0,1]
  51. //class:noBackground
  52. hidden when 0
  53.  
  54. Shinies
  55. *luckycrate
  56. on click:log Woop
  57. movement:onRight moveLeft pulse
  58. frequency:120
  59. frequency variation:30
  60. //icon:stuff/luckycrate.png
  61. class:bigButton
  62. on click:
  63. toast The lucky crate grants you<//><b>5 golden nuggets</b>!
  64. yield 5 goldenNuggets
  65. end
  66.  
  67. Buildings
  68. *TEMPLATE
  69. on click:anim glow
  70.  
  71. *grandmaIncome
  72. name: Grandma
  73. desc: This is grandma. I'm sure two of you will make really good friends.
  74. on tick:
  75. yield 1 food
  76. yield 1 lumber
  77. yield 1 stone
  78. end
  79. start with:1
  80. no buy
  81.  
  82. *farm|farms
  83. name: farm| farms
  84. desc:A tiny little farm.<//><b>Effect:</b><.>Produces 1 food every second.
  85. //icon:icons[3,0]
  86. cost:25 food
  87. on tick:yield 1 food
  88. unlocked
  89.  
  90. *lumberhut|lumberhuts
  91. name: lumberhut| lumberhuts
  92. desc:Gets you some lumber.<//><b>Effect:</b><.>Produces 3 lumber every second.
  93. //icon:icons[3,1]
  94. cost:250 food, 160 lumber
  95. on tick:yield 3 lumber
  96. req:200 food:earned
  97.  
  98. *quarry|quarries
  99. name: quarry| quarries
  100. desc:This building rocks hard!<//><b>Effect:</b><.>Produces 1 stone per second.
  101. //icon:icons[3,2]
  102. cost:175 food, 350 stone
  103. on tick:yield 1 stone
  104. req:1500 food:earned
  105.  
  106. Upgrades
  107. *TEMPLATE
  108. on click:anim glow
  109.  
  110. //food upgrades
  111.  
  112. *farmergrandma
  113. name:Farmer Grandma
  114. desc:Grandma gets you some tasty food, just sit here and watch.<//><b>Effect:</b><.>+50 food/sec
  115. //icon:icons[1,1]
  116. cost:20 food
  117. passive:increase food yield of grandmaIncome by 50
  118. req:10 food:earned
  119.  
  120. *lumbergrandma
  121. name:Lumberjack Grandma
  122. desc:Grandma shows these lumberjacks just how it's done, giving you a lots of lumber in progress.<//><b>Effect:</b><.>+100 lumber/sec
  123. //icon:icons[1,2]
  124. cost:500 food
  125. passive:
  126. increase lumber yield of grandmaIncome by 100
  127. end
  128. req:250 food:earned
  129.  
  130. *rockinggrandma
  131. name:Rocking Grandma
  132. desc:Grandma really likes to listen rock and these stones seem to agree. Your quarry workers can now focus on carrying these rocks to the storage place.<//><b>Effect:</b><.>+150 stone/sec
  133. //icon:icons[1,3]
  134. cost:4000 food
  135. passive:
  136. increase stone yield of grandmaIncome by 150
  137. end
  138. req:3000 food:earned
  139.  
  140. //building upgrades
  141.  
  142. *buildingUpgrade1
  143. name:Better housing
  144. desc:Your housing has seen better days, it could use some improvements here and there.<//><b>Effect:</b><.> farm production x2<.> lumberhut production x2<.> quarry production x2
  145. //icon:icons[2,0] icons[3,0]
  146. cost:200 lumber, 100 stone
  147. passive:multiply yield of farm by 2
  148. passive:multiply yield of lumberhut by 2
  149. passive:multiply yield of quarry by 2
  150. req:(farms>=10 or lumberhuts>=10 or quarries>=10)
  151.  
  152. Achievements
  153. *TEMPLATE
  154. on click:anim glow
  155.  
  156. *foodAchiev1
  157. name:Started the game.
  158. desc:Have <b>1</b> food.
  159. req:1 food
  160. //icon:icons[2,4] icons[0,2] icons[0,6]
  161.  
  162. *foodAchiev2
  163. name:Got 10 farms.
  164. desc:Have <b>10</b> farms.
  165. req:10 farms
  166.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement