Commit Graph

3030 Commits

Author SHA1 Message Date
fff22e66cd Mod-specific maps are go! :D
Resolves #3517
2021-02-12 11:16:54 +02:00
9db073ff25 getComplexRuleset now accepts list of mods and not gameParameters 2021-02-12 10:47:12 +02:00
c1a259ea7d Another change towards unified mod management 2021-02-12 10:45:18 +02:00
a9fe8c42d8 Simplified mod management, in preparation for mod information within the maps 2021-02-12 10:42:35 +02:00
efe36a673e Separated ModCheckboxTable from GameOptionsTable, so we can use it when creating a map 2021-02-11 22:54:01 +02:00
8b1778eea3 Removed Scenario Maps entirely - was not a well thought-out concept and caused more confusion than actual fun.
Case in point - 0 mods are Scenario mods.
2021-02-11 22:33:52 +02:00
8a9301f4d7 Catch for bug in new movement algorithm when you can't move to a unknown tile, but CAN pass through (but not move to) intermediate tiles. 2021-02-09 23:03:44 +02:00
9fd06638a3 Merge branch 'master' of https://github.com/yairm210/Unciv 2021-02-09 22:57:24 +02:00
5a4155b372 Game saves can now always be deleted (#3584) 2021-02-08 21:54:04 +02:00
004cc58e13 Units manually moved cancel existing move action 2021-02-08 21:48:37 +02:00
d7379508f0 Now get up to 100 mods in mod list (up from 30) - kudos @ravignir for noticing there were missing mods! 2021-02-07 21:04:12 +02:00
7d9b56e3b1 Fixed queue showing "Consumes 1" when no resource is consumed
Plus linting
2021-02-07 19:13:10 +02:00
71266b213e 3.12.13 2021-02-06 22:39:36 +02:00
4104f72729 Added "Consumes [amount] [resource]" unique to units 2021-02-06 21:27:41 +02:00
3d683c767a Added "Consumes [amount] [resourceName]" unique for buildings 2021-02-06 21:12:44 +02:00
9054480bf7 Solved concurrency problems in redownloadAllGames() 2021-02-06 20:34:02 +02:00
20cf0c9203 Linting 2021-02-06 20:21:41 +02:00
8e900a2503 Hopefully mitigated some weird crashes 2021-02-06 20:21:19 +02:00
ec7a898d64 Merge branch 'master' of https://github.com/yairm210/Unciv 2021-02-06 20:14:11 +02:00
60fe8fc36b Game can handle mods removing tile features between versions 2021-02-06 19:42:14 +02:00
4d0f66e159 Solved "quantum tunneling" bug for new movement algorithm 2021-02-06 19:41:51 +02:00
effdf74bb6 Scroll indicators are displayed more consistently on the NewGameScreen (#3570) 2021-02-06 19:35:54 +02:00
b0bf18afa0 Added custom victory conditions 2021-02-05 16:06:58 +02:00
84c200bd32 New cityFilter for cities connected to capital 2021-02-05 15:34:20 +02:00
1e6c8dacff Deprecated old uniques 2021-02-05 12:22:47 +02:00
a27a28df67 Fixed tests 2021-02-05 10:34:42 +02:00
cfc337f6ef City-state allies are always considered to have open borders 2021-02-05 10:22:01 +02:00
95b7cd7a32 AI uses same calculation for declaring both war and peace - so it won't declare war only to immediately declare peace. 2021-02-05 10:15:49 +02:00
b0c9c797f6 3.12.12 2021-02-04 20:18:14 +02:00
a07e3947d2 Refactoring of MultiplayerScreen (#3572)
* Refactoring

- Removed unnecessary .tr()
- changed text case sensitivity
- changed popup to YesNoPopup
- combined multiplayerGames.remove and deleteSave into removeMultiplayerGame to reduce unnecessary try catch blocks

* Update case sensitivity translations

* adding "Game settings" entry
2021-02-04 19:13:01 +02:00
9d109d4e05 Avoid overflow of the construction bar (#3573) 2021-02-04 16:22:05 +02:00
72b917ca1f Add "Land" as possible input to tile-related uniques (#3574)
* no message

* Revert "no message"

This reverts commit 9ece60bd58.

* Renamed Haka War Dance effect to Intimidation, to make it more applicable to non-Maori Warrior units.

* no message

* Parameterized civUnique for extra experience from combat

* Update build.gradle.kts

* Update BattleDamage.kt

* Update Policies.json

* Update Battle.kt

* Fully parameterized nationwide XP gain

* New parameterized uniques for border expansion - "-[]% Gold cost of acquiring tiles []" and "-[]% Culture cost of acquiring tiles []"

* Parameterized uniques for acquiring new tiles via either culture or gold

* Parameterizing expansion unique - improved calculation method

* Improved parameterization for border expansion uniques

* Add "Land" as possible input to tile-related uniques
2021-02-04 06:42:12 +02:00
c85137aaaf Added "Irremovable" unique to tile improvements 2021-02-03 21:18:38 +02:00
f05e0a6b25 Added Unsellable unique to buildings 2021-02-03 21:10:12 +02:00
9d647447bc Added improvement-constructing buildings 2021-02-03 21:09:29 +02:00
55b4298cec New uniques for border expansion - "-[]% Gold cost of acquiring tiles []" and "-[]% Culture cost of acquiring tiles []" (#3565)
* no message

* Revert "no message"

This reverts commit 9ece60bd58.

* Renamed Haka War Dance effect to Intimidation, to make it more applicable to non-Maori Warrior units.

* no message

* Parameterized civUnique for extra experience from combat

* Update build.gradle.kts

* Update BattleDamage.kt

* Update Policies.json

* Update Battle.kt

* Fully parameterized nationwide XP gain

* New parameterized uniques for border expansion - "-[]% Gold cost of acquiring tiles []" and "-[]% Culture cost of acquiring tiles []"

* Parameterized uniques for acquiring new tiles via either culture or gold

* Parameterizing expansion unique - improved calculation method

* Improved parameterization for border expansion uniques
2021-02-03 13:06:53 +02:00
aa1bd3cd7e Adding resign function for multiplayer (#3567)
* Adding give up function for multiplayer

* Update template.properties

* Reviewed changes

- Changed "give up" to "resign"
- Removed unnecessary and harmful translations
- Using YesNoPopup now

* Add missing space

* fixed first AI turn getting skipped
2021-02-02 16:43:51 +02:00
35ae2c749d 3.12.11-patch1 2021-01-31 21:57:28 +02:00
8016a64b97 Added mutually exclusive tech paths using "Incompatible with [otherTech]" unique for techs 2021-01-30 19:59:34 +02:00
bc4829a424 Translation updates for new cityFilter 2021-01-30 19:46:03 +02:00
457588a2c9 Parameterize Civ Unique for increased XP gain (#3561)
* no message

* Revert "no message"

This reverts commit 9ece60bd58.

* Renamed Haka War Dance effect to Intimidation, to make it more applicable to non-Maori Warrior units.

* no message

* Parameterized civUnique for extra experience from combat

* Update build.gradle.kts

* Update BattleDamage.kt

* Update Policies.json

* Update Battle.kt

* Fully parameterized nationwide XP gain
2021-01-29 12:31:52 +02:00
1b19413736 Solved mod incompatability with Legalism issues 2021-01-29 12:30:36 +02:00
1a576539e0 Implemented Cultural Diplomacy policy 2021-01-29 12:06:16 +02:00
2f121983cf Implemented Scholasticism 2021-01-29 12:01:25 +02:00
4e2aaa76dc Started implementing Patronage branch. Parametrized some uniques, city-states can handle different resting points for different civs. 2021-01-29 11:54:23 +02:00
9c725d74ae Parametrized "Maintenance on roads & railroads reduced by []%" 2021-01-29 10:35:01 +02:00
8e8215b5c4 Added 'replacementTextForUniques' parameter to buildings and units for custom text 2021-01-28 22:05:38 +02:00
bcab751f7c Linting 2021-01-28 16:21:25 +02:00
f11647d5fc Add a "Unlocked at [tech/era/policy]" unique to buildings and units 2021-01-28 15:11:05 +02:00
68498ec7ba "Save game" errors are now correctly caught and displayed to the user 2021-01-28 14:59:16 +02:00