yasuki_core.engine.rules.decisions#

Classes

BanishForLegacy(seat, candidates)

The seat must banish one card from hand to pay for the Legacy ability.

ChooseAbilityTarget(seat, candidates, ...)

The seat must choose the target of an activated ability it has announced.

ChooseCards(seat, candidates, minimum, ...)

The seat must choose between minimum and maximum of the candidate cards — a variable-count target, as when a triggered effect targets "zero to two" cards.

ChooseInvestAmount(seat, candidates, ...)

The seat must choose how much to Invest while recruiting a variable-Invest holding.

ChooseLegacyCard(seat, candidates)

The seat must choose which Legacy card its search found — the candidates are the Legacy cards in its dynasty deck and provinces.

ChoosePayment(seat, candidates, amount, ...)

The seat must cover a gold cost, bowing gold producers to make up what its pool lacks.

DecisionRequest(seat, candidates)

A question the engine pauses to put to one seat.

DecisionResponse([choices, boosted])

A seat's answer to the pending DecisionRequest.

DiscardToHandSize(seat, candidates, count)

The seat must discard count cards from hand to reach the maximum hand size, taken at the end of its turn.

PlaceLegacy(seat, candidates, legacy_card_id)

The seat must choose which province to place the found Legacy card into, discarding the card already there.