DanF5771
Emperor
- Joined
- Feb 21, 2008
- Messages
- 1,194
Yamps - good research! It all appears to be congruent with my findings from looking at the code.
It gets a bit tricky again when it comes to membership status - as you mentioned already, the player who owns the AP does not necessarily have to be a full member (i.e. if he is without or in a different religion other than the AP religion), however his team will have (forced) full membership status due to owning the AP
. This team membership status is relevant for the validity of the stop- and force war resolutions. (That's why you could call for the holy war as the AP owner despite having lost full membership as a player.)
The Civilopedia definitely lies, holy wars are not possible against voting members (the canDoResolution check of this specific player fails, since he cannot declare war on himself!). So yes, this resolution requires at least 1 full member team currently at war with a non-member plus at least another 1 full member team not at war (yet) with this infidel, also all teams allowed to vote must have met the infidel and the universal requirement of the number of voters (>=3) must be fulfilled.
Also (apart from the AP owner team member rule) only loyal members (no defied resolution yet or loyalty status regained after endorsed resolution) can be full members.
Actually everybody who can vote is a voting member in the code (including full members), and full members are loyal voting members with SR = AP religion.
Edit-followup: The AIs make their decisions on how to vote on the holy war resolution in the following way:
YES: they are the AP Resident and have proposed the resolution OR they are already at war with the target OR they can currently be bribed into a dogpile war by the AP Resident (the target's name in the "Declare War" section in their diplo screen isn't redded out) AND their team attitude towards the target < CAUTIOUS.
NO: otherwise (they don't abstain or defy)
It gets a bit tricky again when it comes to membership status - as you mentioned already, the player who owns the AP does not necessarily have to be a full member (i.e. if he is without or in a different religion other than the AP religion), however his team will have (forced) full membership status due to owning the AP
. This team membership status is relevant for the validity of the stop- and force war resolutions. (That's why you could call for the holy war as the AP owner despite having lost full membership as a player.)The Civilopedia definitely lies, holy wars are not possible against voting members (the canDoResolution check of this specific player fails, since he cannot declare war on himself!). So yes, this resolution requires at least 1 full member team currently at war with a non-member plus at least another 1 full member team not at war (yet) with this infidel, also all teams allowed to vote must have met the infidel and the universal requirement of the number of voters (>=3) must be fulfilled.
Also (apart from the AP owner team member rule) only loyal members (no defied resolution yet or loyalty status regained after endorsed resolution) can be full members.
Actually everybody who can vote is a voting member in the code (including full members), and full members are loyal voting members with SR = AP religion.
Edit-followup: The AIs make their decisions on how to vote on the holy war resolution in the following way:
YES: they are the AP Resident and have proposed the resolution OR they are already at war with the target OR they can currently be bribed into a dogpile war by the AP Resident (the target's name in the "Declare War" section in their diplo screen isn't redded out) AND their team attitude towards the target < CAUTIOUS.
NO: otherwise (they don't abstain or defy)
