mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
turfchange
This commit is contained in:
@@ -349,6 +349,9 @@
|
||||
returnToPool(F.floor_tile)
|
||||
F.floor_tile = null
|
||||
F = null
|
||||
|
||||
var/atom/movable/overlay/transfer_animation = c_animation
|
||||
|
||||
if(ispath(N, /turf/simulated/floor))
|
||||
//if the old turf had a zone, connect the new turf to it as well - Cael
|
||||
//Adjusted by SkyMarshal 5/10/13 - The air master will handle the addition of the new turf.
|
||||
@@ -370,6 +373,10 @@
|
||||
if(air_master)
|
||||
air_master.mark_for_update(src)
|
||||
|
||||
if(transfer_animation)
|
||||
W.c_animation = transfer_animation
|
||||
transfer_animation.master = W
|
||||
|
||||
W.levelupdate()
|
||||
|
||||
. = W
|
||||
@@ -388,6 +395,10 @@
|
||||
if(air_master)
|
||||
air_master.mark_for_update(src)
|
||||
|
||||
if(transfer_animation)
|
||||
W.c_animation = c_animation
|
||||
transfer_animation.master = W
|
||||
|
||||
W.levelupdate()
|
||||
|
||||
. = W
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
|
||||
/obj/machinery/power/supermatter/shard/explode()
|
||||
explosion(get_turf(src), explosion_power, explosion_power * 2, explosion_power * 3, explosion_power * 4, 1)
|
||||
empulse(get_turf(src), 100, 200, 1)
|
||||
qdel(src)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user