mirror of
https://github.com/minetest/minetest_game.git
synced 2024-11-10 01:33:52 +01:00
Farming: Override dirt_with_dry_grass to enable cultivation
This commit is contained in:
parent
aadac1223d
commit
be05441e77
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user