Added Decay peace declared and turn at peace.
Thanks
@Seven05
Quoted from
@Seven05
Once peace is declared you lose 5000 and then 500 per turn thereafter, default is 2000 and 200 respectively. To get 5000 war weariness isn't easy but you can always make that an insanely high number like 50000 to basically erase war weariness as soon as you're at peace. The settings above have worked well for me so far, war weariness can still be an issue while you're at war but it is effectively gone as soon as you're no longer at war.
I think the biggest problem is that it doesn't differentiate between wining and losing the war. If you're wining you should be able to carry on without much negative effect internally, if you're the defender and successfully defending you shouldn't take the hit that you do, etc.