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

(cherry picked from commit d73c7e9a0a3f57788432fde3e5c3ec4b3c23bb35)
This commit is contained in:
iacore 2024-01-06 08:28:57 +00:00 committed by Debug
parent 113c5ccbbf
commit f2adcd8783
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
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