diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |