mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 10:23:15 +00:00
Conflicts: code/ATMOSPHERICS/components/unary_devices/cryo.dm code/_onclick/hud/alert.dm code/_onclick/hud/hud.dm code/datums/mutations.dm code/datums/wires/robot.dm code/game/atoms.dm code/game/gamemodes/blob/overmind.dm code/game/machinery/alarm.dm code/game/machinery/machinery.dm code/game/machinery/suit_storage_unit.dm code/game/objects/items/weapons/tanks/tanks.dm code/game/objects/items/weapons/tools.dm code/game/objects/structures/morgue.dm code/modules/admin/verbs/adminjump.dm code/modules/atmospherics/machinery/atmosmachinery.dm code/modules/mob/inventory.dm code/modules/mob/living/carbon/alien/humanoid/death.dm code/modules/mob/living/carbon/alien/larva/death.dm code/modules/mob/living/carbon/brain/death.dm code/modules/mob/living/carbon/carbon.dm code/modules/mob/living/carbon/human/death.dm code/modules/mob/living/carbon/human/human.dm code/modules/mob/living/carbon/human/human_damage.dm code/modules/mob/living/carbon/human/life.dm code/modules/mob/living/carbon/human/species.dm code/modules/mob/living/carbon/human/species_types.dm code/modules/mob/living/carbon/life.dm code/modules/mob/living/carbon/monkey/death.dm code/modules/mob/living/life.dm code/modules/mob/living/living.dm code/modules/mob/living/silicon/ai/ai.dm code/modules/mob/living/silicon/ai/death.dm code/modules/mob/living/silicon/ai/life.dm code/modules/mob/living/silicon/pai/death.dm code/modules/mob/living/silicon/pai/pai.dm code/modules/mob/living/silicon/robot/death.dm code/modules/mob/living/silicon/robot/life.dm code/modules/mob/living/silicon/robot/robot.dm code/modules/mob/living/silicon/silicon.dm code/modules/mob/living/simple_animal/guardian/guardian.dm code/modules/mob/login.dm code/modules/mob/mob.dm code/modules/projectiles/gun.dm code/modules/reagents/chemistry/reagents/blob_reagents.dm tgstation.dme
59 lines
2.7 KiB
Plaintext
59 lines
2.7 KiB
Plaintext
/datum/disease/tuberculosis
|
|
name = "Fungal tuberculosis"
|
|
max_stages = 5
|
|
spread_text = "Airborne"
|
|
cure_text = "Spaceacillin & salbutamol"
|
|
cures = list("spaceacillin", "salbutamol")
|
|
agent = "Fungal Tubercle bacillus Cosmosis"
|
|
viable_mobtypes = list(/mob/living/carbon/human)
|
|
cure_chance = 5//like hell are you getting out of hell
|
|
desc = "A rare highly transmittable virulent virus. Few samples exist, rumoured to be carefully grown and cultured by clandestine bio-weapon specialists. Causes fever, blood vomiting, lung damage, weight loss, and fatigue."
|
|
required_organs = list(/obj/item/organ/limb/head)
|
|
severity = DANGEROUS
|
|
|
|
/datum/disease/tuberculosis/stage_act() //it begins
|
|
..()
|
|
switch(stage)
|
|
if(2)
|
|
if(prob(2))
|
|
affected_mob.emote("cough")
|
|
affected_mob << "<span class='danger'>Your chest hurts.</span>"
|
|
if(prob(2))
|
|
affected_mob << "<span class='danger'>Your stomach violently rumbles!</span>"
|
|
if(prob(5))
|
|
affected_mob << "<span class='danger'>You feel a cold sweat form.</span>"
|
|
if(4)
|
|
if(prob(2))
|
|
affected_mob << "<span class='userdanger'>You see four of everything</span>"
|
|
affected_mob.Dizzy(5)
|
|
if(prob(2))
|
|
affected_mob << "<span class='danger'>You feel a sharp pain from your lower chest!</span>"
|
|
affected_mob.adjustOxyLoss(5)
|
|
affected_mob.emote("gasp")
|
|
if(prob(10))
|
|
affected_mob << "<span class='danger'>You feel air escape from your lungs painfully.</span>"
|
|
affected_mob.adjustOxyLoss(25)
|
|
affected_mob.emote("gasp")
|
|
if(5)
|
|
if(prob(2))
|
|
affected_mob << "<span class='userdanger'>[pick("You feel your heart slowing...", "You relax and slow your heartbeat.")]</span>"
|
|
affected_mob.adjustStaminaLoss(70)
|
|
if(prob(10))
|
|
affected_mob.adjustStaminaLoss(100)
|
|
affected_mob.visible_message("<span class='warning'>[affected_mob] faints!</span>", "<span class='userdanger'>You surrender yourself and feel at peace...</span>")
|
|
affected_mob.AdjustSleeping(5)
|
|
if(prob(2))
|
|
affected_mob << "<span class='userdanger'>You feel your mind relax and your thoughts drift!</span>"
|
|
affected_mob.confused = min(100, affected_mob.confused + 8)
|
|
if(prob(10))
|
|
affected_mob.vomit(20)
|
|
if(prob(3))
|
|
affected_mob << "<span class='warning'><i>[pick("Your stomach silently rumbles...", "Your stomach seizes up and falls limp, muscles dead and lifeless.", "You could eat a crayon")]</i></span>"
|
|
affected_mob.overeatduration = max(affected_mob.overeatduration - 100, 0)
|
|
affected_mob.nutrition = max(affected_mob.nutrition - 100, 0)
|
|
if(prob(15))
|
|
affected_mob << "<span class='danger'>[pick("You feel uncomfortably hot...", "You feel like unzipping your jumpsuit", "You feel like taking off some clothes...")]</span>"
|
|
affected_mob.bodytemperature += 40
|
|
return
|
|
|