[2.0.76] item-request-proxy's removal plan can take out different items

Bugs which we just recently fixed in our development version and will reach you in the next release.
User avatar
Quezler
Filter Inserter
Filter Inserter
Posts: 330
Joined: Fri Mar 25, 2016 6:37 pm
Contact:

[2.0.76] item-request-proxy's removal plan can take out different items

Post by Quezler »

the item request proxy does not care what is in a slot marked for removal, as long as any item in the removal plans marks that slot for extraction:

Code: Select all

/c chest = game.player.surface.create_entity{name = "wooden-chest", force = "player", position = {0, 0}}
/c chest.insert({name = "iron-plate"})
/c proxy = game.player.surface.create_entity{name = "item-request-proxy", force = "player", position = {0, 0}, target = chest, modules = {}, removal_plan = {{id = {name = "copper-plate"}, items = {in_inventory = {{inventory = defines.inventory.chest, stack = 0}}}}}}
/c game.print(serpent.line(proxy.removal_plan)) -- {{id = {name = "copper-plate"}, items = {in_inventory = {{inventory = 1, stack = 0}}}}}
/cheat all -- to get and enable personal robots
-- notice the robot took out the iron plate
expected behavior: if the to-extract item name & quality do not match what is in the slot, the removal plan for that slot goes away without doing anything.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17134
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.76] item-request-proxy's removal plan can take out different items

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved for the next release”