air sensor entity
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
- type: AtmosAlarmable
|
- type: AtmosAlarmable
|
||||||
alarmedBy:
|
alarmedBy:
|
||||||
- FireAlarm
|
- FireAlarm
|
||||||
- GasVentPump # TODO: No
|
- AirSensor
|
||||||
- type: ApcPowerReceiver
|
- type: ApcPowerReceiver
|
||||||
- type: ExtensionCableReceiver
|
- type: ExtensionCableReceiver
|
||||||
- type: DeviceNetwork
|
- type: DeviceNetwork
|
||||||
|
|||||||
@@ -32,27 +32,8 @@
|
|||||||
transmitFrequencyId: AtmosMonitor
|
transmitFrequencyId: AtmosMonitor
|
||||||
prefix: device-address-prefix-vent
|
prefix: device-address-prefix-vent
|
||||||
sendBroadcastAttemptEvent: true
|
sendBroadcastAttemptEvent: true
|
||||||
- type: DeviceList
|
|
||||||
- type: WiredNetworkConnection
|
- type: WiredNetworkConnection
|
||||||
- type: AtmosAlarmable
|
|
||||||
alarmedBy:
|
|
||||||
- GasVentPump # TODO: No
|
|
||||||
- type: AtmosDevice
|
- type: AtmosDevice
|
||||||
- type: AtmosMonitor
|
|
||||||
temperatureThreshold: stationTemperature
|
|
||||||
pressureThreshold: stationPressure
|
|
||||||
gasThresholds:
|
|
||||||
Oxygen: stationOxygen
|
|
||||||
Nitrogen: ignore
|
|
||||||
CarbonDioxide: stationCO2
|
|
||||||
Plasma: danger # everything below is usually bad
|
|
||||||
Tritium: danger
|
|
||||||
WaterVapor: danger
|
|
||||||
Miasma: danger
|
|
||||||
NitrousOxide: danger
|
|
||||||
Frezon: danger
|
|
||||||
- type: AccessReader
|
|
||||||
access: [ [ "Atmospherics" ] ]
|
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
netsync: false
|
netsync: false
|
||||||
drawdepth: FloorObjects
|
drawdepth: FloorObjects
|
||||||
|
|||||||
@@ -0,0 +1,37 @@
|
|||||||
|
- type: entity
|
||||||
|
id: AirSensor
|
||||||
|
name: air sensor
|
||||||
|
description: Air sensor. It senses air.
|
||||||
|
components:
|
||||||
|
- type: ApcPowerReceiver
|
||||||
|
- type: ExtensionCableReceiver
|
||||||
|
- type: DeviceNetwork
|
||||||
|
deviceNetId: AtmosDevices
|
||||||
|
receiveFrequencyId: AtmosMonitor
|
||||||
|
transmitFrequencyId: AtmosMonitor
|
||||||
|
prefix: device-address-prefix-sensor
|
||||||
|
sendBroadcastAttemptEvent: true
|
||||||
|
- type: DeviceList
|
||||||
|
- type: WiredNetworkConnection
|
||||||
|
- type: AtmosDevice
|
||||||
|
- type: AtmosMonitor
|
||||||
|
temperatureThreshold: stationTemperature
|
||||||
|
pressureThreshold: stationPressure
|
||||||
|
gasThresholds:
|
||||||
|
Oxygen: stationOxygen
|
||||||
|
Nitrogen: ignore
|
||||||
|
CarbonDioxide: stationCO2
|
||||||
|
Plasma: danger # everything below is usually bad
|
||||||
|
Tritium: danger
|
||||||
|
WaterVapor: danger
|
||||||
|
Miasma: danger
|
||||||
|
NitrousOxide: danger
|
||||||
|
Frezon: danger
|
||||||
|
- type: AccessReader
|
||||||
|
access: [ [ "Atmospherics" ] ]
|
||||||
|
- type: Sprite
|
||||||
|
netsync: false
|
||||||
|
drawdepth: FloorObjects
|
||||||
|
sprite: Structures/Specific/Atmospherics/sensor.rsi
|
||||||
|
layers:
|
||||||
|
- state: gsensor1
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
- type: WiredNetworkConnection
|
- type: WiredNetworkConnection
|
||||||
- type: DeviceList
|
- type: DeviceList
|
||||||
- type: AtmosAlarmable
|
- type: AtmosAlarmable
|
||||||
alarmedBy: ["GasVentPump"]
|
alarmedBy: ["AirSensor"]
|
||||||
- type: AtmosDevice
|
- type: AtmosDevice
|
||||||
- type: AirAlarm
|
- type: AirAlarm
|
||||||
- type: Clickable
|
- type: Clickable
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 166 B |
Binary file not shown.
|
After Width: | Height: | Size: 164 B |
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"version": 1,
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"license": "CC 3.0 BY-SA",
|
||||||
|
"copyright": "Taken from /tg/station on commit https://github.com/tgstation/tgstation/commit/1dd5021b2c5b64e954935bdf77bc973c34016a04",
|
||||||
|
"states": [
|
||||||
|
{ "name": "gsensor0" },
|
||||||
|
{ "name": "gsensor1" }
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user