TamaraThe specification

TCS taxonomy v0.5

Load

Experimental: structure may change in a subsequent edition. This page is pinned to v0.5.

Secretly place a card into a target location

Source fragment

The following is documentation data, not a standalone document or validation schema. Resolve references against the original source schema.

{
  "id": "load",
  "description": "Secretly place a card into a target location",
  "labels": {
    "en": "Load",
    "es": "Cargar",
    "fr": "Charger",
    "de": "Laden"
  },
  "family_ref": "concealment",
  "action_contract": {
    "parameters": {
      "card": {
        "required": false,
        "description": "The loaded card, named by token, when position does not identify it",
        "domain": "string"
      },
      "position": {
        "required": false,
        "description": "Placement position within the target",
        "domain": "top | bottom | integer >= 1",
        "default": "top"
      },
      "technique": {
        "required": false,
        "description": "Portable technique name, when it matters",
        "domain": "string"
      },
      "source_position": {
        "required": false,
        "description": "Position within source the card(s) are removed from",
        "domain": "top | bottom | integer >= 1",
        "default": "top"
      },
      "count": {
        "required": false,
        "description": "Number of cards loaded, when card is absent",
        "domain": "integer >= 1 | all",
        "default": 1
      }
    },
    "post_state_invariant": "The card named by card — or, when card is absent, the count cards at source_position of source — move as one block to position within target; card identity and orientation are preserved.",
    "post_state": {
      "state_schema_ref": "https://tamaraspec.org/schema/tcs-playing-cards-state-0.1.json",
      "effects": [
        {
          "op": "move",
          "select": {
            "card": {
              "param": "card"
            },
            "position": {
              "param": "source_position"
            },
            "count": {
              "param": "count"
            }
          },
          "from": "source",
          "to": "target",
          "arrival": "block",
          "at": {
            "param": "position"
          }
        }
      ]
    }
  },
  "presents_as": "none"
}

Verbatim JSON · Source: schemas/tcs-taxonomy-0.5.json/verbs/load

See also