LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
289 stars 160 forks source link

brokered war timing #9562

Open ilteroi opened 1 year ago

ilteroi commented 1 year ago

the dutch just declared war on me as part of a deal. problem is, that happened after their turn, so they have lots of units in exposed positions.

image

normally diplo AI happens first in the turn and then units are moved accordingly. would it be possible to delay the actual war declaration that results from the deal until the declaring player's next turn starts?

RecursiveVision commented 1 year ago

@ilteroi Currently the war declaration happens in CvGameDeals::ActivateDeal(). It is possible, but you would need to store it in memory and then trigger it once the turn starts.