Wires refactor (#7699)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
wires-component-ui-on-receive-message-no-hands = You have no hands.
|
||||
wires-component-ui-on-receive-message-cannot-reach = You can't reach there!
|
||||
wires-component-ui-on-receive-message-need-wirecutters = You need to hold a wirecutter in your hand!
|
||||
wires-component-ui-on-receive-message-need-multitool = You need to hold a multitool in your hand!
|
||||
wires-component-ui-on-receive-message-cannot-pulse-cut-wire = You can't pulse a wire that's been cut!
|
||||
wires-component-on-examine-panel-open = The [color=lightgray]maintenance panel[/color] is [color=darkgreen]open[/color].
|
||||
wires-component-on-examine-panel-closed = The [color=lightgray]maintenance panel[/color] is [color=darkgreen]closed[/color].
|
||||
|
||||
@@ -56,6 +56,9 @@
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 20
|
||||
- type: ExtensionCableReceiver
|
||||
- type: Electrified
|
||||
enabled: false
|
||||
usesApcPower: true
|
||||
- type: Wires
|
||||
BoardName: "Airlock Control"
|
||||
LayoutId: Airlock
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
components:
|
||||
- type: SpaceVillainArcade
|
||||
- type: Wires
|
||||
LayoutId: Arcade
|
||||
BoardName: "Arcade"
|
||||
- type: ActivatableUI
|
||||
key: enum.SpaceVillainArcadeUiKey.Key
|
||||
@@ -63,6 +64,9 @@
|
||||
- type: ActivatableUI
|
||||
key: enum.BlockGameUiKey.Key
|
||||
- type: ActivatableUIRequiresPower
|
||||
- type: Wires
|
||||
LayoutId: Arcade
|
||||
BoardName: "Arcade"
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.BlockGameUiKey.Key
|
||||
|
||||
@@ -52,6 +52,10 @@
|
||||
BoardName: "Vending Machine"
|
||||
LayoutId: Vending
|
||||
- type: Anchorable
|
||||
- type: DoAfter
|
||||
- type: Electrified
|
||||
enabled: false
|
||||
usesApcPower: true
|
||||
- type: PointLight
|
||||
enabled: false
|
||||
castShadows: false
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
components:
|
||||
- type: WallMount
|
||||
- type: ApcPowerReceiver
|
||||
- type: Electrified
|
||||
enabled: false
|
||||
usesApcPower: true
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
components:
|
||||
- type: WallMount
|
||||
- type: ApcPowerReceiver
|
||||
- type: Electrified
|
||||
enabled: false
|
||||
usesApcPower: true
|
||||
- type: ExtensionCableReceiver
|
||||
- type: DeviceNetwork
|
||||
deviceNetId: Apc
|
||||
|
||||
52
Resources/Prototypes/Wires/layouts.yml
Normal file
52
Resources/Prototypes/Wires/layouts.yml
Normal file
@@ -0,0 +1,52 @@
|
||||
- type: wireLayout
|
||||
id: Airlock
|
||||
wires:
|
||||
- !type:PowerWireAction
|
||||
- !type:PowerWireAction
|
||||
pulseTimeout: 15
|
||||
- !type:DoorBoltWireAction
|
||||
- !type:DoorBoltLightWireAction
|
||||
- !type:DoorTimingWireAction
|
||||
- !type:DoorSafetyWireAction
|
||||
|
||||
- type: wireLayout
|
||||
parent: Airlock
|
||||
id: AirlockSecurity
|
||||
|
||||
- type: wireLayout
|
||||
parent: Airlock
|
||||
id: AirlockCommand
|
||||
|
||||
- type: wireLayout
|
||||
parent: Airlock
|
||||
id: AirlockArmory
|
||||
|
||||
- type: wireLayout
|
||||
id: Vending
|
||||
dummyWires: 2
|
||||
wires:
|
||||
- !type:PowerWireAction
|
||||
- !type:AccessWireAction
|
||||
|
||||
- type: wireLayout
|
||||
id: AirAlarm
|
||||
wires:
|
||||
- !type:PowerWireAction
|
||||
- !type:AccessWireAction
|
||||
- !type:AirAlarmPanicWire
|
||||
- !type:AtmosMonitorDeviceNetWire
|
||||
|
||||
- type: wireLayout
|
||||
id: FireAlarm
|
||||
wires:
|
||||
- !type:PowerWireAction
|
||||
- !type:AtmosMonitorDeviceNetWire
|
||||
alarmOnPulse: true
|
||||
|
||||
- type: wireLayout
|
||||
id: Arcade
|
||||
wires:
|
||||
- !type:PowerWireAction
|
||||
- !type:ArcadeOverflowWireAction
|
||||
- !type:ArcadePlayerInvincibleWireAction
|
||||
- !type:ArcadeEnemyInvincibleWireAction
|
||||
Reference in New Issue
Block a user