Rejig Device networks (#7380)
This commit is contained in:
8
Resources/Locale/en-US/devices/device-network.ftl
Normal file
8
Resources/Locale/en-US/devices/device-network.ftl
Normal file
@@ -0,0 +1,8 @@
|
||||
# named frequencies
|
||||
device-frequency-prototype-name-atmos = Atmospheric Devices
|
||||
device-frequency-prototype-name-suit-sensors = Suit Sensors
|
||||
device-frequency-prototype-name-lights = Smart Lights
|
||||
|
||||
# prefixes for randomly generated device addresses
|
||||
device-address-prefix-vent = Vnt-
|
||||
device-address-prefix-scrubber = Scr-
|
||||
16
Resources/Prototypes/Device/devicenet_frequencies.yml
Normal file
16
Resources/Prototypes/Device/devicenet_frequencies.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- type: deviceFrequency
|
||||
id: AtmosMonitor
|
||||
name: device-frequency-prototype-name-atmos
|
||||
frequency: 1621
|
||||
|
||||
# Only listen to this frequency if you are a health or GPS monitor. Otherwise you will just slow down the server by constantly receiving periodic broadcasts from every player-entity.
|
||||
- type: deviceFrequency
|
||||
id: SuitSensor
|
||||
name: device-frequency-prototype-name-suit-sensors
|
||||
frequency: 1262
|
||||
|
||||
# This frequency will likely have a LARGE number of listening entities. Please don't broadcast on this frequency.
|
||||
- type: deviceFrequency
|
||||
id: SmartLight #used by powered lights.
|
||||
name: device-frequency-prototype-name-lights
|
||||
frequency: 1173
|
||||
@@ -4,8 +4,9 @@
|
||||
id: ClothingWithSuitSensor
|
||||
components:
|
||||
- type: SuitSensor
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
transmitFrequencyId: SuitSensor
|
||||
- type: WirelessNetworkConnection
|
||||
range: 500
|
||||
|
||||
|
||||
@@ -176,7 +176,8 @@
|
||||
- AtmosphericsNitrogen
|
||||
- AtmosphericsCarbonDioxide
|
||||
- type: CrewMonitoringConsole
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: SuitSensor
|
||||
- type: WirelessNetworkConnection
|
||||
range: 500
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
- key: enum.CrewMonitoringUIKey.Key
|
||||
type: CrewMonitoringBoundUserInterface
|
||||
- type: CrewMonitoringConsole
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: SuitSensor
|
||||
- type: WirelessNetworkConnection
|
||||
range: 500
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
- AirAlarm
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
frequency: 1621
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
- type: ApcNetworkConnection
|
||||
- type: InteractionOutline
|
||||
- type: Damageable
|
||||
|
||||
@@ -137,8 +137,9 @@
|
||||
- key: enum.CrewMonitoringUIKey.Key
|
||||
type: CrewMonitoringBoundUserInterface
|
||||
- type: CrewMonitoringConsole
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: SuitSensor
|
||||
- type: WirelessNetworkConnection
|
||||
range: 500
|
||||
|
||||
|
||||
@@ -26,9 +26,11 @@
|
||||
components:
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
frequency: 1621
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
prefix: device-address-prefix-vent
|
||||
- type: ApcNetworkConnection
|
||||
- type: AtmosAlarmable
|
||||
alarmedBy:
|
||||
@@ -96,9 +98,11 @@
|
||||
components:
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
frequency: 1621
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
prefix: device-address-prefix-scrubber
|
||||
- type: ApcNetworkConnection
|
||||
- type: AtmosAlarmable
|
||||
alarmedBy:
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
- type: WallMount
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
frequency: 1621
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
- type: ApcNetworkConnection
|
||||
- type: AtmosMonitor
|
||||
temperatureThreshold: stationTemperature
|
||||
|
||||
@@ -6,9 +6,10 @@
|
||||
- type: WallMount
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
frequency: 1621
|
||||
receiveFrequencyId: AtmosMonitor
|
||||
transmitFrequencyId: AtmosMonitor
|
||||
- type: ApcNetworkConnection
|
||||
- type: AtmosMonitor
|
||||
monitorFire: true
|
||||
|
||||
@@ -79,8 +79,9 @@
|
||||
Heat: 5
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
receiveFrequencyId: SmartLight
|
||||
- type: ApcNetworkConnection
|
||||
- type: Appearance
|
||||
visuals:
|
||||
@@ -245,8 +246,9 @@
|
||||
Heat: 5
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
receiveFrequencyId: SmartLight
|
||||
- type: ApcNetworkConnection
|
||||
- type: Appearance
|
||||
visuals:
|
||||
|
||||
@@ -58,8 +58,9 @@
|
||||
graph: LightSwitch
|
||||
node: lightSwitch
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
transmitFrequencyId: SmartLight # assuming people want to use it for light switches.
|
||||
- type: ApcNetworkConnection
|
||||
- type: ApcNetSwitch
|
||||
placement:
|
||||
|
||||
@@ -77,8 +77,9 @@
|
||||
Heat: 20
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetworkComponent
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
receiveFrequencyId: SmartLight
|
||||
- type: ApcNetworkConnection
|
||||
- type: Construction
|
||||
graph: LightFixture
|
||||
|
||||
Reference in New Issue
Block a user