Advertisement
Builder17

IGM selling test

Apr 16th, 2023 (edited)
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.32 KB | Gaming | 0 0
  1. Let's make a game!
  2. name:Real Estate Clicker
  3. by:Builder17
  4. desc:Prototype to see how well IGM handles automatically selling your buildings.
  5. created:14/3/2023
  6. updated:16/4/2023
  7. version:1
  8.  
  9. Settings
  10. building cost increase:110%
  11. building cost refund:50%
  12. //spritesheet:icons, 48 by 48, stuff/bunnyIcons.png //must use mirowave
  13. stylesheet:stuff/bigBlue.css
  14.  
  15. Layout
  16. use default
  17.  
  18. Buttons
  19. *dollarButton
  20. name:Gain a dollar
  21. desc:Click this button to get 1 dollar!
  22. on click:yield 1 dollar
  23. //no text
  24. class:bigButton
  25.  
  26. Resources
  27. *dollar|dollars
  28. name:Dollar|Dollars
  29. desc:These are your dollars. You can use them to purchase things.
  30. start with:30
  31. show earned
  32.  
  33. *smalltime
  34. name:Small time
  35. desc:Time for small houses selling. Need to reach 5.
  36. can be negative
  37.  
  38. *mediumtime
  39. name:Medium time
  40. desc:Time for medium houses selling. Need to reach 10.
  41. can be negative
  42.  
  43. *medium2time
  44. name:Medium time 2
  45. desc:Time for medium houses 2 selling. Need to reach 10.
  46. can be negative
  47.  
  48. *bigtime
  49. name:Big time
  50. desc:Time for big houses selling. Need to reach 20.
  51. can be negative
  52.  
  53. Buildings
  54. *smallhouse|smallhouses
  55. name:Small house|Small houses
  56. desc:A tiny little house.<//><b>Effect:</b><.>Produces 50 dollars after 5 seconds.
  57. //icon:icons[1,0]
  58. cost:30 dollars
  59. on tick:
  60. yield 1 smalltime
  61.  
  62. if (smalltime>=5)
  63. yield 50 dollars
  64.  
  65. lose 1 this
  66. lose 5 smalltime
  67.  
  68. toast Small house was sold!
  69. end
  70. end
  71. unlocked
  72.  
  73. *mediumhouse|mediumhouses
  74. name:Medium house|Medium houses
  75. desc:A bit roomier than a small house, with enough space to walk around.<//><b>Effect:</b><.>Produces 200 dollars after 10 seconds.
  76. //icon:icons[2,0]
  77. cost:150 dollars
  78. on tick:yield 1 mediumtime
  79. unlocked
  80.  
  81. *mediumhouse2|mediumhouses2
  82. name:Medium house 2|Medium houses 2
  83. desc:A nicer home where a small family can live.<//><b>Effect:</b><.>Produces 500 dollars after 10 seconds.
  84. //icon:icons[3,0]
  85. cost:300 dollars
  86. on tick:yield 1 medium2time
  87. unlocked
  88.  
  89. *bighouse|bighouses
  90. name:Big house|Big houses
  91. desc:Has a lovely front yard with plenty of space.<//><b>Effect:</b><.>Produces 7500 dollars after 20 seconds.
  92. //icon:icons[4,0]
  93. cost:5000 dollars
  94. on tick:yield 1 bigtime
  95. unlocked
  96.  
  97. *realestate|realestates
  98. name:Real estate|Real estates
  99. desc:A huge living space full of rooms and dust. You want to get this!<//><b>Effect:</b><.>Produces 50 dollars per second.
  100. //icon:icons[0,0]
  101. cost:30000 dollars
  102. on tick:yield 50 dollars
  103. unlocked
  104.  
  105. Upgrades
  106. //building upgrades
  107.  
  108. /*
  109. *buildingUpgrade1
  110. name:Sippy bottles
  111. desc:Your bunnies can drink their fill!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  112. icon:icons[2,0] icons[3,0]
  113. cost:1000 bunnies
  114. passive:multiply yield of cage by 2
  115. passive:multiply yield of hutch by 2
  116. passive:multiply yield of coop by 2
  117. req:(cages>=10 or hutches>=10 or coops>=10)
  118.  
  119. *buildingUpgrade2
  120. name:Prime grade hay
  121. desc:Not just for horses anymore!<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  122. icon:icons[2,0] icons[3,1]
  123. cost:100000 bunnies
  124. passive:multiply yield of cage by 2
  125. passive:multiply yield of hutch by 2
  126. passive:multiply yield of coop by 2
  127. req:(cages>=50 or hutches>=50 or coops>=50)
  128.  
  129. *buildingUpgrade3
  130. name:Shredded newspapers
  131. desc:You'd think they just poop on these, but they really enjoy reading the Sunday comics.<//><b>Effect:</b><.>rabbit cage production x2<.>rabbit hutch production x2<.>rabbit coop production x2
  132. icon:icons[2,0] icons[3,2]
  133. cost:5000000 bunnies
  134. passive:multiply yield of cage by 2
  135. passive:multiply yield of hutch by 2
  136. passive:multiply yield of coop by 2
  137. req:(cages>=100 or hutches>=100 or coops>=100)
  138.  
  139. *buildingUpgrade4
  140. name:Pretty fences
  141. desc:Just the right size so your bunnies can peek through but not hop over!<//><b>Effect:</b><.>rabbit pen production x2<.>rabbit meadow production x2
  142. icon:icons[2,0] icons[3,3]
  143. cost:50000 bunnies
  144. passive:multiply yield of pen by 2
  145. passive:multiply yield of meadow by 2
  146. req:(pens>=10 or meadows>=10)
  147. */
  148.  
  149. Achievements
  150. *moneyAchiev1
  151. name:Run buyer run
  152. desc:Have <b>31</b> dollars.
  153. req:31 dollars
  154. //icon:icons[2,4] icons[0,2] icons[0,6]
  155. *moneyAchiev2
  156. name:Housest home videos
  157. desc:Have <b>1,000</b> dollars.
  158. req:1000 dollars
  159. //icon:icons[2,4] icons[0,3] icons[0,6]
  160. *moneyAchiev3
  161. name:You got houses, hun
  162. desc:Have <b>1,000,000</b> dollars.
  163. req:1000000 dollars
  164. //icon:icons[2,4] icons[0,4] icons[0,6]
  165.  
  166. *dollarPsAchiev1
  167. name:You're very very profitable
  168. desc:Produce <b>10</b> dollars per second.
  169. req:10 dollars per second
  170. //icon:icons[2,3] icons[0,2] icons[0,6]
  171. *dollarPsAchiev2
  172. name:House and a skip
  173. desc:Produce <b>500</b> dollars per second.
  174. req:1000 dollars per second
  175. //icon:icons[2,3] icons[0,3] icons[0,6]
  176. *dollarPsAchiev3
  177. name:Go forth and construct
  178. desc:Produce <b>10,000</b> dollars per second.
  179. req:10000 dollars per second
  180. //icon:icons[2,3] icons[0,4] icons[0,6]
  181.  
  182. *estateAchiev
  183. name:Financial nightmare!
  184. desc:Purchase the <b>real estate</b>.<//>This is it. You beat the game!
  185. req:1 realestate
  186. //icon:icons[3,8] icons[0,4]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement