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
Improvement(+related UI) fixes, balance tweaks, and organization #760
Improvement(+related UI) fixes, balance tweaks, and organization #760
Conversation
Stronger support for FeatureChange tag; it will not by default remove improvements on the tile, slightly better UI tooltip. Need to add 3d art from beacon/lighthouse improvements to the features, though.
Figuring out how to teach the AI to use this is tricky. Unless I'm mistaken, the meat is in AI_bestPlotBuild which in turn compares all improvements to determine which is best for each plot. There is an "aiDiffYields" calculated, so tossing in improvements whose corresponding build has FeatureChange or TerrainChange with a large multiplier ought to teach the AI to use it properly, but... AI_bestPlotBuild is something of a monstrosity, not gonna lie, don't think I'm quite capable of doing it without serious/slow investigation 😓 |
Some minor reformatting and renaming as well.
It's all fun until it comes down to having to get the AI to work with it. lol. |
Also organized the shit out of civ4buildinfos because it annoyed me. Few balance/sanity adjustments.
Actually fixed |Dummy Tech text Fixed/introduced radio towers Added reclaim land ability Organized the **** out of improvementinfos and buildinfos Removed unused bLSystem tag Improvement cost rebalances
Smarter ordering of improvements for workers Rocky terrain is +2 H; part of stable terraforming loop with plains, grassland, and lush Merged Submerged Town and Submerged Town (Deep) Misc fixes & balance tweaks to improvement
I think? Did have some odd behavior.... will test more
still needs some fine tuning
Juuuust about done. I managed to break "Requires Irrigation!" UI warning and I don't know how.... after fixing that and a bit more testing, will merge with master |
Requires more refactoring than I want to do at this point... Also filled in plot terrain prereq xml
Stronger support for FeatureChange tag; it will not remove all improvements on the tile by default (only prevents itself from leaving an empty improvement), slightly better UI tooltip.
Need to add 3d art from beacon/lighthouse improvements to the features, though.
Likely needs a bit more testing.