Increasing Building Yield with Religion (Resolved)

Magil

Monarch
Joined
Sep 26, 2010
Messages
1,622
I have a building that I want to increase its yields (technically, I want it to increase the district yield, but whatever, I know how to do either via modifiers) when the player that owns has founded a religion. However, the requirement for "player founded religion" (can't reference the exact text it at the moment, but it's the one used by the Founder Beliefs, I think its REQUIREMENT_PLAYER_FOUNDER_RELIGION) doesn't seem to work for me in any context. I'm beginning to wonder if it's designed to only work with religious beliefs. What would be the best way to go about this?
 
There may be a more elegant way to do this, but for now what I've done is attach the modifier to all Follower beliefs using the PLAYER_FOUNDED_RELIGION_REQUIREMENTS RequirementSet to limit it to the religion's founder. It's not a great workaround since it wouldn't work with a mod that added more Follower Beliefs, but it's all I've been able to think of so far.

Since a Follower belief is mandatory when founding a religion, this is the same as granting the benefit when the religion is founded.
 
Last edited:
Back
Top Bottom