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
Request -- Ocean tiles should not be claimable by cities #4353
Comments
so your're proposing to include this mod or to replace it? in general lua hooks aren't great for performance. |
I'm proposing to include the mod. According to latest version from 2016:
|
If it's to be included, let's do the work in C++ and not Lua. @ilteroi is right, Lua hooks are a poor way to make a feature work. |
Indeed, cpp is the way to go, I agree. Beow is the lua script:
|
well, that piece of code raises a few questions:
|
Needs to be isCoastalLand |
So ocean is no longer claimable ever? Or just before Compass? |
before compass. or whatever the relevant tech is ... |
What about Polynesia? They can claim ocean from start or like others from request tech? |
Wasn't it that you could traverse your own ocean's tiles or was that just a version later too late? That's my inquiry. |
polynesia is fine. can buy/claim from the start. the other question i don't understand |
Ships can travel ocean tiles that are owned by their cities pre-Compass. I also feel like there should be an exception for one-tile city islands to be able to claim ocean pre-Compass... |
|
1. Mod version (i.e Date - 4/23):
4/30
2. Mod list (if using Vox Populi only, leave blank):
Infixo's UI Mods
3. Error description:
Ocean tiles should not be claimed by cities. If units require compass for traversing ocean tiles, why can a city claim an ocean tile for work (extremely low yields)?
Problems with cities having ocean tiles:
FIX: Global - Coastal Waters Only Mod:
UPDATE CustomModOptions SET Value=1 WHERE Name="EVENT_CITY_BORDERS";
along with GlobalCoastalWatersOnly.lua
4. Steps to reproduce (optional):
Supporting information:
Please note that you can attach .zip files by dragging-and-dropping them. If possible, zip up all supporting data and post that way.
The text was updated successfully, but these errors were encountered: