Construction graph improvements (#17960)

This commit is contained in:
Vera Aguilera Puerto
2023-07-13 12:23:52 +02:00
committed by GitHub
parent fbf1d476f2
commit 9243050e1a
20 changed files with 236 additions and 249 deletions

View File

@@ -13,6 +13,8 @@
- type: Construction
graph: Computer
node: computer
containers:
- board
- type: Computer
- type: ApcPowerReceiver
powerLoad: 200

View File

@@ -28,6 +28,9 @@
- type: Rotatable
- type: Pullable
- type: Construction
containers:
- machine_board
- machine_parts
graph: Machine
node: missingWires
- type: ContainerContainer
@@ -83,6 +86,9 @@
graph: Machine
node: machineFrame
defaultTarget: machine
containers:
- machine_board
- machine_parts
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic

View File

@@ -107,15 +107,12 @@
- to: computer
conditions:
- !type:EntityAnchored {}
completed:
- !type:BuildComputer
container: board
steps:
- tool: Screwing
- to: monitorMissing
conditions:
- !type:EntityAnchored { }
- !type:EntityAnchored {}
completed:
- !type:SpawnPrototype
prototype: SheetGlass1
@@ -124,6 +121,7 @@
- tool: Prying
- node: computer
entity: !type:BoardNodeEntity { container: board }
edges:
- to: monitorUnsecured
steps:

View File

@@ -48,6 +48,10 @@
- node: machineFrame
entity: MachineFrame
actions:
- !type:AddContainer
container: machine_parts
- !type:AddContainer
container: machine_board
- !type:MachineFrameRegenerateProgress
edges:
- to: machine
@@ -60,9 +64,6 @@
guideIconParts:
sprite: Objects/Misc/stock_parts.rsi
state: scan_module
completed:
# Yes, this is snowflaked so we don't have to make an unique graph per machine. You're welcome.
- !type:BuildMachine
steps:
- tool: Screwing
doAfter: 0.5
@@ -93,11 +94,7 @@
doAfter: 0.25
- node: machine
actions:
- !type:AddContainer
container: machine_parts
- !type:AddContainer
container: machine_board
entity: !type:BoardNodeEntity { container: machine_board }
edges:
- to: machineFrame
completed: