mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Move air sensor components into abstract base prototype (#29261)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
- type: CollideOnAnchor
|
||||
|
||||
- type: entity
|
||||
parent: GasUnaryBase
|
||||
parent: [GasUnaryBase, AirSensorBase]
|
||||
id: GasVentPump
|
||||
name: air vent
|
||||
description: Has a valve and a pump attached to it.
|
||||
@@ -31,28 +31,7 @@
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: AtmosDevices
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
prefix: device-address-prefix-vent
|
||||
sendBroadcastAttemptEvent: true
|
||||
examinableAddress: true
|
||||
- type: WiredNetworkConnection
|
||||
- type: DeviceNetworkRequiresPower
|
||||
- type: AtmosDevice
|
||||
- type: AtmosMonitor
|
||||
temperatureThresholdId: stationTemperature
|
||||
pressureThresholdId: stationPressure
|
||||
gasThresholdPrototypes:
|
||||
Oxygen: stationOxygen
|
||||
Nitrogen: ignore
|
||||
CarbonDioxide: stationCO2
|
||||
Plasma: stationPlasma # everything below is usually bad
|
||||
Tritium: danger
|
||||
WaterVapor: stationWaterVapor
|
||||
Ammonia: stationAmmonia
|
||||
NitrousOxide: stationNO
|
||||
Frezon: danger
|
||||
- type: Tag
|
||||
tags:
|
||||
- GasVent
|
||||
@@ -115,7 +94,7 @@
|
||||
node: passivevent
|
||||
|
||||
- type: entity
|
||||
parent: GasUnaryBase
|
||||
parent: [GasUnaryBase, AirSensorBase]
|
||||
id: GasVentScrubber
|
||||
name: air scrubber
|
||||
description: Has a valve and pump attached to it.
|
||||
@@ -125,25 +104,7 @@
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: AtmosDevices
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
prefix: device-address-prefix-scrubber
|
||||
examinableAddress: true
|
||||
- type: DeviceNetworkRequiresPower
|
||||
- type: AtmosMonitor
|
||||
temperatureThresholdId: stationTemperature
|
||||
pressureThresholdId: stationPressure
|
||||
gasThresholdPrototypes:
|
||||
Oxygen: stationOxygen
|
||||
Nitrogen: ignore
|
||||
CarbonDioxide: stationCO2
|
||||
Plasma: stationPlasma # everything below is usually bad
|
||||
Tritium: danger
|
||||
WaterVapor: stationWaterVapor
|
||||
Ammonia: stationAmmonia
|
||||
NitrousOxide: stationNO
|
||||
Frezon: danger
|
||||
- type: Tag
|
||||
tags:
|
||||
- GasScrubber
|
||||
|
||||
@@ -1,7 +1,39 @@
|
||||
- type: entity
|
||||
id: AirSensorBase
|
||||
abstract: true
|
||||
components:
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: AtmosDevices
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
prefix: device-address-prefix-sensor
|
||||
sendBroadcastAttemptEvent: true
|
||||
examinableAddress: true
|
||||
- type: WiredNetworkConnection
|
||||
- type: DeviceNetworkRequiresPower
|
||||
- type: AtmosDevice
|
||||
- type: AtmosMonitor
|
||||
temperatureThresholdId: stationTemperature
|
||||
pressureThresholdId: stationPressure
|
||||
gasThresholdPrototypes:
|
||||
Oxygen: stationOxygen
|
||||
Nitrogen: ignore
|
||||
CarbonDioxide: stationCO2
|
||||
Plasma: stationPlasma # everything below is usually bad
|
||||
Tritium: danger
|
||||
WaterVapor: stationWaterVapor
|
||||
Ammonia: stationAmmonia
|
||||
NitrousOxide: stationNO
|
||||
Frezon: danger
|
||||
- type: Tag
|
||||
tags:
|
||||
- AirSensor
|
||||
|
||||
- type: entity
|
||||
id: AirSensor
|
||||
name: air sensor
|
||||
description: Air sensor. It senses air.
|
||||
parent: AirSensorBase
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
components:
|
||||
@@ -35,32 +67,6 @@
|
||||
- type: InteractionOutline
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: AtmosDevices
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
prefix: device-address-prefix-sensor
|
||||
sendBroadcastAttemptEvent: true
|
||||
examinableAddress: true
|
||||
- type: WiredNetworkConnection
|
||||
- type: DeviceNetworkRequiresPower
|
||||
- type: AtmosDevice
|
||||
- type: AtmosMonitor
|
||||
temperatureThresholdId: stationTemperature
|
||||
pressureThresholdId: stationPressure
|
||||
gasThresholdPrototypes:
|
||||
Oxygen: stationOxygen
|
||||
Nitrogen: ignore
|
||||
CarbonDioxide: stationCO2
|
||||
Plasma: stationPlasma # everything below is usually bad
|
||||
Tritium: danger
|
||||
WaterVapor: stationWaterVapor
|
||||
Ammonia: stationAmmonia
|
||||
NitrousOxide: stationNO
|
||||
Frezon: danger
|
||||
- type: Tag
|
||||
tags:
|
||||
- AirSensor
|
||||
- type: AccessReader
|
||||
access: [ [ "Atmospherics" ] ]
|
||||
- type: Construction
|
||||
|
||||
Reference in New Issue
Block a user