[MIRROR] Makes reagent exposure methods bitflags (#527)

* Makes reagent exposure methods bitflags (#53164)

* Makes reagent exposure methods bitflags

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
This commit is contained in:
SkyratBot
2020-08-26 02:37:07 +02:00
committed by GitHub
co-authored by TemporalOroboros
parent a8ec79dd3f
commit a5306924c3
55 changed files with 232 additions and 238 deletions
@@ -602,12 +602,12 @@
reagent_state = LIQUID
color = "#FFEBEB"
/datum/reagent/flightpotion/expose_mob(mob/living/M, method=TOUCH, reac_volume, show_message = 1)
/datum/reagent/flightpotion/expose_mob(mob/living/M, methods=TOUCH, reac_volume, show_message = 1)
if(iscarbon(M) && M.stat != DEAD)
var/mob/living/carbon/C = M
var/holycheck = ishumanbasic(C)
if(reac_volume < 5 || !(holycheck || islizard(C) || (ismoth(C) && C.dna.features["moth_wings"] != "Burnt Off"))) // implying xenohumans are holy //as with all things,
if(method == INGEST && show_message)
if((methods & INGEST) && show_message)
to_chat(C, "<span class='notice'><i>You feel nothing but a terrible aftertaste.</i></span>")
return ..()
if(C.dna.species.has_innate_wings)