In particular, this fixes the bug where embarked units captured by a
civilization without optics would stay embarked. This therefore fixes
case 4 of #4237.
In principle, it should not even be possible that captured units can no
longer stand on the tile they were on, since the capturing unit has to
be able to move to it. However, in Unciv, it is possible to capture
units without moving to their tile. This is a different problem that
needs to be addressed some time in the future.
* Removed Char-only restriction in keyboard support for unit actions, remap a few keys, key tooltips for non-ascii keys
* UnitActionType now knows keys, sounds and most icons
* UnitActionType empower - fix Prophets spreading Pantheons
* Deprecate "Can only be built on Coastal tiles"
* Deprecate "Cannot be built on bonus resource"
* Deprecate "Can only be built on Coastal tiles" - bump 'as of'
* city-state AI
* City-state spawns
* City-state border expansion
* City-state border expansion adjustment
* Food and production multipliers for city states
* 6 CS as default
* cellular automata for mountains and hills
* cellular automata for mountains and hills
* tweaks
* spawn location algorithm
* consolation prizes
* improve city state spawns
* AI settle in place if possible
* make heightmap generation mod agnostic
* You can now use 'h' to fortify/sleep until healed
* Hide lesser used unit actions by default
* Refactored worker actions into automate & build improvements
* Added missing translation lines
* Fixed translations
* Update translationFileWriter to include strings from new json files
* Fix promotions with multiple uniques not getting translated
* Add missing translatable strings (thanks to DuffLagerleff for finding these)
* wonder splash screens
* wonder splash screens atlas
* reset to master
* Add Sweden
* add translations
* translations
* implement first part of UP
* add icons to atlas
* implement second part of swedens up
* implement first hakkapeliitta unique
* implement second hakkapeliitta unique
* gifted GPs are removed
* update sweden symbol
* translations
* review Hakkapeliitta unique
* removed unneccesary parameters
* hakka UP review
* Hakka UP part 2
* yairm's reviews
* translations for fixes
* removed [great person generation] parameter as it's hardcoded anyway
* Moved check for stacking unit bonus outside great general logic
* Raze city button should be disabled for original capitals
* Halicarnassus trigger checks Great Person
* New water improvements should recalculate resource stuff
* Should't be able to create water improvements outside borders
* Minor things
* Added a few follower beliefs
* Implemented follower beliefs when founding a religion
* Added missing follower beliefs as much as possible
* Religion screen now scrolls correctly
* Buttons for chosen religions are now disabled instead of removed, idea couresty to someTroglodyte
* Implemented requested changes
* wonder splash screens
* wonder splash screens atlas
* reset to master
* add basic gifting to city states and major civs
* actual gifting of the unit
* add gift icon to atlas
* adjust relationship decay
* add strings to jsons
* AI and player return same object
* Fixed crashes on loading save games with religion
* Added missing credit
* Religious cities now show religion icons in the city button
* Add icons for religions
* You can now found beliefs, with snazzy icons!
* Fixed bug which made prophets impossible to generate
* Added missing translatable strings
* Fixed translation tests properly
* Implemented requested changes
* Implemented part of the requested changes
* Removed SplitPane in favor of Table
* Removed unused code
* Capped the amount of foundable religions to the amount of religions
* Update Simplified_Chinese.properties (#4456)
* Update Indonesian.properties (#4455)
* Update Indonesian.properties
* Update Indonesian.properties
* Update Italian.properties (#4445)
* Laid some groundwork for implementing further religions (#4444)
* Laid some groundwork for implementing further religions
* Fixed duplication of Religion object
* Update Korean.properties (#4443)
* Update Korean.properties
* Update Korean.properties
* Update Spanish translations fase 1 (#4440)
* Update Spanish translations fase 1
DO NOT merge this until I have finnished it. I run out of time today.
* Update Spanish.properties
* Update Czech.properties (#4437)
* Update Czech.properties
many new (and old) strings translated
* Update Czech.properties
tweaked some newly translated strings
* huns and netherlands strings
* Update Swedish.properties (#4436)
Back up to 100%
Also some tweaks:
Ändrade ett par enheter för att få realegenus (en/den) på så många som möjligt
t ex Pansarskepp -> Pansarbåt (historiskt korrekt benämning, även Monitor är tänkbart)
Man kan överväga även t ex Infanteri -> Infanterist, finns åsikter?
* Update German translation (#4434)
* Adjusting the accent (#4426)
I changed a lot of phrases and words to European Portuguese as these phrases were in Brazilian Portuguese which has its own translation in another document.
Co-authored-by: lishaoxia1985 <49801619+lishaoxia1985@users.noreply.github.com>
Co-authored-by: kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com>
Co-authored-by: Samsaek the Calico <saud2410@naver.com>
Co-authored-by: ArchDuque-Pancake <78449553+ArchDuque-Pancake@users.noreply.github.com>
Co-authored-by: stoupa007 <60326342+stoupa007@users.noreply.github.com>
Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com>
Co-authored-by: MartinP <77325495+Mape6@users.noreply.github.com>
Co-authored-by: batatasmor <75855494+batatasmor@users.noreply.github.com>
* Added all remaining pantheons
* AI now choose pantheons, AI no longer tries to get mutually exclusive policies
* I don't know why this was changed
* Implemented requested changes
* City States now give gold when met
* City States can now receive different amounts of gold, and the amount of influence gained from gifts follows the base game
* Implemented requested changes
* Fixed tests
* Add a very simple display for the religion in a city
* Added missing credits for shrine
* Added Great Prophet unit
* Great prophets can now be generated using faith
* Great Prophets can now construct holy sites
* Great Prophets can now spread their religion to friendly cities
* Holy site can only be constructed if the great prophet hasn't spread religion yet
* Added missing translation string
* Fixed more translation problems
* Implemented requested changes
* Added the nation of the Netherlands
* Added Sea Beggar, Dutch unique unit
* Added polder improvement, Dutch unique improvement
* Added national ability
* Fixed Air Targetting not having icon
* Fixed the huns not having battering ram unique unit
* Plundering with multiple levels of coastal raider no longer creates multiple notifications
* Implemented requested changes
* Fixed carriers in mods no longer working
* Fixed scouting prerequisites
* Fixed surivialism not having icon or prerequisites
* Fix logistics in mods not working
* Added image for supply promotion
* Added Era.json and imported the data to the ruleset
* Units at start are now also determined by eras.json
* Research agreement costs now determined by json file
* Gold and Culture provided at the start are now awarded
* Can no longer build wonders that are more than two eras older than the starting era
* Default population and buildings for settlers can now be added
* Added checks for validity of eras.json file in mods
* Colors for the icons of technologies are no also saved in eras.json
* Removed constants for all era's as they have been generalized away by this PR
* Removed spurios println's
* Added compatibility for mods
* Updated the military unit you get from ruines to be the military unit you received at the start of the game
* Generalized "[1] extra interceptions may be made per turn"
* Generalized and rephrased Cover promotion (requires #4311 to work)
* Generalized Logistics
* According to the civilopedia the defence value of cover has also risen, apparently
* Updated Ambush strength values
* Split up Targeting and Air Targeting (different strength bonus)
* Generalized Haka War Dance
* Added Supply promotion
* Renamed a unique so it matches other uniques
* Implemented May heal outside of friendly territory better
* Implemented requested changes
* Added privateer unit
* Privateers can now capture other naval units
* Updated Coastal Raider promotion to include the gold gained from damaging cities
* Added missing translatable notification
* Implemented requested changes
* Implemented requested changes _but better_
* Forgot to update a variable name
* Added the nation of The Huns
* Added unique units of The Huns
* Removed MountedRanged unitType
* Implemented requested changes
* Fixed some typo's, split up a very long function for redability
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Added a few simple beliefs for testing
* Moved CityReligion to its own file
* Created a picker screen for choosing pantheons
* Pantheon uniques are now calculated only for cities with the specific pantheon
* Added all the pantheon beliefs that can easily be added and commments for the ones still missing
* Games only have religion if either the user specifically asked for it, or uses a mod with religion
* Implemented requested changes
* Fixed bugs where nukes don't work due to capitilzation issues
* Renamed existing translations
* Fixed crash happening when nuking tiles without an owner
* Added notifications to attacker for civs that have declared war as a result of the nuke dropping
* "Research" button now shows progress in the selected tech
* Current tech is automtically selected as free tech when applicable
* Implemented requested changes
* Changed some interception-related uniques
- "Can not be intercepted" -> "Cannot be intercepted"
This really irked me, and the new version is also how it is written
in the wiki.
- "Reduces damage taken from interception by 50%" ->
"Damage taken from interception reduced by [50]%"
* Added "Cannot be carried by [unitFilter] units" unique
* Added an icon for Stealth
* Added Stealth technology and the Stealth Bomber
* Possibly fixed incorrect rounding for interception damage bonus
* Various code style changes
* Made Stealth Bomber interceptable, but with 100% damage reduction
* Implemented Nuclear Submarine and Missile Cruiser units
* Information Era -> Atomic Era; Future Era -> Information Era, conform G&K
* Fixed deprecated uniques still working
* Implemented requested changes
When making the changes in workers in #4252, I accidentally overlooked that Constants.workerUnique doesn't have params, and this should be the right way to write it.
* Generalized building of improvements
* Readded support for the deprecated unique "Can build improvements on tiles"
* Small code quality changes
* Implemented requested chagnes
* Added the addPopulation() and setPopulation() functions to add population to cities and automatically reassign them
* Added the Telecommunications tech
* Added the CN tower
* Implemented Bomb Shelter
* Added icons for new buildings
* Implemented requsted changes
* Improved nukes
* Fixed build error (probably)
* Implemented reocmmended changes, fixed some other stuff, the usual
* Implemented requested changes
* Fixed Tech connections
* Fixed nuclear missiles and guided missiles being interceptable
* Missiles are no longer air units. This is, as they cannot be stationed on carriers and cannot be intercepted.
* Fixes bug where in some cases building improvements would increase the base yield of the tile
* Removed unncessary test
* Implemented requested changes
* Implemented requested changes
* Fixed build errors
* Fixed open terrain bonus working in rough terrain
Fixed#4139 - The open terrain combat bonus no longer works in rough
terrain.
Deprecated "Open terrain" and "Rough terrain" uniques and undeprecated
"rough" property of terrains.
* Minor simplification
* Replaced "rough" with "Rough terrain" unique
* Empty commit to re-run the build checks
* Created Patronage policy branch -- draft
* Patronage branch is now functional
* Added images for the policies
* Temporarily bandaged backwards compatability, added incompatabilities
* Implemented recommended changes
* Fixed acquirement of 'patronage complete' not being saved
* Reverted change I was unhappy with
* Implemented requested changes
* Fixed build errors
* Implemented recommended changes
* City States can now give any great person, including unique ones, conform Ravignirs tests
* Spliff off all individual OverviewScreen panes
* Spliff off all individual OverviewScreen panes - remove comment
* Spliff off all individual OverviewScreen panes - consistent file endings