Parse a printed weapon-keyword string (e.g. "Sustained Hits 1",
"Anti-INFANTRY 4+", "Lethal Hits") into a {keyword_id, parameters?}
catalog reference, or null if the form is unrecognised.
Reverses the conventions baked into the M0 catalog: kebab-case ids,
trailing number → value, embedded keyword + threshold → target_keyword
Parse a printed weapon-keyword string (e.g.
"Sustained Hits 1","Anti-INFANTRY 4+","Lethal Hits") into a{keyword_id, parameters?}catalog reference, ornullif the form is unrecognised.Reverses the conventions baked into the M0 catalog: kebab-case ids, trailing number →
value, embedded keyword + threshold →target_keywordthreshold.