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
|
|
@ -183,10 +183,8 @@ public sealed class FireControlCut5Tests : IDisposable
|
|||
|
||||
beforeActivate?.Invoke(items, shooter, target);
|
||||
|
||||
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.zero;
|
||||
target.Position = float3(0, 0, targetRange);
|
||||
|
|
@ -338,10 +336,8 @@ public sealed class FireControlCut5Tests : IDisposable
|
|||
var targetGun = new EquippableItem { Data = targetGunRef, Durability = 1, Lot = 5 };
|
||||
Assert.True(target.TryEquip(targetGun, new int2(0, 0)));
|
||||
|
||||
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.zero;
|
||||
target.Position = targetPosition;
|
||||
|
|
@ -426,10 +422,8 @@ public sealed class FireControlCut5Tests : IDisposable
|
|||
var targetGun = new EquippableItem { Data = gunRef, Durability = 1, Lot = 4 };
|
||||
Assert.True(target.TryEquip(targetGun, new int2(0, 0)));
|
||||
|
||||
zone.Entities.Add(shooter);
|
||||
zone.Entities.Add(target);
|
||||
shooter.Activate();
|
||||
target.Activate();
|
||||
zone.Admit(shooter, piloted: false);
|
||||
zone.Admit(target, piloted: false);
|
||||
|
||||
return (items, shooter, target, weaponItem);
|
||||
}
|
||||
|
|
@ -575,8 +569,7 @@ public sealed class FireControlCut5Tests : IDisposable
|
|||
Assert.True(target.TryEquip(medium, mediumPos));
|
||||
var mediumItem = target.Equipment.Single(e => e.EquippableItem == medium);
|
||||
|
||||
zone.Entities.Add(target);
|
||||
target.Activate();
|
||||
zone.Admit(target, piloted: false);
|
||||
|
||||
return (items, target, bigItem, mediumItem);
|
||||
}
|
||||
|
|
@ -591,8 +584,7 @@ public sealed class FireControlCut5Tests : IDisposable
|
|||
var (items, target, big, medium) = BuildRevealTarget(settings);
|
||||
var observerHullRef = items.ItemData.RefOf<ItemData>(items.ItemData.GetByName<HullData>("Hull"));
|
||||
var observer = new Ship(items, target.Zone, new EquippableItem { Data = observerHullRef, Durability = 1000, Lot = 1 }, new EntitySettings());
|
||||
target.Zone.Entities.Add(observer);
|
||||
observer.Activate();
|
||||
target.Zone.Admit(observer, piloted: false);
|
||||
observer.SetTarget(target);
|
||||
|
||||
observer.RecordReveal(target, big, SignatureChannel.LaunchFlash);
|
||||
|
|
|
|||
Loading…
Reference in a new issue