diff --git a/mods/farming/nodes.lua b/mods/farming/nodes.lua index 3c0f9407..b55a1aaa 100644 --- a/mods/farming/nodes.lua +++ b/mods/farming/nodes.lua @@ -1,5 +1,5 @@ minetest.override_item("default:dirt", { - groups = {crumbly=3,soil=1}, + groups = {crumbly=3, soil=1}, soil = { base = "default:dirt", dry = "farming:soil", @@ -8,7 +8,7 @@ minetest.override_item("default:dirt", { }) minetest.override_item("default:dirt_with_grass", { - groups = {crumbly=3,soil=1}, + groups = {crumbly=3, soil=1}, soil = { base = "default:dirt_with_grass", dry = "farming:soil", @@ -16,6 +16,15 @@ minetest.override_item("default:dirt_with_grass", { } }) +minetest.override_item("default:dirt_with_dry_grass", { + groups = {crumbly=3, soil=1}, + soil = { + base = "default:dirt_with_dry_grass", + dry = "farming:soil", + wet = "farming:soil_wet" + } +}) + minetest.register_node("farming:soil", { description = "Soil", tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"},