[Vanilla] Add a formal war?

fb2017

Chieftain
Joined
Oct 8, 2017
Messages
53
Is it possible to add a formal war? And if so, for a specific civilization?

For example like India in R&F, where they can declare a "War of Territorial Expansion".

So this is what I want to do:
* Add a formal war which can only be used by a specific civilization
* (lua) Can check if a civilization has declared this formal war, or is in a formal war.
 
These are already in game and anyone can use the war for territorial expansion as long as you have the correct civic/tech and meet the parameters of 2 cities within 10 tiles of 2 of there cities.
 
To do this you need to add an entry to the DiplomaticActions table defining the custom war type. Then at the civilization or leader level, add a modifier of the type MODIFIER_PLAYER_ADD_DIPLOMATIC_ACTION_OVERRIDE. Look at Chandragupta for an example.
 
Top Bottom