diff --git a/code/datums/diseases/advance/symptoms/beesymptom.dm b/code/datums/diseases/advance/symptoms/beesymptom.dm index b56f2dc8..a5e530e9 100644 --- a/code/datums/diseases/advance/symptoms/beesymptom.dm +++ b/code/datums/diseases/advance/symptoms/beesymptom.dm @@ -2,7 +2,7 @@ name = "Bee Infestation" desc = "Causes the host to cough toxin bees and occasionally synthesize toxin." stealth = -2 - resistance = 2 + resistance = 14 stage_speed = 1 transmittable = 1 level = 9 @@ -11,14 +11,15 @@ symptom_delay_max = 20 var/honey = FALSE var/toxic_bees= FALSE - threshold_desc = "Resistance 14: Host synthesizes honey instead of toxins, bees now sting with honey instead of toxin.
\ - Transmission 10: Bees now contain a completely random toxin, unless resistance exceeds 14" - + threshold_desc = "Resistance 14: The bees become symbiotic with the host, synthesizing honey and no longer stinging the stomach lining, and no longer attacking the host.
\ + Transmission 10: Bees now contain a completely random toxin, unless resistance exceeds 14" + /datum/symptom/beesease/Start(datum/disease/advance/A) if(!..()) return if(A.properties["resistance"] >= 14) honey = TRUE + severity = 0 if(A.properties["transmittable"] >= 10) toxic_bees = TRUE @@ -38,18 +39,20 @@ to_chat(M, "You can't get the taste of honey out of your mouth!.") M.reagents.add_reagent(/datum/reagent/consumable/honey, 2) else - to_chat(M, "Your stomach stings painfully.") + to_chat(M, "Your stomach stings painfully.") M.adjustToxLoss(5) M.updatehealth() if(4, 5) + if(honey) + ADD_TRAIT(M, TRAIT_BEEFRIEND, DISEASE_TRAIT) if(prob(15)) to_chat(M, "Your stomach squirms.") - if(prob(15)) + if(prob(25)) if(honey) to_chat(M, "You can't get the taste of honey out of your mouth!.") - M.reagents.add_reagent_list(list(/datum/reagent/consumable/honey = 5, /datum/reagent/medicine/insulin = 15)) //honey rooooughly equivalent to 1.5u omnizine. due to how honey synthesizes 7.5 sugar per unit, the large amounts of insulin are necessary to prevent hyperglycaemic shock due to the bees + M.reagents.add_reagent_list(list(/datum/reagent/consumable/honey = 10, /datum/reagent/consumable/honey/special = 5, /datum/reagent/medicine/insulin = 5)) //insulin prevents hyperglycemic shock else - to_chat(M, "Your stomach stings painfully.") + to_chat(M, "Your stomach stings painfully.") M.adjustToxLoss(5) M.updatehealth() if(prob(10)) @@ -60,10 +63,12 @@ if(prob(10)) M.visible_message("[M] coughs up a bee!", \ "You cough up a bee!") - if(honey) - var/mob/living/simple_animal/hostile/poison/bees/B = new(M.loc) - B.assign_reagent(GLOB.chemical_reagents_list[/datum/reagent/consumable/honey]) - else if(toxic_bees) + if(toxic_bees) new /mob/living/simple_animal/hostile/poison/bees/toxin(M.loc) else new /mob/living/simple_animal/hostile/poison/bees(M.loc) + +/datum/symptom/beesease/End(datum/disease/advance/A) + if(!..()) + return + REMOVE_TRAIT(A.affected_mob, TRAIT_BEEFRIEND, DISEASE_TRAIT)