ViterboKnight
King
- Joined
- Feb 6, 2006
- Messages
- 796
I'm trying to make my way in this huge amount on lines of code that composes the SDK!
I'm looking for the code which manages the diplomatic options.
I'd like to add two options:
- an option to deal an exchange with a leader, forcing him to accept it (like a tribute). I'd simply have to "merge" some code from those two sections (when you deal an exchange, and when you ask for a tribute).
- an option to ask a leader to prepare for a war against someone. It'll be identical to the "declare war" option, but having the WARPLAN_PREPARING_LIMITED plan.
Can anyone tell me where I can find the code to manage that?
I'm looking for the code which manages the diplomatic options.
I'd like to add two options:
- an option to deal an exchange with a leader, forcing him to accept it (like a tribute). I'd simply have to "merge" some code from those two sections (when you deal an exchange, and when you ask for a tribute).
- an option to ask a leader to prepare for a war against someone. It'll be identical to the "declare war" option, but having the WARPLAN_PREPARING_LIMITED plan.
Can anyone tell me where I can find the code to manage that?