Add dripstone dependency

main 1.0.0
Bram van den Heuvel 2024-09-14 10:46:29 +02:00
parent 0b18b33674
commit 13b9e9625f
2 changed files with 9 additions and 1 deletions

View File

@ -109,6 +109,9 @@ function internal.init()
internal.spawn_diamond_ore() internal.spawn_diamond_ore()
internal.spawn_uranium_ore() internal.spawn_uranium_ore()
internal.spawn_osmium_ore() internal.spawn_osmium_ore()
-- Add more dripstone blocks
internal.register_dripstone_blocks()
end end
-- Create a deepcopy of a table -- Create a deepcopy of a table
@ -146,6 +149,11 @@ function internal.node_name(prefix, name, suffix)
return modname .. ":" .. prefix .. name:lower() .. suffix return modname .. ":" .. prefix .. name:lower() .. suffix
end end
-- Register blocks that interact with dripstone
function internal.register_dripstone_blocks()
dripstone.register_catcher("water", "mcl_core:water_flowing", "mcl_core:water_flowing")
end
-- Register lava to spawn more frequently the deeper you go -- Register lava to spawn more frequently the deeper you go
function internal.register_lava_pockets() function internal.register_lava_pockets()
minetest.register_ore({ minetest.register_ore({

View File

@ -2,5 +2,5 @@ name=ns_vl_caves
description=Custom caves in VoxeLibre description=Custom caves in VoxeLibre
author=Noordstar author=Noordstar
title=VoxeLibre caves title=VoxeLibre caves
depends=mcl_core,mcl_init,mcl_mobs,mcl_raw_ores,mcl_sounds,mcl_util,ns_cavegen depends=dripstone,mcl_core,mcl_init,mcl_mobs,mcl_raw_ores,mcl_sounds,mcl_util,ns_cavegen
optional_depends= optional_depends=