Validate: a consumable is held to the munition-part gate too (any other design carries none)

Builds. The tests that pin it follow in the next commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-12 19:31:52 +02:00
commit b33f39447e

View file

@ -86,6 +86,7 @@ public static class CultRecordRefs
if (document is ConsumableItemData consumable)
{
StatValidation.ValidateStatModifiers(consumable.Name, consumable.Behaviors);
StatValidation.ValidateMunitionParts(consumable.Name, consumable.Behaviors);
StatValidation.ValidateRoleUsage(consumable.Name, consumable.Roles, consumable.Behaviors);
}
}