[BTS] Apostolic Palace - Which file has hammers assigned

PirLanTota

Chieftain
Joined
Nov 28, 2021
Messages
6
Hi all,

I cant seem to find how the Apost Palace assigns +2 hammers to the correct religious buildings (and where it is specified how many hammers it does). Can anyone point me to the correct file?

Cheers,

Pir
 
I was looking for this info, thanks f1rpo. It seems a shame the bonus is tied to the voting method. I was looking for a way the production bonus to continue even after the voting had switched to the UN, with everyone being full members for voting, regardless of religion. I wonder if giving the DIPLOVOTE_UN type also the religious yield would work. On the one hand, that could be weird, the owner of the UN might not even have a religion (or switch to Free Religion later). On the other, what was the point of them creating an XML option if it could only be used on just one voting method?
 
Making the extra production a building XML tag or even just a variable in GlobalDefines would've been more intuitive to me. Well, the effect is tied to the membership rules, lost after defying a resolution ... And I suppose one could introduce additional religion-based voting bodies. Actually, Civ4VoteSourceInfos.xml didn't even exist before the BtS expansion. It seems that a free specialist (FreeSpecialist tag) had been considered, perhaps tested, as a (first?) alternative. If a free Priest in all loyal cities had been the initial idea, this might explain why, oddly, the Apostolic Palace itself adds no Priest specialist slots. (The Shrine, in contrast, adds 3, but more Priests aren't usually needed once the Shrine is built.) The Civic tag btw causes a particular civic to be required for full membership.

It looks like the ReligionYields, as the tag name suggests, do nothing when the vote source isn't tied to a religion. The logic for that is in CvCity::processVoteSourceBonus. Well, these things should be easy enough to test. By the voting having switched to the UN, I guess you mean when the AP wonder has gone obsolete. Because the AP and UN can coexist as active vote sources when different players construct the respective wonders, and iirc this comes down to obsolescence. (If it's the same player constructing both, then Mass Media will have obsoleted the AP wonder.) So maybe changing/ removing the ObsoleteTech would accomplish what you want. Though, if you want the voting to stop earlier than the ReligionYields, that could be difficult.
 
I mean I'm not that opposed to multiple voting systems going on at the same time, it's just I already find one Diplomatic Victory being possible is almost a bit much, two at the same time (permanently) would definitely be too much for my tastes.
 
Last edited:
Top Bottom