[MIRROR] Dusting Poly causes a power surge [MDB IGNORE] (#23859)

* Dusting Poly causes a power surge

* Update _event.dm

---------

Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-09-22 14:33:48 -07:00
committed by GitHub
co-authored by lessthanthree
parent af19fc55ef
commit 40f14abe30
4 changed files with 26 additions and 4 deletions
-2
View File
@@ -1,5 +1,4 @@
#define RANDOM_EVENT_ADMIN_INTERVENTION_TIME (3 MINUTES) //SKYRAT EDIT CHANGE
#define NEVER_TRIGGERED_BY_WIZARDS -1
//this singleton datum is used by the events controller to dictate how it selects events
/datum/round_event_control
@@ -344,4 +343,3 @@ Runs the event
return ..()
#undef RANDOM_EVENT_ADMIN_INTERVENTION_TIME
#undef NEVER_TRIGGERED_BY_WIZARDS
+21 -2
View File
@@ -80,8 +80,8 @@
end_when = rand(SURGE_DURATION_MIN, SURGE_DURATION_MAX)
/datum/round_event/supermatter_surge/announce()
priority_announce("The Crystal Integrity Monitoring System has detected unusual atmospheric properties in the supermatter chamber and energy output from the supermatter crystal has increased significantly. Engineering intervention is required to stabilize the engine.", "Class [surge_class] Supermatter Surge Alert", 'sound/machines/engine_alert3.ogg')
/datum/round_event/supermatter_surge/announce(fake)
priority_announce("The Crystal Integrity Monitoring System has detected unusual atmospheric properties in the supermatter chamber, energy output from the supermatter crystal has increased significantly. Engineering intervention is required to stabilize the engine.", "Class [surge_class] Supermatter Surge Alert", 'sound/machines/engine_alert3.ogg')
/datum/round_event/supermatter_surge/start()
engine.bullet_energy = surge_class + SURGE_BULLET_ENERGY_ADDITION
@@ -99,6 +99,25 @@
engine = null
sm_gas = null
/datum/round_event_control/supermatter_surge/poly
name = "Supermatter Surge: Poly's Revenge"
typepath = /datum/round_event/supermatter_surge/poly
category = EVENT_CATEGORY_ENGINEERING
weight = 0
max_occurrences = 0
description = "For when Poly is sacrificed to the SM. Not really useful to run manually."
min_wizard_trigger_potency = NEVER_TRIGGERED_BY_WIZARDS
max_wizard_trigger_potency = NEVER_TRIGGERED_BY_WIZARDS
admin_setup = null
/datum/round_event/supermatter_surge/poly
announce_when = 4
surge_class = 4
fakeable = FALSE
/datum/round_event/supermatter_surge/poly/announce(fake)
priority_announce("The Crystal Integrity Monitoring System has detected unusual parrot type resonance in the supermatter chamber, energy output from the supermatter crystal has increased significantly. Engineering intervention is required to stabilize the engine.", "Class P Supermatter Surge Alert", 'sound/machines/engine_alert3.ogg')
#undef SURGE_DURATION_MIN
#undef SURGE_DURATION_MAX
#undef SURGE_SEVERITY_MIN