1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Add eat sound (#7956)

This commit is contained in:
Wuzzy
2018-12-10 09:25:47 +01:00
committed by Loïc Blot
parent 98a72b9d45
commit 5560ec8178
2 changed files with 6 additions and 0 deletions

View File

@@ -5795,6 +5795,7 @@ Used by `minetest.register_node`, `minetest.register_craftitem`, and
sound = {
breaks = "default_tool_break", -- tools only
place = <SimpleSoundSpec>,
eat = <SimpleSoundSpec>,
},
on_place = func(itemstack, placer, pointed_thing),