Merge cuts loot-1-present and loot-2 (Soul verdicts cut-loot-1-present.s1, cut-loot-2.s2)
Conflicts: Behaviors.cs keeps Union(48, PickupData) and Union(49, LaunchSuppressorData); Zone.cs keeps the departure record on _entities with master's Visibility (emissions-heard); ContactRevealTests.cs keeps master's removal of the emission-departure test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
fbe05c7992
84 changed files with 1881 additions and 657 deletions
|
|
@ -176,10 +176,8 @@ public sealed class FireControlCut11Tests : IDisposable
|
|||
Assert.True(target.TryEquip(shield, spos));
|
||||
}
|
||||
|
||||
zone.Entities.Add(shooter);
|
||||
zone.Entities.Add(target);
|
||||
shooter.Activate();
|
||||
target.Activate();
|
||||
zone.Admit(shooter, piloted: false);
|
||||
zone.Admit(target, piloted: false);
|
||||
|
||||
shooter.Position = float3(37, 0, -11);
|
||||
target.Position = float3(37, 0, 89); // 100 units straight ahead of the shooter
|
||||
|
|
@ -279,7 +277,7 @@ public sealed class FireControlCut11Tests : IDisposable
|
|||
// What the HUD's arrival countdown reads: time left in flight at commit, 5 s - 4.7 s.
|
||||
Assert.Equal(.3f, committed.ArrivalIn, 3);
|
||||
|
||||
e.Zone.Entities.Remove(e.Target); // the target is gone before the shot arrives
|
||||
e.Zone.Remove(e.Target); // the target is gone before the shot arrives
|
||||
e.Zone.Update(1f);
|
||||
|
||||
Assert.NotNull(resolved);
|
||||
|
|
@ -306,7 +304,7 @@ public sealed class FireControlCut11Tests : IDisposable
|
|||
e.Zone.Update(1f);
|
||||
SafeAssert.Empty(committed);
|
||||
|
||||
e.Zone.Entities.Remove(e.Target);
|
||||
e.Zone.Remove(e.Target);
|
||||
e.Zone.Update(1f);
|
||||
|
||||
foreach (var outcome in new[] { SafeAssert.Only(committed), SafeAssert.Only(resolved) })
|
||||
|
|
|
|||
Loading…
Reference in a new issue