sobisonator / imp19c

Imperator 19th century mod
11 stars 15 forks source link

Save the TZ scope in governorship at game init #334

Open sobisonator opened 2 years ago

sobisonator commented 2 years ago

Every governorship needs its TZ scope (read: trade centre province) saved in a variable at game init, so that it can be quickly scoped to during trade evaluations. This will minimise performance overhead during trade cycles and just make it easier to scope to the TZ overall.

As governorships are dynamic, this will also need to be in whatever update script handles newly created governorships.