Deconstructing (via bots) entities that give multiple items
Posted: Sat Jan 07, 2017 2:47 pm
Most entities give exactly one item when deconstructed, usually the item which was used to build them.
Trees give a couple of units of raw wood. I would like to add additional results to trees, for example seeds as done in the arborium mod.
This works perfectly well if I hand-mine them: I get the raw-wood and the seeds. However when the construction robots deconstruct the tree I get only one type, the one defined first.
It seems that the construction robot can carry at most one item type but multiple items of that type.
I tried this, but nothing really changed:
* adding loot has no influence at all
* setting bot.max_payload_size = 2 has no effect
* as mentioned above, changing the minable.results order just switches which item is returned
I don't know any example where this works so its a bit hard to understand. I remember that for hard crafting a similar problem existed with drills where the solution was to increase the drill's storage size, but max_payload size does not work.
Now I am looking for good ideas. Can this be done with some property? Do I need a workaround? Is this actually a bug?
Trees give a couple of units of raw wood. I would like to add additional results to trees, for example seeds as done in the arborium mod.
This works perfectly well if I hand-mine them: I get the raw-wood and the seeds. However when the construction robots deconstruct the tree I get only one type, the one defined first.
It seems that the construction robot can carry at most one item type but multiple items of that type.
I tried this, but nothing really changed:
* adding loot has no influence at all
* setting bot.max_payload_size = 2 has no effect
* as mentioned above, changing the minable.results order just switches which item is returned
I don't know any example where this works so its a bit hard to understand. I remember that for hard crafting a similar problem existed with drills where the solution was to increase the drill's storage size, but max_payload size does not work.
Now I am looking for good ideas. Can this be done with some property? Do I need a workaround? Is this actually a bug?