mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +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
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB After Width: | Height: | Size: 164 KiB |
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user