done vehicle hull accessories

This commit is contained in:
2026-11-12 15:05:16 +03:30
parent cbdf4fd2bc
commit 7ab6b4c03d
8 changed files with 154 additions and 33 deletions
@@ -61,11 +61,13 @@ export async function validateFanavaranHullLookupIds(
"car-components",
`${prefix}.AccessoryKindId`,
);
// Optional: policy often has only the factory-bundle row; null is allowed.
add(
row,
"VehicleHullAccessoryId",
"policy-dmg-accessories",
`${prefix}.VehicleHullAccessoryId`,
false,
);
add(row, "DmgKindId", "vehicle-hull-dmg-kind", `${prefix}.DmgKindId`);
for (const [j, cost] of asLookupRows(row.DmgSectionCosts).entries())