Page 1 of 1

on_force_reset event

Posted: Sun Apr 26, 2020 8:59 pm
by Honktown
There's a scenario where I'd like to re-apply bonuses/nerfs to a force on a "you lost" reset, but there's no event to detect that (it will have to be done after the call). In this circumstance, if a reset call is not done by your mod, it's impossible to know when to re-apply things that you'd like to apply when a force is "initialized". There is on_technology_effects_reset, but it doesn't trigger when force.reset() is called.

Another situation is enabling/disabling/researching technologies in the control phase. When the technologies are reset to their prototype state, one loses what you'd like to have done as "initial" effects.

Re: on_force_reset event

Posted: Wed May 13, 2020 6:51 pm
by Rseding91
Ok, It's now added for the next release.