Files
Time-GreenandRoxy f5e1466305 Reverts projectile sneezing :( (#89292)
## About The Pull Request

Reverts #83361

## Why It's Good For The Game

I PR'd the original with the intent of making disease battling more
engaging by adding warnings and sneeze dodging, but this was rejected
and instead we got a very awkward middle ground where no one is happy
and the original PR didnt accomplish what it set out to accomplish. You
can't dodge the sneeze because it's a shotgun spread and invisible :/.
The sneeze catchers are even somewhat buggy and the sneeze warning leads
to extra chat clutter
2025-03-12 15:45:42 -04:00

40 lines
1.4 KiB
Plaintext

/datum/disease/fluspanish
name = "Spanish inquisition Flu"
max_stages = 3
spread_text = "Airborne"
cure_text = "Spaceacillin & Anti-bodies to the common flu"
cures = list(/datum/reagent/medicine/spaceacillin)
cure_chance = 5
agent = "1nqu1s1t10n flu virion"
viable_mobtypes = list(/mob/living/carbon/human)
spreading_modifier = 0.75
desc = "If left untreated the subject will burn to death for being a heretic."
severity = DISEASE_SEVERITY_DANGEROUS
required_organ = ORGAN_SLOT_LUNGS
/datum/disease/fluspanish/stage_act(seconds_per_tick, times_fired)
. = ..()
if(!.)
return
switch(stage)
if(2)
affected_mob.adjust_bodytemperature(5 * seconds_per_tick)
if(SPT_PROB(2.5, seconds_per_tick))
affected_mob.emote("sneeze")
if(SPT_PROB(2.5, seconds_per_tick))
affected_mob.emote("cough")
if(SPT_PROB(0.5, seconds_per_tick))
to_chat(affected_mob, span_danger("You're burning in your own skin!"))
affected_mob.take_bodypart_damage(0, 5, updating_health = FALSE)
if(3)
affected_mob.adjust_bodytemperature(10 * seconds_per_tick)
if(SPT_PROB(2.5, seconds_per_tick))
affected_mob.emote("sneeze")
if(SPT_PROB(2.5, seconds_per_tick))
affected_mob.emote("cough")
if(SPT_PROB(2.5, seconds_per_tick))
to_chat(affected_mob, span_danger("You're burning in your own skin!"))
affected_mob.take_bodypart_damage(0, 5, updating_health = FALSE)