Page 1 of 1

[0.10.9] Items lost when extra toolbelt is unresearched

Posted: Thu Sep 04, 2014 12:56 am
by Turtle
Items in the extra toolbelt are lost when it is unresearched. They should be placed in inventory and not lost.
Steps to reproduce:
1. Research toolbelt
2. Place items in extra toolbelt
3. Run in console:

Code: Select all

for _, tech in pairs(game.player.force.technologies) do tech.researched = false end
4. Items in extra toolbelt are gone even when you research it again

Re: [0.10.9] Items lost when extra toolbelt is unresearched

Posted: Thu Sep 04, 2014 1:06 am
by n9103
Pretty sure this is not a bug, as this is entirely separate from what should be accounted for in the game.
But they've made more unusual patches, so good luck.

Re: [0.10.9] Items lost when extra toolbelt is unresearched

Posted: Thu Sep 04, 2014 4:45 am
by SHiRKiT
n9103 wrote:Pretty sure this is not a bug, as this is entirely separate from what should be accounted for in the game.
But they've made more unusual patches, so good luck.
Considering that there was a crash realated to this, this is prolly a consequence of that fix.

Re: [0.10.9] Items lost when extra toolbelt is unresearched

Posted: Thu Sep 04, 2014 5:03 am
by n9103
SHiRKiT wrote: Considering that there was a crash realated to this, this is prolly a consequence of that fix.
And considering that was such a unique situation, I wouldn't blame them for shifting it to Won't Fix.
I mean, really? Unresearching anything is so far outside intended, or conceived gameplay.
At least, given the development that's been done, and the way the system works, they fully expect a creator to do a scenario change, rather than removing technologies manually.

I'm not saying it's useless, but it's very niche. (In a game that almost defines niche gaming :P)

Re: [0.10.9] Items lost when extra toolbelt is unresearched

Posted: Tue Sep 09, 2014 12:44 pm
by kovarex
Well, the internals that allows us easily to handle the items lost when resizing inventory will be useful in the future to solve some todo for some corner cases.

So yes, it is fixed for 0.10.10