[MIRROR] Logs buildmode (#12703)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-04-21 01:54:45 -07:00
committed by GitHub
parent 0c9546606f
commit 5b9f62e5b9
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)