Unciv/android
givehub99 d75541e5b4
Consolidated unit kill bonus uniques (#3267)
* -Consolidated unit kill bonus uniques.
Syntax is "Earn []% of [] opponent's [] as [] for kills" for both units and nations.

Ex.
"Earn [10]% of [military] opponent's [Cost] as [Gold] for kills"
or
"Earn [100]% of [Barbarians] opponent's [Strength] as [Culture] for kills"

Only Culture and Gold are supported as rewards now, but it can be expanded later. The pictish warrior unit in G&K gets 50% of opponent's strength as faith, so we can have the function edited to allow for faith when we get to that point.
Only Strength or Cost is supported as what the reward amount is based on.

-Policies.json and Nations.json were changed to fit the new syntax. The old syntax still works for mods for now.

-matchesCategory MapUnit function can now check if the unit is a barbarian

* -Compatibility for depecrated unit kill bonus uniques done more efficiently and counted only once (since prior to this PR, it was also counted only once)

* -Changed it to "Barbarian" instead of "Barbarians", added "Barbarian" to template.properties

* space after translation template
2020-10-18 18:10:26 +03:00
..
assets Consolidated unit kill bonus uniques (#3267) 2020-10-18 18:10:26 +03:00
Images Added city images by The Bucketeer for all eras up to Modern 2020-10-15 20:01:25 +03:00
ImagesToNotAddToGame
res Fixed Multiplayer Turn Notifier periodically failing with error notification. (#2054) 2020-03-02 06:44:53 +02:00
src/com/unciv/app Copied files in Android should now overwrite existing files 2020-10-07 14:02:38 +03:00
AndroidManifest.xml Fixed Multiplayer Turn Notifier periodically failing with error notification. (#2054) 2020-03-02 06:44:53 +02:00
build.gradle.kts #1492 - Added civilopedia info for great people and great improvements, removing terrain features, and strategic resource provision. 2020-06-03 18:11:56 +03:00
gradle.properties Multiplayer Notification Fix for random Termination (#2024) 2020-02-27 19:35:40 +02:00
ic_launcher-web.png
proguard-rules.pro Remove gdx-box2d from build files because it isn't used (#2595) 2020-05-08 08:05:26 +03:00
project.properties