Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pact of Umar #91

Closed

Conversation

Libeccio-DD
Copy link
Contributor

Because muslim countries that get released or created over the course of the game or muslim countries that start with only muslim pops but later acquire territory with non-muslim pops, don't have the jizya modifier, I added an event that gives them the modifier.

-Added an event that gives the jizya modifier to countries that have the umar_pact_flag and get released or aquire territory with non-muslim pops
arkhometha added a commit that referenced this pull request Jan 26, 2020
* Separated Finnish and Sami from Scandinavian culture group and Ugric from the East Slavic and joined them in the Finno-Ugric culture group. Adapted the Russian decision to integrate Finland to include Scandinavia as one of the potential countries that can integrate Finland. Closes #87
* Small localization fixes.
* Slight increased the effects of the Dissolving the upper house decisions.
* Made the Propaganda decision money requirement scale with population.
* Removed duplicate decisions to release Galicia-Lodomeria for AI Austria. Improved the Bukovina decision that does the same.
* Fix uncivs not being able to build infantry after westernization due to a fix for the vanilla bug that locks created ships in ports. Closes #92
* Adapted one of the Muslim decisions to apply the jizya tax modifier if the country is missing the modifier. Fixed the decision so it only applies to Muslims. Closes #91
* Changed to the UK Liberal party by @uk Liberal Party by @Libeccio-DD  - #85
* Added missing localization to reactionary rebels. By @Libeccio-DD - #90
* Made propaganda costs scale with population.
@arkhometha
Copy link
Owner

Hi @Libeccio-DD, thanks for spotting this. While you are right about this, the approach is non-ideal: events tend to be more resource intensive, since the game needs to constantly check if the event is ready to fire. I know, it's just one event, but I prefer to do this kind of "clean up" as decisions to avoid a pile up of things. I integrated your pull through a decision that already exists and I'm pushing it in commit adc9fc3

@arkhometha arkhometha closed this Jan 26, 2020
@Libeccio-DD
Copy link
Contributor Author

Hey @arkhometha, originally I created a decision that dealt with this problem but the reason for creating an event instead was because while the AI would always take such decision, the player could simply refuse to take it. The way you created the Pact of Umar is that any country that has the umar_pact flag and has non-muslim pops, should have the the jizya modifier. Then if the country doesn't want the modifier anymore they can take the secularize_society or abolish_umar_pact decisions. If however the player has both the umar_pact and non-muslim pops but doesn't take the decision that gives him the jizya modifier, I see it as unintended behaviour. This is not what is supposed to happen. My original plan to deal with this had this problem and your recent commit has this problem as well. I also think that it's quite inelegant that the decision that gives the jizya modifier has unrelated title, description, image and effect.

However there's a much better solution that deals with the aforementioned problem, doesn't create a new decision or event and is taken by the AI only. See more here #93.

@arkhometha arkhometha mentioned this pull request Jan 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants