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

Modding Bug: Luxury improved by an Improvement which doesn't require tech will always be improved by City center for ALL Civs, even without having the appropiate tech researched #13014

Open
1 task done
AceHank opened this issue Mar 1, 2025 · 0 comments
Labels

Comments

@AceHank
Copy link

AceHank commented Mar 1, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Game Version

4.15.13

Describe the bug

First, I am writing this without the knowledge of whether this is intended or not. If it's intended, then please close this issue and I will change my mod instead.

So in my mod Epic of Fantasy there are Manawell and Enchanted Forest improvements which improves Luxury resources. Those two improvement don't require any technology at the moment.

If a city is settled on top of Luxury that is improved by those two, it will be instantly improved, for ALL civilization, even when playing as Civs without access to Manawell/Enchanted Forest. I've tried to add "techRequired" to only one of them, and it didn't fix the problem. Only after I give both Manawell and Enchanted Forest "techRequired" does the bug disappeared

Gems
"improvedBy": ["Mine", "Gaia's Mine", "Lodepit", "Manawell", "Enchanted Forest"],

Notice Gems is improved by all kind of unique improvements, two of them, Manawell and Enchanted Forest, don't have techRequired, which is the culprit of this bug.

This also happens when instead of Gems being "improvedBy", it's Manawell and Enchanted Forest using Improves [Luxury] resource in this tile.

I feel like this is a bug, because, even if I add a technology to them, like Pottery for example, all Civs' City center will provides ALL Luxury after discovering Pottery, which clearly shouldn't be the case (I've tested this case as well). This would make modding Improves [resources] resource in this tile an impossibility, as it will break the normal game balance.

If it is indeed intended, I will change my mod, but my question is, what should I do to make an Improvement that doesn't require any tech but is able to improves Luxury, without affecting any other Civs?

Thank you very much!

Steps to Reproduce

  1. Download Epic of Fantasy
  2. Play as any Civilization
  3. Settle on Luxury
  4. See error

Screenshots

No response

Link to save file

No response

Operating System

Windows

Additional Information

No response

@AceHank AceHank added the bug label Mar 1, 2025
@AceHank AceHank changed the title Modding Bug: Luxury improved by an Improvement which doesn't require tech will always be improved by City center, even without having the appropiate tech researched Modding Bug: Luxury improved by an Improvement which doesn't require tech will always be improved by City center for ALL Civs, even without having the appropiate tech researched Mar 1, 2025
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