forked from nalc/homedecor_modpack
disable drops on simple fires, make fancy fire break into two torches and one bundle of sticks
This commit is contained in:
parent
0c41221b8d
commit
2f9efc2807
@ -90,7 +90,8 @@ for _, f in ipairs(flame_types) do
|
|||||||
minetest.sound_play("fire_extinguish", {
|
minetest.sound_play("fire_extinguish", {
|
||||||
pos = pos, max_hear_distance = 5
|
pos = pos, max_hear_distance = 5
|
||||||
})
|
})
|
||||||
end
|
end,
|
||||||
|
drop = ""
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -117,7 +118,16 @@ minetest.register_node("fake_fire:fancy_fire", {
|
|||||||
minetest.sound_play("fire_extinguish", {
|
minetest.sound_play("fire_extinguish", {
|
||||||
pos = pos, max_hear_distance = 5
|
pos = pos, max_hear_distance = 5
|
||||||
})
|
})
|
||||||
end
|
end,
|
||||||
|
drop = {
|
||||||
|
max_items = 3,
|
||||||
|
items = {
|
||||||
|
{
|
||||||
|
items = { "default:torch", "default:torch", "building_blocks:sticks" },
|
||||||
|
rarity = 1,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- EMBERS
|
-- EMBERS
|
||||||
@ -211,7 +221,7 @@ minetest.register_craft({
|
|||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = 'fake_fire:fancy_fire',
|
output = 'fake_fire:fancy_fire',
|
||||||
recipe = {"fake_fire:fake_fire", "building_blocks:sticks"}
|
recipe = {"default:torch", "building_blocks:sticks", "default:torch" }
|
||||||
})
|
})
|
||||||
|
|
||||||
-- ALIASES
|
-- ALIASES
|
||||||
|
Loading…
Reference in New Issue
Block a user