* Refund wasted production as gold
Any wasted production, from for instance a partially completed wonder or
obsolete units, will now be refunded as gold (in a 1:1 ratio).
We update both at the start and end of the user turn. Updating at the
start to account for wonders completed after our previous turn and
updating at the end to account for obsolete buildings/units as a
consequence of our own turn.
When obsolete units get replaced by their upgraded version (as in civ 5)
this code should probably be updated.
* Implement wonder refund and obsolete unit upgrade
If a wonder is built somewhere else but the user has production in this
wonder, the production will be refunded as gold in a 1:1 ratio. A
notification will be shown to indicate this. This reflects the behaviour
in Civ 5.
If a unit becomes obsolete and an upgrade is available, the production
put into this unit will now be transferred to the upgraded version. If
the unit is queued, the queued unit will also be changed to the new
version and the user will be notified via notification.
* Shorten notification messages
* Update alerts: been obsolete -> become obsolete
* Update Italian.properties (#3779)
* Update Spanish.properties (#3778)
* Update Spanish.properties
* Update Spanish.properties
Co-authored-by: jorgman1 <jorgman1@protonmail.com>
* Update German.properties (#3777)
* Update German.properties
* Update German.properties
* Update German.properties
* Update Japanese.properties (#3776)
* Update Spanish.properties (#3782)
I have made a research, and, despite of an "arcabuz" being somewhat diferent from a musket, it´s basically the same.
* Update Russian.properties (#3792)
* Natural wonders are standalone tiles in new layering
* Can handle unique capital indicators in mods
* 'military' -> 'Military' for e.g. [Military] units, same as other unit types which are capitalized
* Differentiated between 'Land' as in 'Land unit' and 'Territory' for rankings
* Added TileSetConfigs (#3766)
* First iteration of TileSet json
* Adding json support for mods
* Renamed TilesetConfig to TileSetConfig
+ changed the config for FHex to fix the mountain natural wonder problem
* Resolved#3353 - Changed "Earn [amount]% of [param] opponent's [param2] as [stat] for kills" to "Earn [amount]% of killed [param] unit's [param2] as [stat]"
* Preparation for hill as terrain feature (#3784)
* ensure backwards compatibility
* Added new Hill.png
* Added temp TileSetConfig to support new hill sprite
* Added missing Ancient ruins tiles
* Fixed Multiplayer bugs (#3781)
* Removed save feature from TurnChecker
* Hopefully fixed not correctly updating multiplayer games?
* Fixed "refresh list" not updating the savegame correctly
* Fixed game update when upload fails
* Revert "Fixed game update when upload fails"
This reverts commit cc9f1cf589.
* Fix Citadel not quite buildable where it should be (#3788)
* updated the Russian translation file
* Fixed typos in the Russian translation file
* Fixed [tileFilter] in Rus lang file
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
Co-authored-by: GGGuenni <leonard@eynck.de>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: jorgman1 <48908520+jorgman1@users.noreply.github.com>
Co-authored-by: jorgman1 <jorgman1@protonmail.com>
Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com>
Co-authored-by: paontv <57051667+paontv@users.noreply.github.com>
Co-authored-by: ArchDuque-Pancake <78449553+ArchDuque-Pancake@users.noreply.github.com>
Co-authored-by: Maxim Logaev <51446645+turbocat2001@users.noreply.github.com>
Co-authored-by: GGGuenni <leonard@eynck.de>
Co-authored-by: SomeTroglodyte <63000004+SomeTroglodyte@users.noreply.github.com>
* 1 new line
* show tile yields
* 1 new line
* Move to city
* 3 new lines
* The resistance in [cityName] has ended!
* +[amount]% Production when constructing [unitType] units
* Doubles Gold given to enemy if city is captured
* 4 new lines
* Receive a tech boost when scientific buildings/wonders are built in capital
* -[amount]% [param] unit maintenance costs
* Excess Food converted to Production when under construction
* Requires at least [amount] population
* 3 new lines
* New [param] units start with [amount] Experience
* All tiles cost 1 movement
* Can pass through impassable tiles