Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Let's make a game!
- name:Corona-Fighter
- by:Rabbitowner
- desc:This is my second game. Get medicine and money, and try to defeat the corona-virus!
- created:Juli 7th 2020
- updated:Juli 7th 2020
- version:Alpha 0.7
- Layout
- use default
- *achievs
- in:main
- contains:Achievements
- Settings
- background:https://cdn.mos.cms.futurecdn.net/um9jbFjmJTiHsXkcDWP4qD-1200-80.jpg
- building cost increase:125%
- CSS
- .thing
- {
- text-shadow:1px 1px 0 green;
- }
- CSS
- .thing-icon,.particle
- {
- width:100px;
- height:100px;
- }
- Buttons
- *MedicineCreator
- name:Medicine Creator
- //tooltip origin:bottom
- tooltip origin:left
- desc:Click to get Medicine!
- 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
- on click:if (time>30) yield 1 Medicine
- on click:$TimeLeft=30-time
- on click:if (time<30) toast You need to wait a bit ([$TimeLeft] seconds)
- 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!
- *CreatyMoney
- name:Print Money
- //tooltip origin:bottom
- tooltip origin:left
- desc:Click to print Money!
- 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
- on click:yield 1 Money
- Resources
- *Medicine
- name:Medicine
- desc:This is your Medicine to heal sick Persons!
- 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
- *time
- name:Time
- desc:it is hidden
- *Infection|Infections
- start with:2
- name:Infection|Infections
- desc:These are the current sick people. Every sick person carries 100 Viruses.
- 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
- *Death|Deaths
- name:Death|Deaths
- desc:This is how many have died
- *Money
- name:Money
- desc:With this, you can buy some Upgrades and Buildings.
- Buildings
- *CoronaStart
- name:Outbreak
- desc:Buy this to start. The amount determines the difficulty!
- 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
- on tick:yield 1 time
- on tick:if (Infections<100 and chance(50%)) yield random(Infections*0.2,Infections*0.4) Infections
- on tick:if (Infections>100 and Infections<1000000 and chance(30%)) yield random(Infections*0.05,Infections*0.2) Infections
- on tick:if (Infections>1000000 and chance(30%)) yield random(Infections*0.01,Infections*0.1) Infections
- *Apotheke|Apotheken
- name:Apotheke|Apotheken
- desc:Can get sick persons better sometimes, but uses Medicine.
- on tick:
- if (chance(100%) and Medicine>1)
- if (have BetterMedicine)
- lose random(10,50) Infections
- lose 4 Medicine
- else
- lose random(1,5) Infections
- lose 1 Medicine
- end
- end
- end
- cost:100 Medicine
- *Labaratory
- name:Labaratory
- desc:This lab produces 3 Medicine every second for you!
- on tick:yield 3 Medicine
- cost:100 Medicine
- *Mask|Masks
- name:Mask|Masks
- desc:Using Masks helps stop the infection rate
- cost:1 Medicine
- *HO|HOs
- name:Working in Home-Office
- desc:Working in Home-Office helps stop the infection rate
- icon:https://opengameart.org/sites/default/files/styles/medium/public/Theatre%20Chair1.png
- cost:1 Medicine
- *SC|SCs
- name:School Close
- desc:Closing a School helps stop the infection rate
- icon:https://opengameart.org/sites/default/files/schoolpreview.png
- cost:1 Medicine
- *Hospital|Hospitals
- name:Hospital|Hospitals
- desc:This one is very Complex
- icon:https://opengameart.org/sites/default/files/styles/medium/public/prevletto.jpg
- on tick:
- if (Medicine>=1 and Infections>=1)
- lose 1 Infection
- lose random(1,3) Medicine
- end
- end
- on tick:
- if (chance(3%))
- $deathsNow=random(Deaths:earned/100,Infections/1000)
- lose $deathsNow Infections
- yield $deathsNow Deaths
- end
- end
- on tick:if (chance(60%)) yield random(Medicine/1000,Medicine/100) Medicine
- cost:100000 Medicine
- Upgrades
- *BetterMedicine
- name:New Medicine
- 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!
- cost:1000 Medicine,100 Money
- *BetterClick
- name:Clinical Repository
- desc:You can now produce 10 times as much Medicine
- passive:multiply yield of Medicine by 10
- cost:100 Money,100 Medicine
Add Comment
Please, Sign In to add comment