mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
Makes reagent exposure methods bitflags (#53164)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user