From 4c429e49962627b260530112ea10901e497ebbf6 Mon Sep 17 00:00:00 2001 From: "@permadeath.com" Date: Wed, 19 Aug 2026 19:22:55 -0400 Subject: [PATCH] docs(unit-search): tick off armor_pct --- TODO.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/TODO.md b/TODO.md index dd8f6f4..331c125 100644 --- a/TODO.md +++ b/TODO.md @@ -33,9 +33,27 @@ carries heat, damage and ranges per weapon. - [x] **`heat_efficiency`** — dissipation against generation. A Mek that alphas into shutdown is a different unit from one that does not, and nothing in the current facet set can tell them apart. -- [ ] **`armor_pct`** — armour as a fraction of the maximum for its tonnage. +- [x] **`armor_pct`** — armour as a fraction of the maximum for its tonnage. Normalises across weight classes, so "well armoured for its size" becomes - expressible. + expressible. An Atlas AS7-D carries 304 points and a Locust LCT-1V 64, + which says the Atlas is the armoured one; as a percentage they are 99 and + 93, which is the truth. A Wasp WSP-1A is 70 on the same twenty tons as + that Locust. + + The maximum is two points a location for every point of internal + structure, except the head, which takes nine whatever it is bolted to and + twelve on a superheavy — so it is not twice the structure total. Front + and rear plate share a torso's allowance rather than each having one. + + The figure is in no unit file, so it cannot be conformed against MegaMek + the way a battle value can. What holds it is that no design may exceed + it: over all 4,294 Meks none does and 815 sit at exactly 100, which is + the check both ways round — a maximum set too low would put designs over + it, and one set too high would leave nothing at the top. + + This is declared data rather than derived from the catalogue, so unlike + the five above it the column is filled whether or not a build had one. + It is null for everything that is not a Mek, the table being a Mek's. - [x] **Expose all of the above as MCP range filters and in `list_facets`.** Verified against designs whose loadouts are well known: an Atlas AS7-D comes out at 60 firepower and 29 heat, an Awesome AWS-8Q at 33 and 31. -- 2.51.2