# Drawstep — Disney Lorcana TCG: table model (ruleset) Generated from Drawstep's game registry (engine id `lorcana`). Wiki page: https://drawstep.xyz/wiki/lorcana · this document: https://drawstep.xyz/wiki/drawstep-lorcana-ai-pack.md. Illumineers ink cards to pay for Disney characters, items and locations, quest for lore and challenge each other's characters; the first to 20 lore wins. The library has every card with its ink, cost, inkwell symbol, strength, willpower and lore (names carry the version, so copy limits count each version apart). Assisted tables ready and draw, allow one inkable card into the inkwell per turn, pay ink costs, and end the game at 20 lore. ## How a table plays Lorcana Tables offer **assisted** play — the free table plus Lorcana's ruleset — and **free** play (no rules at all). Card text is never executed: it is shown on the card and resolved by the players. The ruleset is plain data in `packages/game-registry/src/games/lorcana.ts`, run by `RulesetTable` (`packages/engine/src/ruleset.ts`). Turn: Beginning → Main (main) → End. Only the player whose turn it is moves it on (Next phase / End turn); automatic phases pass by themselves. What the table does by itself: - Deals 7 cards; each player may alter their hand once before keeping. - Beginning: your cards and ink ready, then you draw (the player going first skips the draw on turn 1). - One inkable card a turn into the inkwell, face down; a card without the inkwell symbol is refused. - Playing a character, item or location from the hand exerts that much ink (refused on the opponent's turn or without enough ink). - A player reaching 20 lore wins; drawing from an empty deck loses. What the players do by hand: - Questing (add the lore), challenging and damage - Singing songs and Shift (exert ink by hand, then “Play without paying”) - Actions (exert ink by hand, then move the action to the discard) - Moving characters to locations How a game is won: - A player reaches 20 lore (the table checks the Lore counter). - A player has to draw from an empty deck (the table checks). The publisher's rules: https://www.disneylorcana.com/en-US/resources · official cards from Lorcast (https://lorcast.com/docs/api) · card pictures: Lorcast's, hosted by this server. ## Card format A Lorcana card is a card definition with `"game": "lorcana"` and a `tcg` payload — the printed data the ruleset reads (its category, its cost, the numbers on it). Cards are plain data: put the printed text in `text`; do **not** invent ability JSON. ```json { "id": "my-card", "name": "My Card", "game": "lorcana", "source": "custom", "types": [ "Character" ], "subtypes": [ "Trait" ], "colors": [ "Amber" ], "text": "Printed rules text.", "tcg": { "category": "Character", "cost": 2, "stats": { "strength": 1, "willpower": 1, "lore": 1, "moveCost": 1 }, "attributes": [ "Amber" ], "traits": [ "Trait" ], "extra": { "version": "…" } }, "image": { "normal": "https://… (optional full-card image)" } } ``` Fields (the Card Studio's form): `extra.version` (Version), `attributes` (Ink: Amber / Amethyst / Emerald / Ruby / Sapphire / Steel), `cost` (Ink cost), `flags` (Inkable: inkable), `stats.strength` (Strength; Character only), `stats.willpower` (Willpower; Character, Location only), `stats.lore` (Lore; Character, Location only), `stats.moveCost` (Move cost; Location only), `traits` (Classifications), `keywords` (Keywords), `text` (Abilities). Categories: Character, Action, Song, Item, Location. ## Zones | Zone | Label | Kind | Visibility | Notes | |---|---|---|---|---| | `library` | Deck | pile | hidden | ordered | | `hand` | Hand | hand | owner | | | `play` | Play area | surface | public | rows: Characters, Locations, Items | | `inkwell` | Inkwell | row | public | | | `discard` | Discard | pile | public | ordered | Hand zone: `hand` · library: `library` · main surface: `play` · discard: `discard`. Seats: 2 / 3 / 4. ## Counters - `lore` — Lore, starts at 0 (primary) ## Phases Beginning → Main → End ## Deck rules A deck list is `{ "name", "engine": "lorcana", "format", "zones": { "": ["", …] } }`; copies are repeated ids. Formats: | Format | Zones (min–max, allowed types) | Max copies | Notes | |---|---|---|---| | Core Constructed | Deck (`main`): 60+ | 4 | legality: core | | Infinity Constructed | Deck (`main`): 60+ | 4 | legality: infinity | | Custom | Deck (`main`): 1+ | 99 | | ## Card adapter Types: Character, Action, Song, Item, Location · resource: Ink cost · stats: Strength / Willpower · colors: Amber, Amethyst, Emerald, Ruby, Sapphire, Steel.