mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 08:29:57 +01:00
ChangeTurf tweaks (#4036)
changes: Lighting's ChangeTurf() override has been merged into the base ChangeTurf() proc. Turfs can now set an alternate openturf type to be used instead of the default one when ChangeTurf(/turf/space) or ChangeToOpenturf() is used. Added ChangeToOpenturf() helper. Added a missing dig icon state to the rocky ash DMI. Fixed an issue where the above var was not properly carried over on ChangeTurf(). Fixed an issue where Z-mimicing turfs would not be notified of their below turf ChangeTurf()ing unless they were an openspace.
This commit is contained in:
@@ -175,7 +175,7 @@
|
||||
warning("Stair created without level above: ([loc.x], [loc.y], [loc.z])")
|
||||
return qdel(src)
|
||||
if(!istype(above))
|
||||
above.ChangeTurf(/turf/simulated/open)
|
||||
above.ChangeToOpenturf()
|
||||
|
||||
/obj/structure/stairs/Uncross(atom/movable/A)
|
||||
if(A.dir == dir && A.loc == loc)
|
||||
|
||||
Reference in New Issue
Block a user