summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-28 17:55:30 +0200
committerWuzzy <almikes@aol.com>2016-08-28 17:55:30 +0200
commitfbd1fa5d70e0771917b4e7497a3f3fbdfab14181 (patch)
treeafee81a669fef179755113fdcce4e042cc644151
parent7b9aa5fc677186f615e9f34497b1c268e8d541f9 (diff)
Difference between buildable_to and falling_node
-rw-r--r--init.lua12
1 files changed, 11 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index bcdcfde..2dd79df 100644
--- a/init.lua
+++ b/init.lua
@@ -272,7 +272,17 @@ 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 .. "Building another block at this block will place it inside and replace it.\nFalling blocks can go through this block and destroy it.\n"
+ formstring = formstring .. "Building another block at this block will place it inside and replace it.\n"
+ if data.def.walkable then
+ formstring = formstring .. "Falling blocks can go through this block\\; they destroy it when doing so.\n"
+ end
+ end
+ if data.def.walkable == false then
+ if data.def.paramtype2 == "wallmounted" then
+ formstring = formstring .. "This block will drop as an item when a falling block ends up inside it.\n"
+ else
+ formstring = formstring .. "This block is destroyed when a falling block ends up inside it.\n"
+ end
end
-- List nodes/groups to which this node connects to
if data.def.connects_to ~= nil then