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 by owner.

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; owner gates who may move or remove it, not who may see it, and None leaves it public — either seat may act on it.