Religious Settlements Change

KevinJK

Warlord
Joined
Nov 23, 2010
Messages
121
Religious Settlements was a weak and rather boring Pantheon belief, and it was about time I learned Lua script anyway, so I've rebuilt it.

It's now an Enhancer belief, and quite a powerful one for wide empires. It has two effects:
  • Any city following the religion can now purchase Religious Settlers. These are identical to normal Settlers and cost the same as a Missionary.
  • Whenever the founder of this religion founds a new city, it immediately converts to this religion (this occurs at the start of the turn after founding).

So now Religious Settlements provides a very fun and unique bonus. Not at all boring. I've also accomplished my goal of learning some decently complex Lua without actually killing anyone (though I wanted to).

This is also available on Steam Workshop.
 

Attachments

That's actually a really cool mod could be quite fun to play with :), one of my biggest beefs with civ5 is there so many UA, beliefs and SP's that are just boring +10% modifiers and stuff like that :)
 
Faith is hardcoded in such a way that without the <RequiresBelief> (or something like that) tag you will be able to purchase your Settlers with Faith regardless of having the belief. Testing concurs with this.
 
Faith is hardcoded in such a way that without the <RequiresBelief> (or something like that) tag you will be able to purchase your Settlers with Faith regardless of having the belief. Testing concurs with this.
Yeah, if I used XML only. I actually don't even use the RequiresBelief tag at all. I use Lua to unlock building it only if the city has the religion with that belief as majority. So no, you can't purchase Religious Settlers with faith unless you've got the belief.

To be honest, this mod was mostly just my experiment in doing decently complex Lua. I haven't worked with the code much before, so this was meant to be something I could learn from from to make myself more versatile for future mods.
 
I know how you did it, but it didn't work. I was able to purchase Religious Settlers without the required belief - all I needed was a valid religion. The Lua is otherwise fine, but "training" settlers is mechanically different from purchasing them, so the function doesn't work. Which is a shame, as I was hoping you'd found a way around the hardcodedness of faith purchasing things.
 
Back
Top Bottom