Browse Source

whoops, added 5.0 check for dry dirt

master
TenPlus1 1 month ago
parent
commit
0e42a72120
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      soil.lua

+ 2
- 0
soil.lua View File

@@ -89,6 +89,7 @@ minetest.register_node("farming:soil_wet", {
})

-- savanna soil
if minetest.registered_nodes["default:dry_dirt"] then
minetest.register_node("farming:dry_soil", {
description = S("Savanna Soil"),
tiles = {
@@ -118,6 +119,7 @@ minetest.register_node("farming:dry_soil_wet", {
wet = "farming:dry_soil_wet"
}
})
end

-- sand is not soil, change existing sand-soil to use dry soil
minetest.register_alias("farming:desert_sand_soil", "farming:dry_soil")


Loading…
Cancel
Save