From 410173eb2793ed4025d8e16bec0fa56612f40182 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 14:00:14 +0200 Subject: [PATCH] Fire control test: a catalog rewritten since slot 32 loads its weapons exactly ShippedCatalogIsNeutralOnBlastRadiusAndFuse also pinned that every stored weapon record predates slot 32 (CompatibleDrift, slot 32 defaulted). The field- kinds authoring pass rewrote every catalog record through CultCache, so the weapons now store slot 32 and load Exact. The rule the test protects stands: no weapon authors a blast radius or fuse, and a record that does drift may drift by slot 32 and nothing else. Co-Authored-By: Claude Opus 5.5 --- tests/Aetheria.Shared.Tests/FireControlCut124Tests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/FireControlCut124Tests.cs b/tests/Aetheria.Shared.Tests/FireControlCut124Tests.cs index b90bc4700..5bf529d46 100644 --- a/tests/Aetheria.Shared.Tests/FireControlCut124Tests.cs +++ b/tests/Aetheria.Shared.Tests/FireControlCut124Tests.cs @@ -2600,10 +2600,13 @@ public sealed class FireControlCut124Tests : IDisposable Assert.Null(w.Fuse); } + // Mining Cut 3: a catalog written since slot 32 existed (AetherDb field-kinds rewrote every record) stores + // the slot, so its weapons load exactly. A catalog that predates it may drift by slot 32 and nothing else. var reports = store.LastSchemaMigrationReports.Where(r => r.LocalSchemaName == "aetheria.weaponitemdata").ToList(); Assert.NotEmpty(reports); foreach (var report in reports) { + if (report.Kind == CultSchemaMigrationKind.Exact) continue; Assert.Equal(CultSchemaMigrationKind.CompatibleDrift, report.Kind); Assert.Equal(new[] { 32 }, report.DefaultedMissingSlots); Assert.Empty(report.IgnoredExtraSlots);