Data management tools for playing BattleTech

feat(unit-search): what counts as being built for melee master

Read off MegaMek's own equipment flags rather than a list of names: the club family, which is the hatchets and swords and also the backhoes and mining drills, plus claws, talons, spikes, triple strength myomer and the ProtoMech melee weapon. A shield is a club and counts, because a design carrying one is built for a physical exchange either way. Two exclusions. Industrial TSM is a lifting aid rather than a damage bonus. And nothing wearing a suit is asked at all - a battle claw is the ordinary battle armour manipulator and 605 designs carry one - so infantry and battle armour answer nothing rather than answering no.


+155 -3
2 changed files