Implement machine linking (#1784)
* Implement machine linking * Cleanup and rename Signals * Implement signal button * Add machine linking signal mapping * Fix signallink command help * Add localization to signal linking and allow infinite range * Add feedback for when a transmitter is not connected to any receivers Refactor PopupMessage to use the entity extension Refactor dependencies to not have to disable warnings
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
energy: 1.2
|
||||
offset: "0.5, 0"
|
||||
color: "#DCDCC6"
|
||||
- type: SignalReceiver
|
||||
placement:
|
||||
snap:
|
||||
- Wallmount
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
- type: entity
|
||||
id: SignalSwitch
|
||||
name: "signal switch"
|
||||
components:
|
||||
- type: Clickable
|
||||
bounds:
|
||||
all: -0.25,-0.375,0.25,0.375
|
||||
- type: InteractionOutline
|
||||
- type: Collidable
|
||||
- type: Sprite
|
||||
sprite: Constructible/Linking/switch.rsi
|
||||
state: on
|
||||
- type: Icon
|
||||
sprite: Constructible/Linking/switch.rsi
|
||||
state: on
|
||||
- type: SignalSwitch
|
||||
- type: SignalTransmitter
|
||||
placement:
|
||||
snap:
|
||||
- Wallmount
|
||||
|
||||
- type: entity
|
||||
id: SignalButton
|
||||
name: "signal button"
|
||||
components:
|
||||
- type: Clickable
|
||||
bounds:
|
||||
all: -0.25,-0.375,0.25,0.375
|
||||
- type: InteractionOutline
|
||||
- type: Collidable
|
||||
- type: Sprite
|
||||
sprite: Constructible/Linking/switch.rsi
|
||||
state: dead
|
||||
- type: Icon
|
||||
sprite: Constructible/Linking/switch.rsi
|
||||
state: dead
|
||||
- type: SignalButton
|
||||
- type: SignalTransmitter
|
||||
placement:
|
||||
snap:
|
||||
- Wallmount
|
||||
@@ -185,6 +185,7 @@
|
||||
- type: Tool
|
||||
qualities:
|
||||
- Multitool
|
||||
- type: SignalLinker
|
||||
|
||||
- type: entity
|
||||
name: jaws of life
|
||||
|
||||
Reference in New Issue
Block a user