Fix construction DoAfter results not setting current edge index.
Fixes #5061
This commit is contained in:
4
Resources/Changelog/Parts/doafter.yml
Normal file
4
Resources/Changelog/Parts/doafter.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
author: Zumorica
|
||||
changes:
|
||||
- type: Fix # One of the following: Add, Remove, Tweak, Fix
|
||||
message: Fix rare construction bug where some interactions would be incorrect.
|
||||
@@ -6,7 +6,7 @@
|
||||
actions:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
- !type:DeleteEntity {}
|
||||
- !type:DeleteEntity
|
||||
edges:
|
||||
- to: missingWires
|
||||
completed:
|
||||
@@ -22,11 +22,11 @@
|
||||
actions:
|
||||
- !type:SpriteStateChange
|
||||
state: "box_0"
|
||||
- !type:EmptyAllContainers {}
|
||||
- !type:EmptyAllContainers
|
||||
edges:
|
||||
- to: machineFrame
|
||||
conditions:
|
||||
- !type:EntityAnchored {}
|
||||
- !type:EntityAnchored
|
||||
steps:
|
||||
- material: Cable
|
||||
- to: start
|
||||
@@ -37,7 +37,7 @@
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 5
|
||||
- !type:DeleteEntity {}
|
||||
- !type:DeleteEntity
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 2
|
||||
@@ -60,7 +60,7 @@
|
||||
|
||||
- to: missingWires
|
||||
conditions:
|
||||
- !type:EntityAnchored {}
|
||||
- !type:EntityAnchored
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: CableApcStack1
|
||||
@@ -68,8 +68,8 @@
|
||||
- tool: Prying
|
||||
doAfter: 2
|
||||
completed:
|
||||
- !type:EmptyAllContainers {}
|
||||
- !type:MachineFrameRegenerateProgress {}
|
||||
- !type:EmptyAllContainers
|
||||
- !type:MachineFrameRegenerateProgress
|
||||
- tool: Cutting
|
||||
doAfter: 0.25
|
||||
|
||||
@@ -82,8 +82,8 @@
|
||||
edges:
|
||||
- to: machineFrame
|
||||
conditions:
|
||||
- !type:EntityAnchored {}
|
||||
- !type:WirePanel {}
|
||||
- !type:EntityAnchored
|
||||
- !type:WirePanel
|
||||
steps:
|
||||
- tool: Prying
|
||||
doAfter: 0.25
|
||||
|
||||
Reference in New Issue
Block a user