diff options
author | Wuzzy <almikes@aol.com> | 2016-07-19 20:21:46 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-07-19 20:21:46 +0200 |
commit | a63820685a148ccc6c36137b360d59e076d14c51 (patch) | |
tree | 96a42d9d0c9012c2f9a61d50d684052c4587110d /init.lua | |
parent | e3f119c84f6a2ec6e68e553354ce9bf1c768efd8 (diff) |
Update various help texts
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -2,6 +2,7 @@ local groupdefs = { } local forced_nodes = { + "default:cloud", "bones:bones", "farming:soil", "farming:soil_wet", @@ -111,8 +112,10 @@ doc.new_category("nodes", { elseif data.def.damage_per_second == -1 then formstring = formstring .. "This block heals "..data.def.damage_per_second.." hit point per second.\n" end - if data.def.drowning > 0 then - formstring = formstring .. "You will slowly lose breath in this block with a drowning damage of "..data.def.drowning..".\n" + if data.def.drowning > 1 then + formstring = formstring .. "This block decreases your breath and causes a drowning damage of "..data.def.drowning.." hit points every 2 seconds.\n" + elseif data.def.drowning == 1 then + formstring = formstring .. "This block decreases your breath and causes a drowning damage of "..data.def.drowning.." hit point every 2 seconds.\n" end if data.def.drops ~= "" then |