[0.15.30] Trash items don't get spilled on tech reset
Posted: Sun Jul 23, 2017 10:23 am
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.
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.