mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
+37






![tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>](/assets/img/avatar_default.png)


Alexis
GitHub
tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
ArcaneMusic
MrMelbert
Rhials
rageguy505
LemonInTheDark
John Willard
Aliceee2ch
Time-Green
Tsar-Salat
SmArtKar
Maxipat
SyncIt21
deltanedas
SimplyLogan
loganuk
Leland Kemble
FalloutFalcon
Roxy
Lucy
siliconOpossum
Isratosh
TheRyeGuyWhoWillNowDie
Neocloudy
Alexander V.
ElGitificador
Twaticus
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bloop
Cameron Lennox
Tim
Iamgoofball
Layzu666
Arturlang
_0Steven
mrmanlikesbt
Ben10Omintrix
John F. Kennedy
Cursor
Josh
Josh Powell
Yobrocharlie
Hardly3D
shayoki
LT3
21b4095dfd
Upstream 04/17/2026 fixes https://github.com/Bubberstation/Bubberstation/issues/5549 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com> Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com> Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com> Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com> Co-authored-by: loganuk <fakeemail123@aol.com> Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com> Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com> Co-authored-by: Isratosh <Isratosh@hotmail.com> Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com> Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com> Co-authored-by: Alexander V. <volas@ya.ru> Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com> Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Iamgoofball <iamgoofball@gmail.com> Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com> Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com> Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com> Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com> Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com> Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com> Co-authored-by: Josh <josh.adam.powell@gmail.com> Co-authored-by: Josh Powell <josh.powell@softwire.com> Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com> Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com> Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com> Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
109 lines
5.0 KiB
Plaintext
109 lines
5.0 KiB
Plaintext
/datum/disease/chronic_illness
|
|
name = "Hereditary Manifold Sickness"
|
|
max_stages = 5
|
|
spread_text = "None"
|
|
spread_flags = DISEASE_SPREAD_NON_CONTAGIOUS
|
|
disease_flags = CHRONIC
|
|
infectable_biotypes = MOB_ORGANIC | MOB_MINERAL | MOB_ROBOTIC
|
|
process_dead = TRUE
|
|
stage_prob = 0.25
|
|
cure_text = "Abated by " + /datum/reagent/medicine/sansufentanyl::name
|
|
cures = list(/datum/reagent/medicine/sansufentanyl)
|
|
infectivity = 0
|
|
agent = "Quantum Entanglement"
|
|
viable_mobtypes = list(/mob/living/carbon/human)
|
|
desc = "A disease discovered in an Interdyne laboratory caused by subjection to timestream correction technology. \
|
|
It is completely uncurable - though it can be treated to reverse its progression - and non-contagious. \
|
|
If left untreated the subject will suffer from a variety of symptoms, \
|
|
including but not limited to dizziness, nausea, heart palpitations, and in the final stages, death."
|
|
bypasses_immunity = TRUE // BUBBER EDIT ADD
|
|
severity = DISEASE_SEVERITY_UNCURABLE
|
|
bypasses_immunity = TRUE
|
|
var/being_stealthy = TRUE // BUBBER EDIT ADD
|
|
|
|
/datum/disease/chronic_illness/stage_act(seconds_per_tick)
|
|
. = ..()
|
|
if(!.)
|
|
return
|
|
|
|
switch(stage)
|
|
if(1)
|
|
carrier = FALSE // Go fuck yourself
|
|
being_stealthy = TRUE // BUBBER EDIT ADD
|
|
if(2)
|
|
if(SPT_PROB(0.5, seconds_per_tick))
|
|
to_chat(affected_mob, span_warning("You feel dizzy."))
|
|
affected_mob.adjust_confusion(6 SECONDS)
|
|
being_stealthy = FALSE // BUBBER EDIT ADD
|
|
if(SPT_PROB(0.5, seconds_per_tick))
|
|
to_chat(affected_mob, span_notice("You look at your hand. Your vision blurs."))
|
|
affected_mob.set_eye_blur_if_lower(10 SECONDS)
|
|
being_stealthy = FALSE // BUBBER EDIT ADD
|
|
if(3)
|
|
var/need_mob_update = FALSE
|
|
if(SPT_PROB(0.5, seconds_per_tick))
|
|
to_chat(affected_mob, span_danger("You feel a very sharp pain in your chest!"))
|
|
being_stealthy = FALSE // BUBBER EDIT ADD
|
|
if(prob(45))
|
|
affected_mob.vomit(VOMIT_CATEGORY_BLOOD, lost_nutrition = 20)
|
|
if(SPT_PROB(0.5, seconds_per_tick))
|
|
to_chat(affected_mob, span_userdanger("[pick("You feel your heart slowing...", "You relax and slow your heartbeat.")]"))
|
|
need_mob_update += affected_mob.adjust_stamina_loss(70, updating_stamina = FALSE)
|
|
being_stealthy = FALSE // BUBBER EDIT ADD
|
|
if(SPT_PROB(1, seconds_per_tick))
|
|
to_chat(affected_mob, span_danger("You feel a buzzing in your brain."))
|
|
SEND_SOUND(affected_mob, sound('sound/items/weapons/flash_ring.ogg'))
|
|
being_stealthy = FALSE // BUBBER EDIT ADD
|
|
if(SPT_PROB(0.5, seconds_per_tick))
|
|
need_mob_update += affected_mob.adjust_brute_loss(1, updating_health = FALSE)
|
|
if(need_mob_update)
|
|
affected_mob.updatehealth()
|
|
if(4)
|
|
var/need_mob_update = FALSE
|
|
if(prob(30))
|
|
affected_mob.playsound_local(affected_mob, 'sound/effects/singlebeat.ogg', 100, FALSE, use_reverb = FALSE)
|
|
if(SPT_PROB(1, seconds_per_tick))
|
|
to_chat(affected_mob, span_danger("You feel a gruesome pain in your chest!"))
|
|
if(prob(75))
|
|
affected_mob.vomit(VOMIT_CATEGORY_BLOOD, lost_nutrition = 45)
|
|
if(SPT_PROB(1, seconds_per_tick))
|
|
need_mob_update += affected_mob.adjust_stamina_loss(100, updating_stamina = FALSE)
|
|
affected_mob.visible_message(span_warning("[affected_mob] collapses!"))
|
|
if(prob(30))
|
|
to_chat(affected_mob, span_danger("Your vision blurs as you faint!"))
|
|
affected_mob.AdjustSleeping(1 SECONDS)
|
|
if(SPT_PROB(0.5, seconds_per_tick))
|
|
to_chat(affected_mob, span_danger("[pick("You feel as though your atoms are accelerating in place.", "You feel like you're being torn apart!")]"))
|
|
affected_mob.emote("scream")
|
|
need_mob_update += affected_mob.adjust_brute_loss(10, updating_health = FALSE)
|
|
if(need_mob_update)
|
|
affected_mob.updatehealth()
|
|
if(5)
|
|
switch(rand(1,2))
|
|
if(1)
|
|
to_chat(affected_mob, span_notice("You feel your atoms begin to realign. You're safe. For now."))
|
|
update_stage(1)
|
|
if(2)
|
|
to_chat(affected_mob, span_boldwarning("There is no place for you in this timeline."))
|
|
affected_mob.adjust_stamina_loss(100, forced = TRUE)
|
|
playsound(affected_mob.loc, 'sound/effects/magic/repulse.ogg', 100, FALSE)
|
|
affected_mob.emote("scream")
|
|
for(var/mob/living/viewers in viewers(3, affected_mob.loc))
|
|
viewers.flash_act()
|
|
new /obj/effect/decal/cleanable/plasma(affected_mob.loc)
|
|
new /obj/effect/decal/cleanable/ash(affected_mob.loc)
|
|
affected_mob.visible_message(span_warning("[affected_mob] is erased from the timeline!"), span_userdanger("You are ripped from the timeline!"))
|
|
affected_mob.investigate_log("has been dusted / deleted by [name].", INVESTIGATE_DEATHS)
|
|
affected_mob.ghostize(can_reenter_corpse = FALSE)
|
|
qdel(affected_mob)
|
|
|
|
//BUBBER EDIT BEGIN - Costly warning if it sneaks through to stage four.
|
|
/datum/disease/chronic_illness/update_stage(new_stage)
|
|
. = ..()
|
|
if(new_stage == 4 && being_stealthy)
|
|
to_chat(affected_mob, span_danger("[pick("You feel as though your atoms are accelerating in place.", "You feel like you're being torn apart!")]"))
|
|
affected_mob.emote("scream")
|
|
affected_mob.adjust_brute_loss(10)
|
|
being_stealthy = FALSE
|
|
// BUBBER EDIT END
|