diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-11-23 09:59:18 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-11-23 09:59:18 +0000 |
commit | e13c78da6371db4ac1bdaa4b3f2beeaaf841ba89 (patch) | |
tree | 0fb4848cfcb6fd65de1319bc66fafd103a729262 /dirt.lua | |
parent | 210646475132d8236928aaf8da43e0bcb2dbb448 (diff) |
Fixed farming compatibility with ethereal grass blocks
Diffstat (limited to 'dirt.lua')
-rw-r--r-- | dirt.lua | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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() }) |