11 lines
269 B
Lua
11 lines
269 B
Lua
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
|
|
}) |