Add sound when enchanting begins
parent
aac1e5ad27
commit
e6519b651d
4
init.lua
4
init.lua
|
@ -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
|
||||
|
|
BIN
sounds/drama.ogg
BIN
sounds/drama.ogg
Binary file not shown.
Loading…
Reference in New Issue