diff --git a/Resources/Prototypes/Atmospherics/Thresholds/deltapressure.yml b/Resources/Prototypes/Atmospherics/Thresholds/deltapressure.yml index f21f4a204a0..e4c0e59cb94 100644 --- a/Resources/Prototypes/Atmospherics/Thresholds/deltapressure.yml +++ b/Resources/Prototypes/Atmospherics/Thresholds/deltapressure.yml @@ -7,40 +7,43 @@ abstract: true id: BaseDeltaPressureGlass components: - - type: DeltaPressure - minPressure: 1000 - minPressureDelta: 750 - scalingType: Linear - scalingPower: 0.0005 + - type: DeltaPressure + minPressure: 150000 + minPressureDelta: 100000 + scalingType: Linear + scalingPower: 0.0001 ## For quarter glass windows - type: entity abstract: true id: BaseDeltaPressureGlassQuarter components: - - type: DeltaPressure - minPressure: 250 - minPressureDelta: 187.5 - scalingType: Threshold + - type: DeltaPressure + minPressure: 37500 + minPressureDelta: 25000 + scalingType: Threshold ## For reinforced glass windows - type: entity abstract: true id: BaseDeltaPressureReinforcedGlass components: - - type: DeltaPressure - minPressure: 15000 - minPressureDelta: 10000 - scalingType: Threshold + - type: DeltaPressure + minPressure: 150000 + minPressureDelta: 100000 + scalingType: Linear + scalingPower: 0.0005 ## For quarter reinforced glass windows - type: entity abstract: true id: BaseDeltaPressureReinforcedGlassQuarter components: - - type: DeltaPressure - minPressure: 3750 - minPressureDelta: 2500 + - type: DeltaPressure + minPressure: 300000 + minPressureDelta: 200000 + scalingType: Linear + scalingPower: 0.0001 ## -- PLASMA -- ## For plasma windows @@ -48,42 +51,40 @@ abstract: true id: BaseDeltaPressurePlasma components: - - type: DeltaPressure - minPressure: 75000 - minPressureDelta: 50000 - scalingType: Linear - scalingPower: 0.0005 + - type: DeltaPressure + minPressure: 75000 + minPressureDelta: 50000 + scalingType: Linear + scalingPower: 0.0005 ## For quarter plasma windows - type: entity abstract: true id: BaseDeltaPressurePlasmaQuarter components: - - type: DeltaPressure - minPressure: 18750 - minPressureDelta: 12500 - scalingType: Threshold + - type: DeltaPressure + minPressure: 18750 + minPressureDelta: 12500 + scalingType: Threshold ## For reinforced plasma windows - type: entity abstract: true id: BaseDeltaPressureReinforcedPlasma components: - - type: DeltaPressure - minPressure: 150000 - minPressureDelta: 100000 - scalingType: Linear - scalingPower: 0.0001 + - type: DeltaPressure + minPressure: 15000 + minPressureDelta: 10000 + scalingType: Threshold ## For quarter reinforced plasma windows - type: entity abstract: true id: BaseDeltaPressureReinforcedPlasmaQuarter components: - - type: DeltaPressure - minPressure: 37500 - minPressureDelta: 25000 - scalingType: Threshold + - type: DeltaPressure + minPressure: 3750 + minPressureDelta: 2500 ## -- PHORON -- @@ -92,40 +93,28 @@ abstract: true id: BaseDeltaPressurePhoronGlass components: - - type: DeltaPressure - minPressure: 150000 - minPressureDelta: 100000 - scalingType: Linear - scalingPower: 0.0005 + - type: DeltaPressure + minPressure: 1000 + minPressureDelta: 750 + scalingType: Linear + scalingPower: 0.0005 ## For quarter phoron windows (2x better than quarter plasma) - type: entity abstract: true id: BaseDeltaPressurePhoronGlassQuarter components: - - type: DeltaPressure - minPressure: 27500 - minPressureDelta: 50000 - scalingType: Linear + - type: DeltaPressure + minPressure: 250 + minPressureDelta: 187.5 + scalingType: Threshold -## For reinforced phoron glass windows (2x better than reinforced plasma) -- type: entity - abstract: true - id: BaseDeltaPressureReinforcedPhoronGlass - components: - - type: DeltaPressure - minPressure: 300000 - minPressureDelta: 200000 - scalingType: Linear - scalingPower: 0.0001 -## For quareter reinforced phoron glass windows (2x better than quarter reinforced plasma) - type: entity abstract: true - id: BaseDeltaPressureReinforcedPhoronGlassQuarter + id: BaseDeltaPressureFans components: - - type: DeltaPressure - minPressure: 75000 - minPressureDelta: 50000 - scalingType: Linear - + - type: DeltaPressure + minPressure: 200 + minPressureDelta: 150 + scalingType: Linear diff --git a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml index 2026ed38a4d..ff55f9fd5bb 100644 --- a/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml +++ b/Resources/Prototypes/Entities/Structures/Piping/Atmospherics/special.yml @@ -1,6 +1,7 @@ # Devices which are not portable but don't link up to anything - type: entity id: AtmosDeviceFanTiny + parent: BaseDeltaPressureFans name: tiny fan description: A tiny fan, releasing a thin gust of air. placement: @@ -43,9 +44,29 @@ - type: Tag tags: - SpreaderIgnore + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: StructuralMetallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 1 + behaviors: + - !type:SpawnEntitiesBehavior + spawn: + TinyFanFlatpack: + min: 1 + max: 1 + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - !type:DoActsBehavior + acts: [ "Destruction" ] - type: entity id: AtmosDeviceFanDirectional + parent: BaseDeltaPressureFans name: directional fan description: A thin fan, stopping the movement of gases across it. placement: @@ -91,3 +112,22 @@ - type: Tag tags: - SpreaderIgnore + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: StructuralMetallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 1 + behaviors: + - !type:SpawnEntitiesBehavior + spawn: + DirectionalFanFlatpack: + min: 1 + max: 1 + - !type:PlaySoundBehavior + sound: + collection: MetalSlam + - !type:DoActsBehavior + acts: [ "Destruction" ]