Fix crate deconstruction deleting all of its contents as well.

This commit is contained in:
Vera Aguilera Puerto
2021-12-17 01:24:54 +01:00
parent dd274c392c
commit 22d1e8a427
6 changed files with 23 additions and 10 deletions

View File

@@ -0,0 +1,4 @@
author: Zumorica
changes:
- type: Fix # One of the following: Add, Remove, Tweak, Fix
message: Crate deconstruction no longer deletes all of its contents.

View File

@@ -10,7 +10,7 @@
amount: 5
doAfter: 5
- node: crategenericsteel
entity: CrateGenericSteel
edges:
@@ -25,4 +25,5 @@
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 5
- !type:DeleteEntity {}
- !type:EmptyAllContainers
- !type:DeleteEntity

View File

@@ -10,7 +10,7 @@
amount: 5
doAfter: 5
- node: cratelivestock
entity: CrateLivestock
edges:
@@ -22,4 +22,5 @@
- !type:SpawnPrototype
prototype: MaterialWoodPlank1
amount: 5
- !type:DeleteEntity {}
- !type:EmptyAllContainers
- !type:DeleteEntity

View File

@@ -10,7 +10,7 @@
amount: 5
doAfter: 5
- node: crateplastic
entity: CratePlastic
edges:
@@ -25,4 +25,5 @@
- !type:SpawnPrototype
prototype: SheetPlastic1
amount: 5
- !type:DeleteEntity {}
- !type:EmptyAllContainers
- !type:DeleteEntity

View File

@@ -1,5 +1,5 @@
- type: constructionGraph
id: CrateSecure
id: CrateSecure
start: start
graph:
- node: start
@@ -10,7 +10,7 @@
amount: 5
doAfter: 5
- node: cratesecure
entity: CrateSecure
edges:
@@ -22,9 +22,10 @@
- !type:StorageWelded
welded: false
- !type:Locked
locked: false
locked: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 5
- !type:DeleteEntity {}
- !type:EmptyAllContainers
- !type:DeleteEntity