yasuki_core.engine.ops.spawn_token#
- spawn_token(state, new_id, template, position, owner)[source]#
Place a fresh face-up token onto the battlefield at
position, controlled byowner.The token is a copy of
template(a full card, so it carries the template’s type, stats, keywords, and text) under a new id, stripped of any per-instance state and marked a token. It is face up, so both seats see it;ownergates who may move or remove it, not who may see it, andNoneleaves it public — either seat may act on it.