Turf Cascade Subsystem (#18858)

* cascade

* working cascade

* not needed

* i'd rather not tbh

* missed undef

* not needed

* lets let the turf handle that, emergency stop

* same args

* comments fixed up

* clarity

* typo

* A better approach that mirrors original better

* .len->length()

* .

* urg

* .

* .

* .

* .

* .

* .

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Will
2026-02-01 11:06:56 -05:00
committed by GitHub
parent d4184dc115
commit 5b3c29926c
8 changed files with 133 additions and 52 deletions
+2 -2
View File
@@ -427,8 +427,8 @@ ADMIN_VERB(secrets, R_HOLDER, "Secrets", "Abuse harder than you ever have before
if("supermatter_cascade")
var/choice = tgui_alert(holder, "You sure you want to destroy the universe and create a large explosion at your location? Misuse of this could result in removal of flags or hilarity.","WARNING!", list("NO TIME TO EXPLAIN", "Cancel"))
if(choice == "NO TIME TO EXPLAIN")
explosion(get_turf(holder), 8, 16, 24, 32, 1)
new /turf/unsimulated/wall/supermatter(get_turf(holder))
explosion(get_turf(holder.mob), 8, 16, 24, 32, 1)
SSturf_cascade.start_cascade(get_turf(holder.mob), /turf/unsimulated/wall/supermatter)
SetUniversalState(/datum/universal_state/supermatter_cascade)
message_admins("[key_name_admin(holder)] has managed to destroy the universe with a supermatter cascade. Good job, [key_name_admin(holder)]")