justmynhame

Edvgxed

Feb 8th, 2020
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Let's make a game!
  2. name:Idle Phone Tycoon
  3. by:Someonewhodoesntwanttoshowtheirname
  4. created:8/2/2020
  5. version:1.0
  6.  
  7. CSS
  8. #game
  9. {
  10. height:auto;
  11. min-height:auto;
  12. }
  13.  
  14. #box-firstbox
  15. {
  16. top:0px;
  17. left:0px;
  18. bottom:0px;
  19. overflow:hidden;
  20. width:60%;
  21. position:absolute;
  22. background-color:rgba(47,85,99);
  23. }
  24.  
  25. #box-managebox
  26. {
  27. overflow:hidden;
  28. width:350px;
  29. height:90px;
  30. background-color:rgba(0, 0, 0, 0.4);
  31. border-left-style:solid;
  32. border-top-style:solid;
  33. border-width:3px;
  34. text-align:center;
  35. }
  36.  
  37. #box-storesbox
  38. {
  39. overflow:hidden;
  40. left:350px;
  41. bottom:90px;
  42. width:347px;
  43. height:90px;
  44. background-color:rgba(0, 0, 0, 0.4);
  45. border-right-style:solid;
  46. border-top-style:solid;
  47. border-width:3px;
  48. text-align:center;
  49. }
  50.  
  51. #box-shippingbox
  52. {
  53. overflow:hidden;
  54. width:697px;
  55. height:44px;
  56. left:0px;
  57. bottom:90px;
  58. background-color:rgba(125,125,125,0.4);
  59. border-left-style:solid;
  60. border-right-style:solid;
  61. border-bottom-style:solid;
  62. border-width:3px;
  63. text-align:center;
  64. }
  65.  
  66.  
  67. #box-upgradebox
  68. {
  69. left:705px;
  70. width:45%;
  71. height:100%;
  72. background-color:rgba(47,85,99);
  73. position:absolute;
  74. }
  75.  
  76.  
  77. Settings
  78. background: https://www.shutterstock.com/image-photo/gold-abstract-bokeh-background-524844553
  79.  
  80. Resources
  81. *cash
  82. name:Cash
  83. desc:Your current money.
  84. start with:100
  85. tag:firstbox
  86.  
  87. *phonesInSupply
  88. name:Phones In Supply
  89. tag:firstbox
  90. no tooltip
  91.  
  92. *currentCustomers
  93. name:Customers In Store
  94. tag:firstbox
  95. no tooltip
  96.  
  97. *maxCustomers
  98. name:jsshjd
  99. always hidden
  100.  
  101. *numberofjanitors
  102. always hidden
  103.  
  104. *shippingCapacity
  105. name:Capacity
  106. tag:shipping
  107. no tooltip
  108.  
  109. *researchtime
  110. always hidden
  111.  
  112. *store1cost
  113. start with:650
  114. always hidden
  115.  
  116. *store2cost
  117. start with:3400
  118. always hidden
  119.  
  120. *store3cost
  121. start with:27890
  122. always hidden
  123.  
  124. *janitorcost
  125. start with:150
  126. always hidden
  127.  
  128. Layout
  129.  
  130. *firstbox
  131. contains:tag:firstbox
  132. header:</b>Main</b>
  133.  
  134. *managebox
  135. contains:tag:manage
  136. header:</b>Manage</b>
  137.  
  138. *storesbox
  139. header:</b>Stores and Staff</b>
  140. contains:tag:storesbox
  141.  
  142. *shippingbox
  143. header:</b>Shipping Vehicles</b>
  144. contains:tag:shipping
  145.  
  146. *upgradebox
  147. header:</b>Store Improvements</b>
  148. contains:tag:upgrades
  149.  
  150. Buttons
  151. //MANAGE
  152. *closestore1
  153. name:Close Small Store
  154. on click:lose 1 store1
  155. on click:yield (store1cost/2)
  156. tag:manage
  157.  
  158. *closestore2
  159. name:Close Standard Store
  160. on click:lose 1 store2
  161. on click:yield (store2cost/2)
  162. tag:manage
  163.  
  164. *closestore3
  165. name:Close Large Store
  166. on click:lose 1 store3
  167. on click:yield (store3cost/2)
  168. tag:manage
  169.  
  170. *firejanitor
  171. name:Fire a Janitor
  172. on click:lose 1 janitor
  173. tag:manage
  174.  
  175. //STORES AND STAFF
  176. *store1buy
  177. name:Build a Small Store - [store1cost] Cash
  178. on click:lose researchtime
  179. on click:if (researchtime=5) yield 1 store2
  180. on click:
  181. if (researchtime<5) hide closestore1
  182. if (researchtime<5) hide tag:storesbox
  183. if (researchtime<5) hide tag:shipping
  184. if (researchtime<5) hide tag:upgrades
  185. end
  186. on click:lose store1cost
  187. on click:yield (store1cost+(store1cost/2.1)) store1cost
  188. tag:storesbox
  189.  
  190. *store2buy
  191. name:Build a Standard Store - [store2cost] Cash
  192. on click:lose researchtime
  193. on click:if (researchtime=5) yield 1 store2
  194. on click:
  195. if (researchtime<5) hide closestore2
  196. if (researchtime<5) hide tag:storesbox
  197. if (researchtime<5) hide tag:shipping
  198. if (researchtime<5) hide tag:upgrades
  199. end
  200. on click:lose store2cost
  201. on click:yield (store2cost+(store2cost/2.1))store2cost
  202. tag:storesbox
  203.  
  204. *store3buy
  205. name:Build a Large Store - [store3cost] cash
  206. on click:lose researchtime
  207. on click:if (researchtime=5) yield 1 store3
  208. on click:
  209. if (researchtime<5) hide closestore3
  210. if (researchtime<5) hide tag:storesbox
  211. if (researchtime<5) hide tag:shipping
  212. if (researchtime<5) hide tag:upgrades
  213. end
  214. on click:lose store1cost
  215. on click:yield (store3cost+(store3cost/2.1))store3cost
  216. tag:storesbox
  217.  
  218. *janitorhire
  219. name:Hire a Janitor - [janitorcost] cash
  220. no tooltip
  221. on click:lose researchtime
  222. on click:if (researchtime=5) yield 1 janitor
  223. on click:
  224. if (researchtime<5) hide firejanitor
  225. if (researchtime<5) hide tag:storesbox
  226. if (researchtime<5) hide tag:shipping
  227. if (researchtime<5) hide tag:upgrades
  228. end
  229. on click:lose janitorcost
  230. on click:yield (janitorcost+(janitorcost/2.1))janitorcost
  231. tag:storesbox
Add Comment
Please, Sign In to add comment