add deep sea vent, tweak lbm, add recipe

This commit is contained in:
tenplus1 2024-12-07 11:38:12 +00:00
parent 977914837c
commit 19e889c9b8
4 changed files with 42 additions and 3 deletions

View File

@ -431,7 +431,7 @@ if minetest.get_modpath("butterflies") then
"butterflies:butterfly_white", "butterflies:butterfly_red", "butterflies:butterfly_white", "butterflies:butterfly_red",
"butterflies:butterfly_violet" "butterflies:butterfly_violet"
}, },
run_at_every_load = true, run_at_every_load = false,
action = function(pos) minetest.get_node_timer(pos):start(5) end action = function(pos) minetest.get_node_timer(pos):start(5) end
}) })
@ -455,7 +455,7 @@ if minetest.get_modpath("fireflies") then
minetest.register_lbm({ minetest.register_lbm({
name = ":fireflies:firefly_timer", name = ":fireflies:firefly_timer",
nodenames = {"fireflies:firefly", "fireflies:hidden_firefly"}, nodenames = {"fireflies:firefly", "fireflies:hidden_firefly"},
run_at_every_load = true, run_at_every_load = false,
action = function(pos) minetest.get_node_timer(pos):start(5) end action = function(pos) minetest.get_node_timer(pos):start(5) end
}) })

View File

@ -68,7 +68,7 @@ add_ore("default:stone_with_copper", "default:desert_stone", 9*9*9, 5, 3, -31000
-- Coral Sand -- Coral Sand
add_ore("ethereal:sandy", "default:sand", 10*10*10, 24, 4, -100, -10) add_ore("ethereal:sandy", "default:sand", 10*10*10, 24, 4, -45, -10)
-- Etherium -- Etherium

View File

@ -495,3 +495,33 @@ if ethereal.logs == 1 then
rotation = "random", rotation = "random",
spawn_by = "ethereal:grove_dirt", num_spawn_by = 8}) spawn_by = "ethereal:grove_dirt", num_spawn_by = 8})
end end
-- deep see fumerole / vent
register_decoration(minetest.get_modpath("nether") and 1, {
name = "nether:fumarole",
place_on = {"default:sand"},
sidelen = 16, y_min = -192, y_max = -45,
fill_ratio = 0.0001,
schematic = {
size = {x = 1, y = 2, z = 2},
data = {
{name = "default:lava_source", param1 = 255, force_place = true},
{name = "nether:fumarole", param1 = 255, force_place = true},
{name = "default:sand", param1 = 192, force_place = true},
{name = "ethereal:sandy", param1 = 192, force_place = true},
}
},
place_offset_y = -1,
spawn_by = {"default:water_source"}, num_spawn_by = 8})
if minetest.get_modpath("nether") then
minetest.register_lbm({
name = ":nether:extra_fumarole_timer",
nodenames = {"nether:fumarole"},
run_at_every_load = false,
action = function(pos) minetest.get_node_timer(pos):start(10) end
})
end

View File

@ -300,6 +300,15 @@ minetest.register_node("ethereal:sandy", {
sounds = default.node_sound_sand_defaults() sounds = default.node_sound_sand_defaults()
}) })
minetest.register_craft({
output = "ethereal:sandy",
recipe = {
{"ethereal:slime_mold", "ethereal:slime_mold", "ethereal:slime_mold"},
{"ethereal:slime_mold", "group:sand", "ethereal:slime_mold"},
{"ethereal:slime_mold", "ethereal:slime_mold", "ethereal:slime_mold"},
}
})
-- randomly generate coral or seaweed and have seaweed grow up to 14 high -- randomly generate coral or seaweed and have seaweed grow up to 14 high
if ethereal.sealife == 1 then if ethereal.sealife == 1 then