summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-25 00:17:55 +0200
committerWuzzy <almikes@aol.com>2016-08-25 00:17:55 +0200
commit9e98778af21ad78503a69075e74dea76e4ff32c7 (patch)
treebae05f7cbffb36cae9c9fe7f1869b4908b2f5664
parent9a049913f0b869b8034875c00ecceb64418c8298 (diff)
Clean up some duplicate newlines
-rw-r--r--init.lua11
1 files changed, 5 insertions, 6 deletions
diff --git a/init.lua b/init.lua
index 54cde03..d907ecf 100644
--- a/init.lua
+++ b/init.lua
@@ -234,7 +234,7 @@ doc.new_category("nodes", {
formstring = formstring .. "\n"
- formstring = formstring .. toolcaps_to_text(data.def.tool_capabilities) .. "\n"
+ formstring = formstring .. toolcaps_to_text(data.def.tool_capabilities)
formstring = formstring .. "Collidable: "..yesno(data.def.walkable).. "\n"
local liquid
@@ -264,10 +264,9 @@ doc.new_category("nodes", {
formstring = formstring .. "• Flowing range: "..range.. "\n"
end
formstring = formstring .. "• Viscosity: "..viscos.. "\n"
+ formstring = formstring .. "\n"
end
- formstring = formstring .. "\n"
-
-- Global factoids
if data.def.floodable == true then
formstring = formstring .. "Liquids can flow into this block and destroy it.\n"
@@ -466,8 +465,8 @@ doc.new_category("nodes", {
if minegroupcount > 0 then
formstring = formstring .. mstring
end
+ formstring = formstring .. "\n"
end
- formstring = formstring .. "\n"
-- Custom factoids are inserted here
for i=1,#factoid_generators.nodes do
@@ -635,7 +634,7 @@ doc.new_category("tools", {
formstring = formstring .. "\n"
- formstring = formstring .. toolcaps_to_text(data.def.tool_capabilities) .. "\n"
+ formstring = formstring .. toolcaps_to_text(data.def.tool_capabilities)
-- Show other “exposable” groups
local gstring, gcount = groups_to_string(data.def.groups, miscgroups)
@@ -692,7 +691,7 @@ doc.new_category("craftitems", {
end
formstring = formstring .. "\n"
- formstring = formstring .. toolcaps_to_text(data.def.tool_capabilities) .. "\n"
+ formstring = formstring .. toolcaps_to_text(data.def.tool_capabilities)
-- Show other “exposable” groups
local gstring, gcount = groups_to_string(data.def.groups, miscgroups)