yasuki_core.game_pieces.factory.build_token_card#
- build_token_card(record)[source]#
Build one live, owner-less card from a record, for the spawn to copy onto the battlefield.
The record has the
get_card_by_idshape (the image as animage_pathcolumn, not aprintslist), as returned bydatabase.get_creates_for_cardsandget_card_by_id.- Parameters:
- record
dict The card’s full database record.
- record
- Returns:
- card
L5RCard The built card, owner-less and keyed by its own card id.
- card