Nemanja
2023-01-01 01:06:31 -05:00
committed by GitHub
parent a2a9e25b03
commit 06a80422b5
6 changed files with 23 additions and 51 deletions

View File

@@ -104,9 +104,13 @@
sprite: Structures/Machines/parts.rsi
state: box_1
- type: Appearance
visuals:
- type: MachineFrameVisualizer
- type: ItemMapper
mapLayers:
box_2:
minCount: 1
whitelist:
components:
- MachineBoard
- type: entity
id: MachineFrameDestroyed

View File

@@ -25,8 +25,6 @@
- node: missingWires
entity: UnfinishedMachineFrame
actions:
- !type:SpriteStateChange
state: "box_0"
- !type:EmptyAllContainers
edges:
- to: machineFrame
@@ -69,18 +67,28 @@
- tool: Screwing
doAfter: 0.5
- to: missingWires
- to: machineFrame
conditions:
- !type:EntityAnchored
completed:
- !type:SpawnPrototype
prototype: CableApcStack1
- !type:ContainerNotEmpty
container: machine_board
steps:
- tool: Prying
doAfter: 2
completed:
- !type:EmptyAllContainers
- !type:MachineFrameRegenerateProgress
- to: missingWires
conditions:
- !type:EntityAnchored
- !type:ContainerEmpty
container: machine_board
examineText: construction-condition-machine-container-empty
completed:
- !type:SpawnPrototype
prototype: CableApcStack1
steps:
- tool: Cutting
doAfter: 0.25