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

@ -102,7 +102,7 @@ minetest.register_node("farming:beanpole", {
selection_box = farming.select,
groups = {handy = 1, snappy = 3, flammable = 2, attached_node = 1},
is_ground_content = false,
sounds = farming.sounds.node_sound_leaves_defaults(),
sounds = farming.node_sound_leaves_defaults(),
on_place = function(itemstack, placer, pointed_thing)
@ -195,7 +195,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
@ -259,7 +259,7 @@ minetest.register_node("farming:beanbush", {
compostability = 35, not_in_creative_inventory = 1
},
is_ground_content = false,
sounds = farming.sounds.node_sound_leaves_defaults()
sounds = farming.node_sound_leaves_defaults()
})
-- mapgen