SharedProbabilityDefinition :: struct newExample code
| minnew | :: double | Lower end of the range of shared roll values that will allow product to be given. [...] |
Lower end of the range of shared roll values that will allow product to be given. [...] | ||
| maxnew | :: double | Upper end of the range of shared roll values that will allow product to be given. [...] |
Upper end of the range of shared roll values that will allow product to be given. [...] | ||
Properties
Example 
-- What a recipe's results would look like for a probability of 0.3 to return iron and 0.7 to return copper
-- but always exactly 1 item, never no item or both items
{
{type = "item", name = "iron-plate", amount = 1, shared_probability = {min = 0, max = 0.3}},
{type = "item", name = "copper-plate", amount = 1, shared_probability = {min = 0.3, max = 1}},
}

