From e23bf27aef294c3d337f86dbb32dbbb2497de559 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 31 Aug 2016 20:45:07 +0200 Subject: Fix factually incorrect soil factoid --- init.lua | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index f220955..ab04bca 100644 --- a/init.lua +++ b/init.lua @@ -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 -- cgit v1.2.3