mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Check for internals and accessibility on toxic farts.
Conflicts: code/modules/mob/living/carbon/human/emote.dm
This commit is contained in:
@@ -552,7 +552,7 @@
|
||||
var/turf/location = get_turf(src)
|
||||
var/aoe_range=2 // Default
|
||||
if(M_SUPER_FART in mutations)
|
||||
aoe_range+=5
|
||||
aoe_range+=3 //Was 5
|
||||
|
||||
// If we're wearing a suit, don't blast or gas those around us.
|
||||
var/wearing_suit=0
|
||||
@@ -570,7 +570,12 @@
|
||||
reagents.add_reagent("space_drugs", rand(10,20))
|
||||
else
|
||||
// Was /turf/, now /mob/
|
||||
|
||||
for(var/mob/M in range(location,aoe_range))
|
||||
if (M.internal != null && M.wear_mask && (M.wear_mask.flags & MASKINTERNALS))
|
||||
continue
|
||||
if(!airborne_can_reach(location,M,aoe_range))
|
||||
continue
|
||||
// Now, we don't have this:
|
||||
//new /obj/effects/fart_cloud(T,L)
|
||||
// But:
|
||||
@@ -580,8 +585,6 @@
|
||||
// So, let's give 'em space drugs.
|
||||
if (M == src)
|
||||
continue
|
||||
if(!airborne_can_reach(get_turf(src), get_turf(M)))
|
||||
continue
|
||||
M.reagents.add_reagent("space_drugs",rand(1,10))
|
||||
/*
|
||||
var/datum/effect/effect/system/smoke_spread/chem/fart/S = new /datum/effect/effect/system/smoke_spread/chem/fart
|
||||
|
||||
Reference in New Issue
Block a user