* Revert "im a dumbass and didn't see the .rej files Revert "[MIRROR] Disease Refactor" (#2025)"
This reverts commit 44742cb115.
* Delete shuttle_loan.dm.rej
* Delete life.dm.rej
* Update life.dm
* Delete life.dm.rej
* compile
50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
/obj/effect/proc_holder/changeling/panacea
|
|
name = "Anatomic Panacea"
|
|
desc = "Expels impurifications from our form; curing diseases, removing parasites, sobering us, purging toxins and radiation, and resetting our genetic code completely."
|
|
helptext = "Can be used while unconscious."
|
|
chemical_cost = 20
|
|
dna_cost = 1
|
|
req_stat = UNCONSCIOUS
|
|
|
|
//Heals the things that the other regenerative abilities don't.
|
|
/obj/effect/proc_holder/changeling/panacea/sting_action(mob/user)
|
|
to_chat(user, "<span class='notice'>We cleanse impurities from our form.</span>")
|
|
|
|
|
|
var/mob/living/simple_animal/borer/B = user.has_brain_worms()
|
|
if(B)
|
|
if(B.controlling)
|
|
B.detatch()
|
|
B.leave_victim()
|
|
if(iscarbon(user))
|
|
var/mob/living/carbon/C = user
|
|
C.vomit(0, toxic = TRUE)
|
|
to_chat(user, "<span class='notice'>A parasite exits our form.</span>")
|
|
|
|
var/list/bad_organs = list(
|
|
user.getorgan(/obj/item/organ/body_egg),
|
|
user.getorgan(/obj/item/organ/zombie_infection))
|
|
|
|
for(var/o in bad_organs)
|
|
var/obj/item/organ/O = o
|
|
if(!istype(O))
|
|
continue
|
|
|
|
O.Remove(user)
|
|
if(iscarbon(user))
|
|
var/mob/living/carbon/C = user
|
|
C.vomit(0, toxic = TRUE)
|
|
O.forceMove(get_turf(user))
|
|
|
|
user.reagents.add_reagent("mutadone", 10)
|
|
user.reagents.add_reagent("pen_acid", 20)
|
|
user.reagents.add_reagent("antihol", 10)
|
|
user.reagents.add_reagent("mannitol", 25)
|
|
|
|
for(var/thing in user.viruses)
|
|
var/datum/disease/D = thing
|
|
if(D.severity == NONTHREAT)
|
|
continue
|
|
D.cure()
|
|
return TRUE
|