mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Remove reagent ids and use typepaths where applicable * Remove reagent ids and use typepaths where applicable * Resolves some easier conflicts * Resolves medical_tools.dm * Resolves robots.dm * Handles cinnamon Wow, I cannot do this manually. Fuckin' regex time. * Removes 27 merge conflicts (!!!!!) * Makes it actually half-attempt to compile * I just -- I give up, it's over * mk * mk * mk * hm * ok * what a bloody chain reaction jesus * ok * and done * went threw and changed the ones I missed * ok * dangit altoids hurry the fek up * Fixes whatever I found find thru this regex: reagents[\s\w]*=[\s\w]*list\([^\/]+\)
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
/datum/disease/beesease
|
|
name = "Beesease"
|
|
form = "Infection"
|
|
max_stages = 4
|
|
spread_text = "On contact"
|
|
spread_flags = DISEASE_SPREAD_BLOOD | DISEASE_SPREAD_CONTACT_SKIN | DISEASE_SPREAD_CONTACT_FLUIDS
|
|
cure_text = "Sugar"
|
|
cures = list(/datum/reagent/consumable/sugar)
|
|
agent = "Apidae Infection"
|
|
viable_mobtypes = list(/mob/living/carbon/human, /mob/living/carbon/monkey)
|
|
desc = "If left untreated subject will regurgitate bees."
|
|
severity = DISEASE_SEVERITY_MEDIUM
|
|
infectable_biotypes = list(MOB_ORGANIC, MOB_UNDEAD) //bees nesting in corpses
|
|
|
|
/datum/disease/beesease/stage_act()
|
|
..()
|
|
switch(stage)
|
|
if(2) //also changes say, see say.dm
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='notice'>You taste honey in your mouth.</span>")
|
|
if(3)
|
|
if(prob(10))
|
|
to_chat(affected_mob, "<span class='notice'>Your stomach rumbles.</span>")
|
|
if(prob(2))
|
|
to_chat(affected_mob, "<span class='danger'>Your stomach stings painfully.</span>")
|
|
if(prob(20))
|
|
affected_mob.adjustToxLoss(2)
|
|
affected_mob.updatehealth()
|
|
if(4)
|
|
if(prob(10))
|
|
affected_mob.visible_message("<span class='danger'>[affected_mob] buzzes.</span>", \
|
|
"<span class='userdanger'>Your stomach buzzes violently!</span>")
|
|
if(prob(5))
|
|
to_chat(affected_mob, "<span class='danger'>You feel something moving in your throat.</span>")
|
|
if(prob(1))
|
|
affected_mob.visible_message("<span class='danger'>[affected_mob] coughs up a swarm of bees!</span>", \
|
|
"<span class='userdanger'>You cough up a swarm of bees!</span>")
|
|
new /mob/living/simple_animal/hostile/poison/bees(affected_mob.loc)
|
|
return |