summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-08-25 22:44:42 +0200
committerWuzzy <almikes@aol.com>2016-08-25 22:44:42 +0200
commit7b9aa5fc677186f615e9f34497b1c268e8d541f9 (patch)
tree8ee61d84813b742520cec1633a7dbc405b13d9e2
parentd755d8a51b578df28513ba5b7a20e68f7bdb128c (diff)
Minor drop comment
-rw-r--r--init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 746f4a3..bcdcfde 100644
--- a/init.lua
+++ b/init.lua
@@ -486,6 +486,7 @@ doc.new_category("nodes", {
-- Non-default drops
if data.def.drop ~= nil and data.def.drop ~= data.itemstring and data.itemstring ~= "air" then
+ -- TODO: Calculate drop probabilities of max > 1 like for max == 1
local get_desc = function(stack)
local desc = minetest.registered_items[stack:get_name()].description
if desc == nil then
@@ -517,7 +518,7 @@ doc.new_category("nodes", {
if #data.def.drop.items == 1 then
formstring = formstring .. "This block will drop the following when mined: "
else
- formstring = formstring .. "This block will randomly drop one of the following drops when mined: "
+ formstring = formstring .. "This block will randomly drop one of the following when mined: "
end
else
formstring = formstring .. "This block will randomly drop up to "..max.." drops of the following possible drops when mined: "