Logs buildmode (#19363)

* Logs buildmode

* edits

* Update buildmode.dm

* Update buildmode.dm

* adds comment for panel integration

* more logging than a lumber company

* Update buildmode.dm
This commit is contained in:
Cameron Lennox
2026-04-21 03:37:54 -04:00
committed by GitHub
parent b8ef6faead
commit 58470f5045
2 changed files with 79 additions and 12 deletions
+6 -1
View File
@@ -7,13 +7,16 @@
unacidable = TRUE
var/falling_type = /obj/item/reagent_containers/food/snacks/sliceable/pizza/margherita
var/crushing = TRUE
var/admin_spawned = FALSE
/obj/effect/falling_effect/Initialize(mapload, type, var/crushing_type)
/obj/effect/falling_effect/Initialize(mapload, type, crushing_type, admin_spawned = FALSE)
..()
if(!isnull(crushing_type))
crushing = crushing_type
if(type)
falling_type = type
if(admin_spawned)
src.admin_spawned = admin_spawned
return INITIALIZE_HINT_LATELOAD
/obj/effect/falling_effect/LateInitialize()
@@ -27,6 +30,8 @@
dropped.pixel_y = 500 // When you think that pixel_z is height but you are wrong
dropped.density = FALSE
dropped.opacity = FALSE
if(admin_spawned)
dropped.flags |= ADMIN_SPAWNED
animate(dropped, pixel_y = initial_y, pixel_x = initial_x , time = 7)
addtimer(CALLBACK(dropped, TYPE_PROC_REF(/atom/movable,end_fall), crushing), 0.7 SECONDS)
qdel(src)