1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 23:01:00 +02:00

properly detect and use sounds from default/mcl

This commit is contained in:
tenplus1
2024-08-11 08:47:26 +01:00
parent a74a29c849
commit cdac09a8f4
44 changed files with 119 additions and 91 deletions

View File

@ -28,7 +28,7 @@ minetest.register_node("farming:coffee_cup", {
groups = {vessel = 1, dig_immediate = 3, attached_node = 1, drink = 1},
is_ground_content = false,
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
sounds = farming.sounds.node_sound_glass_defaults()
sounds = farming.node_sound_glass_defaults()
})
farming.add_eatable("farming:coffee_cup", 2)
@ -64,7 +64,7 @@ local def = {
},
_mcl_hardness = farming.mcl_hardness,
is_ground_content = false,
sounds = farming.sounds.node_sound_leaves_defaults()
sounds = farming.node_sound_leaves_defaults()
}
-- stage 1