forked from mtcontrib/farming
tweak default compatibility
This commit is contained in:
parent
9247121b14
commit
51d5132708
@ -31,7 +31,7 @@ else
|
|||||||
},
|
},
|
||||||
groups = {food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2},
|
groups = {food_banana = 1, fleshy = 3, dig_immediate = 3, flammable = 2},
|
||||||
on_use = minetest.item_eat(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", {
|
minetest.register_node(":ethereal:bananaleaves", {
|
||||||
@ -42,7 +42,7 @@ else
|
|||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
waving = 1,
|
waving = 1,
|
||||||
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
|
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")
|
alias("farming_plus:banana_sapling", "default:sapling")
|
||||||
@ -89,7 +89,7 @@ else
|
|||||||
},
|
},
|
||||||
groups = {food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2},
|
groups = {food_orange = 1, fleshy = 3, dig_immediate = 3, flammable = 2},
|
||||||
on_use = minetest.item_eat(4),
|
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")
|
alias("farming_plus:orange_item", "ethereal:orange")
|
||||||
|
4
init.lua
4
init.lua
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
farming = {
|
farming = {
|
||||||
mod = "redo",
|
mod = "redo",
|
||||||
version = "20231125",
|
version = "20231204",
|
||||||
path = minetest.get_modpath("farming"),
|
path = minetest.get_modpath("farming"),
|
||||||
select = {
|
select = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
@ -755,7 +755,7 @@ end
|
|||||||
dofile(farming.path .. "/items.lua")
|
dofile(farming.path .. "/items.lua")
|
||||||
|
|
||||||
-- important items
|
-- important items
|
||||||
if not farming.mcl then
|
if minetest.get_modpath("default") then
|
||||||
dofile(farming.path .. "/soil.lua")
|
dofile(farming.path .. "/soil.lua")
|
||||||
dofile(farming.path .. "/hoes.lua")
|
dofile(farming.path .. "/hoes.lua")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user