Farming: Override dirt_with_dry_grass to enable cultivation

This commit is contained in:
paramat 2016-04-06 22:52:53 +01:00
parent aadac1223d
commit be05441e77
1 changed files with 11 additions and 2 deletions

View File

@ -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", { minetest.register_node("farming:soil", {
description = "Soil", description = "Soil",
tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"}, tiles = {"default_dirt.png^farming_soil.png", "default_dirt.png"},