From a63820685a148ccc6c36137b360d59e076d14c51 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 19 Jul 2016 20:21:46 +0200 Subject: Update various help texts --- init.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 59ec8eb..40dd465 100644 --- a/init.lua +++ b/init.lua @@ -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 -- cgit v1.2.3