mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Make the Supermatter Crystal More Senstive and Adds More Events (#31767)
* initial commit * oops i forgot to commit this * Tidies up the SM manual, clamps the A-4 damage, and fixes a linter * removes the change to operational temperature * buffs the flood event * Update code/modules/power/engines/supermatter/supermatter_event.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Miles <116982774+Burzah@users.noreply.github.com> * Update code/modules/power/engines/supermatter/supermatter_event.dm Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Signed-off-by: Miles <116982774+Burzah@users.noreply.github.com> --------- Signed-off-by: Miles <116982774+Burzah@users.noreply.github.com> Co-authored-by: Miles <116982774+Burzah@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
co-authored by
DGamerL
Miles
parent
3c1d985e31
commit
55e42f53a5
@@ -128,30 +128,34 @@
|
||||
|
||||
D Class: Events that only affect certain types of NON-STANDARD setups, minimial operator intervention required. These events occur instantly and engineering will be alerted on telecomms.</br></br>
|
||||
|
||||
D-1: About 200 moles of nitrous oxide are released by the crystal.</br>
|
||||
D-2: About 200 moles of nitrogen are released by the crystal</br>
|
||||
D-3: About 250 moles of CO2 are released by the crystal</br></br></br>
|
||||
D-1: About 2000 moles of nitrous oxide are released by the crystal.</br>
|
||||
D-2: About 2000 moles of nitrogen are released by the crystal.</br>
|
||||
D-3: About 2000 moles of CO2 are released by the crystal.</br>
|
||||
D-4: About 2000 moles of hydrogen are released by the crystal.</br></br></br>
|
||||
|
||||
C Class: Events with mild effects to standard setups. Operator intervention MAY be required. Engineering will be alerted on telecomms.</br></br>
|
||||
C-1: 2000 moles of oxygen are released by the crystal</br>
|
||||
C-2: 2000 moles of plasma are released by the crystal</br>
|
||||
C-3: The temperature at which the engine starts to lose integrity is lowered for a few minutes.
|
||||
C-4: 2000 moles of hydrogen are released by the crystal.
|
||||
C-1: 2000 moles of oxygen are released by the crystal.</br>
|
||||
C-2: 2000 moles of plasma are released by the crystal.</br>
|
||||
C-3: The temperature at which the engine starts to lose integrity is lowered for a few minutes.</br>
|
||||
C-4: 2000 moles of hydrogen are released by the crystal.</br>
|
||||
C-5: 2000 moles of water vapor are released by the crystal.</br></br></br>
|
||||
|
||||
B Class: Events with significant effects to standard setups. Action may need to be taken to prevent a delamination event.</br></br>
|
||||
B-1: The amount of plasma and O2 released by the engine is doubled for a few minutes.</br>
|
||||
B-2: The amount of heat released by the engine is increased for a few minutes.</br>
|
||||
B-3: The engine's EER is raised slightly above critically for several minutes, regardless of outside factors.</br></br></br>
|
||||
B-3: The engine's EER is raised slightly above critically for several minutes, regardless of outside factors.</br>
|
||||
B-4: The engine's EER spikes, leading to the likely outcome of the engine arcing.</br></br></br>
|
||||
|
||||
A Class: Events with SEVERE effects to standard setups. Action will need to be taken to prevent a delamination event.</br></br>
|
||||
A-1: The engine's APC is shorted due to a power spike, requiring its wires to be mended.</br>
|
||||
A-2: The engine's air alarm resets its self as an effect of radiological interference.</br>
|
||||
A-3: The amount of plasma and O2 released by the engine is quadrupled for a few minutes.</br></br>
|
||||
A-3: The amount of plasma and O2 released by the engine is quadrupled for a few minutes.</br>
|
||||
A-4: The engine's integrity drops a random amount, leading to unexpected damage.</br></br>
|
||||
|
||||
S Class events: Events that require immediate intervention and a specialized response to prevent a delamination event. Coordination with other departments is HIGHLY recommended. A warning will be broadcasted on engineering communications before these events.</br></br>
|
||||
Arc Type: The engine's EER is raised massively several minutes, resulting it a supercritical state.</br>
|
||||
Heat Type: The amount of heat released by the engine is massively increased for several minutes.</br></br>
|
||||
Heat Type: The amount of heat released by the engine is massively increased for several minutes.</br>
|
||||
Flood Type: The engine releases a large amount of plasma and oxygen, followed by a massive increase of gas output.</br>
|
||||
|
||||
In the event that an anomaly NOT on this list presents itself, contact your local Nanotrasen Engineering Officer as soon as possible.</br>
|
||||
-Vroo-Looum-Kloo, Senior Engine Technician."})
|
||||
|
||||
@@ -11,16 +11,16 @@
|
||||
#define OBJECT (LOWEST + 1)
|
||||
#define LOWEST (1)
|
||||
|
||||
#define PLASMA_HEAT_PENALTY 15 // Higher == Bigger heat and waste penalty from having the crystal surrounded by this gas. Negative numbers reduce penalty.
|
||||
#define PLASMA_HEAT_PENALTY 20 // Higher == Bigger heat and waste penalty from having the crystal surrounded by this gas. Negative numbers reduce penalty.
|
||||
#define OXYGEN_HEAT_PENALTY 1
|
||||
#define CO2_HEAT_PENALTY 0.1
|
||||
#define NITROGEN_HEAT_PENALTY -1.5
|
||||
#define HYDROGEN_HEAT_PENALTY 20
|
||||
#define NITROGEN_HEAT_PENALTY -1
|
||||
#define HYDROGEN_HEAT_PENALTY 30
|
||||
#define H2O_HEAT_PENALTY 5
|
||||
|
||||
#define OXYGEN_TRANSMIT_MODIFIER 1.5 //Higher == Bigger bonus to power generation.
|
||||
#define PLASMA_TRANSMIT_MODIFIER 4
|
||||
#define HYDROGEN_TRANSMIT_MODIFIER 3
|
||||
#define OXYGEN_TRANSMIT_MODIFIER 2 //Higher == Bigger bonus to power generation.
|
||||
#define PLASMA_TRANSMIT_MODIFIER 6
|
||||
#define HYDROGEN_TRANSMIT_MODIFIER 4
|
||||
#define H2O_TRANSMIT_MODIFIER -10
|
||||
|
||||
#define N2O_HEAT_RESISTANCE 6 //Higher == Gas makes the crystal more resistant against heat damage.
|
||||
@@ -38,7 +38,7 @@
|
||||
#define H2O_CRUNCH 0.75
|
||||
|
||||
#define MOLE_CRUNCH_THRESHOLD 1700 //Above this value we can get lord singulo and
|
||||
#define MOLE_PENALTY_THRESHOLD 1800 //Above this value we can get lord singulo and independent mol damage, below it we can heal damage
|
||||
#define MOLE_PENALTY_THRESHOLD 1500 //Above this value we can get lord singulo and independent mol damage, below it we can heal damage
|
||||
#define MOLE_HEAT_PENALTY 350 //Heat damage scales around this. Too hot setups with this amount of moles do regular damage, anything above and below is scaled
|
||||
//Along with damage_penalty_point, makes flux anomalies.
|
||||
/// The cutoff for the minimum amount of power required to trigger the crystal invasion delamination event.
|
||||
@@ -46,15 +46,15 @@
|
||||
#define POWER_PENALTY_THRESHOLD 5000 //The cutoff on power properly doing damage, pulling shit around, and delamming into a tesla. Low chance of cryo anomalies, +2 bolts of electricity
|
||||
#define SEVERE_POWER_PENALTY_THRESHOLD 7000 //+1 bolt of electricity, allows for gravitational anomalies, and higher chances of cryo anomalies
|
||||
#define CRITICAL_POWER_PENALTY_THRESHOLD 9000 //+1 bolt of electricity.
|
||||
#define DAMAGE_HARDCAP 0.002
|
||||
#define DAMAGE_INCREASE_MULTIPLIER 0.25
|
||||
#define DAMAGE_HARDCAP 0.005
|
||||
#define DAMAGE_INCREASE_MULTIPLIER 0.5
|
||||
|
||||
|
||||
#define THERMAL_RELEASE_MODIFIER 1 //Higher == less heat released during reaction, not to be confused with the above values
|
||||
#define PLASMA_RELEASE_MODIFIER 750 //Higher == less plasma released by reaction
|
||||
#define OXYGEN_RELEASE_MODIFIER 325 //Higher == less oxygen released at high temperature/power
|
||||
|
||||
#define REACTION_POWER_MODIFIER 0.55 //Higher == more overall power
|
||||
#define REACTION_POWER_MODIFIER 0.75 //Higher == more overall power
|
||||
|
||||
#define MATTER_POWER_CONVERSION 10 //Crystal converts 1/this value of stored matter into energy.
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
///Tracks the bolt color we are using
|
||||
var/zap_icon = DEFAULT_ZAP_ICON_STATE
|
||||
///The portion of the gasmix we're on that we should remove
|
||||
var/gasefficency = 0.15
|
||||
var/gasefficency = 0.35
|
||||
|
||||
///Are we exploding?
|
||||
var/final_countdown = FALSE
|
||||
|
||||
@@ -75,6 +75,14 @@
|
||||
air.set_carbon_dioxide(2000)
|
||||
supermatter_turf.blind_release_air(air)
|
||||
|
||||
// hydrogen
|
||||
/datum/engi_event/supermatter_event/delta_tier/hydrogen
|
||||
name = "D-4"
|
||||
|
||||
/datum/engi_event/supermatter_event/delta_tier/hydrogen/on_start()
|
||||
var/datum/gas_mixture/air = new()
|
||||
air.set_hydrogen(2000)
|
||||
supermatter_turf.blind_release_air(air)
|
||||
|
||||
// C class events
|
||||
|
||||
@@ -159,6 +167,21 @@
|
||||
supermatter.power += 3000
|
||||
duration = 10 SECONDS
|
||||
|
||||
/datum/engi_event/supermatter_event/bravo_tier/power_surge // basically an arc-lite event
|
||||
name = "B-4"
|
||||
duration = 2 MINUTES
|
||||
|
||||
/datum/engi_event/supermatter_event/bravo_tier/power_surge/on_start()
|
||||
supermatter.power_additive = 1500
|
||||
|
||||
/datum/engi_event/supermatter_event/bravo_tier/gas_dump // basically a laminate-lite event without the EMP
|
||||
name = "B-5"
|
||||
duration = 2 MINUTES
|
||||
|
||||
/datum/engi_event/supermatter_event/bravo_tier/gas_dump/on_start()
|
||||
supermatter.heat_multiplier = 2
|
||||
supermatter.gas_multiplier = 2
|
||||
|
||||
//A class events
|
||||
/datum/engi_event/supermatter_event/alpha_tier
|
||||
threat_level = SM_EVENT_THREAT_A
|
||||
@@ -191,6 +214,15 @@
|
||||
/datum/engi_event/supermatter_event/alpha_tier/gas_multiplier/on_start()
|
||||
supermatter.gas_multiplier = 4
|
||||
|
||||
/datum/engi_event/supermatter_event/alpha_tier/integrity_hit
|
||||
name = "A-4"
|
||||
|
||||
/datum/engi_event/supermatter_event/alpha_tier/integrity_hit/on_start()
|
||||
supermatter.damage += rand(350, 650)
|
||||
clamp((supermatter.damage + rand(350, 650)), 0, 1000)
|
||||
|
||||
supermatter.matter_power += 1000
|
||||
|
||||
// S-tier events are special. They are very dangerous, but give a 5 minute warning to the engis.
|
||||
/datum/engi_event/supermatter_event/sierra_tier
|
||||
threat_level = SM_EVENT_THREAT_S
|
||||
@@ -226,3 +258,16 @@
|
||||
supermatter.heat_multiplier = 25
|
||||
supermatter.gas_multiplier = 25
|
||||
empulse(supermatter, 3, 6, TRUE, "S-laminite event")
|
||||
|
||||
// Flood
|
||||
/datum/engi_event/supermatter_event/sierra_tier/flood
|
||||
name = "S-FLOOD OUTPOUR"
|
||||
|
||||
/datum/engi_event/supermatter_event/sierra_tier/flood/start_sierra_event()
|
||||
..()
|
||||
var/datum/gas_mixture/air = new()
|
||||
air.set_toxins(20000)
|
||||
air.set_oxygen(15000)
|
||||
supermatter_turf.blind_release_air(air) // WHO HAS AN RCD, SPACE IT
|
||||
supermatter.gas_multiplier = 40
|
||||
empulse(supermatter, 3, 6, TRUE, "S-flood event")
|
||||
|
||||
Reference in New Issue
Block a user