Page 1 of 1
[1.1.0] Force values
Posted: Tue Nov 24, 2020 8:09 pm
by EmuLegs
i was running a custom scenario where one team was given +100 mining drill productivity, in the latest patch, the custom settings where disregarded
Re: [1.1.0] Force values
Posted: Tue Nov 24, 2020 8:12 pm
by boskid
This is not a bug.
Whenever a base game or a mod calls LuaForce::reset_technology_effects those values are recomputed based on the tech tree state. 1.1.0 loading anything below is requesting that migration (it is not visible in migration files as it is baked into the code now).
Re: [1.1.0] Force values
Posted: Tue Nov 24, 2020 9:03 pm
by EmuLegs
it was an unmodded game with 2 force's with differing values, it just lost all that info and that's not a bug?
Re: [1.1.0] Force values
Posted: Tue Nov 24, 2020 9:22 pm
by boskid
If you say game has custom scenario you can no longer say it is unmodded. Custom scenario is capable of catching defines.events.on_technology_effects_reset event to restore proper values and if it does not do that, well... not a (base game) bug.
Re: [1.1.0] Force values
Posted: Tue Nov 24, 2020 9:42 pm
by EmuLegs
yea i guess it is 'custom' but even the scenario save (pre playing) lost the changed information