For example, if I set something like this (item names simplified for sake of clarity):
Code: Select all
someProto.minable.result = nil
someProto.minable.results = {
{ name = "item1", probability = 0.8, amount_min = 1, amount_max = 2, type = "item" },
{ name = "item2", probability = 0.1, amount_min = 1, amount_max = 2, type = "item" },
{ name = "item3", probability = 0.1, amount_min = 1, amount_max = 2, type = "item" },
}
The chances show up in the game UI when entity is selected, but I only ever seem to get back item1 - any ideas?