boblovespi

Mouse Factory

Sep 2nd, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. Let's make a game!
  2. name:Mouse Factory
  3. by:Overkill2.0
  4. desc:A game where you make mouses. You have currently made [mouse] mouse[s?mouse].
  5. created:9/2/2018
  6. updated:9/2/2018
  7. version:1.0.0
  8.  
  9. Settings
  10. building cost increase : 115%
  11. stylesheet:stuff/Small.css
  12.  
  13. CSS
  14. .thing
  15. {
  16. border-radius:8px;
  17. background:rgba(100,100,100,0.5);
  18. }
  19.  
  20. Buttons
  21.  
  22. *BuyMaterielsButton1
  23. name:Buy Plastic
  24. desc:Go shopping in the local supermarket.
  25. on click:
  26. if (money>=2 and time>=15)
  27. yield 1 plastic
  28. yield -2 money
  29. yield -15 time
  30. end
  31. end
  32. *BuyMaterielsButton2
  33. name:Buy Steel
  34. desc:Go shopping in the local supermarket.
  35. on click:
  36. if (money>=5 and time>=15)
  37. yield 1 steel
  38. yield -5 money
  39. yield -15 time
  40. end
  41. end
  42. *BuyMaterielsButton3
  43. name:Buy Circuitboard
  44. desc:Go shopping in the local supermarket.
  45. on click:
  46. if (money>=3 and time>=15)
  47. yield 1 unwiredcircuitboard
  48. yield -3 money
  49. yield -15 time
  50. end
  51. end
  52. *BuyMaterielsButton4
  53. name:Buy Toggle Switch
  54. desc:Go shopping in the local supermarket.
  55. on click:
  56. if (money>=5 and time>=15)
  57. yield 1 toggleswitch
  58. yield -5 money
  59. yield -15 time
  60. end
  61. end
  62. *Makebuttoncasing
  63. name:Make Button Casing
  64. desc:Make a Button Casing.
  65. on click:
  66. if (plastic>=2 and time>=100)
  67. yield 1 buttoncasing
  68. yield -2 plastic
  69. yield -100 time
  70. end
  71. end
  72. *Makebutton
  73. name:Make Button
  74. desc:Crude but effective.
  75. on click:
  76. if (toggleswitch>=2 and time>=150 and wiredcircuitboard>=1 and buttoncasing>=1)
  77. yield 1 button
  78. yield -2 toggleswitch
  79. yield -100 time
  80. yield -1 wiredcircuitboard
  81. yield -1 buttoncasing
  82. end
  83. end
  84. *Sellbutton
  85. name:Sell Button
  86. desc:Earn some money.
  87. on click:
  88. if (button>=1 and time>=10)
  89. yield 50 money
  90. yield -1 button
  91. end
  92. end
  93. *Makewire
  94. name:Make Wire
  95. desc:Make a Wire.
  96. on click:
  97. if (plastic>=1 and time>=20 and steel>=1)
  98. yield 1 wire
  99. yield -1 plastic
  100. yield -20 time
  101. yield -1 steel
  102. end
  103. end
  104. *Wirecircuitboard
  105. name:Wire Circuit Board
  106. desc:Wire a Circuit Board.
  107. on click:
  108. if (wire>=1 and time>=20 and unwiredcircuitboard>=1)
  109. yield 1 wiredcircuitboard
  110. yield -1 wire
  111. yield -100 time
  112. yield -1 unwiredcircuitboard
  113. end
  114. end
  115. Resources
  116. *mouse
  117. name:Mouse
  118. desc:A mouse.
  119. hidden when 0
  120. *steel
  121. name:Steel
  122. desc:A building materiel.
  123. *wire
  124. name:Wire
  125. desc:A building materiel.
  126. *plastic
  127. name:Plastic
  128. desc:A building materiel.
  129. *wiredcircuitboard
  130. name:Wired Circuit Boards
  131. desc:A building materiel.
  132. *unwiredcircuitboard
  133. name:Unwired Circuit Boards
  134. desc:A building materiel.
  135. *money
  136. name:Cash
  137. desc:Money is life, life is money.
  138. start with:1000
  139. *button
  140. name:Buttons
  141. desc:A simple mouse.
  142. *toggleswitch
  143. name:Toggle Switches
  144. desc:A building materiel.
  145. *buttoncasing
  146. name:Button Casing
  147. desc:A building materiel.
  148. *time
  149. name:Time
  150. start with:1
  151. Buildings
  152. *employees
  153. name:Employees
  154. cost:100 money
  155. on tick:yield 1 time
  156. desc:Some people to work for you.
  157. start with:1
Add Comment
Please, Sign In to add comment