Viregel
, The Rt. Hon.
For the past few days, I've been considering a Casus Belli system, and I've seen most of the code I need to make it work. Almost all anyway - I lack any knowledge of how to alter Diplomacy in Lua (if it's possible at all). The plan is this:
- Detects if a Casus Belli condition is true (Troops near borders, for example)
- Lessens warmonger penalty if you declare war on the civ(s) you have a Casus Belli against (this part isn't totally needed, but nice to have)
- Negates diplo penalty when capturing a city from the civ; if that's not possible, then perhaps a bonus based on the penalty?
It's a bit vague, but I hope you follow. Thanks for any help - I haven't started coding it yet, so please say if there's anything I should keep in mind!
- Detects if a Casus Belli condition is true (Troops near borders, for example)
- Lessens warmonger penalty if you declare war on the civ(s) you have a Casus Belli against (this part isn't totally needed, but nice to have)
- Negates diplo penalty when capturing a city from the civ; if that's not possible, then perhaps a bonus based on the penalty?
It's a bit vague, but I hope you follow. Thanks for any help - I haven't started coding it yet, so please say if there's anything I should keep in mind!

More seriously, a casus belli system like that means that with a moderate casus belli, going around and pillaging becomes a more interesting strategy (since taking cities is still penalising).
While there are some fantastic ideas here, in terms of practicality, I'm almost forced into making it passive, as I don't really want to add more diplomacy modifiers. So, before we do any more planning: is this possible?