add more logic gates prototypes for mapping (#30385)
* Add more logic gates types for mapping * i forgor * me stupid * nuh
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
|
||||
- type: entity
|
||||
parent: BaseLogicItem
|
||||
id: LogicGate
|
||||
id: LogicGateOr
|
||||
name: logic gate
|
||||
description: A logic gate with two inputs and one output. Technicians can change its mode of operation using a screwdriver.
|
||||
suffix: Or
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
@@ -51,6 +52,71 @@
|
||||
Nand: { state: nand }
|
||||
Xnor: { state: xnor }
|
||||
|
||||
- type: entity
|
||||
parent: LogicGateOr
|
||||
id: LogicGateAnd
|
||||
suffix: And
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: base
|
||||
- state: and
|
||||
map: [ "enum.LogicGateLayers.Gate" ]
|
||||
- type: LogicGate
|
||||
gate: And
|
||||
|
||||
- type: entity
|
||||
parent: LogicGateOr
|
||||
id: LogicGateXor
|
||||
suffix: Xor
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: base
|
||||
- state: xor
|
||||
map: [ "enum.LogicGateLayers.Gate" ]
|
||||
- type: LogicGate
|
||||
gate: Xor
|
||||
|
||||
- type: entity
|
||||
parent: LogicGateOr
|
||||
id: LogicGateNor
|
||||
suffix: Nor
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: base
|
||||
- state: nor
|
||||
map: [ "enum.LogicGateLayers.Gate" ]
|
||||
- type: LogicGate
|
||||
gate: Nor
|
||||
|
||||
- type: entity
|
||||
parent: LogicGateOr
|
||||
id: LogicGateNand
|
||||
suffix: Nand
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: base
|
||||
- state: nand
|
||||
map: [ "enum.LogicGateLayers.Gate" ]
|
||||
- type: LogicGate
|
||||
gate: Nand
|
||||
|
||||
- type: entity
|
||||
parent: LogicGateOr
|
||||
id: LogicGateXnor
|
||||
suffix: Xnor
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: base
|
||||
- state: xnor
|
||||
map: [ "enum.LogicGateLayers.Gate" ]
|
||||
- type: LogicGate
|
||||
gate: Xnor
|
||||
|
||||
- type: entity
|
||||
parent: BaseLogicItem
|
||||
id: EdgeDetector
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
state: icon
|
||||
name: a multitool
|
||||
- node: logic_gate
|
||||
entity: LogicGate
|
||||
entity: LogicGateOr
|
||||
- node: edge_detector
|
||||
entity: EdgeDetector
|
||||
- node: power_sensor
|
||||
|
||||
@@ -377,3 +377,6 @@ SignDrones: SignMaterials
|
||||
SignShield: null # what was this even for?
|
||||
SignHydro2: SignHydro1
|
||||
SignHydro3: SignHydro1
|
||||
|
||||
# 2024-07-27
|
||||
LogicGate: LogicGateOr
|
||||
|
||||
Reference in New Issue
Block a user