1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-09-27 13:50:19 +02:00

make fake_fire buildable_to

This commit is contained in:
Tim 2015-01-19 22:56:23 +01:00
parent 3106b62945
commit 8fc6802730

View File

@ -34,6 +34,7 @@ minetest.register_node("fake_fire:fake_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)
@ -80,6 +81,7 @@ minetest.register_node("fake_fire:smokeless_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)
@ -126,6 +128,7 @@ minetest.register_node("fake_fire:ice_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)
@ -172,6 +175,7 @@ minetest.register_node("fake_fire:smokeless_ice_fire", {
}, },
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "", -- So fire won't return to the inventory. ~ LazyJ drop = "", -- So fire won't return to the inventory. ~ LazyJ
sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}), sounds = minetest.sound_play("fire_small", {pos=cp, loop=true}),
on_punch = function (pos,node,puncher) on_punch = function (pos,node,puncher)