Add interlocking airlocks (#14177)
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
name: signal-port-name-close
|
||||
description: signal-port-description-close
|
||||
|
||||
- type: sinkPort
|
||||
id: DoorBolt
|
||||
name: signal-port-name-doorbolt
|
||||
description: signal-port-description-doorbolt
|
||||
|
||||
- type: sinkPort
|
||||
id: Trigger
|
||||
name: signal-port-name-trigger
|
||||
|
||||
@@ -34,6 +34,11 @@
|
||||
description: signal-port-description-middle
|
||||
defaultLinks: [ Off, Close ]
|
||||
|
||||
- type: sourcePort
|
||||
id: DoorStatus
|
||||
name: signal-port-name-doorstatus
|
||||
description: signal-port-description-status
|
||||
|
||||
- type: sourcePort
|
||||
id: OrderSender
|
||||
name: signal-port-name-order-sender
|
||||
|
||||
@@ -89,6 +89,10 @@
|
||||
- Close
|
||||
- Toggle
|
||||
- AutoClose
|
||||
- DoorBolt
|
||||
- type: DeviceLinkSource
|
||||
ports:
|
||||
- DoorStatus
|
||||
- type: UserInterface
|
||||
interfaces:
|
||||
- key: enum.WiresUiKey.Key
|
||||
|
||||
26
Resources/Prototypes/Entities/Structures/gates.yml
Normal file
26
Resources/Prototypes/Entities/Structures/gates.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
- type: entity
|
||||
id: OrGate
|
||||
name: MS7432
|
||||
description: Dual 2-Input OR Gate
|
||||
parent: BaseItem
|
||||
placement:
|
||||
mode: SnapgridCenter
|
||||
snap:
|
||||
- Wallmount
|
||||
components:
|
||||
- type: Anchorable
|
||||
- type: Sprite
|
||||
sprite: Objects/Devices/gates.rsi
|
||||
state: or
|
||||
- type: Rotatable
|
||||
- type: OrGate
|
||||
- type: SignalReceiver
|
||||
inputs:
|
||||
A1: []
|
||||
B1: []
|
||||
A2: []
|
||||
B2: []
|
||||
- type: SignalTransmitter
|
||||
outputs:
|
||||
O1: []
|
||||
O2: []
|
||||
@@ -72,3 +72,28 @@
|
||||
id: ArtifactAnalyzerReceiver
|
||||
name: signal-port-name-artifact-analyzer-receiver
|
||||
description: signal-port-description-artifact-analyzer-receiver
|
||||
|
||||
- type: receiverPort
|
||||
id: DoorBolt
|
||||
name: "Bolt"
|
||||
description: "Bolt door when HIGH."
|
||||
|
||||
- type: receiverPort
|
||||
id: A1
|
||||
name: "Input A1"
|
||||
description: "Input A1"
|
||||
|
||||
- type: receiverPort
|
||||
id: B1
|
||||
name: "Input B1"
|
||||
description: "Input B1"
|
||||
|
||||
- type: receiverPort
|
||||
id: A2
|
||||
name: "Input A2"
|
||||
description: "Input A2"
|
||||
|
||||
- type: receiverPort
|
||||
id: B2
|
||||
name: "Input B2"
|
||||
description: "Input B2"
|
||||
|
||||
@@ -67,3 +67,18 @@
|
||||
name: signal-port-name-artifact-analyzer-sender
|
||||
description: signal-port-description-artifact-analyzer-sender
|
||||
defaultLinks: [ ArtifactAnalyzerReceiver ]
|
||||
|
||||
- type: transmitterPort
|
||||
id: DoorStatus
|
||||
name: "Door Status"
|
||||
description: "HIGH when door is open, LOW when door is closed."
|
||||
|
||||
- type: transmitterPort
|
||||
id: O1
|
||||
name: "Output 1"
|
||||
description: "Output 1"
|
||||
|
||||
- type: transmitterPort
|
||||
id: O2
|
||||
name: "Output 2"
|
||||
description: "Output 2"
|
||||
|
||||
Reference in New Issue
Block a user