View Full Version : State religion and civics


Chiyu
Jan 04, 2007, 09:37 AM
Hey, added a few civics to my mod without modifying the existing ones (AFAIK). But now when I select the civic Free Religion, it no longer automatically gets rid of the state religion :S. How do I fix it?

Kael
Jan 04, 2007, 11:25 AM
Hey, added a few civics to my mod without modifying the existing ones (AFAIK). But now when I select the civic Free Religion, it no longer automatically gets rid of the state religion :S. How do I fix it?

Bear with me, Firaxis did this backwards (IMHO).

Your ability to have a state religion has to be granted by a civic. You don't default to the ability and civics block it, its the other way around.

The civic attribute that controls it is bStateReligion. If you have selected any civic with bStateReligion = 1 then you can have a state religion. If ALL of your selected civics have bStateReligion = 0, then you can't have a state religion.

So I suspect that even though Free Religion correctly has bStateReligion = 0, there is some other civic that the player has that has bStateReligion = 1 and is therefor allowing a state religion.

I wish the attribute was bNoStateReligion and if you have it set on any selected civic then you can't have a state religion. But that isn't the way it works.

Chiyu
Jan 04, 2007, 08:45 PM
Ah, thanks once again Kael :). Fixed it!