Commit graph Aetheria/tests/Aetheria.Shared.Tests/ConsumableAiTests.cs
Author SHA1 Message Date
Meta Vens
f2ecc96a3c ConsumableAiTests: the lock held on someone else is a real lock
The locker aimed at the prey was not hostile to it, so no lock ever built and
the whose-target mutant survived.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 10:57:52 +02:00
Meta Vens
73277ce62f ConsumableAiTests: lockers dead astern so a lock bearing is exact; drop diagnostics
A lock gun aimed along a normalised vector at a 3-4-5 style offset can read a
dot product just over 1, acos is NaN, and no lock builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 09:40:26 +02:00
Meta Vens
dd98ec22e0 ConsumableAiTests: fix diagnostic literal (temporary)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 08:51:18 +02:00
Meta Vens
c6ff3bbb6b ConsumableAiTests: locker diagnostic (temporary)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 08:44:47 +02:00
Meta Vens
6caf747aae ConsumableAiTests: more diagnostics (temporary)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:38:12 +02:00
Meta Vens
513aba25e2 ConsumableAiTests: diagnostic message (temporary)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:35:23 +02:00
Meta Vens
200f8c5cc9 ConsumableAiTests: mint the hold from its own design type
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:26:28 +02:00
Meta Vens
f270529f9b Consumable AI: agents vent when locked and overdrive to close, with tests
CombatState activates a vapour dump when an enemy lock on the ship passes .5,
else a throttle lock when the target is past twice the optimum range and
ahead within 15 degrees. Consumables are picked by behaviour kind through
Entity.FirstCarriedConsumable and activated through TryActivateConsumable.
Work in progress: tests not yet run (this commit may not pass them).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:16:38 +02:00