Adds integration tests to construction, fixes some wrong stack prototypes in construction graphs

🆑
- fix: Fixes a bug where many constructions failed due to a recent material refactor.
This commit is contained in:
Vera Aguilera Puerto
2021-02-28 17:16:41 +01:00
parent c3c9f2bbc1
commit 71e6effd48
19 changed files with 144 additions and 36 deletions

View File

@@ -35,7 +35,7 @@
anchored: false
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 5
- !type:DeleteEntity {}
steps:
@@ -125,7 +125,7 @@
- !type:EntityAnchored { }
completed:
- !type:SpawnPrototype
prototype: GlassSheet1
prototype: SheetGlass1
amount: 2
steps:
- tool: Prying
@@ -144,8 +144,8 @@
- !type:EntityAnchored {}
completed:
- !type:SpawnPrototype
prototype: GlassSheet1 # TODO: Replace with glass shard.
amount: 1
prototype: ShardBase
amount: 2
steps:
- tool: Prying
doAfter: 2

View File

@@ -37,7 +37,7 @@
- node: start
actions:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity {}
edges:

View File

@@ -30,7 +30,7 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 3
- !type:DeleteEntity {}
conditions:
@@ -146,7 +146,7 @@
- to: frame4
completed:
- !type:SpawnPrototype
prototype: GlassSheet1
prototype: SheetGlass1
amount: 2
steps:
- tool: Screwing

View File

@@ -24,7 +24,7 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity {}
conditions:
@@ -60,7 +60,7 @@
- to: girder
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 2
steps:
- tool: Welding

View File

@@ -26,7 +26,7 @@
doAfter: 2.0
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 2
- !type:DeleteEntity {}
- node: bulbLight
@@ -41,6 +41,6 @@
doAfter: 2.0
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 1
- !type:DeleteEntity {}

View File

@@ -9,7 +9,7 @@
component: Window
actions:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 3
- !type:DeleteEntity { }
edges:

View File

@@ -5,7 +5,7 @@
- node: start
actions:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
- !type:DeleteEntity {}
edges:
- to: missingWires
@@ -35,7 +35,7 @@
anchored: false
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 5
- !type:DeleteEntity {}
steps:

View File

@@ -16,7 +16,7 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: SteelSheet1
prototype: SheetSteel1
amount: 5
- !type:EmptyAllContainers {}
- !type:DeleteEntity {}

View File

@@ -33,7 +33,7 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: GlassSheet1
prototype: SheetGlass1
amount: 2
- !type:DeleteEntity {}
steps:
@@ -48,7 +48,7 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: RGlassSheet1
prototype: SheetRGlass1
amount: 2
- !type:DeleteEntity {}
steps:
@@ -67,13 +67,13 @@
- to: start
completed:
- !type:SpawnPrototype
prototype: GlassSheet1
prototype: SheetGlass1
amount: 2
- !type:SpawnPrototype
prototype: MetalSheet1
prototype: SheetSteel1
amount: 2
- !type:SpawnPrototype
prototype: PlasmaSheet1
prototype: SheetPlasma1
amount: 2
- !type:DeleteEntity {}
steps: