Rabbitowner

Corona-Clicker

Apr 30th, 2020
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. Let's make a game!
  2. name:Corona-Fighter
  3. by:Rabbitowner
  4. desc:This is my second game. Get medicine and money, and try to defeat the corona-virus!
  5. created:Juli 7th 2020
  6. updated:Juli 7th 2020
  7. version:Alpha 0.7
  8. Layout
  9. use default
  10. *achievs
  11. in:main
  12. contains:Achievements
  13. Settings
  14. background:https://cdn.mos.cms.futurecdn.net/um9jbFjmJTiHsXkcDWP4qD-1200-80.jpg
  15. building cost increase:125%
  16.  
  17. CSS
  18. .thing
  19. {
  20. text-shadow:1px 1px 0 green;
  21. }
  22. CSS
  23. .thing-icon,.particle
  24. {
  25. width:100px;
  26. height:100px;
  27. }
  28.  
  29.  
  30.  
  31. Buttons
  32. *MedicineCreator
  33. name:Medicine Creator
  34. //tooltip origin:bottom
  35. tooltip origin:left
  36. desc:Click to get Medicine!
  37. icon:https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fcdn3.vox-cdn.com%2Fthumbor%2FavU8X-WwQoTofh6kkvxjVOky67E%3D%2F0x19%3A640x446%2F1280x854%2Fcdn0.vox-cdn.com%2Fassets%2F1514603%2Fadheretech_bottle_640.png&f=1&nofb=1
  38. on click:if (time>30) yield 1 Medicine
  39. on click:$TimeLeft=30-time
  40. on click:if (time<30) toast You need to wait a bit ([$TimeLeft] seconds)
  41. on tick:if (time=30) toast The game has started! Tip:Start of by getting good supplies of money and medicine before starting to fight the virus. But watch out that you don't spend to much time, or you will lose!
  42. *CreatyMoney
  43. name:Print Money
  44. //tooltip origin:bottom
  45. tooltip origin:left
  46. desc:Click to print Money!
  47. icon:https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fcdn3.vox-cdn.com%2Fthumbor%2FavU8X-WwQoTofh6kkvxjVOky67E%3D%2F0x19%3A640x446%2F1280x854%2Fcdn0.vox-cdn.com%2Fassets%2F1514603%2Fadheretech_bottle_640.png&f=1&nofb=1
  48. on click:yield 1 Money
  49.  
  50. Resources
  51. *Medicine
  52. name:Medicine
  53. desc:This is your Medicine to heal sick Persons!
  54. icon:https://external-content.duckduckgo.com/iu/?u=http%3A%2F%2Fi.huffpost.com%2Fgen%2F1078004%2Fthumbs%2Fo-AIDS-PILL-SOUTH-AFRICA-facebook.jpg&f=1&nofb=1
  55. *time
  56. name:Time
  57. desc:it is hidden
  58. *Infection|Infections
  59. start with:2
  60.  
  61. name:Infection|Infections
  62. desc:These are the current sick people. Every sick person carries 100 Viruses.
  63. icon:https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fimg1.cookinglight.timeinc.net%2Fsites%2Fdefault%2Ffiles%2Fstyles%2F4_3_horizontal_-_1200x900%2Fpublic%2Fimage%2F2016%2F10%2Fmain%2F1610w-getty-man-sick-flu.jpg%3Fitok%3DgY4kVrzr&f=1&nofb=1
  64. *Death|Deaths
  65. name:Death|Deaths
  66. desc:This is how many have died
  67. *Money
  68. name:Money
  69. desc:With this, you can buy some Upgrades and Buildings.
  70.  
  71. Buildings
  72. *CoronaStart
  73. name:Outbreak
  74. desc:Buy this to start. The amount determines the difficulty!
  75. icon:https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse4.mm.bing.net%2Fth%3Fid%3DOIP.3cwl5OI9IgTFZdVCNB3eVwHaE8%26pid%3DApi%26h%3D360%26p%3D0&f=1
  76.  
  77. on tick:yield 1 time
  78. on tick:if (Infections<100 and chance(50%)) yield random(Infections*0.2,Infections*0.4) Infections
  79. on tick:if (Infections>100 and Infections<1000000 and chance(30%)) yield random(Infections*0.05,Infections*0.2) Infections
  80. on tick:if (Infections>1000000 and chance(30%)) yield random(Infections*0.01,Infections*0.1) Infections
  81.  
  82.  
  83.  
  84.  
  85.  
  86. *Apotheke|Apotheken
  87.  
  88. name:Apotheke|Apotheken
  89. desc:Can get sick persons better sometimes, but uses Medicine.
  90. on tick:
  91. if (chance(100%) and Medicine>1)
  92. if (have BetterMedicine)
  93. lose random(10,50) Infections
  94. lose 4 Medicine
  95. else
  96. lose random(1,5) Infections
  97. lose 1 Medicine
  98. end
  99. end
  100. end
  101. cost:100 Medicine
  102. *Labaratory
  103. name:Labaratory
  104. desc:This lab produces 3 Medicine every second for you!
  105. on tick:yield 3 Medicine
  106. cost:100 Medicine
  107. *Mask|Masks
  108. name:Mask|Masks
  109. desc:Using Masks helps stop the infection rate
  110. cost:1 Medicine
  111. *HO|HOs
  112. name:Working in Home-Office
  113. desc:Working in Home-Office helps stop the infection rate
  114. icon:https://opengameart.org/sites/default/files/styles/medium/public/Theatre%20Chair1.png
  115. cost:1 Medicine
  116. *SC|SCs
  117. name:School Close
  118. desc:Closing a School helps stop the infection rate
  119. icon:https://opengameart.org/sites/default/files/schoolpreview.png
  120. cost:1 Medicine
  121. *Hospital|Hospitals
  122. name:Hospital|Hospitals
  123. desc:This one is very Complex
  124. icon:https://opengameart.org/sites/default/files/styles/medium/public/prevletto.jpg
  125.  
  126. on tick:
  127. if (Medicine>=1 and Infections>=1)
  128. lose 1 Infection
  129. lose random(1,3) Medicine
  130. end
  131. end
  132. on tick:
  133. if (chance(3%))
  134. $deathsNow=random(Deaths:earned/100,Infections/1000)
  135. lose $deathsNow Infections
  136. yield $deathsNow Deaths
  137. end
  138. end
  139. on tick:if (chance(60%)) yield random(Medicine/1000,Medicine/100) Medicine
  140. cost:100000 Medicine
  141. Upgrades
  142. *BetterMedicine
  143. name:New Medicine
  144. desc:Scientists have gotten another Medicine, that seems to work much better than the first one. It isn't a cure, but it helps. Multiply the efficiency of the Apotheke by 10!
  145. cost:1000 Medicine,100 Money
  146. *BetterClick
  147. name:Clinical Repository
  148. desc:You can now produce 10 times as much Medicine
  149. passive:multiply yield of Medicine by 10
  150. cost:100 Money,100 Medicine
Add Comment
Please, Sign In to add comment