yasuki_core.game_pieces.counters.Counter#
- class Counter(key, name='', force=0, chi=0, gold_production=0, province_strength=0, personal_honor=0)[source]#
A kind of counter a card can carry — a scalar tally whose stat modifiers apply per count. Data, not behavior: the effect layer reads the delta fields; the counter never acts. Each stat field is a per-count modifier defaulting to 0, so a counter lists only what it changes. The field names match
Stat.valuestrings so the effect layer can bridge them generically.Methods
Counter.__init__(key[, name, force, chi, ...])Attributes
keynameforcechigold_productionprovince_strengthpersonal_honor