From e13c78da6371db4ac1bdaa4b3f2beeaaf841ba89 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 23 Nov 2015 09:59:18 +0000 Subject: Fixed farming compatibility with ethereal grass blocks --- dirt.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'dirt.lua') 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() }) -- cgit v1.2.3