IronDizaster

Untitled

Aug 4th, 2019
593
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.17 KB | None | 0 0
  1. Let's make a game!
  2. name:Lemonade Tycoon
  3. by:IronDizaster
  4. forum post:Lemonade Tycoon
  5. desc:One day, life gave you lemons. With those lemons, you decided to found a lemonade company and make tons of <b>$$$!</b>
  6.  
  7. Settings
  8.  
  9. tiling background:https://imgur.com/bBNrXIT.png
  10. stylesheet:stuff/bigBlue.css
  11.  
  12.  
  13. *main
  14. contains:res, buttons
  15. *res
  16. contains:Resources
  17. class:fullWidth
  18.  
  19. *buttons
  20. contains:Buttons
  21. *store
  22. contains:buildings, upgrades
  23. *buildings
  24. contains:BulkDisplay, Buildings
  25. header:Buildings
  26. tooltip origin:left
  27. *upgrades
  28. contains:Upgrades
  29. header:Upgrades
  30. costs:hide
  31. names:hide
  32.  
  33.  
  34.  
  35.  
  36.  
  37. Buttons
  38.  
  39. *lemonadeGain
  40.  
  41. name:Make Lemonade!
  42. desc:Click to make lemonade!<//></><.>Needs 15 <b><#ffef08>lemons</#></b> to produce 1 <b><#ffef08>lemonade</#></b>
  43. class:bigButton hasFlares
  44. tooltip origin:bottom
  45. icon:https://imgur.com/YS1pMOW.png
  46.  
  47. on click:if (lemons>14 and lemonTree>=1) yield 1 lemonade
  48. on click:if (lemons>14) lose 15 lemons
  49.  
  50. *sellLemonade
  51. name:Sell Lemonade
  52. desc:Sell lemonade to your customers!<//><.>Requires 1 customer
  53.  
  54. on click:if (customer>lemonade) lose (lemonade) customer
  55. else lose (customer) lemonade
  56. end
  57. on click:if (lemonade>0 and customer>0) yield (5*lemonade) cash
  58. on click:if (lemonade>0 and customer>0) lose (customer) lemonade
  59. on click:if (lemonade>0 and customer>0) lose (lemonade) customer
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66. class:bottom
  67.  
  68. Resources
  69. *cash
  70. Name:Cash
  71. icon:https://imgur.com/SDSwY8D.png
  72. start with:100
  73.  
  74. *lemons
  75. name:Lemon|Lemons
  76. text:Lemons : [this]
  77. start with:4
  78. icon:https://imgur.com/7JXvNKv.png
  79.  
  80.  
  81. *lemonade
  82. Name:Lemonade
  83. hidden when 0
  84. icon:https://imgur.com/j4jtjWq.png
  85.  
  86. *customer
  87. name:Customers
  88. text:Customers : [this]
  89. hidden when 0
  90.  
  91.  
  92.  
  93.  
  94. Buildings
  95.  
  96. *lemonTree
  97. Name:Lemon Tree
  98. desc:<//>Plain ol' lemon tree.<//><.>Grows 1 <b><#ffef08>lemon</#></b> every <b>10</b> seconds.
  99. on tick:yield 15 lemons
  100. cost:50 cash
  101. cost:4 lemons
  102. icon:https://imgur.com/4VO28p2.png
  103.  
  104. *customersGenerator
  105. on tick:if (chance(50%)) yield 10 customer
  106. on tick:if (chance(60%)) lose 11 customer
  107.  
  108.  
  109. start with:1
  110. always hidden
  111.  
  112.  
  113. Upgrades
Advertisement
Add Comment
Please, Sign In to add comment