From 13b9e9625f89274ce02faf88e72f4e4b2c38f262 Mon Sep 17 00:00:00 2001 From: Bram van den Heuvel Date: Sat, 14 Sep 2024 10:46:29 +0200 Subject: [PATCH] Add dripstone dependency --- init.lua | 8 ++++++++ mod.conf | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index f4e77da..862ca19 100644 --- a/init.lua +++ b/init.lua @@ -109,6 +109,9 @@ function internal.init() internal.spawn_diamond_ore() internal.spawn_uranium_ore() internal.spawn_osmium_ore() + + -- Add more dripstone blocks + internal.register_dripstone_blocks() end -- Create a deepcopy of a table @@ -146,6 +149,11 @@ function internal.node_name(prefix, name, suffix) return modname .. ":" .. prefix .. name:lower() .. suffix 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 function internal.register_lava_pockets() minetest.register_ore({ diff --git a/mod.conf b/mod.conf index b0846d0..ef6947e 100644 --- a/mod.conf +++ b/mod.conf @@ -2,5 +2,5 @@ name=ns_vl_caves description=Custom caves in VoxeLibre author=Noordstar 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= \ No newline at end of file