
-- Geodes for most games

if minetest.get_modpath("geodes_lib") ~= nil then

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_blue",
    core_alt = "too_many_stones:agate_blue",
    core_alt_chance = 100,
    shell = {"too_many_stones:limestone_white", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_gray",
    core_alt = "too_many_stones:agate_gray",
    core_alt_chance = 100,
    shell = {"too_many_stones:pumice", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_green",
    core_alt = "too_many_stones:agate_green",
    core_alt_chance = 100,
    shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_moss",
    core_alt = "too_many_stones:agate_moss",
    core_alt_chance = 100,
    shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_orange",
    core_alt = "too_many_stones:agate_orange",
    core_alt_chance = 100,
    shell = {"too_many_stones:limestone_blue", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_purple",
    core_alt = "too_many_stones:agate_purple",
    core_alt_chance = 100,
    shell = {"too_many_stones:gabbro", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:agate_red",
    core_alt = "too_many_stones:agate_red",
    core_alt_chance = 100,
    shell = {"too_many_stones:limestone_white", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:black_opal",
    core_alt = "too_many_stones:black_opal",
    core_alt_chance = 100,
    shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:fire_opal",
    core_alt = "too_many_stones:fire_opal",
    core_alt_chance = 100,
    shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:amazonite",
    core_alt = "too_many_stones:amazonite_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:amethyst",
    core_alt = "too_many_stones:amethyst_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:gabbro", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:citrine",
    core_alt = "too_many_stones:citrine_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:crocoite",
    core_alt = "too_many_stones:crocoite_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:eudialite",
    core_alt = "too_many_stones:eudialite_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:kyanite",
    core_alt = "too_many_stones:kyanite_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:rose_quartz",
    core_alt = "too_many_stones:rose_quartz_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:smokey_quartz",
    core_alt = "too_many_stones:smokey_quartz_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:vivianite",
    core_alt = "too_many_stones:vivianite_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:opal",
    core_alt = "too_many_stones:opal",
    core_alt_chance = 100,
    shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:heliodor",
    core_alt = "too_many_stones:heliodor_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:celestine",
    core_alt = "too_many_stones:celestine_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:pumice", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:quartz",
    core_alt = "too_many_stones:quartz_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:pumice", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:prasiolite",
    core_alt = "too_many_stones:prasiolite_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:limestone_white", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

geodes_lib:register_geode({
    wherein = "mapgen_stone",
    y_min = -31000,
    y_max = -10,
    scarcity = 80,
    core = "too_many_stones:morion_quartz",
    core_alt = "too_many_stones:morion_quartz_budding",
    core_alt_chance = 100,
    shell = {"too_many_stones:travertine_yellow", "too_many_stones:calcite"},
    radius_min = 2,
    radius_max = 10,
})

end
