summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-05 00:24:17 +0200
committerWuzzy <almikes@aol.com>2016-08-05 00:24:17 +0200
commit6d4fc4531d3a63ae4a3e6c258849912fe6c75c5e (patch)
tree90df48f3dd49ebb6c1a08fe0ada90b9ae4e49c37 /init.lua
parent715416d4e6b8cf796b47a83020355b5bfe7bf022 (diff)
Better attach_node factoid
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 7 insertions, 1 deletions
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