TamaraThe specification

TCS taxonomy v0.6

Drop

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

Cards leave an actor's hands or packet and land at a location

Source fragment

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

{
  "id": "drop",
  "description": "Cards leave an actor's hands or packet and land at a location",
  "labels": {
    "en": "Drop",
    "es": "Dejar Caer",
    "fr": "Laisser Tomber",
    "de": "Fallenlassen"
  },
  "family_ref": "true-handling",
  "action_contract": {
    "requires": [
      "source",
      "target"
    ],
    "parameters": {
      "face": {
        "required": false,
        "description": "How the dropped cards land",
        "domain": [
          "face_up",
          "face_down",
          "kept"
        ],
        "default": "kept"
      },
      "position": {
        "required": false,
        "description": "Location the cards land at",
        "domain": "top | bottom | integer >= 1",
        "default": "top"
      }
    },
    "post_state_invariant": "The unit held in source leaves it as one block and lands at target at position, oriented per face when supplied; source's remaining order is otherwise unchanged.",
    "post_state": {
      "state_schema_ref": "https://tamaraspec.org/schema/tcs-playing-cards-state-0.1.json",
      "effects": [
        {
          "op": "move",
          "select": {
            "all": true
          },
          "from": "source",
          "to": "target",
          "arrival": "block",
          "at": {
            "param": "position"
          },
          "face": {
            "param": "face"
          }
        }
      ]
    }
  }
}

Verbatim JSON · Source: schemas/tcs-taxonomy-0.6.json/verbs/drop

See also