SussyCraft/mods/amogus_items/init.lua

11 lines
269 B
Lua
Raw Normal View History

minetest.register_craftitem("amogus_items:amogus", {
description = "Amogus",
inventory_image = "amogus_item.png",
on_use = function(itemstack, user)
minetest.sound_play("amogus_sound", {
pos = user:get_pos(),
gain = 1.0,
max_hear_distance = 5
})
end
})