[
  {
    "type": "item_group",
    "id": "xe_dreamer_spells_low",
    "//": "Overall group for dreamer spells, if you don't need a precise tier of items. Groups are used in mapgen",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_dreamer_spell_group0", "prob": 100 },
      { "group": "xe_dreamer_spell_group1", "prob": 50 },
      { "group": "xe_dreamer_spell_group2", "prob": 25 },
      { "group": "xe_dreamer_spell_group3", "prob": 12 },
      { "group": "xe_dreamer_spell_group4", "prob": 6 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spells_mid",
    "//": "Same as before, but with higher tier spells",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_dreamer_spell_group0", "prob": 25 },
      { "group": "xe_dreamer_spell_group1", "prob": 50 },
      { "group": "xe_dreamer_spell_group2", "prob": 100 },
      { "group": "xe_dreamer_spell_group3", "prob": 50 },
      { "group": "xe_dreamer_spell_group4", "prob": 25 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spells_high",
    "//": "Same as before, but with higher tier spells",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_dreamer_spell_group0", "prob": 6 },
      { "group": "xe_dreamer_spell_group1", "prob": 12 },
      { "group": "xe_dreamer_spell_group2", "prob": 25 },
      { "group": "xe_dreamer_spell_group3", "prob": 100 },
      { "group": "xe_dreamer_spell_group4", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_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_dreamer_spell_tier0", "prob": 100 }, { "group": "xe_dreamer_spell_tier1", "prob": 50 } ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_group1",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_dreamer_spell_tier0", "prob": 50 },
      { "group": "xe_dreamer_spell_tier1", "prob": 100 },
      { "group": "xe_dreamer_spell_tier2", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_group2",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_dreamer_spell_tier1", "prob": 50 },
      { "group": "xe_dreamer_spell_tier2", "prob": 100 },
      { "group": "xe_dreamer_spell_tier3", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_group3",
    "subtype": "distribution",
    "entries": [
      { "group": "xe_dreamer_spell_tier2", "prob": 50 },
      { "group": "xe_dreamer_spell_tier3", "prob": 100 },
      { "group": "xe_dreamer_spell_tier4", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_group4",
    "subtype": "distribution",
    "entries": [ { "group": "xe_dreamer_spell_tier3", "prob": 50 }, { "group": "xe_dreamer_spell_tier4", "prob": 100 } ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_tier0",
    "subtype": "distribution",
    "entries": [  ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_tier1",
    "subtype": "distribution",
    "entries": [
      { "item": "magick_8_ball", "prob": 50 },
      { "item": "glass_dagger_paperweight", "prob": 100 },
      { "item": "artifact_dreamer_clairvoyance", "prob": 30 },
      { "item": "artifact_dreamer_clairvoyance_eff", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_tier2",
    "subtype": "distribution",
    "entries": [
      { "item": "caravaggio_self_portrait", "prob": 50 },
      { "item": "artifact_shifter", "prob": 40 },
      { "item": "artifact_constructed_hammer", "prob": 50 },
      { "item": "dreamer_coin_artifact", "prob": 50 },
      { "item": "artifact_stalker_eyes", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_tier3",
    "subtype": "distribution",
    "entries": [
      { "item": "mirror_artifact", "prob": 50 },
      { "item": "artifact_sapient_light", "prob": 50 },
      { "item": "artifact_bubble", "prob": 50 },
      { "item": "artifact_ophanim", "prob": 50 },
      { "item": "artifact_winch", "prob": 50 },
      { "item": "artifact_devil_tail", "prob": 50 }
    ]
  },
  {
    "type": "item_group",
    "id": "xe_dreamer_spell_tier4",
    "subtype": "distribution",
    "entries": [ { "item": "artifact_karma_arms", "prob": 50 } ]
  }
]
