From 404f3b3e031904fe956852afa159bc1f867f15b0 Mon Sep 17 00:00:00 2001 From: Darkmajia Date: Mon, 13 Jan 2025 17:39:38 +0000 Subject: [PATCH] supermatter atmos devices --- .../Atmospherics/thresholds.yml | 15 +++++++ .../Specific/Atmospherics/supermatter.yml | 39 +++++++++++++++++++ .../Recipes/Lathes/electronics.yml | 4 ++ .../Structures/Wallmounts/air_alarm.yml | 7 ---- .../Recipes/Lathes/electronics.yml | 5 --- 5 files changed, 58 insertions(+), 12 deletions(-) create mode 100644 Resources/Prototypes/_EinsteinEngines/Atmospherics/thresholds.yml create mode 100644 Resources/Prototypes/_EinsteinEngines/Entities/Structures/Specific/Atmospherics/supermatter.yml create mode 100644 Resources/Prototypes/_EinsteinEngines/Recipes/Lathes/electronics.yml delete mode 100644 Resources/Prototypes/_Impstation/Entities/Structures/Wallmounts/air_alarm.yml diff --git a/Resources/Prototypes/_EinsteinEngines/Atmospherics/thresholds.yml b/Resources/Prototypes/_EinsteinEngines/Atmospherics/thresholds.yml new file mode 100644 index 00000000000000..579eca1a16f587 --- /dev/null +++ b/Resources/Prototypes/_EinsteinEngines/Atmospherics/thresholds.yml @@ -0,0 +1,15 @@ +- type: alarmThreshold + id: supermatterTemperature + upperBound: !type:AlarmThresholdSetting + threshold: 626.3 + upperWarnAround: !type:AlarmThresholdSetting + threshold: 0.5 + +- type: alarmThreshold + id: supermatterPressure + upperBound: !type:AlarmThresholdSetting + threshold: 550 # HazardHighPressure from Atmospherics.cs + lowerBound: !type:AlarmThresholdSetting + threshold: 0 + upperWarnAround: !type:AlarmThresholdSetting + threshold: 0.5 diff --git a/Resources/Prototypes/_EinsteinEngines/Entities/Structures/Specific/Atmospherics/supermatter.yml b/Resources/Prototypes/_EinsteinEngines/Entities/Structures/Specific/Atmospherics/supermatter.yml new file mode 100644 index 00000000000000..b67d128d873b9d --- /dev/null +++ b/Resources/Prototypes/_EinsteinEngines/Entities/Structures/Specific/Atmospherics/supermatter.yml @@ -0,0 +1,39 @@ +- type: entity + abstract: true + parent: AirSensorBase + id: AirSensorSupermatterBase + suffix: Supermatter + components: + - type: AtmosMonitor + temperatureThresholdId: supermatterTemperature + pressureThresholdId: supermatterPressure + gasThresholdPrototypes: + Oxygen: ignore + Nitrogen: ignore + CarbonDioxide: ignore + Plasma: stationPlasma # dangerous + Tritium: stationTritium # VERY dangerous + WaterVapor: ignore + Ammonia: ignore + NitrousOxide: ignore + Frezon: ignore + +- type: entity + parent: [AirSensorSupermatterBase, AirSensor] + id: AirSensorSupermatter + +- type: entity + parent: [AirSensorSupermatterBase, GasVentPump] + id: GasVentPumpSupermatter + +- type: entity + parent: [AirSensorSupermatterBase, GasVentScrubber] + id: GasVentScrubberSupermatter + +- type: entity + id: AirAlarmSupermatter + parent: AirAlarm + suffix: Supermatter + components: + - type: AccessReader + access: [["Atmospherics"], ["Engineering"]] diff --git a/Resources/Prototypes/_EinsteinEngines/Recipes/Lathes/electronics.yml b/Resources/Prototypes/_EinsteinEngines/Recipes/Lathes/electronics.yml new file mode 100644 index 00000000000000..5bef3cee317c70 --- /dev/null +++ b/Resources/Prototypes/_EinsteinEngines/Recipes/Lathes/electronics.yml @@ -0,0 +1,4 @@ +- type: latheRecipe + parent: BaseCircuitboardRecipe + id: SupermatterComputerCircuitboard + result: SupermatterComputerCircuitboard diff --git a/Resources/Prototypes/_Impstation/Entities/Structures/Wallmounts/air_alarm.yml b/Resources/Prototypes/_Impstation/Entities/Structures/Wallmounts/air_alarm.yml deleted file mode 100644 index ccdd29af0bc960..00000000000000 --- a/Resources/Prototypes/_Impstation/Entities/Structures/Wallmounts/air_alarm.yml +++ /dev/null @@ -1,7 +0,0 @@ -- type: entity - id: AirAlarmSupermatter - parent: AirAlarm - suffix: Supermatter - components: - - type: AccessReader - access: [["Atmospherics"], ["Engineering"]] diff --git a/Resources/Prototypes/_Impstation/Recipes/Lathes/electronics.yml b/Resources/Prototypes/_Impstation/Recipes/Lathes/electronics.yml index 79e1fa58eea86c..c61bdb9d1d79ac 100644 --- a/Resources/Prototypes/_Impstation/Recipes/Lathes/electronics.yml +++ b/Resources/Prototypes/_Impstation/Recipes/Lathes/electronics.yml @@ -25,8 +25,3 @@ parent: BaseCircuitboardRecipe id: ServiceTechFabCircuitboard result: ServiceTechFabCircuitboard - -- type: latheRecipe - parent: BaseCircuitboardRecipe - id: SupermatterComputerCircuitboard - result: SupermatterComputerCircuitboard