diff options
author | Wuzzy <almikes@aol.com> | 2016-08-31 20:45:07 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-31 20:45:07 +0200 |
commit | e23bf27aef294c3d337f86dbb32dbbb2497de559 (patch) | |
tree | 0bfabf79dd5e4bff3df4123c8fb0c79049865a19 /init.lua | |
parent | 6fbb7edce0afe49b632e453a6d4af3d8761f98d3 (diff) |
Fix factually incorrect soil factoid
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -161,17 +161,9 @@ end -- soil group local function f_soil(itemstring, def) if def.groups.soil == 1 then - if itemstring == "default:desert_sand" then - return "This block is natural soil. It supports the growth of blocks belonging to the Saplings group." - else - return "This block is natural soil. It supports the spreading of blocks belonging to the Flora group and the growth of blocks belonging to the Saplings group." - end + return "This block is natural soil. It supports the growth of blocks belonging to the Saplings group." elseif def.groups.soil == 2 or def.groups.soil == 3 then - if itemstring == "farming:desert_sand_soil" or itemstring == "farming:desert_sand_soil_wet" then - return "This block serves as a soil for saplings as well as plants grown from seeds. It supports their growth." - else - return "This block serves as a soil for wild plants (Flora, Saplings) as well as plants grown from seeds. It supports their growth and spreading." - end + return "This block serves as a soil for saplings as well as plants grown from seeds. It supports their growth." else return "" end |