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