--- /dev/null
+## Base prototypes for DeltaPressureComponent settings, to make it easy to just
+## parent to them and just them globally here.
+
+## For reinforced plasma windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressureReinforcedPlasma
+ components:
+ - type: DeltaPressure
+ minPressure: 150000
+ minPressureDelta: 100000
+ scalingType: Linear
+ scalingPower: 0.0001
+
+## For quarter reinforced plasma windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressureReinforcedPlasmaQuarter
+ components:
+ - type: DeltaPressure
+ minPressure: 37500
+ minPressureDelta: 25000
+ scalingType: Threshold
+
+## For plasma windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressurePlasma
+ components:
+ - 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
+
+## For reinforced glass windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressureReinforcedGlass
+ components:
+ - type: DeltaPressure
+ minPressure: 15000
+ minPressureDelta: 10000
+ scalingType: Threshold
+
+## For quarter reinforced glass windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressureReinforcedGlassQuarter
+ components:
+ - type: DeltaPressure
+ minPressure: 3750
+ minPressureDelta: 2500
+
+## For glass windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressureGlass
+ components:
+ - type: DeltaPressure
+ minPressure: 1000
+ minPressureDelta: 750
+ scalingType: Linear
+ scalingPower: 0.0005
+
+## For quarter glass windows
+- type: entity
+ abstract: true
+ id: BaseDeltaPressureGlassQuarter
+ components:
+ - type: DeltaPressure
+ minPressure: 250
+ minPressureDelta: 187.5
+ scalingType: Threshold
+
- type: entity
+ parent: BaseDeltaPressureGlass
id: InflatableWall
name: inflatable barricade
description: An inflated membrane. Activate to deflate. Do not puncture.
disassembleTime: 3
- type: InflatableSafeDisassembly
- type: Airtight
- - type: DeltaPressure
- minPressure: 1000
- minPressureDelta: 750
- scalingType: Linear
- scalingPower: 0.0005
- type: Transform
anchored: true
placement:
- type: entity
id: InflatableDoor
name: inflatable door
- parent: BaseMaterialDoor
+ parent: [BaseMaterialDoor, BaseDeltaPressureGlass]
description: An inflated membrane. Activate to deflate. Now with a door. Do not puncture.
components:
- type: Clickable
- type: InflatableSafeDisassembly
- type: Occluder
enabled: false
- - type: DeltaPressure
- minPressure: 1000
- minPressureDelta: 750
- scalingType: Linear
- scalingPower: 0.0005
- type: entity
id: ShuttersNormal
- parent: BaseShutter
+ parent: [BaseShutter, BaseDeltaPressureGlass]
components:
- type: Occluder
- type: Construction
node: Shutters
containers:
- board
- - type: DeltaPressure
- minPressure: 1000
- minPressureDelta: 750
- scalingType: Linear
- scalingPower: 0.0005
- type: entity
id: ShuttersNormalOpen
- type: entity
id: ShuttersRadiation
- parent: BaseShutter
+ parent: [BaseShutter, BaseDeltaPressureGlass]
name: radiation shutters
description: Why did they make these shutters radioactive?
components:
node: ShuttersRadiation
containers:
- board
- - type: DeltaPressure
- minPressure: 1000
- minPressureDelta: 750
- scalingType: Linear
- scalingPower: 0.0005
- type: RadiationBlocker
resistance: 4
- type: entity
id: ShuttersWindow
- parent: BaseShutter
+ parent: [BaseShutter, BaseDeltaPressureGlass]
name: window shutters
description: The Best (TM) place to see your friends explode!
components:
node: ShuttersWindow
containers:
- board
- - type: DeltaPressure
- minPressure: 1000
- minPressureDelta: 750
- scalingType: Linear
- scalingPower: 0.0005
- type: RadiationBlocker
resistance: 1
#Normal windoors
- type: entity
id: BaseWindoor
- parent: BaseStructure
+ parent: [BaseStructure, BaseDeltaPressureGlassQuarter]
abstract: true
placement:
mode: SnapgridCenter
noAirWhenFullyAirBlocked: false
airBlockedDirection:
- South
- - type: DeltaPressure
- minPressure: 250
- minPressureDelta: 187.5
- scalingType: Threshold
- type: Construction
graph: Windoor
node: windoor
- type: entity
id: BaseSecureWindoor
- parent: BaseWindoor
+ parent: [BaseWindoor, BaseDeltaPressureReinforcedGlassQuarter]
abstract: true
components:
- type: Sprite
- type: Construction
graph: Windoor
node: windoorSecure
- - type: DeltaPressure
- minPressure: 3750
- minPressureDelta: 2500
- scalingType: Threshold
- type: StaticPrice
price: 350
- type: Tag
#Plasma Windoors
- type: entity
id: BasePlasmaWindoor
- parent: BaseWindoor
+ parent: [BaseWindoor, BaseDeltaPressurePlasmaQuarter]
abstract: true
components:
- type: Sprite
- type: Construction
graph: Windoor
node: pwindoor
- - type: DeltaPressure
- minPressure: 18750
- minPressureDelta: 12500
- scalingType: Threshold
- type: StaticPrice
price: 500
- type: RadiationBlocker
- type: entity
id: BaseSecurePlasmaWindoor
- parent: BaseSecureWindoor
+ parent: [BaseSecureWindoor, BaseDeltaPressureReinforcedPlasmaQuarter]
abstract: true
components:
- type: Sprite
- type: Construction
graph: Windoor
node: pwindoorSecure
- - type: DeltaPressure
- minPressure: 37500
- minPressureDelta: 25000
- scalingType: Threshold
- type: StaticPrice
price: 500
- type: RadiationBlocker
#Uranium Windoors
- type: entity
id: BaseUraniumWindoor
- parent: BaseWindoor
+ parent: [BaseWindoor, BaseDeltaPressurePlasmaQuarter]
abstract: true
components:
- type: Sprite
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 18750
- minPressureDelta: 12500
- scalingType: Threshold
- type: Construction
graph: Windoor
node: uwindoor
- type: entity
id: BaseSecureUraniumWindoor
- parent: BaseSecureWindoor
+ parent: [BaseSecureWindoor, BaseDeltaPressureReinforcedPlasmaQuarter]
abstract: true
components:
- type: Sprite
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 37500
- minPressureDelta: 25000
- scalingType: Threshold
- type: Construction
graph: Windoor
node: uwindoorSecure
- type: entity
id: PlasmaWindow
name: plasma window
- parent: WindowRCDResistant
+ parent: [WindowRCDResistant, BaseDeltaPressurePlasma]
components:
- type: Sprite
drawdepth: WallTops
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- - type: DeltaPressure
- minPressure: 75000
- minPressureDelta: 50000
- scalingType: Linear
- scalingPower: 0.0005
- type: StaticPrice
price: 100
- type: RadiationBlocker
- type: entity
id: PlasmaWindowDirectional
- parent: WindowDirectionalRCDResistant
+ parent: [WindowDirectionalRCDResistant, BaseDeltaPressurePlasmaQuarter]
name: directional plasma window
description: Don't smudge up the glass down there.
placement:
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 18750
- minPressureDelta: 12500
- scalingType: Threshold
- type: StaticPrice
price: 50
- type: RadiationBlocker
- type: entity
id: ReinforcedWindow
name: reinforced window
- parent: Window
+ parent: [Window, BaseDeltaPressureReinforcedGlass]
components:
- type: Sprite
drawdepth: WallTops
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- - type: DeltaPressure
- minPressure: 15000
- minPressureDelta: 10000
- scalingType: Threshold
- type: entity
id: WindowReinforcedDirectional
- parent: WindowDirectional
+ parent: [WindowDirectional, BaseDeltaPressureReinforcedGlassQuarter]
name: directional reinforced window
description: Don't smudge up the glass down there.
placement:
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 3750
- minPressureDelta: 2500
- type: StaticPrice
price: 22.5
- type: entity
id: ReinforcedPlasmaWindow
name: reinforced plasma window
- parent: WindowRCDResistant
+ parent: [WindowRCDResistant, BaseDeltaPressureReinforcedPlasma]
components:
- type: Sprite
drawdepth: WallTops
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- - type: DeltaPressure
- minPressure: 150000
- minPressureDelta: 100000
- scalingType: Linear
- scalingPower: 0.0001
- type: StaticPrice
price: 132
- type: entity
id: PlasmaReinforcedWindowDirectional
- parent: WindowDirectionalRCDResistant
+ parent: [WindowDirectionalRCDResistant, BaseDeltaPressureReinforcedPlasmaQuarter]
name: directional reinforced plasma window
description: Don't smudge up the glass down there.
placement:
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 37500
- minPressureDelta: 25000
- scalingType: Threshold
- type: StaticPrice
price: 66
- type: entity
id: ReinforcedUraniumWindow
name: reinforced uranium window
- parent: WindowRCDResistant
+ parent: [WindowRCDResistant, BaseDeltaPressureReinforcedPlasma]
components:
- type: Sprite
drawdepth: WallTops
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- - type: DeltaPressure
- minPressure: 150000
- minPressureDelta: 100000
- scalingType: Linear
- scalingPower: 0.0001
- type: StaticPrice
price: 215
- type: RadiationBlocker
- type: entity
id: UraniumReinforcedWindowDirectional
- parent: WindowDirectionalRCDResistant
+ parent: [WindowDirectionalRCDResistant, BaseDeltaPressureReinforcedPlasmaQuarter]
name: directional reinforced uranium window
description: Don't smudge up the glass down there.
placement:
max: 2
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 37500
- minPressureDelta: 25000
- scalingType: Threshold
- type: StaticPrice
price: 110
- type: RadiationBlocker
- type: entity
id: ShuttleWindow
name: shuttle window
- parent: WindowRCDResistant
+ parent: [WindowRCDResistant, BaseDeltaPressureReinforcedGlass]
components:
- type: Sprite
drawdepth: WallTops
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- - type: DeltaPressure
- minPressure: 15000
- minPressureDelta: 10000
- scalingType: Linear
- scalingPower: 0.0005
- type: StaticPrice
price: 150
- type: entity
id: UraniumWindow
name: uranium window
- parent: WindowRCDResistant
+ parent: [WindowRCDResistant, BaseDeltaPressurePlasma]
components:
- type: Sprite
drawdepth: WallTops
trackAllDamage: true
damageOverlay:
sprite: Structures/Windows/cracks.rsi
- - type: DeltaPressure
- minPressure: 75000
- minPressureDelta: 50000
- scalingType: Linear
- scalingPower: 0.0005
- type: StaticPrice
price: 200
- type: RadiationBlocker
- type: entity
id: UraniumWindowDirectional
- parent: WindowDirectionalRCDResistant
+ parent: [WindowDirectionalRCDResistant, BaseDeltaPressurePlasmaQuarter]
name: directional uranium window
description: Don't smudge up the glass down there.
placement:
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- - type: DeltaPressure
- minPressure: 18750
- minPressureDelta: 12500
- scalingType: Threshold
- type: StaticPrice
price: 100
- type: RadiationBlocker
- type: entity
id: Window
- parent: BaseStructure
+ parent: [BaseStructure, BaseDeltaPressureGlass]
name: window
description: Don't smudge up the glass down there.
placement:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Airtight
- - type: DeltaPressure
- minPressure: 1000
- minPressureDelta: 750
- scalingType: Linear
- scalingPower: 0.0005
- type: IconSmooth
key: windows
base: window
- type: entity
id: WindowDirectional
- parent: BaseStructure
+ parent: [BaseStructure, BaseDeltaPressureGlassQuarter]
name: directional window
description: Don't smudge up the glass down there.
placement:
noAirWhenFullyAirBlocked: false
airBlockedDirection:
- South
- - type: DeltaPressure
- minPressure: 250
- minPressureDelta: 187.5
- scalingType: Threshold
- type: Construction
graph: WindowDirectional
node: windowDirectional