{
  "repo": "crawler-samples",
  "name": "Crawler Samples",
  "source": "Crawler Vault help: Homebrew by hand",
  "version": "1.0",
  "description": "One of each kind of entry, written by hand. Copy it, rename it, break it.",
  "authors": ["Crawler Vault"],
  "license": "CC0-1.0",
  "system": "dccarl",
  "entries": [
    {
      "id": "ring-of-pep",
      "doc": {
        "name": "Ring of Pep",
        "tags": ["trait:accessory", "trait:magical"],
        "rules": [
          { "kind": "Note", "text": "While worn, your Strength is 2 higher." },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "stats.str.score" },
              "op": "Add",
              "value": "2",
              "label": "Ring of Pep",
              "type": "item",
              "predicate": { "kind": "tag", "tag": "item:equipped" }
            }
          }
        ]
      }
    },
    {
      "id": "oven-mitts",
      "doc": {
        "name": "Oven Mitts of Mild Immolation",
        "tags": ["trait:hands", "trait:magical"],
        "rules": [
          { "kind": "Note", "text": "Fire does half damage to you while these are on. Your hands, anyway." },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "defense.armor" },
              "op": "Add",
              "value": "1",
              "label": "Oven Mitts of Mild Immolation",
              "type": "item",
              "predicate": { "kind": "tag", "tag": "item:equipped" }
            }
          },
          {
            "kind": "GrantTag",
            "tag": "resist:fire",
            "predicate": { "kind": "tag", "tag": "item:equipped" }
          }
        ]
      }
    },
    {
      "id": "sock-slap",
      "doc": {
        "name": "Sock Slap",
        "tags": [
          "skill",
          "skill:attack",
          "skill:attack:melee",
          "attack:melee",
          "skill:weapon",
          "damage:bludgeoning",
          "stat:str"
        ],
        "rules": [
          { "kind": "Note", "text": "Melee Attack, Str. Put something heavy in a sock. Swing the sock." },
          {
            "kind": "Note",
            "text": "Rank 5: +1d4 base damage.",
            "predicate": { "kind": "expr", "expr": "@source.rank >= 5" }
          }
        ],
        "rollDescriptors": [
          {
            "id": "damage",
            "dice": [{ "count": 1, "faces": 4 }],
            "bonus": "@stats.str.mod + (@source.rank >= 5 ? dice(1, 4) : 0)",
            "tags": ["damage:bludgeoning"]
          }
        ]
      }
    },
    {
      "id": "chefs-kiss",
      "doc": {
        "name": "Chef's Kiss",
        "tags": ["skill", "skill:spell", "stat:int", "damage:fire", "skill:target:person"],
        "rules": [
          { "kind": "Note", "text": "A flick of the fingers and something is, regrettably, on fire." },
          {
            "kind": "Note",
            "text": "Rank 5: +1d6 base damage.",
            "predicate": { "kind": "expr", "expr": "@source.rank >= 5" }
          }
        ],
        "rollDescriptors": [
          {
            "id": "damage",
            "dice": [{ "count": 1, "faces": 6 }],
            "bonus": "@stats.int.mod + (@source.rank >= 5 ? dice(1, 6) : 0)",
            "tags": ["damage:fire"]
          }
        ],
        "meta": { "dccarl.mana-cost": "8", "dccarl.range": "30" }
      }
    },
    {
      "id": "lucky-socks",
      "doc": {
        "name": "Lucky Socks",
        "tags": ["skill", "skill:utility", "skill:passive", "stat:dex"],
        "rules": [
          { "kind": "Note", "text": "You never lose a sock. Nobody knows how." },
          {
            "kind": "Note",
            "text": "Rank 5: you can always find a clean pair when you need one.",
            "predicate": { "kind": "expr", "expr": "@source.rank >= 5" }
          }
        ]
      }
    },
    {
      "id": "sugar-rush",
      "doc": {
        "name": "Sugar Rush",
        "tags": ["buff:internal"],
        "rules": [
          { "kind": "Note", "text": "Your Speed is 5 higher until the crash." },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "movement.speed" },
              "op": "Add",
              "value": "5",
              "label": "Sugar Rush"
            }
          }
        ],
        "timers": [{ "key": "duration", "amount": 3, "unit": "rounds" }]
      }
    },
    {
      "id": "soggy-socks",
      "doc": {
        "name": "Soggy Socks",
        "tags": ["debuff:crawler-samples.soggy-socks"],
        "rules": [
          { "kind": "Note", "text": "-1 to every Check. Squelch." },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "check.modifier" },
              "op": "Add",
              "value": "-1",
              "label": "Soggy Socks",
              "type": "status"
            }
          }
        ],
        "timers": [{ "key": "duration", "text": "until you change your socks" }]
      }
    },
    {
      "id": "gutter-goblin",
      "doc": {
        "name": "Gutter Goblin",
        "tags": ["race", "race:gutter-goblin"],
        "rules": [
          { "kind": "GrantTag", "tag": "origin:alien" },
          { "kind": "Note", "text": "Small, quick and extremely hard to get rid of." },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "stats.dex.score" },
              "op": "Add",
              "value": "2",
              "label": "Gutter Goblin",
              "type": "race"
            }
          },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "stats.cha.score" },
              "op": "Add",
              "value": "-1",
              "label": "Gutter Goblin",
              "type": "race"
            }
          }
        ]
      }
    },
    {
      "id": "line-cook",
      "doc": {
        "name": "Line Cook",
        "tags": ["class", "class:line-cook"],
        "rules": [
          { "kind": "GrantTag", "tag": "class-type:merchant" },
          { "kind": "Note", "text": "You have survived the dinner rush. A dungeon is only a longer shift." },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "stats.con.score" },
              "op": "Add",
              "value": "3",
              "label": "Line Cook",
              "type": "class",
              "priority": 1
            }
          },
          {
            "kind": "GrantEntry",
            "ref": { "repo": "crawler-samples", "id": "chefs-kiss" },
            "bind": { "rank": "0" },
            "retain": true
          },
          {
            "kind": "Modifier",
            "modifier": {
              "target": { "kind": "exact", "path": "skill.chefs-kiss.rank" },
              "op": "Add",
              "value": "3",
              "label": "Line Cook",
              "type": "class",
              "priority": 1
            }
          }
        ]
      }
    }
  ]
}
