Add sound when enchanting begins

master
jordan4ibanez 2016-12-01 11:56:54 -05:00
parent aac1e5ad27
commit e6519b651d
2 changed files with 4 additions and 0 deletions

View File

@ -357,6 +357,10 @@ enchantment.check_for_items = function(pos)
object:remove()
local object2 = minetest.add_entity(pos2, "enchantment:item_ent")
object2:get_luaentity().nodename = itemer
minetest.sound_play("drama", {
gain = 2.0,
pos = pos,
})
end
end
end

Binary file not shown.