Add ice demon.

This commit is contained in:
Duane 2016-06-22 06:45:15 -05:00
parent d8c6550127
commit ef9e69eb07
4 changed files with 121 additions and 17 deletions

View file

@ -236,6 +236,16 @@ minetest.register_abm({
-- creation
------------------------------------------------------------
-- Freezing vapor hardens into ice.
minetest.register_abm({
nodenames = {"fun_caves:freezing_vapor"},
interval = fun_caves.time_factor,
chance = 10,
action = function(pos, node)
minetest.set_node(pos, {name = 'default:ice'})
end
})
minetest.register_abm({
nodenames = { "fun_caves:tree", 'fun_caves:ironwood', 'fun_caves:diamondwood' },
neighbors = {'air'},