Poke poke
Some checks failed
Unit Tests / busted_unit_test (push) Failing after 11m49s
Error Check / luacheck_errcheck (push) Failing after 12m28s

This commit is contained in:
DesertMermaid 2024-12-13 11:06:03 -08:00
parent 161f3f21e4
commit a654e706db
4 changed files with 279 additions and 304 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 B

After

Width:  |  Height:  |  Size: 476 B

View file

@ -2,6 +2,18 @@
-- BIOMES -- 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 -- Grassland
minetest.register_biome({ minetest.register_biome({
name = "grassland", name = "grassland",
@ -16,11 +28,13 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", 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_max = 31000,
y_min = 6, -- Ensure grassland spawns above beach level y_min = 3, -- Ensure grassland spawns above beach level
heat_point = 50, 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 -- Forest
@ -37,11 +51,13 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", 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_max = 31000,
y_min = 6, -- Ensure forest spawns above beach level y_min = 6, -- Ensure forest spawns above beach level
heat_point = 60, heat_point = 45,
humidity_point = 68 humidity_point = 70,
noise_params = create_noise_params(0, 1, {x = 100, y = 100, z = 100}, 67890, 3, 0.5)
}) })
-- Desert -- Desert
@ -58,9 +74,10 @@ minetest.register_biome({
node_dungeon = "vox_core:desert_stonebrick", node_dungeon = "vox_core:desert_stonebrick",
node_dungeon_alt = "vox_core:desert_stone", node_dungeon_alt = "vox_core:desert_stone",
node_dungeon_stair = "vox_core:desert_stonebrick", 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_max = 31000,
y_min = 6, -- Ensure desert spawns above beach level y_min = 1, -- Ensure desert spawns above beach level
heat_point = 92, heat_point = 92,
humidity_point = 16 humidity_point = 16
}) })
@ -81,7 +98,8 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 1, vertical_blend = 5,
horizontal_blend = 6,
y_max = 31000, y_max = 31000,
y_min = 1, -- Ensure tundra spawns above ocean level y_min = 1, -- Ensure tundra spawns above ocean level
heat_point = 0, heat_point = 0,
@ -151,6 +169,8 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 5,
horizontal_blend = 6,
y_max = 31000, y_max = 31000,
y_min = 47, y_min = 47,
heat_point = 0, heat_point = 0,
@ -169,8 +189,9 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 1, vertical_blend = 5,
y_max = 1, horizontal_blend = 6,
y_max = 4,
y_min = -3, y_min = -3,
heat_point = 0, heat_point = 0,
humidity_point = 40 humidity_point = 40
@ -190,6 +211,7 @@ minetest.register_biome({
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 1, vertical_blend = 1,
horizontal_blend = 6,
y_max = 0, y_max = 0,
y_min = -255, y_min = -255,
heat_point = 0, heat_point = 0,
@ -207,7 +229,7 @@ minetest.register_biome({
depth_water_top = 10, depth_water_top = 10,
node_river_water = "vox_core:river_water_source", node_river_water = "vox_core:river_water_source",
node_riverbed = "vox_core:gravel", node_riverbed = "vox_core:gravel",
depth_riverbed = 2, depth_riverbed = 4,
y_min = -255, y_min = -255,
y_max = 0, -- Ocean level at height 0 y_max = 0, -- Ocean level at height 0
heat_point = 50, heat_point = 50,
@ -223,7 +245,7 @@ minetest.register_biome({
depth_filler = 3, depth_filler = 3,
node_river_water = "vox_core:river_water_source", node_river_water = "vox_core:river_water_source",
node_riverbed = "vox_core:sand", node_riverbed = "vox_core:sand",
depth_riverbed = 2, depth_riverbed = 3,
y_min = -2, y_min = -2,
y_max = 0, -- River level at height 0 y_max = 0, -- River level at height 0
heat_point = 50, heat_point = 50,
@ -240,6 +262,7 @@ minetest.register_biome({
y_min = 0, y_min = 0,
y_max = 5, -- Allow beach to vary in height y_max = 5, -- Allow beach to vary in height
vertical_blend = 3, -- Smooth transition between biomes vertical_blend = 3, -- Smooth transition between biomes
horizontal_blend = 6,
heat_point = 50, heat_point = 50,
humidity_point = 70 humidity_point = 70
}) })
@ -251,16 +274,17 @@ minetest.register_biome({
depth_top = 1, depth_top = 1,
node_filler = "vox_core:dry_dirt", node_filler = "vox_core:dry_dirt",
depth_filler = 3, depth_filler = 3,
node_stone = "vox_core:stone", node_stone = "vox_core:desert_stone",
node_river_water = "vox_core:river_water_source", node_river_water = "vox_core:river_water_source",
node_riverbed = "vox_core:sand", node_riverbed = "vox_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 3, vertical_blend = 4,
horizontal_blend = 6,
y_max = 31000, y_max = 31000,
y_min = 6, y_min = 4,
heat_point = 85, heat_point = 85,
humidity_point = 20 humidity_point = 20
}) })
@ -279,9 +303,10 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 3, vertical_blend = 4,
horizontal_blend = 6,
y_max = 31000, y_max = 31000,
y_min = 3, y_min = 7,
heat_point = 100, heat_point = 100,
humidity_point = 10 humidity_point = 10
}) })
@ -300,9 +325,10 @@ minetest.register_biome({
node_dungeon = "vox_core:cobble", node_dungeon = "vox_core:cobble",
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 3, horizontal_blend = 6,
vertical_blend = 10,
y_max = 31000, y_max = 31000,
y_min = 6, y_min = 40,
heat_point = 30, heat_point = 30,
humidity_point = 40 humidity_point = 40
}) })
@ -314,7 +340,7 @@ minetest.register_biome({
depth_top = 1, depth_top = 1,
node_filler = "vox_core:hardened_clay", node_filler = "vox_core:hardened_clay",
depth_filler = 3, depth_filler = 3,
node_stone = "vox_core:stone", node_stone = "vox_core:desert_stone",
node_river_water = "vox_core:river_water_source", node_river_water = "vox_core:river_water_source",
node_riverbed = "vox_core:sand", node_riverbed = "vox_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
@ -322,10 +348,12 @@ minetest.register_biome({
node_dungeon_alt = "vox_core:mossycobble", node_dungeon_alt = "vox_core:mossycobble",
node_dungeon_stair = "vox_core:stonebrick", node_dungeon_stair = "vox_core:stonebrick",
vertical_blend = 3, vertical_blend = 3,
horizontal_blend = 6,
y_max = 31000, y_max = 31000,
y_min = 6, y_min = 3,
heat_point = 75, 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 -- Register terracotta layers for Painted Mesa
@ -348,7 +376,7 @@ for _, color in ipairs(colors) do
y_max = 31000, y_max = 31000,
y_min = 6, y_min = 6,
heat_point = 75, 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

View file

@ -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
})

View file

@ -2,135 +2,30 @@
-- ORES -- 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 -- Coal Ore
minetest.register_ore({ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:coal_ore", ore = "vox_core:coal_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 60 * 60 * 60, -- Increase scarcity clust_scarcity = 10 * 10 * 10, -- Make coal more common
clust_num_ores = 8, clust_num_ores = 12,
clust_size = 4, clust_size = 6,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"grassland", "forest"} -- Restrict to specific biomes biomes = {"grassland", "forest", "desert", "tundra", "icesheet", "savanna", "volcanic", "mountain", "painted_mesa"}
}) })
-- Uranium Ore -- Uranium Ore
minetest.register_ore({ minetest.register_ore({
ore_type = "vein", ore_type = "scatter",
ore = "vox_core:uranium_ore", ore = "vox_core:uranium_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 900 * 900 * 900, -- Increase scarcity to reduce abundance clust_scarcity = 400 * 400 * 400, -- Adjust scarcity
clust_num_ores = 2, clust_num_ores = 3,
clust_size = 1, clust_size = 2,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"tundra", "desert"} -- Restrict to specific biomes biomes = {"tundra", "desert", "volcanic", "mountain"}
}) })
-- Bone Ore -- Bone Ore
@ -138,63 +33,12 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:bone_ore", ore = "vox_core:bone_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 300 * 300 * 300, -- Increase scarcity clust_scarcity = 100 * 100 * 100, -- Adjust 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_num_ores = 4, 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, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"grassland"} -- Restrict to specific biomes biomes = {"tundra", "desert", "savanna", "volcanic"}
})
-- 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
}) })
-- Iron Ore -- Iron Ore
@ -202,51 +46,64 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:iron_ore", ore = "vox_core:iron_ore",
wherein = "vox_core:stone", 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_num_ores = 6,
clust_size = 3, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"grassland", "forest"} -- Restrict to specific biomes biomes = {"grassland", "forest", "desert", "tundra", "savanna", "volcanic", "mountain"}
}) })
-- Gold Ore -- Gold Ore
minetest.register_ore({ minetest.register_ore({
ore_type = "vein", ore_type = "scatter",
ore = "vox_core:gold_ore", ore = "vox_core:gold_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 600 * 600 * 600, -- Increase scarcity to reduce abundance clust_scarcity = 50 * 50 * 50, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 5,
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_size = 3, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"grassland"} -- Restrict to specific biomes biomes = {"desert", "volcanic", "mountain", "painted_mesa"}
}) })
-- Diamond Ore -- Diamond Ore
minetest.register_ore({ minetest.register_ore({
ore_type = "vein", ore_type = "scatter",
ore = "vox_core:diamond_ore", ore = "vox_core:diamond_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 800 * 800 * 800, -- Increase scarcity to reduce abundance clust_scarcity = 100 * 100 * 100, -- Adjust scarcity
clust_num_ores = 2, clust_num_ores = 3,
clust_size = 1, clust_size = 2,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = -50, -- Adjust for greater height y_max = -50,
biomes = {"tundra", "icesheet"} -- Restrict to specific biomes biomes = {"mountain", "volcanic"}
}) })
-- Emerald Ore -- Emerald Ore
@ -254,12 +111,12 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:emerald_ore", ore = "vox_core:emerald_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 450 * 450 * 450, -- Increase scarcity clust_scarcity = 150 * 150 * 150, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 4,
clust_size = 2, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"forest"} -- Restrict to specific biomes biomes = {"forest", "mountain"}
}) })
-- Ruby Ore -- Ruby Ore
@ -267,12 +124,12 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:ruby_ore", ore = "vox_core:ruby_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 450 * 450 * 450, -- Increase scarcity clust_scarcity = 150 * 150 * 150, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 4,
clust_size = 2, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"forest"} -- Restrict to specific biomes biomes = {"desert", "volcanic"}
}) })
-- Sapphire Ore -- Sapphire Ore
@ -280,24 +137,12 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:sapphire_ore", ore = "vox_core:sapphire_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 450 * 450 * 450, -- Increase scarcity clust_scarcity = 150 * 150 * 150, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 4,
clust_size = 2, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"forest"} -- Restrict to specific biomes biomes = {"tundra", "icesheet"}
})
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
}) })
-- Amethyst Ore -- Amethyst Ore
@ -305,50 +150,25 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:amethyst_ore", ore = "vox_core:amethyst_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 450 * 450 * 450, -- Increase scarcity clust_scarcity = 150 * 150 * 150, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 4,
clust_size = 2, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"forest"} -- Restrict to specific biomes biomes = {"forest", "mountain"}
}) })
-- Opal Ore -- Topaz Ore
minetest.register_ore({ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:opal_ore", ore = "vox_core:topaz_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 450 * 450 * 450, -- Increase scarcity clust_scarcity = 150 * 150 * 150, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 4,
clust_size = 2, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"grassland"} -- Restrict to specific biomes biomes = {"desert", "savanna"}
})
-- 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
}) })
-- Peridot Ore -- Peridot Ore
@ -356,11 +176,36 @@ minetest.register_ore({
ore_type = "scatter", ore_type = "scatter",
ore = "vox_core:peridot_ore", ore = "vox_core:peridot_ore",
wherein = "vox_core:stone", wherein = "vox_core:stone",
clust_scarcity = 450 * 450 * 450, -- Increase scarcity clust_scarcity = 150 * 150 * 150, -- Adjust scarcity
clust_num_ores = 3, clust_num_ores = 4,
clust_size = 2, clust_size = 3,
y_min = -31000, -- Adjust for greater depth y_min = -31000,
y_max = 31000, -- Adjust for greater height y_max = 31000,
biomes = {"forest"} -- Restrict to specific biomes 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"}
})