pub fn collection_stat_mods(
config: &GameConfig,
entity_state: &EntityState<'_>,
) -> Vec<(String, i64)>Expand description
The total collection bonus as ("<code>.mod", permyriad) pairs.
Every multiplied attribute gets the SAME total — Collection Power is one
scalar M_collection, not a per-attribute table. Percentages become
permyriad because that is the unit .mod is read in (+10000 == +1.0), and
the sum is accumulated in f64 and rounded exactly once, so a catalog of
contributions far below the rounding step still adds up to its budget.
An empty result means no owned template pays anything yet — an arena filler bot, or a character whose collection is entirely behind closed gates.