[
  {
    "type": "mutation",
    "id": "TEST_ENCH_MUTATION",
    "name": "Ink glands",
    "points": 1,
    "visibility": 1,
    "ugliness": 1,
    "description": "Several ink glands have grown onto your torso.  They can be used to spray defensive ink and blind an attacker in an emergency, as long as the torso isn't covered.",
    "enchantments": [ "TEST_ENCH" ],
    "category": [ "CEPHALOPOD" ]
  },
  {
    "type": "mutation",
    "id": "TEST_TRIGGER",
    "name": { "str": "OR Test trigger" },
    "points": 1,
    "description": "This mutation is meant to test the trigger system.  It is currently off.",
    "triggers": [
      [
        {
          "trigger_type": "MOOD",
          "threshold_low": 20,
          "msg_on": { "text": "Your mood is above 20 and triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "MOON",
          "threshold_low": 3,
          "threshold_high": 5,
          "msg_on": { "text": "This is the full moon and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "HUNGER",
          "threshold_low": 110,
          "msg_on": { "text": "You're very hungry and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "PAIN",
          "threshold_low": 110,
          "msg_on": { "text": "You're in pain and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "THIRST",
          "threshold_low": 110,
          "msg_on": { "text": "You're thirsty and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "STAMINA",
          "threshold_high": 1,
          "msg_on": { "text": "You're low on stamina and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "TIME",
          "threshold_low": 1,
          "threshold_high": 3,
          "msg_on": { "text": "It's 2 am and it triggers the trigger.", "rating": "mixed" }
        }
      ]
    ],
    "transform": { "target": "TEST_TRIGGER_active", "msg_transform": "The trigger is triggered.", "active": true, "moves": 10 }
  },
  {
    "type": "mutation",
    "id": "TEST_TRIGGER_active",
    "name": { "str": "OR Test trigger (on)" },
    "points": 1,
    "description": "This mutation is meant to test the trigger system.  It is currently on.",
    "copy-from": "TEST_TRIGGER",
    "triggers": [
      [
        {
          "trigger_type": "MOOD",
          "threshold_low": 20,
          "msg_off": { "text": "Your mood is below 20 and triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "MOON",
          "threshold_low": 5,
          "threshold_high": 3,
          "msg_on": { "text": "This is not the full moon anymore and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "HUNGER",
          "threshold_high": 110,
          "msg_on": { "text": "You're no longer very hungry and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "PAIN",
          "threshold_high": 110,
          "msg_on": { "text": "You're no longer in pain and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "THIRST",
          "threshold_high": 110,
          "msg_on": { "text": "You're no longer thirsty and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "STAMINA",
          "threshold_low": 1,
          "msg_on": { "text": "You're no longer low on stamina and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "TIME",
          "threshold_low": 2,
          "threshold_high": 1,
          "msg_on": { "text": "It's no longer 2 am and it triggers the trigger.", "rating": "mixed" }
        }
      ]
    ],
    "transform": { "target": "TEST_TRIGGER", "msg_transform": "The trigger (active) is triggered.", "active": false, "moves": 10 }
  },
  {
    "type": "mutation",
    "id": "TEST_TRIGGER_2",
    "name": { "str": " AND Test trigger" },
    "points": 1,
    "description": "This mutation is meant to test the trigger system.  It is currently off.",
    "triggers": [
      [ { "trigger_type": "MOON", "threshold_low": 3, "threshold_high": 5 } ],
      [ { "trigger_type": "PAIN", "threshold_low": 110 } ]
    ],
    "transform": { "target": "TEST_TRIGGER_2_active", "msg_transform": "The trigger is triggered.", "active": true, "moves": 10 }
  },
  {
    "type": "mutation",
    "id": "TEST_TRIGGER_2_active",
    "name": { "str": "AND Test trigger (on)" },
    "points": 1,
    "description": "This mutation is meant to test the trigger system.  It is currently on.",
    "copy-from": "TEST_TRIGGER",
    "triggers": [
      [
        {
          "trigger_type": "MOON",
          "threshold_low": 5,
          "threshold_high": 3,
          "msg_on": { "text": "This is not the full moon anymore and it triggers the trigger.", "rating": "mixed" }
        },
        {
          "trigger_type": "PAIN",
          "threshold_high": 110,
          "msg_on": { "text": "You're no longer in pain and it triggers the trigger.", "rating": "mixed" }
        }
      ]
    ],
    "transform": { "target": "TEST_TRIGGER_2", "msg_transform": "The trigger (active) is triggered.", "active": false, "moves": 10 }
  }
]
