Fix deconstructing a disposal unit not emptying its contents.

This commit is contained in:
Vera Aguilera Puerto
2021-12-17 10:46:05 +01:00
parent dc564cfb7d
commit 47b341f4a3
2 changed files with 10 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
author: Your_Name_Here
changes:
- type: Fix # One of the following: Add, Remove, Tweak, Fix
message: Deconstructing a disposal unit no longer deletes its contents.

View File

@@ -22,7 +22,7 @@
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: SheetSteel1 prototype: SheetSteel1
amount: 1 amount: 1
- !type:DeleteEntity {} - !type:DeleteEntity
steps: steps:
- tool: Screwing - tool: Screwing
doAfter: 1 doAfter: 1
@@ -86,7 +86,7 @@
doAfter: 0.25 doAfter: 0.25
- to: disposal_unit - to: disposal_unit
conditions: conditions:
- !type:EntityAnchored {} - !type:EntityAnchored
steps: steps:
- material: Steel - material: Steel
amount: 1 amount: 1
@@ -99,8 +99,9 @@
- !type:SpawnPrototype - !type:SpawnPrototype
prototype: SheetSteel1 prototype: SheetSteel1
amount: 1 amount: 1
- !type:EmptyAllContainers
conditions: conditions:
- !type:EntityAnchored {} - !type:EntityAnchored
steps: steps:
- tool: Prying - tool: Prying
doAfter: 1 doAfter: 1
@@ -129,6 +130,7 @@
# - !type:SpawnPrototype # - !type:SpawnPrototype
# prototype: SheetSteel1 # prototype: SheetSteel1
# amount: 1 # amount: 1
# - !type:EmptyAllContainers
# conditions: # conditions:
# - !type:EntityAnchored {} # - !type:EntityAnchored {}
# steps: # steps:
@@ -159,6 +161,7 @@
# - !type:SpawnPrototype # - !type:SpawnPrototype
# prototype: SheetSteel1 # prototype: SheetSteel1
# amount: 1 # amount: 1
# - !type:EmptyAllContainers
# conditions: # conditions:
# - !type:EntityAnchored {} # - !type:EntityAnchored {}
# steps: # steps: