diff --git a/mods/amogus_items/init.lua b/mods/amogus_items/init.lua new file mode 100644 index 0000000..630981f --- /dev/null +++ b/mods/amogus_items/init.lua @@ -0,0 +1,11 @@ +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 +}) \ No newline at end of file diff --git a/mods/amogus_items/sounds/amogus_sound.ogg b/mods/amogus_items/sounds/amogus_sound.ogg new file mode 100644 index 0000000..2c99f9a Binary files /dev/null and b/mods/amogus_items/sounds/amogus_sound.ogg differ diff --git a/mods/amogus_items/textures/amogus_item.png b/mods/amogus_items/textures/amogus_item.png new file mode 100644 index 0000000..9098f3d Binary files /dev/null and b/mods/amogus_items/textures/amogus_item.png differ