summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-10-27 03:19:45 +0200
committerWuzzy <almikes@aol.com>2016-10-27 03:19:45 +0200
commit081e349c1ba22b663d249f64e04ef79180101470 (patch)
tree459475c89b101d144b81b2bf88dfd3726ad621e6
parent4f69b7375671bd1bf9a92533aa0df70aa82b7202 (diff)
Tweak more string errors
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 2cc6f17..cfa85ef 100644
--- a/init.lua
+++ b/init.lua
@@ -307,14 +307,14 @@ doc.new_category("nodes", {
else
datastring = datastring .. string.format(S("• Flowing range: %d"), range) .. "\n"
end
- datastring = datastring .. string.format(S("• Viscosity: %d", viscos)) .. "\n"
+ datastring = datastring .. string.format(S("• Viscosity: %d"), viscos) .. "\n"
end
datastring = newline2(datastring)
-- Global factoids
--- Direct interaction with the player
---- Damage (very important)
- if data.def.damage_per_second ~= nil and data.def.damage_per_second ~= 1 then
+ if data.def.damage_per_second ~= nil and data.def.damage_per_second > 1 then
datastring = datastring .. string.format(S("This block causes a damage of %d hit points per second."), data.def.damage_per_second) .. "\n"
elseif data.def.damage_per_second == 1 then
datastring = datastring .. string.format(S("This block causes a damage of %d hit point per second."), data.def.damage_per_second) .. "\n"