diff options
author | Wuzzy <almikes@aol.com> | 2016-08-28 17:06:43 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-28 17:06:43 +0200 |
commit | dd1a3212e0804faa35a8e499042e7efb60081d5a (patch) | |
tree | ea66101332fd4797aa1749c41d9caa3c62cfcfec /init.lua | |
parent | 1260a55ee6ffc12216d969e0ebfd0c51bf93d8b3 (diff) |
Fix a couple of minor factual mistakes
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 |