tweak default compatibility

This commit is contained in:
tenplus1 2023-12-04 22:31:12 +00:00
parent 9247121b14
commit 51d5132708
2 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ else
},
groups = {food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2},
on_use = minetest.item_eat(2),
sounds = default.node_sound_leaves_defaults()
sounds = farming.sounds.node_sound_leaves_defaults()
})
minetest.register_node(":ethereal:bananaleaves", {
@ -42,7 +42,7 @@ else
paramtype = "light",
waving = 1,
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
sounds = default.node_sound_leaves_defaults()
sounds = farming.sounds.node_sound_leaves_defaults()
})
alias("farming_plus:banana_sapling", "default:sapling")
@ -89,7 +89,7 @@ else
},
groups = {food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2},
on_use = minetest.item_eat(4),
sounds = default.node_sound_leaves_defaults()
sounds = farming.sounds.node_sound_leaves_defaults()
})
alias("farming_plus:orange_item", "ethereal:orange")

View File

@ -7,7 +7,7 @@
farming = {
mod = "redo",
version = "20231125",
version = "20231204",
path = minetest.get_modpath("farming"),
select = {
type = "fixed",
@ -755,7 +755,7 @@ end
dofile(farming.path .. "/items.lua")
-- important items
if not farming.mcl then
if minetest.get_modpath("default") then
dofile(farming.path .. "/soil.lua")
dofile(farming.path .. "/hoes.lua")
end