Commit Graph

4029 Commits

Author SHA1 Message Date
c3242f37f2 Add looping minimap viewport if worldwrap enabled (#5349)
The viewport now also appears on the other side of the minimap when
viewing the border of the world with worldwrap enabled.
2021-10-03 11:50:50 +03:00
88bcf5d514 Fixed bug where 'mandate of heaven' policy wouldn't work (#5380) 2021-10-03 11:50:03 +03:00
238cbb782a Added icons to resource trades & war declarations (#5376) 2021-10-03 11:46:27 +03:00
091622612c Added default values for supply to fix almost all mods being broken (#5373) 2021-10-03 11:46:04 +03:00
057f9b3f7b Reduce Mod checker messages for a set of deprecated UniqueTypes (#5370) 2021-10-03 11:45:50 +03:00
9016385f30 Barbarian spawning and camp placements (#5354)
* barbarian camp placement, spawn countdowns

* separate file

* raging barbarians

* faster spawn when attacked

* Barbarian AI

* works on old saves

* template.properties

* fix percent

* no improvements unique

* fix test fail

* reviews

* reviews pt 2
2021-10-03 11:45:02 +03:00
344c96319b Fix Fountain of Youth (#5355)
* fix fountain of youth

* fix test fail

* reviews

* reviews
2021-10-01 15:51:30 +03:00
03f374b058 Currently playing music track displayed under Options-Sound (#5357) 2021-09-30 06:35:20 +03:00
6cfc0a82d8 Deprecation message options only (#5352)
* Do not show RulesetErrorSeverity.WarningOptionsOnly on new game screen

* Do not show RulesetErrorSeverity.WarningOptionsOnly on new game screen - fresh atlas
2021-09-29 21:25:44 +03:00
fb30a76e85 Civilopedia category icons and keyboard navigation (#5341)
* Civilopedia category icons and keyboard navigation

* Civilopedia category icons - white alternative
2021-09-29 17:39:02 +03:00
4c87d98aaa Fix Mod unpack folder move (#5346)
* Fix Mod unpack folder move

* Fix Mod unpack folder move - comment
2021-09-29 12:34:58 +03:00
bb5825a325 First step into unifying strength bonuses using conditionals (#5345) 2021-09-29 08:35:37 +03:00
8ee36d43d7 Allow Deciv Redux start with >0 City States (#5348) 2021-09-29 06:19:49 +03:00
070c41592f Fix era of Wonders without tech in Wonder overview (#5347) 2021-09-29 06:19:28 +03:00
d3868dae62 Rework game start again (continents) (#5335)
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2021-09-28 23:48:06 +03:00
8e3d2a1b87 Fix Polynesian vision when embarked (#5325)
* fix polynesia unique

* fix polynesia unique

* Update MapUnit.kt
2021-09-28 22:44:54 +03:00
861a42e881 Moved the check for conditionals applying to getMatchingUniques functions; rewrote civInfo.getMatchingUniques (#5342)
* Moved the check for conditionals applying to `getMatchingUniques` functions. Rewrote `civInfo.getMatchingUniques`.

* Clarified comment
2021-09-28 22:42:18 +03:00
0aea74d3a9 Fix right side of player nation picker no longer entirely clickable (#5338) 2021-09-27 17:29:47 +03:00
a487c2c373 Fix new game Mod nation icons on first open (#5334) 2021-09-27 17:28:26 +03:00
e0e701058d Proper great general points (#5329) 2021-09-27 13:38:42 +03:00
2e72fd52c8 Double movement unique parameterized (#5319)
* Double movement unique parameterized

* Double movement unique - all filters
2021-09-27 12:35:38 +03:00
96511e16ef Merge remote-tracking branch 'origin/master' 2021-09-26 17:17:04 +03:00
bb8c9d3175 More unique typing 2021-09-26 17:16:50 +03:00
d07eed31b8 Added the Byzantine empire (#5299)
* Added Byzantine Empire as a nation

* Added unique units

* Implemented unique ability

* Refactored out the beliefContainer

* Implemented reviews

* Credits

* Enumified the uniques & added missing translatable strings
2021-09-26 16:58:24 +03:00
e1b2814b5d Mini-UI to see Religion info on foreign cities (#5321) 2021-09-26 11:04:33 +03:00
3a858a7051 Oversight - "base hurry cost" in pedia should be multiple of 10 (#5320) 2021-09-26 10:54:38 +03:00
8d33dacc3c Softcode Fountain of Youth (#5308)
* Softcode Rejuvenation

* Softcode Rejuvenation - comments
2021-09-25 22:15:03 +03:00
a4c38174b6 Extra embarrassing fix - Textures missing on Android (#5313) 2021-09-25 22:08:37 +03:00
8d631254aa Unified many implementations of common interfaces into abstract classes (#5312)
* Unified many implementations of common interfaces into abstract classes

* RulesetObject interface
2021-09-24 17:48:06 +03:00
ed47f16c6e Added modder warning for deprecated fields 2021-09-24 16:35:22 +03:00
c05bf0a2a6 Fix a Nation Picker crash (#5311) 2021-09-24 15:49:56 +03:00
12302deef6 Precursor to mod target check - (#5303)
* Precursor to mod target check -
Define acceptable targets for each unique holder

* Warn for bad unique targets, and divide between different types of beliefs

* Moved the belief type logic into the class, rather than being external

* Added comment that getUniqueTarget is currently unneeded, but planned for future use
2021-09-24 15:02:41 +03:00
fa813f8f5e Quests fixes and additions (#5301)
* enable all quests

* implement more quests

* weighting for quests

* global quests

* fixes

* fixes

* Update template.properties

* general string

* reviews
2021-09-24 10:05:30 +03:00
e9e0f2c55f World and Natural Wonders Overview (#5297)
* World and Natural Wonders Overview

* World and Natural Wonders Overview - icon

* World and Natural Wonders Overview - groups and tuning

* World and Natural Wonders Overview - atlas

* World and Natural Wonders Overview - lint
2021-09-24 10:04:30 +03:00
8ef84d785e Music controller - Fix pause (#5307) 2021-09-24 10:00:46 +03:00
bae8bd2468 Mod error detection improvements!
Separated Warning vs Error, show "options only" warning in options only, color warnings by severity
2021-09-23 12:04:16 +03:00
2e8934af17 Newly Allied city states declare war on your enemies, even unmet ones (#5298)
* new allies dow, unmet civs meet first and then dow

* no gifts for bad people
2021-09-23 11:31:36 +03:00
4a83bed4ba Nation Picker visual help where to click (#5287)
* Nation Picker visual help where to click

* Nation Picker visual help where to click - circles
2021-09-23 11:23:40 +03:00
a5a8ea1338 Natural Wonders un-hardcoded (#5279)
* Natural Wonders un-hardcoded

* Natural Wonders un-hardcoded - oops testing change revert

* Natural Wonders un-hardcoded - tests OK

* Natural Wonders un-hardcoded - requests

* Natural Wonders un-hardcoded - hide from pedia

* Natural Wonders un-hardcoded - readable unique
2021-09-23 11:21:08 +03:00
8161da26de Texture pack/load for mods also distributes by Images.*X* (#5296) 2021-09-22 22:11:39 +03:00
66b0ddb25a Mod error detection improvements!
Separated Warning vs Error, show "options only" warning in options only, color warnings by severity
2021-09-22 21:28:19 +03:00
0bb565fdc6 Can't trade resources from other trades or city-states (#5252)
* can't trade resources from city-states

* display untradeable sources in trade screen

* Update template.properties

template string

* Update Swedish.properties

* Spelling, better buttons
2021-09-22 20:21:41 +03:00
98f14523ed Add all cityFilter strings from the 'source of truth', since many were missing from translation file 2021-09-22 19:47:31 +03:00
d1005327e7 Lint a few warnings and typos (#5293) 2021-09-22 19:32:25 +03:00
5d6765a879 Resolved crash in unit civilopedia lines that depended on unitType being initialized 2021-09-22 18:32:16 +03:00
5e4aff90e9 Music controller with fade-over and mod capabilities. (#5273)
* Music controller with fade-over and mod capabilities.
- Preparation for music following game situations
- Minimal in-game hooks for now
- Already allows mods providing music, will play randomly

* Music controller - template
2021-09-22 09:35:33 +03:00
b7467d3467 Added support for conditionals to some more uniques (#5280)
* Added support for conditionals to some more uniques

* Implemented a new conditional

* Added the new conditional to the translations file

* Fixed tests

* Implemented requested changes
2021-09-22 09:24:16 +03:00
4343137b82 Save the sources of uniques with the uniques themselves (#5281) 2021-09-21 20:26:14 +03:00
05394f627d Using reflection to find and report deprecated uniques (#5276)
* Using reflection to find and report deprecated uniques

* No kotlin reflection needed thank you very much
2021-09-21 20:26:05 +03:00
7a59cbcbe8 Fixed bug where a unit auto-exploring ancient ruins would in some cases disappear after upgrading (#5285) 2021-09-21 20:18:02 +03:00