SomeTroglodyte
7118e9779c
GameStarter wrap and shape aware ( #5107 )
...
- Starting locations code aware of wrap and map shape
- RiverGenerator wrap aware
- RiverGenerator guard against endless loop
2021-09-06 18:32:12 +03:00
SomeTroglodyte
7f386da2bc
Kotlin 1.5 new warnings - partial ( #5108 )
...
* Kotlin 1.5 new warnings - partial
* Kotlin 1.5 new warnings - partial
2021-09-06 18:28:20 +03:00
SimonCeder
2ca42a705f
Force ranking, bullying improvements ( #5102 )
...
* Proper demand tribute thresholds
* Proper calculation for Force rankings
* debug strings
* use new force ranking for AI threatAssessment
* use new force ranking for AI threatAssessment, pt 2
2021-09-06 15:50:39 +03:00
Xander Lenstra
486e2a7a8a
Deprecate all mods without an eras.json file ( #4809 )
...
* Enforce the existence of an eras.json file for mods
* Merged `getEra()` and `getEraObject()`
* Hide mods we have deemed outdated
* Fixed compile errors that I didn't notice before
* Fixed unit tests
2021-09-06 14:50:38 +03:00
Xander Lenstra
8079a8dc7b
Fix bugs ( #5103 )
...
* Fixed a bug where moving a unit through ancient ruins spawning another unit would duplicate units
* Fixed a bug where automatically exploring units upgrading from ancient ruins would not upgrade
* Fixed a bug where city state influence could go lower than the minimum
2021-09-06 14:35:31 +03:00
SimonCeder
c7264556ea
City state intrusion anger ( #5090 )
...
* move functions, greece UP
* CS influence from killing barbs
* Greece healing in CS territory
* move diplomacy bonuses into CityStateFunctions.kt
* Split filter in Battle.kt, nicer code
2021-09-05 21:22:02 +03:00
yairm210
2474c6a635
Re-upgraded Kotlin to 1.5.30, and together with it - minSdk and source&target compatibility to 1.8.
...
We've finally advanced to 2015 (when 1.7 was deprecated)
2021-09-05 19:36:35 +03:00
yairm210
a28feda692
3.16.12
...
Reverted Kotlin upgrade since it doesn't play well with Android compile :(
2021-09-05 19:01:54 +03:00
Yair Morgenstern
3693311572
Fixed "space at end of translation" error
2021-09-05 17:51:31 +03:00
yairm210
6567088efe
3.16.12
2021-09-05 15:10:21 +03:00
Yair Morgenstern
3d272bc561
Translations update ( #5093 )
...
* Update Indonesian.properties (#5086 )
* Update Swedish.properties (#5078 )
Translated the newly added lines.
* Create Greek.properties (#5069 )
* Create Greek.properties
* Update Greek.properties
* Update Greek.properties
* Update Greek.properties
* Update Italian.properties (#5068 )
* Update Italian.properties
* Update Italian.properties
Co-authored-by: kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: Alex25820 <50142558+Alex25820@users.noreply.github.com>
Co-authored-by: ASLST <89976348+ASLST@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2021-09-05 14:58:55 +03:00
Xander Lenstra
f016012e39
Fixed a bug where no icon would display in city religion UI for pantheons ( #5094 )
2021-09-05 14:58:02 +03:00
yairm210
5170a27e07
Fixed crash where deleting mods meant you could never start a game again
...
If the last game you created used a mod that you later removed from the the device it could never be removed from the new game parameters
Caught exceptions from quickstart failing
2021-09-05 14:57:21 +03:00
yairm210
5f0afffe5a
Resolved #4344 - can no longer enter city-screen that is not yours
2021-09-05 14:04:49 +03:00
yairm210
194c69a633
Deprecation
2021-09-05 13:18:51 +03:00
yairm210
daaab81e28
Resolved #5044 - reverted target Android SDK to 30
2021-09-05 12:55:19 +03:00
yairm210
194eb5299e
Readability improvements
2021-09-05 12:53:12 +03:00
SimonCeder
ad50e9d2fc
implement locale for proper sorting on certain screens ( #5082 )
...
* implement locale for sorting
* persian, centralize Collator.getInstance
* fall back to default instead of english
* fix failing build
2021-09-05 12:12:18 +03:00
Xander Lenstra
a20baca7c2
You can now input distinct numbers when trading gold ( #5072 )
...
* Type amount of gold in trade requests
* Remove extraneous spaces in template.properties
* Implemented proposed changes
* Fixed tests
2021-09-05 12:10:57 +03:00
Xander Lenstra
980f0f4611
Fixed crash when viewing the name of a religion ( #5092 )
2021-09-05 12:05:54 +03:00
Yair Morgenstern
54583844fc
Removed Travis badge from readme
2021-09-05 00:29:17 +03:00
Yair Morgenstern
f3a8188cb1
Kotlin 1.5.30 test ( #5089 )
...
* Kotlin bump to 1.5.30
* Needed change due to (correct!) new compile error
2021-09-05 00:28:21 +03:00
yairm210
a1fdb612a9
Merge remote-tracking branch 'origin/master'
2021-09-04 21:40:41 +03:00
yairm210
48092b09b1
Resolved #4478 - spectator cannot take over player diplomacy options
2021-09-04 21:40:30 +03:00
SomeTroglodyte
6bc58ab5a3
Tabbed options ( #5081 )
...
* Tabbed Options Screen
* Tabbed Options Screen - atlas
2021-09-04 21:30:39 +03:00
SomeTroglodyte
60500d17a6
A flag for Traditional_Chinese ( #5083 )
2021-09-04 21:29:28 +03:00
SomeTroglodyte
84f7d4f56b
Fix map setTransients throwing exception from map generator on some map sizes ( #5084 )
2021-09-04 21:27:13 +03:00
yairm210
60abae5d1a
Better check for units with no unitType defined
2021-09-04 21:13:01 +03:00
SomeTroglodyte
2069f227c4
Newgame Mod incompatibility toast ( #5076 )
2021-09-03 12:26:38 +03:00
SomeTroglodyte
5e8ecff397
Remove nonsignificant whitespace from templates ( #5073 )
2021-09-03 09:35:03 +03:00
SimonCeder
8cb464c9f7
Correct year shown when starting in later eras ( #5070 )
...
* json, getEquivalentTurn
* WorldScreenTopBar.kt
* affects shown year only
2021-09-03 00:13:58 +03:00
Xander Lenstra
2993ffb272
Fixed holy site sprite not showing up ( #5067 )
2021-09-03 00:12:54 +03:00
yairm210
0389945ab1
Fixed APk sign (hopefully)
2021-09-02 21:21:05 +03:00
yairm210
7c3f8ce661
3.16.11
2021-09-02 21:03:18 +03:00
Yair Morgenstern
4dae73bbfe
Translations update ( #5065 )
...
* Update Czech.properties (#5064 )
- new strings
* Update Spanish.properties (#5059 )
* Update Indonesian.properties (#5056 )
* Update French.properties (#5054 )
* Update Italian.properties (#5035 )
* Update Italian.properties
* Update Italian.properties
* Update Swedish.properties (#5034 )
* Update Swedish.properties
* Update Swedish.properties
* German language updated (#5027 )
* German language updated
* Anmerkungen korrigiert.
Habe alle berechtigten Anmerkungen korrigiert. Manchmal sieht man den Wald vor Bäumen nicht mehr... :D
* Update Japanese translation (#5005 )
* update
* main-policies
* fix
Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com>
Co-authored-by: stoupa007 <60326342+stoupa007@users.noreply.github.com>
Co-authored-by: ArchDuque-Pancake <78449553+ArchDuque-Pancake@users.noreply.github.com>
Co-authored-by: kensvin <63847755+Kensvin28@users.noreply.github.com>
Co-authored-by: Fireboss_05 <47520445+Fireboss05@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: SimonCeder <63475501+SimonCeder@users.noreply.github.com>
Co-authored-by: Lordsem <62795018+Lordsem@users.noreply.github.com>
Co-authored-by: yuracla <89312848+yuracla@users.noreply.github.com>
Co-authored-by: Xander Lenstra <71121390+xlenstra@users.noreply.github.com>
2021-09-02 20:54:22 +03:00
Xander Lenstra
df853504ae
Great Prophets now always have your religion as their religion ( #5052 )
...
* Great Prophets now always have your religion as their religion
* Reworded unique for clarity
2021-09-02 20:52:24 +03:00
SimonCeder
34eb4758ff
Rework City State functions into separate file ( #5043 )
...
* cut+paste new file
* rewrite functions
* wrapper functions
* rewrite function calls
* influenceGainedByGift
* keep instantiated CityStateFunctions as Transient
* use setter functions for influence
2021-09-02 20:50:18 +03:00
yairm210
c116b9ba94
Linting
2021-09-02 20:48:29 +03:00
yairm210
e418f1b8ca
Merge remote-tracking branch 'origin/master'
2021-09-02 20:38:16 +03:00
Xander Lenstra
9575b5bf66
Implemented renaming of religions ( #5057 )
...
* Implemented renaming of religions
* Made AskForText display error on invalid input, implemented recommended changes
* Almost forgot the translatable strings in the new popup
2021-09-02 17:40:10 +03:00
yairm210
15335f3f7c
Made city-state bonuses immutable to avoid future problems a la #5050
2021-09-02 17:37:52 +03:00
yairm210
d0dbb27e00
Resolved crash due to evaluating distance to city state when we have no cities
2021-09-02 17:21:46 +03:00
Xander Lenstra
fcc335b78a
Refactor more code, hopefully increasing maintainability ( #5062 )
...
* Fixed great person gift formula, confusing boolean, "great person" filter
* Refactored getRejectionReason to return a hashSet of reasons instead of a random one
2021-09-02 16:37:40 +03:00
Xander Lenstra
2e43637144
Fixed a bug where cities founding after creating a pantheon would not have that pantheon ( #5053 )
2021-09-01 19:21:41 +03:00
Xander Lenstra
186d06faf0
When spreading a religion with a great prophet, other religions are now removed ( #5055 )
2021-09-01 19:21:09 +03:00
Xander Lenstra
b347366d50
Refactored some code and uniques ( #5051 )
...
* Refactored some code and uniques
* Fixed compilation errors, tests and crashes
* Moved influence bounds check from add to set
2021-09-01 19:20:04 +03:00
Xander Lenstra
cffe8e441e
Finishing the later five policy trees now allows you to buy great people with faith ( #5038 )
2021-09-01 09:46:27 +03:00
Xander Lenstra
634f4a3533
Added Religious wonders ( #5041 )
...
* Added Grand Temple and Great Mosque of Djenne buildings
* Added uniques for Grand Temple
* Added uniques for Mosque of Djenne, refactored ability uses system to count down isntead of up
2021-08-31 22:23:02 +03:00
SimonCeder
cd7bd8fcfd
fix duplicated city-state bonus bug ( #5042 )
...
* fix city-state bug
* pt 2
2021-08-31 22:18:58 +03:00
Xander Lenstra
248145cf8f
Fixed bug making enhancing religions impossible ( #5040 )
2021-08-31 18:22:39 +03:00