summaryrefslogtreecommitdiff
path: root/dirt.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dirt.lua')
-rw-r--r--dirt.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/dirt.lua b/dirt.lua
index 3d5fa8e..73c2ea0 100644
--- a/dirt.lua
+++ b/dirt.lua
@@ -11,6 +11,11 @@ minetest.register_node("ethereal:green_dirt", {
},
is_ground_content = false,
groups = {crumbly = 3, soil = 1, ethereal_grass = 1},
+ soil = {
+ base = "ethereal:green_dirt",
+ dry = "farming:soil",
+ wet = "farming:soil_wet"
+ },
drop = "default:dirt",
sounds = default.node_sound_dirt_defaults()
})
@@ -51,6 +56,11 @@ for _, row in ipairs(dirt.type) do
},
is_ground_content = false,
groups = {crumbly = 3, soil = 1, ethereal_grass = 1},
+ soil = {
+ base = "ethereal:"..name.."_dirt",
+ dry = "farming:soil",
+ wet = "farming:soil_wet"
+ },
drop = "default:dirt",
sounds = default.node_sound_dirt_defaults()
})