[
  {
    "type": "item_group",
    "id": "xe_eater_spells_low",
    "//": "Overall group for eater spells, if you don't need a precise tier of items. Groups are used in mapgen",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_eater_spell_group0", "prob": 100 },
      { "group": "xe_eater_spell_group1", "prob": 50 },
      { "group": "xe_eater_spell_group2", "prob": 25 },
      { "group": "xe_eater_spell_group3", "prob": 12 },
      { "group": "xe_eater_spell_group4", "prob": 6 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spells_mid",
    "//": "Same as before, but with higher tier spells",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_eater_spell_group0", "prob": 25 },
      { "group": "xe_eater_spell_group1", "prob": 50 },
      { "group": "xe_eater_spell_group2", "prob": 100 },
      { "group": "xe_eater_spell_group3", "prob": 50 },
      { "group": "xe_eater_spell_group4", "prob": 25 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spells_high",
    "//": "Same as before, but with higher tier spells",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_eater_spell_group0", "prob": 6 },
      { "group": "xe_eater_spell_group1", "prob": 12 },
      { "group": "xe_eater_spell_group2", "prob": 25 },
      { "group": "xe_eater_spell_group3", "prob": 100 },
      { "group": "xe_eater_spell_group4", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_group0",
    "//": "Each group contain artifacts of his tier, plus spells of +1 and -1 tier with lower probability. Groups are used in mapgen",
    "subtype": "distribution",
    "entries": [ { "group": "xe_eater_spell_tier0", "prob": 100 }, { "group": "xe_eater_spell_tier1", "prob": 50 } ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_group1",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_eater_spell_tier0", "prob": 50 },
      { "group": "xe_eater_spell_tier1", "prob": 100 },
      { "group": "xe_eater_spell_tier2", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_group2",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_eater_spell_tier1", "prob": 50 },
      { "group": "xe_eater_spell_tier2", "prob": 100 },
      { "group": "xe_eater_spell_tier3", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_group3",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_eater_spell_tier2", "prob": 50 },
      { "group": "xe_eater_spell_tier3", "prob": 100 },
      { "group": "xe_eater_spell_tier4", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_group4",
    "subtype": "distribution",
    "entries": [ { "group": "xe_eater_spell_tier3", "prob": 50 }, { "group": "xe_eater_spell_tier4", "prob": 100 } ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_tier0",
    "subtype": "distribution",
    "entries": [ { "item": "deck_of_tarot_cards", "prob": 50 }, { "item": "hurricane_lamp_thorns", "prob": 100 } ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_tier1",
    "subtype": "distribution",
    "entries": [
      { "item": "occult_seal", "prob": 50 },
      { "item": "glass_berries", "prob": 100 },
      { "item": "strange_coffee", "prob": 50 },
      { "item": "artifact_horn", "prob": 50 },
      { "item": "artifact_unbreakable", "prob": 50 },
      { "item": "artifact_weakening", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_tier2",
    "subtype": "distribution",
    "entries": [
      { "item": "polaroid_of_missing_person", "prob": 50 },
      { "item": "blindfold_artifact", "prob": 100 },
      { "item": "artifact_cerebellum", "prob": 50 },
      { "item": "artifact_point_blank", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_tier3",
    "subtype": "distribution",
    "entries": [
      { "item": "artifact_heart", "prob": 50 },
      { "item": "artifact_skull", "prob": 100 },
      { "item": "artifact_eye_left", "prob": 50 },
      { "item": "eater_book_artifact", "prob": 50 },
      { "item": "artifact_muscle", "prob": 50 },
      { "item": "artifact_anchor", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_eater_spell_tier4",
    "subtype": "distribution",
    "entries": [
      { "item": "artifact_eye_right", "prob": 100 },
      { "item": "ring_artifact", "prob": 50 },
      { "item": "artifact_sand", "prob": 50 }
    ]
  }
]
