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)
+2 -2
View File
@@ -658,10 +658,10 @@ Note that amputating the affected organ does in fact remove the infection from t
if (owner.germ_level > W.germ_level && W.infection_check())
W.germ_level++
if (antibiotics < 5)
if(antibiotics < 5)
for(var/datum/wound/W in wounds)
//Infected wounds raise the organ's germ level
if (W.germ_level > germ_level)
if (W.germ_level > germ_level && W.infection_check())
germ_level++
break //limit increase to a maximum of one per second