Pin CultLib abd1a92e: element ids on every list element type, tests follow the new wire and write rules

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Nibu 2026-11-11 09:50:22 +00:00
commit ff54fe7b46
33 changed files with 251 additions and 27 deletions

View file

@ -28,6 +28,9 @@ public class LoadoutSlot
[Key(1)] public ItemRotation Rotation;
[Key(2)] public CultRecordRef<EquippableItemData> Design;
[Key(3)] public CultRecordRef<FactionProductData> Product; // unset: design-only, chosen at materialization
// Element identity: minted by the cache on write; "" means unset.
[Key(4)] [CultElementId] public string Id = "";
}
// Why a faction has no boss Loadout to build; see Loadouts.BossOf.