* Reduce conversion of local mod folder names to treat only ending spaces/dashes
* Wiki entry for GlobalUniques
* Missing originRuleset coverage
* Nicer RulesetValidator messages when name or originRuleset are missing
* Allow a few working UniqueType-UniqueTarget combos in RulesetValidator
* RulesetValidator checks GlobalUniques
* Alternate Settlers and Workers recognized via Unique - same rules in RulesetValidator and GameStarter, wiki clarification
* Rearrange order of actions when adding buildings
* Turns out you need to updateCivResources after adding in uniques. Whoops
* Mirror change to remove buildings as well
* Bump version and create initial changelog entry
* Update Simplified_Chinese.properties (#9835)
* more Persian UN Translation (#9832)
* Update Persian_(Pinglish-UN).properties
Added and fixed some of the translations till line 1039.
* Update Persian_(Pinglish-UN).properties
- Fixed a few till 1039.
- Added and fixed some from 1039 till 1254.
* Update Persian_(Pinglish-UN).properties
Added and fixed some till 5000
* Update Persian_(Pinglish-UN).properties
* Update Persian_(Pinglish-UN).properties
* Update Dutch.properties (#9816)
* Update Dutch.properties
* Update Dutch.properties
* Update Dutch.properties
* Update Dutch.properties
* Updated Brazilian_Portuguese.properties (#9813)
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Ilia <81512402+ilia-abbasi@users.noreply.github.com>
Co-authored-by: Lena Bullens <95299589+LenaBullens@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
* Fixed automated workers not replacing forts for AI civ.
* Fixed double parenthesis.
* Removed repeat removing fort in progress code.
* Improved evaluateFortPlacement
* Fix issues from gaining free beliefs
* chooseBeliefs code I forgot
* Revert changes to next turn actions and allow for free beliefs while founding/expanding
* Missed a spot
* Fix regression incorrectly allowing promotions from Unit Overview
* Autoclose PromotionPicker when all promotions chosen in one go
* Fix Unit Overview not showing new promotions when returning from PromotionPicker
* Split off some UniqueType helper classes, make regions work in Android Studio and linting
* Fix wrong UniqueType.Stats target
* Fix two Pantheon uniques
* BeliefType a little nicer to read
* More linting
* Implement UniqueTarget validation
* Validation of UniqueTypes allowed as conditionals
* City-level resources are...
- Not displayed in civ top bar
- Not considered civ-level resources (for trade, non-city conditionals, etc)
- Are explicitly treated in city conditionals
- ARE considered for constructing buildings requiring resource
- ARE NOT considered for construction units requiring resource
* getCityResources separates resources by origin so we need to sum them - kudos @SeventhM
* CR fixes
* Added new Civilization.getResourceAmount function
* More usages of civInfo.getResourceAmount()
* Don't add city resource table if it's empty
* Linting and give two votes to UN owner
* Allow human player to abstain, show UN 2 votes
* More info on voting results
* AI won't vote for hated enemies
* Improve PopupAlert handling
* Translation templates
* One missing template
* Fix buildings not triggering, golden age stat updates, and units not triggering
* Forgot import, whoops
* uodate resources and city connection when removing a building
* Move building triggers to function, added unit notification to translations
* Quick edits without android studio sucks
* Add unitActionModifier check back to hasTriggerConditional
---------
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Linting
* Cache hasUnique(UniqueType.CreateWaterImprovements)
* Move automateWorkBoats to WorkerAutomation - for readability and better chances to create synergies
* Add a chance for automated Alpha Frontier Workers to create Water improvements
* Reorg random271's Lemming code a little
* Tune Worker automation for buildable Water improvements
* Fix exponent being applied wrong
* Format more consistent with rest of project
* Fix building gold cost in civilopedia and use slash instead of a comma
* Add INonPerpetualConstruction.getCivilopediaGoldCost()