Virology Fixes 6 (#16715)

* Fixes

* Fix

* BS Sneeze
This commit is contained in:
Guti
2024-12-16 14:46:05 +10:00
committed by GitHub
parent 6f14ca4510
commit bc06935aa0
24 changed files with 57 additions and 41 deletions
+8 -2
View File
@@ -73,12 +73,19 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease))
stage = min(stage + 1, max_stages)
if(!discovered && stage >= CEILING(max_stages * discovery_threshold, 1))
discovered = TRUE
BITSET(affected_mob.hud_updateflag, STATUS_HUD)
/datum/disease/proc/handle_cure_testing(has_cure = FALSE)
if(has_cure && prob(cure_chance))
stage = max(stage -1, 1)
for(var/organ in required_organs)
if(locate(organ) in affected_mob.internal_organs)
continue
if(locate(organ) in affected_mob.organs)
continue
cure()
return FALSE
if(disease_flags & CURABLE)
if(has_cure && prob(cure_chance))
cure()
@@ -165,7 +172,6 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease))
/datum/disease/proc/remove_virus()
affected_mob.viruses -= src
BITSET(affected_mob.hud_updateflag, STATUS_HUD)
/datum/disease/proc/Start()
return
@@ -16,7 +16,6 @@ Bonus
*/
/datum/symptom/confusion
name = "Confusion"
stealth = 1
resistance = -1
@@ -25,7 +24,6 @@ Bonus
level = 4
severity = 2
/datum/symptom/confusion/Activate(datum/disease/advance/A)
..()
if(prob(SYMPTOM_ACTIVATION_PROB))
@@ -10,8 +10,7 @@ Coughing
Low Level.
BONUS
Will force the affected mob to drop small items.
Small spread if not wearing a mask
Will force the affected mob to drop small items. Small spread if not wearing a mask.
//////////////////////////////////////
*/
@@ -22,6 +22,7 @@ Bonus
stage_speed = -4
transmittable = -2
level = 4
severity = 0
/datum/symptom/damage_converter/Activate(datum/disease/advance/A)
..()
@@ -15,7 +15,6 @@ Bonus
//////////////////////////////////////
*/
/// Not the egg
/datum/symptom/dizzy
name = "Dizziness"
stealth = 2
@@ -11,7 +11,6 @@ Flippinov
BONUS
Makes the host FLIP.
Should be used for buffing your disease.
//////////////////////////////////////
*/
@@ -23,7 +22,7 @@ BONUS
stage_speed = 3
transmittable = 1
level = 1
severity = 1
severity = 0
/datum/symptom/spyndrome/Activate(datum/disease/advance/A)
..()
@@ -1,5 +1,6 @@
/*
//////////////////////////////////////
Alopecia
Noticable.
@@ -10,8 +10,7 @@ Headache
Low Level.
BONUS
Displays an annoying message!
Should be used for buffing your disease.
Displays an annoying message.
//////////////////////////////////////
*/
@@ -22,6 +22,7 @@ Bonus
stage_speed = -4
transmittable = -4
level = 6
severity = 0
/datum/symptom/heal/Activate(datum/disease/advance/A)
..()
@@ -61,6 +62,7 @@ Bonus
stage_speed = -1
transmittable = -4
level = 3
severity = 0
var/list/cured_diseases = list()
/datum/symptom/heal/metabolism/Heal(mob/living/M, datum/disease/advance/A)
@@ -108,6 +110,7 @@ Bonus
stage_speed = 4
transmittable = 4
level = 3
severity = 0
var/longevity = 30
/datum/symptom/heal/longevity/Heal(mob/living/M, datum/disease/advance/A)
@@ -142,6 +145,7 @@ Bonus
stage_speed = 0
transmittable = -3
level = 5
severity = 0
/datum/symptom/heal/dna/Heal(var/mob/living/carbon/M, var/datum/disease/advance/A)
var/amt_healed = max(0, (sqrtor0(20+A.totalStageSpeed()*(3+rand())))-(sqrtor0(16+A.totalStealth()*rand())))
@@ -22,6 +22,7 @@ BONUS
resistance = -4
transmittable = 1
level = 4
severity = 1
/datum/symptom/hematophagy/Start(datum/disease/advance/A)
if(ishuman(A.affected_mob))
@@ -10,8 +10,7 @@ Itching
Low Level.
BONUS
Displays an annoying message!
Should be used for buffing your disease.
Displays an annoying message.
//////////////////////////////////////
*/
@@ -10,7 +10,7 @@ Lingual Disocation
Moderate Level.
Bonus
Forces the affected mob to vomit
Randomly changes the language of the mob.
//////////////////////////////////////
*/
@@ -22,6 +22,7 @@ Bonus
stage_speed = -2
transmittable = -1
level = 3
severity = 1
/datum/symptom/language/Activate(var/datum/disease/advance/A)
..()
@@ -11,7 +11,6 @@ Mlemingtong
BONUS
Mlem. Mlem. Mlem.
Should be used for buffing your disease.
//////////////////////////////////////
*/
@@ -22,6 +22,7 @@ Bonus
stage_speed = -3
transmittable = -4
level = 6
severity = 0
/datum/symptom/oxygen/Activate(var/datum/disease/advance/A)
..()
@@ -22,7 +22,7 @@ BONUS
stage_speed = 3
transmittable = 1
level = 1
severity = 1
severity = 0
/datum/symptom/pica/Start(datum/disease/advance/A)
add_verb(A.affected_mob, /mob/living/proc/eat_trash)
@@ -68,7 +68,7 @@ Bonus
stage_speed = 0
transmittable = 1
level = 4
severity = 1
severity = 3
/datum/symptom/sneeze/bluespace/Activate(datum/disease/advance/A)
..()
@@ -79,8 +79,9 @@ Bonus
M.emote("sniff")
else
SneezeTeleport(A, M)
A.spread(A.stage)
if(prob(30))
if(!M.wear_mask)
A.spread(A.stage)
if(prob(30) && !M.wear_mask)
var/obj/effect/decal/cleanable/mucus/icky = new(get_turf(M))
icky.viruses |= A.Copy()
@@ -11,7 +11,6 @@ Spyndrome
BONUS
Makes the host spin.
Should be used for buffing your disease.
//////////////////////////////////////
*/
@@ -23,7 +22,7 @@ BONUS
stage_speed = 3
transmittable = 1
level = 1
severity = 1
severity = 0
/datum/symptom/spyndrome/Activate(var/datum/disease/advance/A)
..()
@@ -1,7 +1,7 @@
/*
//////////////////////////////////////
Healing
Overactve Adrenal Gland
No change to stealth.
Slightly decreases resistance.
@@ -10,7 +10,7 @@ Healing
Moderate Level.
Bonus
Heals toxins in the affected mob's blood stream.
The host produces hyperzine and gets very jittery
//////////////////////////////////////
*/
@@ -22,6 +22,7 @@ Bonus
stage_speed = -3
transmittable = -4
level = 5
severity = 0
/datum/symptom/telepathy/Start(datum/disease/advance/A)
var/mob/living/carbon/human/H = A.affected_mob
@@ -20,6 +20,7 @@ BONUS
stage_speed = -3
transmittable = 0
level = 3
severity = 0
/datum/symptom/viraladaptation/Activate(datum/disease/advance/A)
..()
@@ -53,6 +54,7 @@ BONUS
stage_speed = 5
transmittable = 3
level = 3
severity = 0
/datum/symptom/viralevolution/Activate(datum/disease/advance/A)
..()
+5 -2
View File
@@ -18,7 +18,7 @@
var/list/obj/item/organ/organ_list = list()
var/obj/item/organ/O
/datum/disease/roanoake/Start
/datum/disease/roanoake/Start()
var/mob/living/carbon/human/M = affected_mob
organ_list += M.organs
@@ -35,6 +35,7 @@
if(prob(1))
to_chat(M, span_warning(pick("You feel hot.", "You feel like you're burning.")))
if(M.bodytemperature < BODYTEMP_HEAT_DAMAGE_LIMIT)
fever(M)
if(3)
if(prob(1))
to_chat(M, span_notice("You shiver a bit."))
@@ -77,8 +78,10 @@
O.take_damage(rand(1, 3))
if(prob(1) && prob(10))
O = pick(organ_list)
var/obj/item/organ/external/E = O.parent_organ
var/datum/wound/W = new /datum/wound/internal_bleeding(5)
O.wounds += W
E.wounds += W
if(M.stat == DEAD)
M.species = /datum/species/xenochimera