The issue is with amount_max
Given the following code, you would expect to get 7 to 10 lead plates from a run, and 1 to 3 silver ore.
Code: Select all
{
type = "recipe",
name = "silver-from-lead",
category = "chemical-furnace",
subgroup = "bob-material-chemical",
energy_required = 25,
enabled = "false",
ingredients =
{
{type = "item", name = "lead-oxide", amount = 7},
{type = "item", name = "carbon", amount = 3},
{type = "item", name = "nickel-plate", amount = 1},
},
results=
{
{type = "item", name = "lead-plate", amount_min = 7, amount_max = 10},
{type = "item", name = "silver-ore", amount_min = 1, amount_max = 3},
},
icon = "__bobplates__/graphics/icons/lead-silver.png",
order = "c-b[silver-from-lead]",
},
Given that there should be a 1 in 4 chance of getting each quantity of lead, and a 1 in 3 chance of each quantity of silver, 50 runs was a generous test.
This is basically the mining/crafting version of the loot drop count_min/count_max bug I posted a while ago. (Which I still haven't actually tried since you fixed it)