Commit graph Aetheria/tests/Aetheria.Shared.Tests/RunGoalTests.cs
Author SHA1 Message Date
Meta Vens
e16288bfcf Pirates record: the demo tests read the shipped faction; tests pin its eight emoji-named products
Deletes the AddPirates stand-in and its 21 calls. DemoTerminus_missing_cast_refused removes the shipped record from its scratch
copy first. LoadoutGenerator.HasHome is public so the catalog test asks production's own home rule. These tests are red on
a catalog without the Pirates: the catalog commit (pirates-faction apply) follows separately.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-08 14:50:48 +02:00
Meta Vens
bd46f942bf Boss-gate tests: RunSave.Capture gained a credits parameter on master
Adapted the two boss-gate/demo-galaxy Capture call sites to pass 0 credits,
the value master's other tests pass when credits are not under test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 14:09:22 +02:00
Meta Vens
2a5fc00bcd Boss gate tests: the no-boss exit zone is unpacked with the items that generated it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 06:49:39 +02:00
Meta Vens
c8d40eaf74 Boss gate: the exit gate fails closed; it opens only for a boss that spawned and then died
ZonePack.BossSpawned records the spawn, since a dead boss leaves no entity. RunGoal.ExitOpen requires it, so an exit zone
without a boss stays sealed, and ZoneGenerator logs that configuration by field and code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 06:41:33 +02:00
Meta Vens
cb56557b4d Boss gate tests: the gate geometry test places the exit zone away from the origin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 04:38:36 +02:00
Meta Vens
90768de10e Boss gate tests: the exit gate's position is pinned against a sweep of every direction
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 03:54:04 +02:00
Meta Vens
bb2f49f358 Boss gate tests: the unsold BossHull case builds its own unsold hull, as the catalog has none
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 01:24:29 +02:00
Meta Vens
db4617d832 Boss gate: a boss zone spawns its faction's boss, and RunGoal derives whether the exit gate is open
EntityPack.Boss (key 21) carries Entity.IsBoss through save and Continue. GenerateZone adds one boss
per BossZones entry before the ambient return, flying the faction's BossHull or, with the gap logged,
its most expensive available ship hull. RunGoal (ServerShared) is the one owner of boss life and exit
state, derived from Zone.Entities.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 01:13:08 +02:00