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!