diff options
author | Wuzzy <almikes@aol.com> | 2016-08-25 22:44:42 +0200 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-08-25 22:44:42 +0200 |
commit | 7b9aa5fc677186f615e9f34497b1c268e8d541f9 (patch) | |
tree | 8ee61d84813b742520cec1633a7dbc405b13d9e2 | |
parent | d755d8a51b578df28513ba5b7a20e68f7bdb128c (diff) |
Minor drop comment
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: " |