Command seam, player: the reticle verb's pin answers a target no other verb would

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-22 02:28:16 +02:00
commit bee079b1c8

View file

@ -79,13 +79,16 @@ public sealed partial class RunStartTests
arena.Update(SeamDt);
Assert.Same(third, east.Target.Value.Entity);
// The reticle picks along the aim; picking the held target again would clear it.
// The reticle picks along the aim, and picking the held target again clears it (no other verb answers None here).
east.Command.Verb(TargetVerb.Previous);
arena.Update(SeamDt);
Assert.Same(west, east.Target.Value.Entity);
east.Command.Aim = float3(-1, 0, 0);
east.Command.Verb(TargetVerb.UnderReticle);
arena.Update(SeamDt);
Assert.Same(west, east.Target.Value.Entity);
Assert.True(east.Target.Value.IsNone);
arena.Update(SeamDt);
Assert.Same(west, east.Target.Value.Entity);
Assert.True(east.Target.Value.IsNone, "the reticle press is not replayed");
}
[Fact]