From 7e94fa5ba6cf9bc1bd0dedd11dda772bd6c6c0f0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 24 Aug 2016 23:42:35 +0200 Subject: Clarify buildable_to and sort liquid props --- init.lua | 10 +++++++--- 1 file 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 -- cgit v1.2.3