Compare commits
2 Commits
e3df3705b0
...
11b1cc490f
Author | SHA1 | Date | |
---|---|---|---|
11b1cc490f | |||
86a51e7db6 |
11
mods/amogus_items/init.lua
Normal file
11
mods/amogus_items/init.lua
Normal file
@ -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
|
||||
})
|
BIN
mods/amogus_items/sounds/amogus_sound.ogg
Normal file
BIN
mods/amogus_items/sounds/amogus_sound.ogg
Normal file
Binary file not shown.
BIN
mods/amogus_items/textures/amogus_item.png
Normal file
BIN
mods/amogus_items/textures/amogus_item.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 691 B |
Loading…
x
Reference in New Issue
Block a user