Add StorageInteractionTest (#28541)
This commit is contained in:
@@ -16,10 +16,8 @@ public sealed class ComputerConstruction : InteractionTest
|
||||
await StartConstruction(Computer);
|
||||
|
||||
// Initial interaction (ghost turns into real entity)
|
||||
await Interact(Steel, 5);
|
||||
ClientAssertPrototype(ComputerFrame, ClientTarget);
|
||||
Target = CTestSystem.Ghosts[ClientTarget!.Value.GetHashCode()];
|
||||
ClientTarget = null;
|
||||
await InteractUsing(Steel, 5);
|
||||
ClientAssertPrototype(ComputerFrame, Target);
|
||||
|
||||
// Perform construction steps
|
||||
await Interact(
|
||||
@@ -41,7 +39,7 @@ public sealed class ComputerConstruction : InteractionTest
|
||||
await StartDeconstruction(ComputerId);
|
||||
|
||||
// Initial interaction turns id computer into generic computer
|
||||
await Interact(Screw);
|
||||
await InteractUsing(Screw);
|
||||
AssertPrototype(ComputerFrame);
|
||||
|
||||
// Perform deconstruction steps
|
||||
@@ -71,7 +69,7 @@ public sealed class ComputerConstruction : InteractionTest
|
||||
await SpawnTarget(ComputerId);
|
||||
|
||||
// Initial interaction turns id computer into generic computer
|
||||
await Interact(Screw);
|
||||
await InteractUsing(Screw);
|
||||
AssertPrototype(ComputerFrame);
|
||||
|
||||
// Perform partial deconstruction steps
|
||||
|
||||
Reference in New Issue
Block a user