Floorbreaker Landmark (#18844)

* floorbreaker landmark

* Update floorbreak.dm

* Update floorbreak.dm

* Update floorbreak.dm

* Update floorbreak.dm

* Update floorbreak.dm
This commit is contained in:
Killian
2025-12-30 02:08:00 +00:00
committed by GitHub
parent 1a57844fc5
commit f63a30d563
4 changed files with 17 additions and 2 deletions
+16
View File
@@ -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)
-2
View File
@@ -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
Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

After

Width:  |  Height:  |  Size: 164 KiB

+1
View File
@@ -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"