diff --git a/mods/ITEMS/vox_core/textures/vox_dirt.png b/mods/ITEMS/vox_core/textures/vox_dirt.png index 53abf35..ba87349 100644 Binary files a/mods/ITEMS/vox_core/textures/vox_dirt.png and b/mods/ITEMS/vox_core/textures/vox_dirt.png differ diff --git a/mods/MAPGEN/vox_overworld/register_biomes.lua b/mods/MAPGEN/vox_overworld/register_biomes.lua index 2ed6c44..97beef8 100644 --- a/mods/MAPGEN/vox_overworld/register_biomes.lua +++ b/mods/MAPGEN/vox_overworld/register_biomes.lua @@ -2,6 +2,18 @@ -- BIOMES -- -------------------------------------------------------------- -- +-- Helper function to create noise parameters +local function create_noise_params(offset, scale, spread, seed, octaves, persist) + return { + offset = offset, + scale = scale, + spread = spread, + seed = seed, + octaves = octaves, + persist = persist + } +end + -- Grassland minetest.register_biome({ name = "grassland", @@ -16,11 +28,13 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 4, -- Smooth transition between biomes + vertical_blend = 5, -- Smooth transition between biomes + horizontal_blend = 6, y_max = 31000, - y_min = 6, -- Ensure grassland spawns above beach level + y_min = 3, -- Ensure grassland spawns above beach level heat_point = 50, - humidity_point = 35 + humidity_point = 35, + noise_params = create_noise_params(0, 1, {x = 100, y = 100, z = 100}, 12345, 3, 0.5) }) -- Forest @@ -37,11 +51,13 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 3, -- Smooth transition between biomes + vertical_blend = 4, -- Smooth transition between biomes + horizontal_blend = 6, y_max = 31000, y_min = 6, -- Ensure forest spawns above beach level - heat_point = 60, - humidity_point = 68 + heat_point = 45, + humidity_point = 70, + noise_params = create_noise_params(0, 1, {x = 100, y = 100, z = 100}, 67890, 3, 0.5) }) -- Desert @@ -58,9 +74,10 @@ minetest.register_biome({ node_dungeon = "vox_core:desert_stonebrick", node_dungeon_alt = "vox_core:desert_stone", node_dungeon_stair = "vox_core:desert_stonebrick", - vertical_blend = 3, -- Smooth transition between biomes + vertical_blend = 5, -- Smooth transition between biomes + horizontal_blend = 6, y_max = 31000, - y_min = 6, -- Ensure desert spawns above beach level + y_min = 1, -- Ensure desert spawns above beach level heat_point = 92, humidity_point = 16 }) @@ -81,7 +98,8 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 1, + vertical_blend = 5, + horizontal_blend = 6, y_max = 31000, y_min = 1, -- Ensure tundra spawns above ocean level heat_point = 0, @@ -151,6 +169,8 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", + vertical_blend = 5, + horizontal_blend = 6, y_max = 31000, y_min = 47, heat_point = 0, @@ -169,8 +189,9 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 1, - y_max = 1, + vertical_blend = 5, + horizontal_blend = 6, + y_max = 4, y_min = -3, heat_point = 0, humidity_point = 40 @@ -190,6 +211,7 @@ minetest.register_biome({ node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", vertical_blend = 1, + horizontal_blend = 6, y_max = 0, y_min = -255, heat_point = 0, @@ -207,7 +229,7 @@ minetest.register_biome({ depth_water_top = 10, node_river_water = "vox_core:river_water_source", node_riverbed = "vox_core:gravel", - depth_riverbed = 2, + depth_riverbed = 4, y_min = -255, y_max = 0, -- Ocean level at height 0 heat_point = 50, @@ -223,7 +245,7 @@ minetest.register_biome({ depth_filler = 3, node_river_water = "vox_core:river_water_source", node_riverbed = "vox_core:sand", - depth_riverbed = 2, + depth_riverbed = 3, y_min = -2, y_max = 0, -- River level at height 0 heat_point = 50, @@ -240,6 +262,7 @@ minetest.register_biome({ y_min = 0, y_max = 5, -- Allow beach to vary in height vertical_blend = 3, -- Smooth transition between biomes + horizontal_blend = 6, heat_point = 50, humidity_point = 70 }) @@ -251,16 +274,17 @@ minetest.register_biome({ depth_top = 1, node_filler = "vox_core:dry_dirt", depth_filler = 3, - node_stone = "vox_core:stone", + node_stone = "vox_core:desert_stone", node_river_water = "vox_core:river_water_source", node_riverbed = "vox_core:sand", depth_riverbed = 2, node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 3, + vertical_blend = 4, + horizontal_blend = 6, y_max = 31000, - y_min = 6, + y_min = 4, heat_point = 85, humidity_point = 20 }) @@ -279,9 +303,10 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 3, + vertical_blend = 4, + horizontal_blend = 6, y_max = 31000, - y_min = 3, + y_min = 7, heat_point = 100, humidity_point = 10 }) @@ -300,9 +325,10 @@ minetest.register_biome({ node_dungeon = "vox_core:cobble", node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", - vertical_blend = 3, + horizontal_blend = 6, + vertical_blend = 10, y_max = 31000, - y_min = 6, + y_min = 40, heat_point = 30, humidity_point = 40 }) @@ -314,7 +340,7 @@ minetest.register_biome({ depth_top = 1, node_filler = "vox_core:hardened_clay", depth_filler = 3, - node_stone = "vox_core:stone", + node_stone = "vox_core:desert_stone", node_river_water = "vox_core:river_water_source", node_riverbed = "vox_core:sand", depth_riverbed = 2, @@ -322,10 +348,12 @@ minetest.register_biome({ node_dungeon_alt = "vox_core:mossycobble", node_dungeon_stair = "vox_core:stonebrick", vertical_blend = 3, + horizontal_blend = 6, y_max = 31000, - y_min = 6, + y_min = 3, heat_point = 75, - humidity_point = 25 + humidity_point = 25, + noise_params = create_noise_params(0, 1, {x = 100, y = 100, z = 100}, 54321, 3, 0.5) }) -- Register terracotta layers for Painted Mesa @@ -348,7 +376,7 @@ for _, color in ipairs(colors) do y_max = 31000, y_min = 6, heat_point = 75, - humidity_point = 25 + humidity_point = 25, + noise_params = create_noise_params(0, 1, {x = 100, y = 100, z = 100}, 98765, 3, 0.5) }) -end - +end \ No newline at end of file diff --git a/mods/MAPGEN/vox_overworld/register_minerals.lua b/mods/MAPGEN/vox_overworld/register_minerals.lua new file mode 100644 index 0000000..cb709cc --- /dev/null +++ b/mods/MAPGEN/vox_overworld/register_minerals.lua @@ -0,0 +1,102 @@ +-- Granite +minetest.register_ore({ + ore_type = "sheet", + ore = "vox_core:granite", + wherein = "vox_core:stone", + clust_scarcity = 180 * 180 * 180, -- Decrease scarcity to make more common + clust_num_ores = 6, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"mountains"} +}) + +-- Diorite +minetest.register_ore({ + ore_type = "stratum", + ore = "vox_core:diorite", + wherein = "vox_core:stone", + clust_scarcity = 120 * 120 * 120, + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, -- Adjust for greater depth + y_max = 31000, -- Adjust for greater height + biomes = {"grassland", "forest"} -- Restrict to specific biomes +}) + +-- Andesite +minetest.register_ore({ + ore_type = "sheet", + ore = "vox_core:andesite", + wherein = "vox_core:stone", + clust_scarcity = 120 * 120 * 120, -- Increase scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, -- Adjust for greater depth + y_max = 31000, -- Adjust for greater height + biomes = {"grassland", "forest"} -- Restrict to specific biomes +}) + +-- Basalt +minetest.register_ore({ + ore_type = "stratum", + ore = "vox_core:basalt", + wherein = "vox_core:stone", + clust_scarcity = 100 * 100 * 100, -- Increase scarcity + clust_num_ores = 2, + clust_size = 2, + y_min = -31000, -- Adjust for greater depth + y_max = 31000, -- Adjust for greater height + biomes = {"tundra", "icesheet"} -- Restrict to specific biomes +}) + +-- Marble +minetest.register_ore({ + ore_type = "sheet", + ore = "vox_core:marble", + wherein = "vox_core:stone", + clust_scarcity = 180 * 180 * 180, -- Decrease scarcity to make more common + clust_num_ores = 6, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"mountains"} +}) +-- Chalk +minetest.register_ore({ + ore_type = "sheet", + ore = "vox_core:chalk", + wherein = "vox_core:stone", + clust_scarcity = 120 * 120 * 120, -- Increase scarcity + clust_num_ores = 3, + clust_size = 2, + y_min = -31000, -- Adjust for greater depth + y_max = 31000, -- Adjust for greater height + biomes = {"desert", "grassland"} -- Restrict to specific biomes +}) + +-- Limestone +minetest.register_ore({ + ore_type = "sheet", + ore = "vox_core:limestone", + wherein = "vox_core:stone", + clust_scarcity = 180 * 180 * 180, -- Decrease scarcity to make more common + clust_num_ores = 6, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"mountains"} +}) + +-- Obsidian +minetest.register_ore({ + ore_type = "vein", + ore = "vox_core:obsidian", + wherein = "vox_core:stone", + clust_scarcity = 100 * 100 * 100, + clust_num_ores = 1, + clust_size = 1, + y_min = -31000, -- Adjust for greater depth + y_max = 31000, -- Adjust for greater height + biomes = {"volcanic"} -- Restrict to specific biomes +}) diff --git a/mods/MAPGEN/vox_overworld/register_ores.lua b/mods/MAPGEN/vox_overworld/register_ores.lua index b6fb8ae..8c0d4f4 100644 --- a/mods/MAPGEN/vox_overworld/register_ores.lua +++ b/mods/MAPGEN/vox_overworld/register_ores.lua @@ -2,135 +2,30 @@ -- ORES -- -------------------------------------------------------------- -- --- Granite -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:granite", - wherein = "vox_core:stone", - clust_scarcity = 180 * 180 * 180, -- Decrease scarcity to make more common - clust_num_ores = 6, - clust_size = 3, - y_min = -31000, - y_max = 31000, - biomes = {"mountains"} -}) - --- Diorite -minetest.register_ore({ - ore_type = "blob", - ore = "vox_core:diorite", - wherein = "vox_core:stone", - clust_scarcity = 200 * 200 * 200, -- Increase scarcity - clust_num_ores = 4, - clust_size = 3, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland", "forest"} -- Restrict to specific biomes -}) - --- Andesite -minetest.register_ore({ - ore_type = "blob", - ore = "vox_core:andesite", - wherein = "vox_core:stone", - clust_scarcity = 200 * 200 * 200, -- Increase scarcity - clust_num_ores = 4, - clust_size = 3, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland", "forest"} -- Restrict to specific biomes -}) - --- Basalt -minetest.register_ore({ - ore_type = "stratum", - ore = "vox_core:basalt", - wherein = "vox_core:stone", - clust_scarcity = 300 * 300 * 300, -- Increase scarcity - clust_num_ores = 2, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"tundra", "icesheet"} -- Restrict to specific biomes -}) - --- Marble -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:marble", - wherein = "vox_core:stone", - clust_scarcity = 180 * 180 * 180, -- Decrease scarcity to make more common - clust_num_ores = 6, - clust_size = 3, - y_min = -31000, - y_max = 31000, - biomes = {"mountains"} -}) --- Chalk -minetest.register_ore({ - ore_type = "sheet", - ore = "vox_core:chalk", - wherein = "vox_core:stone", - clust_scarcity = 220 * 220 * 220, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"desert", "grassland"} -- Restrict to specific biomes -}) - --- Limestone -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:limestone", - wherein = "vox_core:stone", - clust_scarcity = 180 * 180 * 180, -- Decrease scarcity to make more common - clust_num_ores = 6, - clust_size = 3, - y_min = -31000, - y_max = 31000, - biomes = {"mountains"} -}) - --- Obsidian -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:obsidian", - wherein = "vox_core:stone", - clust_scarcity = 1000 * 1000 * 1000, -- Increase scarcity to reduce abundance - clust_num_ores = 1, - clust_size = 1, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"volcanic"} -- Restrict to specific biomes -}) - --- Ores and Gems - -- Coal Ore minetest.register_ore({ ore_type = "scatter", ore = "vox_core:coal_ore", wherein = "vox_core:stone", - clust_scarcity = 60 * 60 * 60, -- Increase scarcity - clust_num_ores = 8, - clust_size = 4, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland", "forest"} -- Restrict to specific biomes + clust_scarcity = 10 * 10 * 10, -- Make coal more common + clust_num_ores = 12, + clust_size = 6, + y_min = -31000, + y_max = 31000, + biomes = {"grassland", "forest", "desert", "tundra", "icesheet", "savanna", "volcanic", "mountain", "painted_mesa"} }) -- Uranium Ore minetest.register_ore({ - ore_type = "vein", + ore_type = "scatter", ore = "vox_core:uranium_ore", wherein = "vox_core:stone", - clust_scarcity = 900 * 900 * 900, -- Increase scarcity to reduce abundance - clust_num_ores = 2, - clust_size = 1, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"tundra", "desert"} -- Restrict to specific biomes + clust_scarcity = 400 * 400 * 400, -- Adjust scarcity + clust_num_ores = 3, + clust_size = 2, + y_min = -31000, + y_max = 31000, + biomes = {"tundra", "desert", "volcanic", "mountain"} }) -- Bone Ore @@ -138,63 +33,12 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:bone_ore", wherein = "vox_core:stone", - clust_scarcity = 300 * 300 * 300, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height -}) - --- Sulfur Ore -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:sulfur_ore", - wherein = "vox_core:stone", - clust_scarcity = 300 * 300 * 300, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"desert"} -- Restrict to specific biomes -}) - --- Salt Ore -minetest.register_ore({ - ore_type = "stratum", - ore = "vox_core:salt_ore", - wherein = "vox_core:stone", - clust_scarcity = 200 * 200 * 200, -- Increase scarcity + clust_scarcity = 100 * 100 * 100, -- Adjust scarcity clust_num_ores = 4, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"desert"} -- Restrict to specific biomes -}) - --- Copper Ore -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:copper_ore", - wherein = "vox_core:stone", - clust_scarcity = 180 * 180 * 180, -- Increase scarcity - clust_num_ores = 6, clust_size = 3, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland"} -- Restrict to specific biomes -}) - --- Tin Ore -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:tin_ore", - wherein = "vox_core:stone", - clust_scarcity = 200 * 200 * 200, -- Increase scarcity - clust_num_ores = 6, - clust_size = 3, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland"} -- Restrict to specific biomes + y_min = -31000, + y_max = 31000, + biomes = {"tundra", "desert", "savanna", "volcanic"} }) -- Iron Ore @@ -202,51 +46,64 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:iron_ore", wherein = "vox_core:stone", - clust_scarcity = 160 * 160 * 160, -- Increase scarcity + clust_scarcity = 15 * 15 * 15, -- Make iron more common + clust_num_ores = 10, + clust_size = 5, + y_min = -31000, + y_max = 31000, + biomes = {"grassland", "forest", "desert", "tundra", "icesheet", "savanna", "volcanic", "mountain", "painted_mesa"} +}) + +-- Copper Ore +minetest.register_ore({ + ore_type = "scatter", + ore = "vox_core:copper_ore", + wherein = "vox_core:stone", + clust_scarcity = 20 * 20 * 20, -- Adjust scarcity + clust_num_ores = 8, + clust_size = 4, + y_min = -31000, + y_max = 31000, + biomes = {"grassland", "forest", "desert", "tundra", "savanna", "volcanic", "mountain"} +}) + +-- Tin Ore +minetest.register_ore({ + ore_type = "scatter", + ore = "vox_core:tin_ore", + wherein = "vox_core:stone", + clust_scarcity = 25 * 25 * 25, -- Adjust scarcity clust_num_ores = 6, clust_size = 3, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland", "forest"} -- Restrict to specific biomes + y_min = -31000, + y_max = 31000, + biomes = {"grassland", "forest", "desert", "tundra", "savanna", "volcanic", "mountain"} }) -- Gold Ore minetest.register_ore({ - ore_type = "vein", + ore_type = "scatter", ore = "vox_core:gold_ore", wherein = "vox_core:stone", - clust_scarcity = 600 * 600 * 600, -- Increase scarcity to reduce abundance - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"tundra", "desert"} -- Restrict to specific biomes -}) - --- Silver Ore -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:silver_ore", - wherein = "vox_core:stone", - clust_scarcity = 250 * 250 * 250, -- Increase scarcity to reduce abundance - clust_num_ores = 6, + clust_scarcity = 50 * 50 * 50, -- Adjust scarcity + clust_num_ores = 5, clust_size = 3, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland"} -- Restrict to specific biomes + y_min = -31000, + y_max = 31000, + biomes = {"desert", "volcanic", "mountain", "painted_mesa"} }) -- Diamond Ore minetest.register_ore({ - ore_type = "vein", + ore_type = "scatter", ore = "vox_core:diamond_ore", wherein = "vox_core:stone", - clust_scarcity = 800 * 800 * 800, -- Increase scarcity to reduce abundance - clust_num_ores = 2, - clust_size = 1, - y_min = -31000, -- Adjust for greater depth - y_max = -50, -- Adjust for greater height - biomes = {"tundra", "icesheet"} -- Restrict to specific biomes + clust_scarcity = 100 * 100 * 100, -- Adjust scarcity + clust_num_ores = 3, + clust_size = 2, + y_min = -31000, + y_max = -50, + biomes = {"mountain", "volcanic"} }) -- Emerald Ore @@ -254,12 +111,12 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:emerald_ore", wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"forest"} -- Restrict to specific biomes + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"forest", "mountain"} }) -- Ruby Ore @@ -267,12 +124,12 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:ruby_ore", wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"forest"} -- Restrict to specific biomes + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"desert", "volcanic"} }) -- Sapphire Ore @@ -280,24 +137,12 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:sapphire_ore", wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"forest"} -- Restrict to specific biomes -}) - -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:topaz_ore", - wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"desert"} -- Restrict to specific biomes + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"tundra", "icesheet"} }) -- Amethyst Ore @@ -305,50 +150,25 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:amethyst_ore", wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"forest"} -- Restrict to specific biomes + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"forest", "mountain"} }) --- Opal Ore +-- Topaz Ore minetest.register_ore({ ore_type = "scatter", - ore = "vox_core:opal_ore", + ore = "vox_core:topaz_ore", wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland"} -- Restrict to specific biomes -}) - --- Onyx Ore -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:onyx_ore", - wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"grassland"} -- Restrict to specific biomes -}) - -minetest.register_ore({ - ore_type = "scatter", - ore = "vox_core:garnet_ore", - wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"forest"} -- Restrict to specific biomes + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"desert", "savanna"} }) -- Peridot Ore @@ -356,11 +176,36 @@ minetest.register_ore({ ore_type = "scatter", ore = "vox_core:peridot_ore", wherein = "vox_core:stone", - clust_scarcity = 450 * 450 * 450, -- Increase scarcity - clust_num_ores = 3, - clust_size = 2, - y_min = -31000, -- Adjust for greater depth - y_max = 31000, -- Adjust for greater height - biomes = {"forest"} -- Restrict to specific biomes + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"forest", "grassland"} }) +-- Opal Ore +minetest.register_ore({ + ore_type = "scatter", + ore = "vox_core:opal_ore", + wherein = "vox_core:stone", + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"forest", "mountain"} +}) + +-- Onyx Ore +minetest.register_ore({ + ore_type = "scatter", + ore = "vox_core:onyx_ore", + wherein = "vox_core:stone", + clust_scarcity = 150 * 150 * 150, -- Adjust scarcity + clust_num_ores = 4, + clust_size = 3, + y_min = -31000, + y_max = 31000, + biomes = {"volcanic", "mountain"} +}) \ No newline at end of file