From fbd1fa5d70e0771917b4e7497a3f3fbdfab14181 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 28 Aug 2016 17:55:30 +0200 Subject: Difference between buildable_to and falling_node --- init.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'init.lua') 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 -- cgit v1.2.3