mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 11:05:50 +01:00
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:
@@ -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)
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user