* Add more logic gates types for mapping
* i forgor
* me stupid
* nuh
- 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:
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
state: icon
name: a multitool
- node: logic_gate
- entity: LogicGate
+ entity: LogicGateOr
- node: edge_detector
entity: EdgeDetector
- node: power_sensor
SignShield: null # what was this even for?
SignHydro2: SignHydro1
SignHydro3: SignHydro1
+
+# 2024-07-27
+LogicGate: LogicGateOr