From 6d4fc4531d3a63ae4a3e6c258849912fe6c75c5e Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 5 Aug 2016 00:24:17 +0200 Subject: Better attach_node factoid --- init.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index ee91698..3892a65 100644 --- a/init.lua +++ b/init.lua @@ -308,9 +308,15 @@ doc.new_category("nodes", { if data.def.groups.falling_node == 1 then formstring = formstring .. "This block is affected by gravity and can fall.\n" end + if data.def.groups.attached_node == 1 then - formstring = formstring .. "This block must be attached to another block\\, otherwise it will drop as an item.\n" + if data.def.paramtype2 == "wallmounted" then + formstring = formstring .. "This block will drop as an item when it is not attached to a surrounding block.\n" + else + formstring = formstring .. "This block will drop as an item if no collidable block is below it.\n" + end end + if data.def.groups.disable_jump == 1 then formstring = formstring .. "You can not jump while standing on this block.\n" end -- cgit v1.2.3