mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Assorted tweaks & fixes (#3305)
changes: Fixed #3203. Tajara or Unathi CEs now get gloves that actually fit them. OOs now respect direction changes from their mimicked object. Replaced all references to trange() with RANGE_TURFS(). Replaced all references to is_type_in_oview() with locate() in oview(). Fixed a runtime caused by recursive explosions falling off the edges of the map. Carp despawn now works properly with the new asteroid turfs. Carp despawn now uses WEAKREF instead of SOFTREF. Added tick-checks to the carp migration event. Vaurca now have the IS_VAURCA reagent_tag. Cleaned up butanol alien handling a bit.
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
return TRUE
|
||||
|
||||
if(Check_Shoegrip()) //scaling hull with magboots
|
||||
for(var/turf/simulated/T in trange(1,src))
|
||||
for(var/turf/simulated/T in RANGE_TURFS(1,src))
|
||||
if(T.density)
|
||||
return TRUE
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
if(Allow_Spacemove()) //Checks for active jetpack
|
||||
return TRUE
|
||||
|
||||
for(var/turf/simulated/T in trange(1,src)) //Robots get "magboots"
|
||||
for(var/turf/simulated/T in RANGE_TURFS(1,src)) //Robots get "magboots"
|
||||
if(T.density)
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -33,9 +33,15 @@
|
||||
// The overlay will handle cleaning itself up on non-openspace turfs.
|
||||
if (isturf(dest))
|
||||
bound_overlay.forceMove(get_step(src, UP))
|
||||
bound_overlay.set_dir(dir)
|
||||
else // Not a turf, so we need to destroy immediately instead of waiting for the destruction timer to proc.
|
||||
qdel(bound_overlay)
|
||||
|
||||
/atom/movable/set_dir(ndir)
|
||||
. = ..()
|
||||
if (. && bound_overlay)
|
||||
bound_overlay.set_dir(dir)
|
||||
|
||||
/atom/movable/update_above()
|
||||
if (!bound_overlay)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user