mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Fixes the flightpotion check to include new races (again) (#60084)
Flight potions now work on fly people, androids and skeletons.
This commit is contained in:
@@ -630,7 +630,7 @@
|
||||
if(iscarbon(exposed_mob) && exposed_mob.stat != DEAD)
|
||||
var/mob/living/carbon/exposed_carbon = exposed_mob
|
||||
var/holycheck = ishumanbasic(exposed_carbon)
|
||||
if(reac_volume < 5 || !(holycheck || islizard(exposed_carbon) || ismoth(exposed_carbon))) // implying xenohumans are holy //as with all things,
|
||||
if(!HAS_TRAIT(exposed_carbon, TRAIT_CAN_USE_FLIGHT_POTION) || reac_volume < 5)
|
||||
if((methods & INGEST) && show_message)
|
||||
to_chat(exposed_carbon, span_notice("<i>You feel nothing but a terrible aftertaste.</i>"))
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user