Yet More Infection Tweaks (#11804)

This commit is contained in:
Doxxmedearly
2021-05-04 23:00:39 -03:00
committed by GitHub
parent e6b27eedb3
commit 9fab9f838d
5 changed files with 41 additions and 5 deletions
+3 -3
View File
@@ -230,12 +230,12 @@
if (CE_ANTIBIOTIC in owner.chem_effects)
antibiotics = owner.chem_effects[CE_ANTIBIOTIC]
if (germ_level > 0 && germ_level < INFECTION_LEVEL_ONE/2 && prob(30))
if (germ_level > 0 && germ_level < INFECTION_LEVEL_ONE/2 && prob(35))
germ_level--
if (germ_level >= INFECTION_LEVEL_ONE/2)
//aiming for germ level to go from ambient to INFECTION_LEVEL_TWO in an average of 15 minutes
if(antibiotics < 5 && prob(round(germ_level/6)))
//aiming for germ level to go from ambient to INFECTION_LEVEL_TWO in an average of 17 minutes
if(antibiotics < 5 && prob(round(germ_level/7)))
germ_level++
if (germ_level >= INFECTION_LEVEL_TWO)