From 7b9aa5fc677186f615e9f34497b1c268e8d541f9 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Thu, 25 Aug 2016 22:44:42 +0200 Subject: Minor drop comment --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: " -- cgit v1.2.3