Upload files

This commit is contained in:
SandPoot
2022-03-05 16:00:12 -03:00
parent 67f89eec17
commit 21b68944e7
24 changed files with 466 additions and 295 deletions
@@ -75,11 +75,10 @@
/obj/structure/blob/CanAtmosPass(turf/T)
return !atmosblock
/obj/structure/blob/CanAStarPass(ID, dir, caller)
. = 0
if(ismovable(caller))
var/atom/movable/mover = caller
. = . || (mover.pass_flags & PASSBLOB)
/obj/structure/blob/CanAStarPass(obj/item/card/id/ID, to_dir, atom/movable/caller)
. = FALSE
if(istype(caller))
. = . || (caller.pass_flags & PASSBLOB)
/obj/structure/blob/update_icon() //Updates color based on overmind color if we have an overmind.
if(overmind)
@@ -47,7 +47,7 @@
return
if(!isturf(user.loc))
return
if(!AStar(user, target.loc, /turf/proc/Distance, changeling.sting_range, simulated_only = 0))
if(!get_path_to(user, target, max_distance = changeling.sting_range, simulated_only = FALSE))
return
return 1