yasuki_core.engine.rules.effects.effective_gold_production#

effective_gold_production(game, card, targets=())[source]#

The gold card produces right now: its registered handler’s result against the live views, or its printed gold_production when no handler is registered, plus every active Gold Production modifier on it (wealth counters, ability grants), floored at zero. A card with no Gold Production stat produces 0 and receives no modifiers (the stat is absent).

Parameters:
gameGameState

The live game the views project from.

cardL5RCard

The producing card.

targetstuple of L5RCard, optional

The cards being paid for, for a handler whose yield depends on what it pays for. Default empty.