Summary
The Necramech wiki transformer reads MarketCost from blueprint data but does not map numeric BPCost to bpCost. The parser's Necramech wiki integration passes the transformed bpCost to the item, so the omitted mapping leaves the blueprint cost unavailable.
Scope
- In
build/wikia/transformers/transformNecramech.ts, map numeric Blueprint.BPCost to bpCost; preserve undefined when the blueprint or numeric value is unavailable.
- In
build/types/shared.ts, declare bpCost?: number on the shared WikiaNecramech type.
- Add or update a test that covers numeric and missing blueprint costs.
Acceptance criteria
Necramech wiki data includes bpCost when a numeric BPCost is present and omits it otherwise.
Follow-up requested by @TobiTenno. This work is outside the scope of PR #992.
PR: #992
Review discussion: #992 (comment)
Summary
The Necramech wiki transformer reads
MarketCostfrom blueprint data but does not map numericBPCosttobpCost. The parser's Necramech wiki integration passes the transformedbpCostto the item, so the omitted mapping leaves the blueprint cost unavailable.Scope
build/wikia/transformers/transformNecramech.ts, map numericBlueprint.BPCosttobpCost; preserveundefinedwhen the blueprint or numeric value is unavailable.build/types/shared.ts, declarebpCost?: numberon the sharedWikiaNecramechtype.Acceptance criteria
Necramech wiki data includes
bpCostwhen a numericBPCostis present and omits it otherwise.Follow-up requested by @TobiTenno. This work is outside the scope of PR #992.
PR: #992
Review discussion: #992 (comment)