Data management tools for playing BattleTech

feat(unit-rules): read the components a design declares, not just their names master

Types engine, heat sinks, gyro, cockpit, structure and armour in helm-core, against the vocabulary the 4,294 Meks in 0.51.0 actually use. Unknown components keep their string so a design goes unscored rather than scoring as something it is not. Fixes two readings this turned up: the tech-base marker appears in three positions and only one was handled, and patchwork armour writes its type in front of the points, which the parser dropped - all five patchwork designs read as nearly unarmoured. Total armour now agrees with MegaMek on every design. Change-Id: I99922a4b0a8e5c9c98cb559705398e4521d9241e


Author permadeath.com Committer Tangled Date Commit 23359627 Parent 29727032 Change ID I99922a4
+601 -44
7 changed files