parent
0b18b33674
commit
13b9e9625f
8
init.lua
8
init.lua
|
@ -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({
|
||||||
|
|
2
mod.conf
2
mod.conf
|
@ -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=
|
Loading…
Reference in New Issue