mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
FIX: Linda airflow affecting mob when it shouldn't
This commit fixes Linda airflow affecting AI eyes, blob overminds, observers, and replaces the magboot check for humans with a better version.
This commit is contained in:
@@ -229,6 +229,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(A)
|
||||
A.Entered(src)
|
||||
|
||||
/mob/dead/observer/experience_pressure_difference()
|
||||
return 0
|
||||
|
||||
/mob/dead/observer/examine()
|
||||
if(usr)
|
||||
usr << desc
|
||||
|
||||
@@ -492,10 +492,8 @@ emp_act
|
||||
|
||||
/mob/living/carbon/human/experience_pressure_difference(pressure_difference, direction)
|
||||
if(shoes)
|
||||
if(istype(shoes,/obj/item/clothing/shoes/magboots)) //TODO: Make a not-shit shoe var system to negate airflow.
|
||||
var/obj/item/clothing/shoes/magboots/MB = shoes
|
||||
if(MB.magpulse)
|
||||
return 0
|
||||
if(istype(shoes,/obj/item/clothing/shoes/magboots) && (shoes.flags & NOSLIP)) //TODO: Make a not-shit shoe var system to negate airflow.
|
||||
return 0
|
||||
..()
|
||||
|
||||
/mob/living/carbon/human/water_act(volume, temperature, source)
|
||||
|
||||
@@ -77,6 +77,9 @@
|
||||
return
|
||||
return ai.eyeobj.loc
|
||||
|
||||
/mob/aiEye/experience_pressure_difference()
|
||||
return 0
|
||||
|
||||
// AI MOVEMENT
|
||||
|
||||
// The AI's "eye". Described on the top of the page.
|
||||
|
||||
Reference in New Issue
Block a user