mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Merge pull request #15032 from silicons/wallflowering
Adds the ability to move through people who are intentionally pixel shifted
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
var/mob/moving_mob = mover
|
||||
if ((other_mobs && moving_mob.other_mobs))
|
||||
return TRUE
|
||||
if(is_shifted && (abs(pixel_x) >= 8 || abs(pixel_y) >= 8))
|
||||
// they're wallflowering, let 'em through
|
||||
return TRUE
|
||||
if(istype(mover, /obj/item/projectile))
|
||||
var/obj/item/projectile/P = mover
|
||||
return !P.can_hit_target(src, P.permutated, src == P.original, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user