From dd1a3212e0804faa35a8e499042e7efb60081d5a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 28 Aug 2016 17:06:43 +0200 Subject: Fix a couple of minor factual mistakes --- init.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index e9f5521..878c457 100644 --- a/init.lua +++ b/init.lua @@ -129,9 +129,17 @@ end -- soil group local function f_soil(itemstring, def) if def.groups.soil == 1 then - 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." + 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 elseif def.groups.soil == 2 or def.groups.soil == 3 then - 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." + 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 else return "" end -- cgit v1.2.3