{
  "name": "Cape Lamplighters",
  "description": "A minimal example system: three attributes, a calculated defence, one roll and a health pool.",
  "locale": "en",
  "roll_rules": {
    "dice_type": "d20",
    "roll_mode": "over",
    "has_critical": true,
    "critical_threshold": 20,
    "fumble_threshold": 1,
    "success_label": "Success",
    "failure_label": "Failure",
    "critical_success_label": "Critical"
  },
  "fields": [
    { "_type": "group", "label": "Attributes" },
    { "key": "arm", "label": "Arm", "type": "number", "min": 1, "max": 10, "default_value": 3, "rollable": true },
    { "key": "eye", "label": "Eye", "type": "number", "min": 1, "max": 10, "default_value": 3, "rollable": true },
    { "key": "nerve", "label": "Nerve", "type": "number", "min": 1, "max": 10, "default_value": 3, "rollable": true },
    { "_type": "group", "label": "Status" },
    { "key": "stamina", "label": "Stamina", "type": "resource", "max_formula": "6 + nerve * 2", "start_full": true },
    { "key": "guard", "label": "Guard", "type": "derived", "derived_formula": "8 + arm + FLOOR(eye / 2)" }
  ]
}
