diff --git a/code/modules/virus2/disease2.dm b/code/modules/virus2/disease2.dm index e446802055..fbe5123b2e 100644 --- a/code/modules/virus2/disease2.dm +++ b/code/modules/virus2/disease2.dm @@ -37,7 +37,7 @@ antigen = list(pick(ALL_ANTIGENS)) antigen |= pick(ALL_ANTIGENS) spreadtype = prob(70) ? "Airborne" : "Contact" - resistance = rand(10,80) + resistance = rand(15,70) if(all_species.len) affected_species = get_infectable_species() @@ -86,7 +86,12 @@ if(stage == 1 && prob(70-resistance)) src.cure(mob) else - resistance += rand(1,10) + resistance += rand(1,9) + + //Resistance is capped at 90 without being manually set to 100 + if(resistance > 90 && resistance < 100) + resistance = 90 + //Virus food speeds up disease progress if(mob.reagents.has_reagent("virusfood")) @@ -146,7 +151,9 @@ if (prob(5) && all_species.len) affected_species = get_infectable_species() if (prob(10)) - resistance += rand(1,10) + resistance += rand(1,9) + if(resistance > 90 && resistance < 100) + resistance = 90 /datum/disease2/disease/proc/getcopy() var/datum/disease2/disease/disease = new /datum/disease2/disease diff --git a/code/modules/virus2/helpers.dm b/code/modules/virus2/helpers.dm index 3c509c32c1..d10fdbfb68 100644 --- a/code/modules/virus2/helpers.dm +++ b/code/modules/virus2/helpers.dm @@ -85,7 +85,7 @@ proc/airborne_can_reach(turf/source, turf/target) if(prob(disease.resistance)) var/datum/disease2/disease/D = disease.getcopy() D.minormutate() - D.resistance += rand(1,10) + D.resistance += rand(1,9) // log_debug("Adding virus") M.virus2["[D.uniqueID]"] = D BITSET(M.hud_updateflag, STATUS_HUD) diff --git a/html/changelogs/Cerebulon - VirologyTweaks.yml b/html/changelogs/Cerebulon - VirologyTweaks.yml new file mode 100644 index 0000000000..7146324461 --- /dev/null +++ b/html/changelogs/Cerebulon - VirologyTweaks.yml @@ -0,0 +1,14 @@ + +author: Cerebulon + +delete-after: True + +changes: + - rscadd: "Adds antibiotic resistance chance to viruses, capped at 90% without admin edits." + - rscadd: "Adds adminspawned non-transmittable viruses" + - rscadd: "Adds several new disease symptoms" + - tweak: "Vomit is now a disease vector" + - tweak: "Viruses have a lower chance of curing themselves without medical intervention" + - bugfix: "Virus food no longer infinitely generates in incubator beakers" + - bugfix: "Xenomorphs and supernatural begins can no longer catch the flu" +