OPToxicGas class in OPToxic namespace currently uses StatDefOf.ToxicResistance to determine hediff.Severity multiplier. In 1.4 ToxicEnvironmentResistance StatDef was introduced for toxic gases and other toxic environmental damage. Seems more suitable to use that def instead.
ToxicResistance is related only to toxic fallout and seems obsolete for this use case.
In method DoOPToxicGas the severity multiplier could be calculated like this:
OPToxicGas class in OPToxic namespace currently uses StatDefOf.ToxicResistance to determine hediff.Severity multiplier. In 1.4 ToxicEnvironmentResistance StatDef was introduced for toxic gases and other toxic environmental damage. Seems more suitable to use that def instead.
ToxicResistance is related only to toxic fallout and seems obsolete for this use case.
In method DoOPToxicGas the severity multiplier could be calculated like this:
Instead of: