forked from mtcontrib/farming
whoops, added 5.0 check for dry dirt
This commit is contained in:
parent
42404da9bb
commit
0e42a72120
2
soil.lua
2
soil.lua
@ -89,6 +89,7 @@ minetest.register_node("farming:soil_wet", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
-- savanna soil
|
-- savanna soil
|
||||||
|
if minetest.registered_nodes["default:dry_dirt"] then
|
||||||
minetest.register_node("farming:dry_soil", {
|
minetest.register_node("farming:dry_soil", {
|
||||||
description = S("Savanna Soil"),
|
description = S("Savanna Soil"),
|
||||||
tiles = {
|
tiles = {
|
||||||
@ -118,6 +119,7 @@ minetest.register_node("farming:dry_soil_wet", {
|
|||||||
wet = "farming:dry_soil_wet"
|
wet = "farming:dry_soil_wet"
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- sand is not soil, change existing sand-soil to use dry soil
|
-- sand is not soil, change existing sand-soil to use dry soil
|
||||||
minetest.register_alias("farming:desert_sand_soil", "farming:dry_soil")
|
minetest.register_alias("farming:desert_sand_soil", "farming:dry_soil")
|
||||||
|
Loading…
Reference in New Issue
Block a user