yasuki_core.game_pieces.factory.build_token_templates#

build_token_templates(token_records)[source]#

Build a live token card from each record, keyed by token card id.

Used once at deck load to populate TableState.creatable_tokens from database.get_creates_for_cards.

Parameters:
token_recordsdict mapping str to dict

Each token card id to its full card record.

Returns:
templatesdict mapping str to L5RCard

Each token card id to a built token card.