more balanced constructing and unscrewing for metal objects (#21051)

* more balanced constructing and unscrewing for metal objects

- computer frame, machine frame, rack and meatspike can be deconstructed while anchored by screwing
- Computer frames now need time to be constructed.
- it now takes a reasonable time to make a meatspike. If you can construct a machine frame in 2.5, surely you can make a meatspike in 2.

* Fixes test
This commit is contained in:
iacore
2024-01-06 08:28:57 +00:00
committed by GitHub
parent 154416787e
commit d73c7e9a0a
5 changed files with 6 additions and 17 deletions

View File

@@ -51,7 +51,7 @@ public sealed class ComputerConstruction : InteractionTest
Screw,
Pry,
Wrench,
Weld);
Screw);
// construction finished, entity no longer exists.
AssertDeleted();

View File

@@ -13,7 +13,7 @@
steps:
- material: Steel
amount: 15
doAfter: 10
doAfter: 2
- node: MeatSpike
entity: KitchenSpike
edges:
@@ -22,9 +22,6 @@
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 15
conditions:
- !type:EntityAnchored
anchored: false
steps:
- tool: Welding
doAfter: 10
- tool: Screwing
doAfter: 1

View File

@@ -22,9 +22,6 @@
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 2
conditions:
- !type:EntityAnchored
anchored: false
steps:
- tool: Screwing
doAfter: 1

View File

@@ -11,6 +11,7 @@
steps:
- material: Steel
amount: 5
doAfter: 2.5
- node: frameUnsecured
actions:
@@ -29,16 +30,13 @@
state: "id_mod"
- to: start
conditions:
- !type:EntityAnchored
anchored: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1
amount: 5
- !type:DeleteEntity {}
steps:
- tool: Welding
- tool: Screwing
doAfter: 2
- node: boardUnsecured

View File

@@ -33,9 +33,6 @@
steps:
- material: Cable
- to: start
conditions:
- !type:EntityAnchored
anchored: false
completed:
- !type:SpawnPrototype
prototype: SheetSteel1