mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 08:34:16 +01:00
Required spaceacillin levels no longer scale
The amount of spaceacillin required to stop infections is now a flat 5 units, instead of scaling with germ_level.
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
//Germs
|
||||
/datum/organ/proc/get_cure_threshold()
|
||||
//before reaching level three, the amount of spaceacillin required to cure infections scales between 5 and 30 units
|
||||
var/germ_scale = max((germ_level - INFECTION_LEVEL_ONE)/(INFECTION_LEVEL_THREE - INFECTION_LEVEL_ONE), 0)
|
||||
return min(5 + germ_scale*25, 30)
|
||||
//var/germ_scale = max((germ_level - INFECTION_LEVEL_ONE)/(INFECTION_LEVEL_THREE - INFECTION_LEVEL_ONE), 0)
|
||||
//return min(5 + germ_scale*25, 30)
|
||||
return 5 //Based on Hubble's suggestion
|
||||
|
||||
/datum/organ/proc/handle_antibiotics()
|
||||
var/antibiotics = owner.reagents.get_reagent_amount("spaceacillin")
|
||||
|
||||
@@ -401,7 +401,7 @@ Note that amputating the affected organ does in fact remove the infection from t
|
||||
if (prob(3)) //adjust this to tweak how fast people take toxin damage from infections
|
||||
owner.adjustToxLoss(1)
|
||||
|
||||
if(germ_level >= INFECTION_LEVEL_TWO && antibiotics < cure_threshold - 5) //should start at around 8 units of spaceacillin
|
||||
if(germ_level >= INFECTION_LEVEL_TWO && antibiotics < cure_threshold)
|
||||
//spread the infection
|
||||
for (var/datum/organ/internal/I in internal_organs)
|
||||
if (I.germ_level < germ_level)
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
if (germ_level >= INFECTION_LEVEL_TWO)
|
||||
var/datum/organ/external/parent = owner.get_organ(parent_organ)
|
||||
//spread germs
|
||||
if (antibiotics < get_cure_threshold() - 5 && parent.germ_level < germ_level && ( parent.germ_level < INFECTION_LEVEL_ONE*2 || prob(30) ))
|
||||
if (antibiotics < get_cure_threshold() && parent.germ_level < germ_level && ( parent.germ_level < INFECTION_LEVEL_ONE*2 || prob(30) ))
|
||||
parent.germ_level++
|
||||
|
||||
if (prob(3)) //about once every 30 seconds
|
||||
|
||||
Reference in New Issue
Block a user