mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Science has gone very wrong if you're deliberately causing a resonance cascade (#94953)
## About The Pull Request Allows admins to trigger a resonance cascades. It's in the secrets menu, and it will probably get you de-adminned. ## Why It's Good For The Game Funny https://dlc2.portal2sounds.com/sounds/sound_dlc2/vo/cavejohnson/dlc2_0780_altcave_blappeture_mesa01.mp3?id=48 ## Changelog 🆑 admin: Someone gave Centcom permission to access the anomalous materials research department. The result surely can't be good... /🆑 Co-authored-by: Josh Powell <josh.powell@softwire.com>
This commit is contained in:
@@ -687,6 +687,20 @@ ADMIN_VERB(secrets, R_NONE, "Secrets", "Abuse harder than you ever have before w
|
||||
message_admins("[key_name_admin(holder)] healed everyone.")
|
||||
log_admin("[key_name(holder)] healed everyone.")
|
||||
|
||||
if("cascade")
|
||||
if(!is_funmin)
|
||||
return
|
||||
message_admins("[key_name_admin(holder)] started a resonance cascade! You're supposed to be a scientist! Use your common sense!")
|
||||
for(var/obj/machinery/power/supermatter_crystal/S in SSmachines.get_machines_by_type_and_subtypes(/obj/machinery/power/supermatter_crystal))
|
||||
if(!S.is_main_engine)
|
||||
continue
|
||||
S.explosion_point = 0
|
||||
S.set_delam(SM_DELAM_PRIO_IN_GAME, /datum/sm_delam/cascade)
|
||||
S.external_damage_immediate += 200
|
||||
S.count_down()
|
||||
return
|
||||
return
|
||||
|
||||
if(holder)
|
||||
log_admin("[key_name(holder)] used secret: [action].")
|
||||
#undef THUNDERDOME_TEMPLATE_FILE
|
||||
|
||||
Reference in New Issue
Block a user