summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-24 23:42:35 +0200
committerWuzzy <almikes@aol.com>2016-08-24 23:42:35 +0200
commit7e94fa5ba6cf9bc1bd0dedd11dda772bd6c6c0f0 (patch)
treed94ba89510cf478a0558a461f55b27bef96db76f
parent8a70bb5b6f6c39b5a9f84f7d804446fd1824a3c9 (diff)
Clarify buildable_to and sort liquid props
-rw-r--r--init.lua10
1 files changed, 7 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 9e826d3..da32b92 100644
--- a/init.lua
+++ b/init.lua
@@ -253,13 +253,17 @@ doc.new_category("nodes", {
if data.def.liquid_range then range = data.def.liquid_range else range = 8 end
if data.def.liquid_renewable ~= nil then renew = data.def.liquid_renewable else renew = true end
if data.def.liquid_viscosity then viscos = data.def.liquid_viscosity else viscos = 0 end
+ if renew then
+ formstring = formstring .. "• Renewable\n"
+ else
+ formstring = formstring .. "• Not renewable\n"
+ end
if range == 0 then
- formstring = formstring .. "• Flowing range: 0 (no flowing)\n"
+ formstring = formstring .. "• No flowing\n"
else
formstring = formstring .. "• Flowing range: "..range.. "\n"
end
formstring = formstring .. "• Viscosity: "..viscos.. "\n"
- formstring = formstring .. "• Renewable: "..yesno(renew).. "\n"
end
formstring = formstring .. "\n"
@@ -269,7 +273,7 @@ doc.new_category("nodes", {
formstring = formstring .. "Liquids can flow into this block and destroy it.\n"
end
if data.def.buildable_to == true then
- formstring = formstring .. "This block will be replaced when building on it.\n"
+ formstring = formstring .. "Blocks are built into this block, which replaces it.\nFalling blocks can go through this block and destroy it.\n"
end
-- List nodes/groups to which this node connects to
if data.def.connects_to ~= nil then