diff --git a/mods/ITEMS/mcl_fire/README.txt b/mods/ITEMS/mcl_fire/README.txt index 05ec1410c2..1b32a4a052 100644 --- a/mods/ITEMS/mcl_fire/README.txt +++ b/mods/ITEMS/mcl_fire/README.txt @@ -1,5 +1,6 @@ -Minetest 0.4 mod: fire -====================== +mcl_fire: Fire mod for MineClone 2 +Based on fire from Minetest Game +================================== License of source code: ----------------------- diff --git a/mods/ITEMS/mcl_fire/flint_and_steel.lua b/mods/ITEMS/mcl_fire/flint_and_steel.lua index f2e2fa55c0..44586feaa4 100644 --- a/mods/ITEMS/mcl_fire/flint_and_steel.lua +++ b/mods/ITEMS/mcl_fire/flint_and_steel.lua @@ -7,6 +7,10 @@ minetest.register_tool("mcl_fire:flint_and_steel", { groups = { tool = 1 }, on_use = function(itemstack, user, pointed_thing) local idef = itemstack:get_definition() + minetest.sound_play( + "fire_flint_and_steel", + {pos = pointed_thing.above, gain = 0.5, max_hear_distance = 8} + ) if pointed_thing.type == "node" then if minetest.get_node(pointed_thing.under).name == "mcl_tnt:tnt" then tnt.ignite(pointed_thing.under) diff --git a/mods/ITEMS/mcl_fire/sounds/fire_flint_and_steel.ogg b/mods/ITEMS/mcl_fire/sounds/fire_flint_and_steel.ogg new file mode 100644 index 0000000000..6996e16fc3 Binary files /dev/null and b/mods/ITEMS/mcl_fire/sounds/fire_flint_and_steel.ogg differ