summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2017-05-28 21:14:00 +0200
committerWuzzy <almikes@aol.com>2017-05-28 21:14:00 +0200
commit25849e385c4bd3b5509dbbf9a9dbb1a689582a61 (patch)
tree7751f6523a9f60ad1f1846b393c2ec6db43c00a9
parentc5dd85a5b95186027245c001868cc490bf04cf5f (diff)
Update leafdecay factoids for 0.4.15-dev
-rw-r--r--init.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/init.lua b/init.lua
index 45d73e7..861e563 100644
--- a/init.lua
+++ b/init.lua
@@ -210,14 +210,13 @@ end
local function f_leafdecay(itemstring, def)
local formstring = ""
if def.groups.leafdecay ~= nil then
- local groupname = doc.sub.items.get_group_name("tree")
if def.groups.leafdecay_drop ~= nil then
- formstring = S("This block may drop as an item when no trunk is nearby. This is prevented if any block of the group “@1” is nearby (up to a distance of @2), the block is completely surrounded by blocks which are neither air or a liquid or it has been manually placed by a player.", groupname, def.groups.leafdecay)
+ formstring = S("This block may drop as an item when there is no trunk or stem of its species within a distance of @1. Leaf decay does not occour when the block has been manually placed by a player.", def.groups.leafdecay)
else
if def.drop ~= "" and def.drop ~= nil and def.drop ~= itemstring then
- formstring = S("This block may decay when no trunk is nearby. When decaying, it disappears and may drop one of its mining drops (but never itself). Decay is prevented if any block of the group “@1” is nearby (up to a distance of @2), the block is completely surrounded by blocks which are neither air or a liquid or it has been placed by a player.", groupname, def.groups.leafdecay)
+ formstring = S("This block quickly decays when there is no trunk or stem block of its species within a distance of @1. When decaying, it disappears and may drop one of its mining drops (but not itself). The block does not decay when the block has been placed by a player.", def.groups.leafdecay)
else
- formstring = S("This block may decay and disappear when no trunk is nearby. Decay is prevented if any block of the group “@1” is nearby (up to a distance of @2), the block is completely surrounded by blocks which are neither air or a liquid or it has been placed by a player.", groupname, def.groups.leafdecay)
+ formstring = S("This block quickly decays and disappears when there is no trunk or stem block of its species within a distance of @1. The block does not decay when the block has been placed by a player.", def.groups.leafdecay)
end
end
end