From 2f9efc2807a4f5aaf5a08a3fa99f19754e66cc04 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Sun, 3 May 2015 12:39:58 -0400 Subject: [PATCH] disable drops on simple fires, make fancy fire break into two torches and one bundle of sticks --- fake_fire/init.lua | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/fake_fire/init.lua b/fake_fire/init.lua index a0a13ac..c781100 100644 --- a/fake_fire/init.lua +++ b/fake_fire/init.lua @@ -90,7 +90,8 @@ for _, f in ipairs(flame_types) do minetest.sound_play("fire_extinguish", { pos = pos, max_hear_distance = 5 }) - end + end, + drop = "" }) end @@ -117,7 +118,16 @@ minetest.register_node("fake_fire:fancy_fire", { minetest.sound_play("fire_extinguish", { pos = pos, max_hear_distance = 5 }) - end + end, + drop = { + max_items = 3, + items = { + { + items = { "default:torch", "default:torch", "building_blocks:sticks" }, + rarity = 1, + } + } + } }) -- EMBERS @@ -211,7 +221,7 @@ minetest.register_craft({ minetest.register_craft({ type = "shapeless", output = 'fake_fire:fancy_fire', - recipe = {"fake_fire:fake_fire", "building_blocks:sticks"} + recipe = {"default:torch", "building_blocks:sticks", "default:torch" } }) -- ALIASES