merge stable into master (#34398)

This commit is contained in:
slarticodefast
2025-01-12 18:49:02 +01:00
committed by GitHub
3 changed files with 14 additions and 3 deletions

View File

@@ -43,10 +43,10 @@ public sealed class StationAiSystem : SharedStationAiSystem
var stationAiCore = new Entity<StationAiCoreComponent>(ent, entStationAiCore);
if (!TryGetInsertedAI(stationAiCore, out var insertedAi) || !TryComp(insertedAi, out ActorComponent? actor))
return;
continue;
if (stationAiCore.Comp.RemoteEntity == null || stationAiCore.Comp.Remote)
return;
continue;
var xform = Transform(stationAiCore.Comp.RemoteEntity.Value);

View File

@@ -33,6 +33,17 @@
# For gas concentrations, threshold=0.1 means 10%
- type: alarmThreshold
id: stationOxygen
lowerBound: !type:AlarmThresholdSetting
threshold: 0.10
upperBound: !type:AlarmThresholdSetting
threshold: 0.3
lowerWarnAround: !type:AlarmThresholdSetting
threshold: 1.5
upperWarnAround: !type:AlarmThresholdSetting
threshold: 0.8
- type: alarmThreshold
id: stationNitrogen
lowerBound: !type:AlarmThresholdSetting
threshold: 0.10
lowerWarnAround: !type:AlarmThresholdSetting

View File

@@ -17,7 +17,7 @@
pressureThresholdId: stationPressure
gasThresholdPrototypes:
Oxygen: stationOxygen
Nitrogen: ignore
Nitrogen: stationNitrogen
CarbonDioxide: stationCO2
Plasma: stationPlasma
Tritium: stationTritium