Unciv/android/assets
Aron de Jong cd58f6ace8
Refund wasted production as gold (#4058)
* 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
2021-06-07 22:04:33 +03:00
..
ExtraImages Un-blurred the tile images 2021-03-29 18:18:23 +03:00
jsons Refund wasted production as gold (#4058) 2021-06-07 22:04:33 +03:00
music Music now downloads on another thread to not harm the user experience 2019-10-31 09:40:50 +02:00
skin UI Update (#3102) 2020-09-10 19:25:56 +03:00
sounds Fix two sound credits - missing file (#4026) 2021-05-31 12:17:02 +03:00
BuildingIcons.atlas Add guided missile which acts differently from nuclear missile. (#3957) 2021-05-20 12:33:39 +03:00
BuildingIcons.png Add guided missile which acts differently from nuclear missile. (#3957) 2021-05-20 12:33:39 +03:00
FlagIcons.atlas 3.14.13 2021-06-01 21:19:06 +03:00
FlagIcons.png 3.14.13 2021-06-01 21:19:06 +03:00
game.atlas Unit swapping (#4049) 2021-06-06 22:56:25 +03:00
game.png Unit swapping (#4049) 2021-06-06 22:56:25 +03:00
UnitIcons.atlas Added the paratrooper unit (#4025) 2021-06-03 07:33:38 +03:00
UnitIcons.png Added the paratrooper unit (#4025) 2021-06-03 07:33:38 +03:00