b9f5dbac6b
cl Qustinnus / Floyd / Ethereal sprites by Space, is that it? / Alerts and food sprites by MrDroppodBringer
add: Adds Ethereal; a race which lives off of electricity and shines bright. If they are healthy they shine a bright green light, and the more damaged they are, the less they shine and the greyer they become. Their punches do burn damage and they are weak to blunt attacks!
They dont need to eat normal food and dont have nutrition, Instead they gain charge by going into borg rechargers, eating ethereal food or doign specific interactions.
refactor: all nutrition changes now go through a proc so we can override behavior
/cl
Adds Ethereal. A race which is essentialy inspired by Zoltan but then with different mechanics to make it fit with SS13 more. I'm trying to stay away from making them actually provide power but the change from nutrition to electricity seemed kind of fun.
They have the following specifications:
They are walking lights; and shine bright and green if healthy, and get greyer and darker the more damaged they are. When dead they are just a grey unlit corpse.
They do burn punch damage instead of blunt.
They are weaker to blunt; especially when low on charge
They have charge instead of nutrition. Charge is gained by some interactions or by going into a borg charger. or eating new ethereal food.
They are slightly stronger to shock damage, and gain charge from it a bit; however, it is still deadly to them and thus they aren't free insulated gloves.
61 lines
2.9 KiB
Plaintext
61 lines
2.9 KiB
Plaintext
/datum/disease/tuberculosis
|
|
form = "Disease"
|
|
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 transmissible 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/lungs)
|
|
severity = DISEASE_SEVERITY_BIOHAZARD
|
|
bypasses_immunity = TRUE // TB primarily impacts the lungs; it's also bacterial or fungal in nature; viral immunity should do nothing.
|
|
|
|
/datum/disease/tuberculosis/stage_act() //it begins
|
|
..()
|
|
switch(stage)
|
|
if(2)
|
|
if(prob(2))
|
|
affected_mob.emote("cough")
|
|
to_chat(affected_mob, "<span class='danger'>Your chest hurts.</span>")
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='danger'>Your stomach violently rumbles!</span>")
|
|
if(prob(5))
|
|
to_chat(affected_mob, "<span class='danger'>You feel a cold sweat form.</span>")
|
|
if(4)
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='userdanger'>You see four of everything</span>")
|
|
affected_mob.Dizzy(5)
|
|
if(prob(2))
|
|
to_chat(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))
|
|
to_chat(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))
|
|
to_chat(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(100)
|
|
if(prob(2))
|
|
to_chat(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))
|
|
to_chat(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.adjust_nutrition(-100)
|
|
if(prob(15))
|
|
to_chat(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.adjust_bodytemperature(40)
|
|
return
|
|
|