1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-28 22:36:45 +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

@ -41,7 +41,7 @@ else
},
is_ground_content = false,
on_use = minetest.item_eat(2),
sounds = farming.sounds.node_sound_leaves_defaults()
sounds = farming.node_sound_leaves_defaults()
})
farming.add_eatable("ethereal:banana", 2)
@ -55,7 +55,7 @@ else
waving = 1,
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
is_ground_content = false,
sounds = farming.sounds.node_sound_leaves_defaults()
sounds = farming.node_sound_leaves_defaults()
})
alias("farming_plus:banana_sapling", "default:sapling")
@ -105,7 +105,7 @@ else
},
is_ground_content = false,
on_use = minetest.item_eat(4),
sounds = farming.sounds.node_sound_leaves_defaults()
sounds = farming.node_sound_leaves_defaults()
})
farming.add_eatable("ethereal:orange", 4)