Device Linking and better linking ui (#13645)
Co-authored-by: AJCM-git <60196617+AJCM-git@users.noreply.github.com> Co-authored-by: Visne <39844191+Visne@users.noreply.github.com> Co-authored-by: ElectroJr <leonsfriedrich@gmail.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -26,4 +26,4 @@
|
||||
- files: ["vessel_warning.ogg"]
|
||||
license: "CC-BY-4.0"
|
||||
copyright: "Created by AUDACITIER (freesound), converted to MONO and .ogg and edited by EmoGarbage404 (github)."
|
||||
source: "https://freesound.org/people/AUDACITIER/sounds/629196/"
|
||||
source: "https://freesound.org/people/AUDACITIER/sounds/629196/"
|
||||
|
||||
@@ -6,6 +6,7 @@ device-frequency-prototype-name-lights = Smart Lights
|
||||
device-frequency-prototype-name-mailing-units = Mailing Units
|
||||
device-frequency-prototype-name-pdas = PDAs
|
||||
device-frequency-prototype-name-fax = Fax
|
||||
device-frequency-prototype-name-basic-device = Basic Devices
|
||||
|
||||
## camera frequencies
|
||||
device-frequency-prototype-name-surveillance-camera-test = Subnet Test
|
||||
|
||||
@@ -6,12 +6,23 @@ network-configurator-too-many-devices = Too many devices stored on this device!
|
||||
network-configurator-update-ok = Device storage updated.
|
||||
network-configurator-device-already-saved = network device: {$device} is already saved.
|
||||
network-configurator-device-access-denied = Access denied!
|
||||
network-configurator-link-mode-started = Started linking device: {$device}
|
||||
network-configurator-link-mode-stopped = Stopped linking.
|
||||
network-configurator-mode-link = Link
|
||||
network-configurator-mode-list = List
|
||||
network-configurator-switched-mode = Switched mode to: {$mode}
|
||||
|
||||
# Verbs
|
||||
network-configurator-save-device = Save device
|
||||
network-configurator-configure = Configure
|
||||
network-configurator-switch-mode = Switch mode
|
||||
network-configurator-link-defaults = Link defaults
|
||||
network-configurator-start-link = Start link
|
||||
network-configurator-link = Link
|
||||
|
||||
# ui
|
||||
network-configurator-title-saved-devices = Saved Devices
|
||||
network-configurator-title-device-configuration = Device Configuration
|
||||
network-configurator-ui-clear-button = Clear
|
||||
network-configurator-ui-count-label = {$count} Devices
|
||||
network-configurator-clear-network-link-overlays = Clear network link overlays
|
||||
@@ -24,3 +35,13 @@ network-configurator-tooltip-edit = Edit targets device list
|
||||
network-configurator-tooltip-clear = Clear targets device list
|
||||
network-configurator-tooltip-copy = Copy targets device list to multitool
|
||||
network-configurator-tooltip-show = Show a holographic visualization of targets device list
|
||||
|
||||
# examine
|
||||
network-configurator-examine-mode-link = [color=red]Link[/color]
|
||||
network-configurator-examine-mode-list = [color=green]List[/color]
|
||||
network-configurator-examine-current-mode = Current mode: {$mode}
|
||||
network-configurator-examine-switch-modes = Press {$key} to switch modes
|
||||
|
||||
# item status
|
||||
network-configurator-item-status-label = Current mode: {$mode}
|
||||
{$keybinding} to switch mode
|
||||
|
||||
@@ -4,6 +4,8 @@ guide-entry-atmospherics = Atmospherics
|
||||
guide-entry-botany = Botany
|
||||
guide-entry-fires = Fires & Space
|
||||
guide-entry-shuttle-craft = Shuttle-craft
|
||||
guide-entry-networking = Networking
|
||||
guide-entry-network-configurator = Network Configurator
|
||||
guide-entry-power = Power
|
||||
guide-entry-ame = Antimatter Engine (AME)
|
||||
guide-entry-singularity = Singularity
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
signal-port-selector-menu-title = Port Selector
|
||||
signal-port-selector-menu-clear = Clear
|
||||
signal-port-selector-menu-link-defaults = Link defaults
|
||||
signal-port-selector-help = Select the ports you want to link up
|
||||
signal-port-selector-menu-done = Done
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
signal-port-name-toggle = Autoclose
|
||||
signal-port-description-toggle = Toggles whether the device should automatically close.
|
||||
|
||||
signal-port-name-toggle = Toggle
|
||||
signal-port-description-toggle = Toggles the state of a device.
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
- id: Wirecutter
|
||||
- id: Welder
|
||||
- id: Multitool
|
||||
- id: NetworkConfigurator
|
||||
|
||||
- type: entity
|
||||
id: ClothingBeltChiefEngineerFilled
|
||||
@@ -24,6 +25,7 @@
|
||||
- id: WelderExperimental
|
||||
- id: Multitool
|
||||
- id: CableApcStack
|
||||
- id: NetworkConfigurator
|
||||
|
||||
- type: entity
|
||||
id: ClothingBeltSecurityFilled
|
||||
|
||||
@@ -86,3 +86,8 @@
|
||||
id: Fax
|
||||
name: device-frequency-prototype-name-fax
|
||||
frequency: 2640
|
||||
|
||||
- type: deviceFrequency
|
||||
id: BasicDevice
|
||||
name: device-frequency-prototype-name-basic-device
|
||||
frequency: 1280
|
||||
|
||||
74
Resources/Prototypes/DeviceLinking/sink_ports.yml
Normal file
74
Resources/Prototypes/DeviceLinking/sink_ports.yml
Normal file
@@ -0,0 +1,74 @@
|
||||
- type: sinkPort
|
||||
id: AutoClose
|
||||
name: signal-port-name-autoclose
|
||||
description: signal-port-description-autoclose
|
||||
|
||||
- type: sinkPort
|
||||
id: Toggle
|
||||
name: signal-port-name-toggle
|
||||
description: signal-port-description-toggle
|
||||
|
||||
- type: sinkPort
|
||||
id: On
|
||||
name: signal-port-name-on-receiver
|
||||
description: signal-port-description-on-receiver
|
||||
|
||||
- type: sinkPort
|
||||
id: Off
|
||||
name: signal-port-name-off-receiver
|
||||
description: signal-port-description-off-receiver
|
||||
|
||||
- type: sinkPort
|
||||
id: Forward
|
||||
name: signal-port-name-forward
|
||||
description: signal-port-description-forward
|
||||
|
||||
- type: sinkPort
|
||||
id: Reverse
|
||||
name: signal-port-name-reverse
|
||||
description: signal-port-description-reverse
|
||||
|
||||
- type: sinkPort
|
||||
id: Open
|
||||
name: signal-port-name-open
|
||||
description: signal-port-description-open
|
||||
|
||||
- type: sinkPort
|
||||
id: Close
|
||||
name: signal-port-name-close
|
||||
description: signal-port-description-close
|
||||
|
||||
- type: sinkPort
|
||||
id: Trigger
|
||||
name: signal-port-name-trigger
|
||||
description: signal-port-description-trigger
|
||||
|
||||
- type: sinkPort
|
||||
id: OrderReceiver
|
||||
name: signal-port-name-order-receiver
|
||||
description: signal-port-description-order-receiver
|
||||
|
||||
- type: sinkPort
|
||||
id: Pressurize
|
||||
name: signal-port-name-pressurize
|
||||
description: signal-port-description-pressurize
|
||||
|
||||
- type: sinkPort
|
||||
id: Depressurize
|
||||
name: signal-port-name-depressurize
|
||||
description: signal-port-description-depressurize
|
||||
|
||||
- type: sinkPort
|
||||
id: CloningPodReceiver
|
||||
name: signal-port-name-pod-receiver
|
||||
description: signal-port-description-pod-receiver
|
||||
|
||||
- type: sinkPort
|
||||
id: MedicalScannerReceiver
|
||||
name: signal-port-name-med-scanner-receiver
|
||||
description: signal-port-description-med-scanner-receiver
|
||||
|
||||
- type: sinkPort
|
||||
id: ArtifactAnalyzerReceiver
|
||||
name: signal-port-name-artifact-analyzer-receiver
|
||||
description: signal-port-description-artifact-analyzer-receiver
|
||||
57
Resources/Prototypes/DeviceLinking/source_ports.yml
Normal file
57
Resources/Prototypes/DeviceLinking/source_ports.yml
Normal file
@@ -0,0 +1,57 @@
|
||||
- type: sourcePort
|
||||
id: Pressed
|
||||
name: signal-port-name-pressed
|
||||
description: signal-port-description-pressed
|
||||
defaultLinks: [ Toggle, Trigger ]
|
||||
|
||||
- type: sourcePort
|
||||
id: On
|
||||
name: signal-port-name-on-transmitter
|
||||
description: signal-port-description-on-transmitter
|
||||
defaultLinks: [ On, Open, Forward, Trigger ]
|
||||
|
||||
- type: sourcePort
|
||||
id: Off
|
||||
name: signal-port-name-off-transmitter
|
||||
description: signal-port-description-off-transmitter
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
- type: sourcePort
|
||||
id: Left
|
||||
name: signal-port-name-left
|
||||
description: signal-port-description-left
|
||||
defaultLinks: [ On, Open, Forward, Trigger ]
|
||||
|
||||
- type: sourcePort
|
||||
id: Right
|
||||
name: signal-port-name-right
|
||||
description: signal-port-description-right
|
||||
defaultLinks: [ On, Open, Reverse, Trigger ]
|
||||
|
||||
- type: sourcePort
|
||||
id: Middle
|
||||
name: signal-port-name-middle
|
||||
description: signal-port-description-middle
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
- type: sourcePort
|
||||
id: OrderSender
|
||||
name: signal-port-name-order-sender
|
||||
description: signal-port-description-order-sender
|
||||
defaultLinks: [ OrderReceiver ]
|
||||
|
||||
- type: sourcePort
|
||||
id: CloningPodSender
|
||||
name: signal-port-name-pod-receiver
|
||||
description: signal-port-description-pod-sender
|
||||
|
||||
- type: sourcePort
|
||||
id: MedicalScannerSender
|
||||
name: signal-port-name-med-scanner-sender
|
||||
description: signal-port-description-med-scanner-sender
|
||||
|
||||
- type: sourcePort
|
||||
id: ArtifactAnalyzerSender
|
||||
name: signal-port-name-artifact-analyzer-sender
|
||||
description: signal-port-description-artifact-analyzer-sender
|
||||
defaultLinks: [ ArtifactAnalyzerReceiver ]
|
||||
@@ -11,6 +11,7 @@
|
||||
- type: Clothing
|
||||
sprite: Clothing/Belt/utility.rsi
|
||||
- type: Storage
|
||||
capacity: 45
|
||||
# TODO: Fill this out more.
|
||||
whitelist:
|
||||
tags:
|
||||
@@ -26,10 +27,11 @@
|
||||
- CigPack
|
||||
- Radio
|
||||
- HolofanProjector
|
||||
- Multitool
|
||||
- AppraisalTool
|
||||
components:
|
||||
- AirlockPainter
|
||||
- SignalLinker
|
||||
- NetworkConfigurator
|
||||
- RCD
|
||||
- RCDAmmo
|
||||
- Welder
|
||||
@@ -63,8 +65,8 @@
|
||||
- Wrench
|
||||
multitool:
|
||||
whitelist:
|
||||
components:
|
||||
- SignalLinker
|
||||
tags:
|
||||
- Multitool
|
||||
sprite: Clothing/Belt/belt_overlay.rsi
|
||||
- type: Appearance
|
||||
|
||||
@@ -79,7 +81,7 @@
|
||||
- type: Clothing
|
||||
sprite: Clothing/Belt/ce.rsi
|
||||
- type: Storage
|
||||
capacity: 100
|
||||
capacity: 105
|
||||
# TODO: Fill this out more.
|
||||
whitelist:
|
||||
tags:
|
||||
@@ -96,10 +98,11 @@
|
||||
- CigPack
|
||||
- Radio
|
||||
- HolofanProjector
|
||||
- Multitool
|
||||
- AppraisalTool
|
||||
components:
|
||||
- AirlockPainter
|
||||
- SignalLinker
|
||||
- NetworkConfigurator
|
||||
- RCD
|
||||
- RCDAmmo
|
||||
- Welder
|
||||
@@ -135,8 +138,8 @@
|
||||
- Screwdriver
|
||||
multitool:
|
||||
whitelist:
|
||||
components:
|
||||
- SignalLinker
|
||||
tags:
|
||||
- Multitool
|
||||
wrench:
|
||||
whitelist:
|
||||
tags:
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
- type: UseDelay
|
||||
- type: StaticPrice
|
||||
price: 40
|
||||
- type: SignalTransmitter
|
||||
outputs:
|
||||
Pressed: []
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- Pressed
|
||||
- type: Tag
|
||||
tags:
|
||||
- Payload
|
||||
|
||||
@@ -42,7 +42,12 @@
|
||||
- type: PayloadTrigger
|
||||
components:
|
||||
- type: TriggerOnSignal
|
||||
- type: SignalReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
- type: StaticPrice
|
||||
price: 40
|
||||
|
||||
|
||||
@@ -108,7 +108,9 @@
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Pulsing
|
||||
- type: SignalLinker
|
||||
- type: Tag
|
||||
tags:
|
||||
- Multitool
|
||||
|
||||
- type: entity
|
||||
name: cowelding tool
|
||||
|
||||
@@ -196,21 +196,9 @@
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Pulsing
|
||||
- type: SignalLinker
|
||||
- type: NetworkConfigurator
|
||||
- type: ActivatableUI
|
||||
key: enum.NetworkConfiguratorUiKey.List
|
||||
inHandsOnly: true
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.SignalLinkerUiKey.Key
|
||||
type: SignalPortSelectorBoundUserInterface
|
||||
- key: enum.NetworkConfiguratorUiKey.List
|
||||
type: NetworkConfiguratorBoundUserInterface
|
||||
- key: enum.NetworkConfiguratorUiKey.Configure
|
||||
type: NetworkConfiguratorBoundUserInterface
|
||||
- type: Tag
|
||||
tags:
|
||||
- Multitool
|
||||
- DroneUsable
|
||||
- type: PhysicalComposition
|
||||
materialComposition:
|
||||
@@ -219,6 +207,54 @@
|
||||
- type: StaticPrice
|
||||
price: 60
|
||||
|
||||
- type: entity
|
||||
name: network configurator
|
||||
parent: BaseItem
|
||||
id: NetworkConfigurator
|
||||
description: A tool for linking devices together. Has two modes, a list mode for mass linking devices and a linking mode for advanced device linking.
|
||||
components:
|
||||
- type: EmitSoundOnLand
|
||||
sound:
|
||||
path: /Audio/Items/multitool_drop.ogg
|
||||
- type: Sprite
|
||||
sprite: Objects/Tools/network_configurator.rsi
|
||||
layers:
|
||||
- state: icon
|
||||
- state: mode-list
|
||||
map: ["enum.NetworkConfiguratorLayers.ModeLight"]
|
||||
shader: unshaded
|
||||
- type: Item
|
||||
size: 5
|
||||
- type: Clothing
|
||||
sprite: Objects/Tools/network_configurator.rsi
|
||||
quickEquip: false
|
||||
slots:
|
||||
- Belt
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.NetworkConfiguratorVisuals.Mode:
|
||||
enum.NetworkConfiguratorLayers.ModeLight:
|
||||
True: { state: mode-link }
|
||||
False: { state: mode-list }
|
||||
- type: NetworkConfigurator
|
||||
- type: ActivatableUI
|
||||
key: enum.NetworkConfiguratorUiKey.List
|
||||
inHandsOnly: true
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.NetworkConfiguratorUiKey.List
|
||||
type: NetworkConfiguratorBoundUserInterface
|
||||
- key: enum.NetworkConfiguratorUiKey.Configure
|
||||
type: NetworkConfiguratorBoundUserInterface
|
||||
- key: enum.NetworkConfiguratorUiKey.Link
|
||||
type: NetworkConfiguratorBoundUserInterface
|
||||
- type: Tag
|
||||
tags:
|
||||
- DroneUsable
|
||||
- type: StaticPrice
|
||||
price: 60
|
||||
|
||||
- type: entity
|
||||
name: power drill
|
||||
parent: BaseItem
|
||||
@@ -371,13 +407,10 @@
|
||||
- type: Item
|
||||
sprite: Objects/Tools/omnitool.rsi
|
||||
size: 20
|
||||
- type: Tag
|
||||
tags:
|
||||
- Multitool
|
||||
- type: TilePrying
|
||||
- type: SignalLinker
|
||||
requiredQuality: Pulsing
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.SignalLinkerUiKey.Key
|
||||
type: SignalPortSelectorBoundUserInterface
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Screwing
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
startOnStick: true
|
||||
canToggleStartOnStick: true
|
||||
- type: TriggerOnSignal
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Trigger: []
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Trigger
|
||||
- type: Sticky
|
||||
stickDelay: 5
|
||||
unstickDelay: 5
|
||||
|
||||
@@ -78,12 +78,17 @@
|
||||
BoardName: "Airlock Control"
|
||||
LayoutId: Airlock
|
||||
- type: DoorSignalControl
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Open: []
|
||||
Close: []
|
||||
Toggle: []
|
||||
AutoClose: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Open
|
||||
- Close
|
||||
- Toggle
|
||||
- AutoClose
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.WiresUiKey.Key
|
||||
|
||||
@@ -76,11 +76,16 @@
|
||||
key: walls
|
||||
mode: NoSprite
|
||||
- type: DoorSignalControl
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Open: []
|
||||
Close: []
|
||||
Toggle: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Open
|
||||
- Close
|
||||
- Toggle
|
||||
- type: InteractionPopup
|
||||
interactSuccessString: comp-window-knock
|
||||
messagePerceivedByOthers: comp-window-knock
|
||||
|
||||
@@ -46,12 +46,17 @@
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DoorSignalControl
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Open: []
|
||||
Close: []
|
||||
Toggle: []
|
||||
AutoClose: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Open
|
||||
- Close
|
||||
- Toggle
|
||||
- AutoClose
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Glass
|
||||
|
||||
@@ -86,18 +86,19 @@
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: SmartLight
|
||||
- type: ApcNetworkConnection
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- On
|
||||
- Off
|
||||
- Toggle
|
||||
- type: Appearance
|
||||
- type: PoweredLightVisuals
|
||||
blinkingSound:
|
||||
path: "/Audio/Machines/light_tube_on.ogg"
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
On: []
|
||||
Off: []
|
||||
Toggle: []
|
||||
|
||||
- type: entity
|
||||
id: Poweredlight
|
||||
@@ -266,16 +267,17 @@
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: SmartLight
|
||||
- type: ApcNetworkConnection
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: Appearance
|
||||
- type: PoweredLightVisuals
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
On: []
|
||||
Off: []
|
||||
Toggle: []
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- On
|
||||
- Off
|
||||
- Toggle
|
||||
|
||||
- type: entity
|
||||
id: PoweredSmallLight
|
||||
|
||||
@@ -91,9 +91,15 @@
|
||||
- type: ApcPowerReceiver
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: SmartLight
|
||||
- type: ApcNetworkConnection
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- On
|
||||
- Off
|
||||
- Toggle
|
||||
- type: Construction
|
||||
graph: LightFixture
|
||||
node: groundLight
|
||||
@@ -101,11 +107,6 @@
|
||||
- type: PoweredLightVisuals
|
||||
blinkingSound:
|
||||
path: "/Audio/Machines/light_tube_on.ogg"
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
On: []
|
||||
Off: []
|
||||
Toggle: []
|
||||
|
||||
- type: entity
|
||||
id: PoweredLightPostSmall
|
||||
|
||||
@@ -378,10 +378,10 @@
|
||||
- type: DeviceList
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
- type: SignalTransmitter
|
||||
transmissionRange: 5
|
||||
outputs:
|
||||
ArtifactAnalyzerSender: []
|
||||
- type: DeviceLinkSource
|
||||
range: 5
|
||||
ports:
|
||||
- ArtifactAnalyzerSender
|
||||
- type: ActivatableUI
|
||||
key: enum.ArtifactAnalzyerUiKey.Key
|
||||
- type: UserInterface
|
||||
@@ -698,11 +698,11 @@
|
||||
radius: 1.5
|
||||
energy: 1.6
|
||||
color: "#1f8c28"
|
||||
- type: SignalTransmitter
|
||||
transmissionRange: 4
|
||||
outputs:
|
||||
MedicalScannerSender: []
|
||||
CloningPodSender: []
|
||||
- type: DeviceLinkSource
|
||||
range: 4
|
||||
ports:
|
||||
- MedicalScannerSender
|
||||
- CloningPodSender
|
||||
- type: ActivatableUI
|
||||
key: enum.CloningConsoleUiKey.Key
|
||||
- type: UserInterface
|
||||
|
||||
@@ -49,10 +49,11 @@
|
||||
- type: ArtifactAnalyzer
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: DeviceList
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
ArtifactAnalyzerReceiver: []
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- ArtifactAnalyzerReceiver
|
||||
- type: Machine
|
||||
board: ArtifactAnalyzerMachineCircuitboard
|
||||
- type: PointLight
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
- type: DeviceList
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- CloningPodReceiver
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Machines/cloning.rsi
|
||||
@@ -34,9 +38,6 @@
|
||||
- machine_board
|
||||
- machine_parts
|
||||
- clonepod-bodyContainer
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
CloningPodReceiver: []
|
||||
- type: EmptyOnMachineDeconstruct
|
||||
containers:
|
||||
- clonepod-bodyContainer
|
||||
|
||||
@@ -74,6 +74,7 @@
|
||||
- Wrench
|
||||
- Crowbar
|
||||
- Multitool
|
||||
- NetworkConfigurator
|
||||
- AirlockPainter
|
||||
- CableStack
|
||||
- HandheldGPSBasic
|
||||
|
||||
@@ -7,7 +7,11 @@
|
||||
- type: MedicalScanner
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wired
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: DeviceList
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- MedicalScannerReceiver
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/Machines/scanner.rsi
|
||||
@@ -58,9 +62,6 @@
|
||||
scanner-bodyContainer: !type:ContainerSlot
|
||||
machine_board: !type:Container
|
||||
machine_parts: !type:Container
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
MedicalScannerReceiver: []
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: StrongMetallic
|
||||
|
||||
@@ -42,11 +42,11 @@
|
||||
- MidImpassable
|
||||
- LowImpassable
|
||||
hard: False
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Reverse: []
|
||||
Forward: []
|
||||
Off: []
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Reverse
|
||||
- Forward
|
||||
- Off
|
||||
- type: Transform
|
||||
anchored: true
|
||||
noRot: false
|
||||
|
||||
@@ -208,11 +208,16 @@
|
||||
- type: PipeColorVisuals
|
||||
- type: GasValve
|
||||
- type: SignalControlledValve
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Open: []
|
||||
Close: []
|
||||
Toggle: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Open
|
||||
- Close
|
||||
- Toggle
|
||||
- type: NodeContainer
|
||||
nodes:
|
||||
inlet:
|
||||
@@ -296,10 +301,15 @@
|
||||
inlet: inlet
|
||||
outlet: outlet
|
||||
canLink: true
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Pressurize: []
|
||||
Depressurize: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Pressurize
|
||||
- Depressurize
|
||||
- type: Construction
|
||||
graph: GasBinary
|
||||
node: dualportventpump
|
||||
|
||||
@@ -24,10 +24,14 @@
|
||||
graph: SignalSwitchGraph
|
||||
node: SignalSwitchNode
|
||||
- type: Fixtures
|
||||
- type: SignalTransmitter
|
||||
outputs:
|
||||
On: []
|
||||
Off: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- On
|
||||
- Off
|
||||
|
||||
- type: entity
|
||||
id: SignalButton
|
||||
@@ -57,9 +61,13 @@
|
||||
graph: SignalButtonGraph
|
||||
node: SignalButtonNode
|
||||
- type: Fixtures
|
||||
- type: SignalTransmitter
|
||||
outputs:
|
||||
Pressed: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- Pressed
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
@@ -153,8 +161,12 @@
|
||||
- type: Construction
|
||||
graph: LeverGraph
|
||||
node: LeverNode
|
||||
- type: SignalTransmitter
|
||||
outputs:
|
||||
Left: []
|
||||
Right: []
|
||||
Middle: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- Left
|
||||
- Right
|
||||
- Middle
|
||||
|
||||
@@ -32,9 +32,14 @@
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
OrderReceiver: []
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Wireless
|
||||
receiveFrequencyId: BasicDevice
|
||||
- type: WirelessNetworkConnection
|
||||
range: 200
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- OrderReceiver
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
- LowImpassable
|
||||
hard: False
|
||||
- type: Conveyor
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
Reverse: []
|
||||
Forward: []
|
||||
Off: []
|
||||
- type: DeviceLinkSink
|
||||
ports:
|
||||
- Reverse
|
||||
- Forward
|
||||
- Off
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
- Construction
|
||||
- Power
|
||||
- ShuttleCraft
|
||||
- Networking
|
||||
|
||||
- type: guideEntry
|
||||
id: Construction
|
||||
@@ -30,6 +31,19 @@
|
||||
name: guide-entry-shuttle-craft
|
||||
text: "/ServerInfo/Guidebook/Shuttlecraft.xml"
|
||||
|
||||
- type: guideEntry
|
||||
id: Networking
|
||||
name: guide-entry-networking
|
||||
text: "/ServerInfo/Guidebook/Networking.xml"
|
||||
children:
|
||||
- NetworkConfigurator
|
||||
|
||||
- type: guideEntry
|
||||
id: NetworkConfigurator
|
||||
name: guide-entry-network-configurator
|
||||
text: "/ServerInfo/Guidebook/Network_Configurator.xml"
|
||||
|
||||
|
||||
- type: guideEntry
|
||||
id: Power
|
||||
name: guide-entry-power
|
||||
|
||||
@@ -86,6 +86,14 @@
|
||||
Steel: 200
|
||||
Plastic: 200
|
||||
|
||||
- type: latheRecipe
|
||||
id: NetworkConfigurator
|
||||
result: NetworkConfigurator
|
||||
completetime: 2
|
||||
materials:
|
||||
Steel: 200
|
||||
Plastic: 200
|
||||
|
||||
- type: latheRecipe
|
||||
id: PowerDrill
|
||||
result: PowerDrill
|
||||
|
||||
@@ -194,8 +194,6 @@
|
||||
- Item
|
||||
permanentComponents:
|
||||
- type: TilePrying
|
||||
- type: SignalLinker
|
||||
requiredQuality: Pulsing
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.SignalLinkerUiKey.Key
|
||||
@@ -206,6 +204,9 @@
|
||||
- Screwing
|
||||
speed: 2 # Very powerful multitool to balance out the desire to sell or scrap for points
|
||||
useSound: /Audio/Items/drill_use.ogg
|
||||
- type: Tag
|
||||
tags:
|
||||
- Multitool
|
||||
- type: MultipleTool
|
||||
statusShowBehavior: true
|
||||
entries:
|
||||
|
||||
@@ -498,6 +498,9 @@
|
||||
- type: Tag
|
||||
id: Mop
|
||||
|
||||
- type: Tag
|
||||
id: Multitool
|
||||
|
||||
- type: Tag
|
||||
id: NoSpinOnThrow
|
||||
|
||||
|
||||
39
Resources/ServerInfo/Guidebook/Network_Configurator.xml
Normal file
39
Resources/ServerInfo/Guidebook/Network_Configurator.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<Document>
|
||||
# Network Configurator
|
||||
The network configurator allows you to manipulate device lists and link devices together.
|
||||
<Box>
|
||||
<GuideEntityEmbed Entity="NetworkConfigurator"/>
|
||||
</Box>
|
||||
The configurator has two modes: List and Link. You can press [color=gray]Alt+Z[/color] or [color=gray]Alt+Y[/color] to switch between them.
|
||||
|
||||
## List Mode
|
||||
In list mode you can click on network devices to save them on the configurator and then on a network device that has a device list like the [color=#a4885c]Air Alarm[/color].
|
||||
|
||||
When clicking on a device like the Air Alarm, a UI will open displaying the list currently saved on the device and buttons to manipulate that list.
|
||||
|
||||
You can:
|
||||
- Replace the current list with the one saved on the configurator
|
||||
- Add the list on the configurator to the current one
|
||||
- Clear the current list
|
||||
- Copy the current list to the configurator
|
||||
- Visualize the connections to the devices on the current list
|
||||
|
||||
Pressing [color=gray]z[/color] or [color=gray]y[/color] opens the list saved on the configurator where you can remove saved devices.
|
||||
|
||||
## Link Mode
|
||||
With link mode you can click on a device that is capable of device linking and click on any other device that is either
|
||||
a sink or source.
|
||||
|
||||
For example, first clicking on a source like a [color=#a4885c]signal button[/color] and then on sink like a
|
||||
[color=#a4885c]small light[/color] opens a UI that displays the source ports on the left side and the sink ports on the right.
|
||||
|
||||
Now you can eiter click [color=gray]link defaults[/color] to link the default ports for a source + sink combination or press on a source and then a sink port to connect them.
|
||||
|
||||
An example of a default link for the aformentioned combinaton of devices would be:
|
||||
<Box>
|
||||
[color=cyan]Pressed 🠒 Toggle[/color]
|
||||
</Box>
|
||||
When you're done connecting the ports you want you can click on [color=gray]ok[/color] to close the UI.
|
||||
|
||||
You can quickly link multiple devices to their default port by first clicking on a device that can be linked and then using [color=gray]alt+left mouse button[/color] on the devices you want to link together.
|
||||
</Document>
|
||||
25
Resources/ServerInfo/Guidebook/Networking.xml
Normal file
25
Resources/ServerInfo/Guidebook/Networking.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<Document>
|
||||
# Networking
|
||||
Some devices on the station need to communicate with each other, and they do this by utilizing device networking.
|
||||
With networking machines and devices can send arbitrary data between each other.
|
||||
There are multiple networks that get used, such as the wireless and wired network.
|
||||
Each network device has a frequency it receives on. PDAs for example, use the frequency: [color=green]220.2[/color]
|
||||
|
||||
## Device Lists
|
||||
Some devices need to know what other devices to communicate with specifically.
|
||||
<Box>
|
||||
<GuideEntityEmbed Entity="AirAlarm"/>
|
||||
</Box>
|
||||
Air alarms for example require you to tell it which vents, scrubbers, sensors, and firelocks to interact with.
|
||||
You do that by using the Network Configurator.
|
||||
|
||||
## Linking
|
||||
If devices basic or still more advanced but need finer control of how and what connects to each other they will generally use device linking.
|
||||
<Box>
|
||||
<GuideEntityEmbed Entity="SignalSwitch"/>
|
||||
<GuideEntityEmbed Entity="Airlock"/>
|
||||
</Box>
|
||||
With linking you can connect the outputs of a device like [color=gray]On[/color] or [color=gray]Off[/color] with the inputs of a device like the airlocks
|
||||
[color=gray]Open[/color] or [color=gray]Close[/color] inputs.
|
||||
The Network Configurator is also used for linking devices together.
|
||||
</Document>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 145 B |
Binary file not shown.
|
After Width: | Height: | Size: 332 B |
Binary file not shown.
|
After Width: | Height: | Size: 312 B |
Binary file not shown.
|
After Width: | Height: | Size: 320 B |
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"version": 1,
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "Made by Julian Giebel <juliangiebel@live.de> for ss14",
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"states": [
|
||||
{
|
||||
"name": "icon"
|
||||
},
|
||||
{
|
||||
"name": "mode-list"
|
||||
},
|
||||
{
|
||||
"name": "mode-link"
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "equipped-BELT",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 109 B |
Binary file not shown.
|
After Width: | Height: | Size: 104 B |
Reference in New Issue
Block a user