diff --git a/code/game/objects/effects/floorbreak.dm b/code/game/objects/effects/floorbreak.dm new file mode 100644 index 0000000000..72a07a4a05 --- /dev/null +++ b/code/game/objects/effects/floorbreak.dm @@ -0,0 +1,16 @@ +/obj/effect/floorbreak + name = "Floor Breaker" + icon = 'icons/mob/screen1.dmi' + icon_state = "floorbreaker" + +/obj/effect/floorbreak/Initialize(mapload) + . = ..() + if(!istype(src.loc, /turf/simulated/floor)) + log_world("Floor Breaker at X: [src.loc.x], Y: [src.loc.y] was somehow placed in a non-turf location, or placed on an unsimulated turf, non-floor turf, or other invalid location (e.g. wall, open space, inside a container).") + return INITIALIZE_HINT_QDEL + return INITIALIZE_HINT_LATELOAD + +/obj/effect/floorbreak/LateInitialize() + var/turf/simulated/floor/our_turf = src.loc + our_turf.break_tile() + qdel(src) diff --git a/code/game/objects/effects/landmarks.dm b/code/game/objects/effects/landmarks.dm index 9175653afe..fdb3300649 100644 --- a/code/game/objects/effects/landmarks.dm +++ b/code/game/objects/effects/landmarks.dm @@ -65,11 +65,9 @@ if("bluespacerift") GLOB.endgame_exits += loc delete_me = TRUE - //VOREStation Add Start if("vinestart") GLOB.vinestart += loc delete_me = TRUE - //VORE Station Add End if(delete_me) return INITIALIZE_HINT_QDEL diff --git a/icons/mob/screen1.dmi b/icons/mob/screen1.dmi index c2990df7fe..a2ffec8968 100644 Binary files a/icons/mob/screen1.dmi and b/icons/mob/screen1.dmi differ diff --git a/vorestation.dme b/vorestation.dme index eddf07d896..cb409614c9 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -1539,6 +1539,7 @@ #include "code\game\objects\effects\countdown.dm" #include "code\game\objects\effects\effect_system.dm" #include "code\game\objects\effects\explosion_particles.dm" +#include "code\game\objects\effects\floorbreak.dm" #include "code\game\objects\effects\gibs.dm" #include "code\game\objects\effects\glowshroom.dm" #include "code\game\objects\effects\info.dm"