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

Mod Policy: in all cities in which the majority religion is an enhanced religion is not part of cityFilter #10832

Closed
1 task done
marek22k opened this issue Dec 29, 2023 · 1 comment
Labels

Comments

@marek22k
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Game Version

4.9.13 (Build 949)

Describe the bug

Hello,

after some time I look at my mods again and realized that some of them do not work anymore. Among other things, the following policy no longer works:

[-5]% Culture cost of natural border growth [in all cities in which the majority religion is a enhanced religion] <while the empire is happy>

According to https://yairm210.github.io/Unciv/Modders/uniques/ is the scheme:

[relativeAmount]% Culture cost of natural border growth [cityFilter]

And cityFilter can still be in all cities in which the majority religion is an enhanced religion according to https://yairm210.github.io/Unciv/Modders/Unique-parameters/#cityfilter. However, this does not seem to be recognized by the game.

Steps to Reproduce

  1. Create a mod with [-5]% Culture cost of natural border growth [in all cities in which the majority religion is a enhanced religion] <while the empire is happy> as Policy effect.
  2. Start the mod checker.

Screenshots

Screenshot_2023-12-29_16-44-17

Link to save file

No response

Operating System

Linux

Additional Information

In earlier versions of the game it worked without any problems.

@marek22k marek22k added the bug label Dec 29, 2023
@marek22k
Copy link
Author

marek22k commented Dec 29, 2023

This was probably due to the correction of the spelling mistake 'a' and 'an'.
Introduction of the error or correction that caused the error: 7e35e41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant