Balthagor wrote:I think he's mostly joking.
"majority" is a horrible solution, that involved counting stats of hexes. The engine would collapse under the calculations. Counting hexes = bad.
And the counting can't be that bad - especially since a BZ-Liberationvote (fancy new term by me) would be like a one-time event and not done every second, like the supply calculations.
Lets look at the number of calculations done per BZ Liberationvote:
IE. BZ of Ankara got 73 hexes if i counted right.
Your average BZ may be 10 times as large.. so we would need to count the population stats of 730 hexes (quit the task for a 10year old cpu - not)
and put them in an array of loyalties - i assume there is like a region limit also a loyalty limit of a single byte = 255
then the cpu (which are usually rated in MILLIONS operations per seconds these days) needs to find the loyalty that got the maximum number of voters.
Transfer ownership of BZ to that Loyalty.
Or dont vote and get all Loyalties per hex their own regions back.
(or ditch that liberation and teach the AI to reliably conquer in force first - no need to do stuff that the AI cant use cause it failed at the previous step)