TG wing port - Now YOU TOO, can be an "angel"
This commit is contained in:
@@ -694,16 +694,19 @@
|
||||
|
||||
/datum/reagent/flightpotion/reaction_mob(mob/living/M, method=TOUCH, reac_volume, show_message = 1)
|
||||
if(iscarbon(M) && M.stat != DEAD)
|
||||
if(!ishumanbasic(M) || reac_volume < 5) // implying xenohumans are holy
|
||||
var/mob/living/carbon/C = M
|
||||
if(reac_volume < 5)
|
||||
if(method == INGEST && show_message)
|
||||
to_chat(M, "<span class='notice'><i>You feel nothing but a terrible aftertaste.</i></span>")
|
||||
to_chat(C, "<span class='notice'><i>You feel nothing but a terrible aftertaste.</i></span>")
|
||||
return ..()
|
||||
|
||||
to_chat(M, "<span class='userdanger'>A terrible pain travels down your back as wings burst out!</span>")
|
||||
M.set_species(/datum/species/angel)
|
||||
playsound(M.loc, 'sound/items/poster_ripped.ogg', 50, 1, -1)
|
||||
M.adjustBruteLoss(20)
|
||||
M.emote("scream")
|
||||
var/has_wings = (C.dna.species.mutant_bodyparts["deco_wings"] && C.dna.features["deco_wings"] != "None" || C.dna.species.mutant_bodyparts["insect_wings"] && C.dna.features["insect_wings"] != "None")
|
||||
to_chat(C, "<span class='userdanger'>A terrible pain travels down your back as [has_wings ? "your wings transform" : "wings burst out"]!</span>")
|
||||
C.dna.species.GiveSpeciesFlight(C)
|
||||
to_chat(C, "<span class='notice'>You feel blessed!</span>")
|
||||
ADD_TRAIT(C, TRAIT_HOLY, SPECIES_TRAIT) //implying anyone is truly holy in a setting where people throw tantrums when things aren't violent
|
||||
playsound(C.loc, 'sound/items/poster_ripped.ogg', 50, TRUE, -1)
|
||||
C.adjustBruteLoss(20)
|
||||
C.emote("scream")
|
||||
..()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user