feat(gamestate): expose last_tarot_planet for The Fool - #221
Closed
BGarber42 wants to merge 1 commit into
Closed
Conversation
Surface G.GAME.last_tarot_planet on GameState so clients know which Tarot/Planet The Fool would copy, instead of only the static effect text.
BGarber42
force-pushed
the
feat/gamestate-last-tarot-planet
branch
from
July 17, 2026 18:26
4e047f0 to
e61b3b5
Compare
7 tasks
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
last_tarot_planeton GameState fromG.GAME.last_tarot_planet(card key The Fool would create, e.g.c_hermit).docs/api.md, and Lua types; add integration tests.Test plan
uv run pytest tests/lua/endpoints/test_gamestate.py::TestGamestateTopLevel::test_last_tarot_planet_absent_at_run_start -vuv run pytest tests/lua/endpoints/test_gamestate.py::TestGamestateTopLevel::test_last_tarot_planet_after_using_tarot -vuv run pytest tests/lua/endpoints/test_gamestate.py::TestGamestateTopLevel::test_last_tarot_planet_after_using_planet -vgamestatehas nolast_tarot_planet; use Hermit;gamestateshows last_tarot_planet: c_hermit`