Allow hot cobble to be quenched.

This commit is contained in:
Duane 2016-07-05 09:28:11 -05:00
parent f693268c75
commit 14b38a868b
2 changed files with 18 additions and 1 deletions

View file

@ -262,6 +262,23 @@ end)
-- destruction
------------------------------------------------------------
local function cool_cobble(pos, node)
minetest.set_node(pos, {name = "default:cobble"})
minetest.sound_play("default_cool_lava",
{pos = pos, max_hear_distance = 16, gain = 0.25})
end
minetest.register_abm({
nodenames = {"fun_caves:hot_cobble",},
neighbors = {"group:water"},
interval = 1,
chance = 1,
catch_up = false,
action = function(...)
cool_cobble(...)
end,
})
-- Exploding fungal fruit
minetest.register_abm({
nodenames = {"fun_caves:fungal_tree_fruit"},

View file

@ -2,7 +2,7 @@
-- GOBLINS
---------------------------------------------------------------
local spawn_frequency = 150 -- 150
local spawn_frequency = 250 -- 250
local dig_freq = 5 -- 5
local trap_freq = 25 -- 25
local torch_freq = 2 -- 2