Page 1 of 1

[0.15.30] Trash items don't get spilled on tech reset

Posted: Sun Jul 23, 2017 10:23 am
by Bilka
When the player has a full main inventory and items in the trash slots and the technologies are reset the items in the autotrash slots disappear. I expected that they would be spilled on the ground because that happens when the players tool bar is full (and the main inventory is full) and the technology gets reset. To reproduce:

1. /c game.player.force.research_all_technologies()
2. fill main inventory and trash slots with items
3. /c for _, tech in pairs(game.player.force.technologies) do tech.researched=false end
4. No items don't get spilled. Expectation: Items from trash slots get spilled.

Re: [0.15.30] Trash items don't get spilled on tech reset

Posted: Mon Jul 24, 2017 10:14 am
by Rseding91
Thanks for the report. This is now fixed for the next version of 0.15.