8404 Commits

Author SHA1 Message Date
Bamboolord
1a64184600
Remove China's faith boost when reaching classical era (#8410)
Removes the instant faith boost upon reaching Classical era from China's Unique ability. This is to match Civ5 again and because it probably wasn't supposed to be there in the first place.
2023-01-18 16:38:15 +02:00
Yair Morgenstern
1b497c6941 chore: More civinfo cleanup 2023-01-18 16:07:04 +02:00
Yair Morgenstern
a5a50a30e1 chore: More civinfo cleanup 2023-01-18 16:02:21 +02:00
Yair Morgenstern
e4fd6ff069 chore: More civinfo cleanup 2023-01-18 15:57:26 +02:00
Yair Morgenstern
e272a1408d chore: Removed turn management functions from CivInfo 2023-01-18 15:51:25 +02:00
Yair Morgenstern
e8f54cc2f5 chore: File reorg 2023-01-18 15:25:25 +02:00
Yair Morgenstern
5279a11c2f chore: File reorg 2023-01-18 15:17:32 +02:00
Yair Morgenstern
2bd07652b1 chore: removed city state functions from civinfo 2023-01-18 15:05:15 +02:00
Yair Morgenstern
bdc239fd34 chore: moved statsForNextTurn and happiness transients into civ stats 2023-01-18 14:49:25 +02:00
Yair Morgenstern
1ae75f22be Better indication of cached-updating functions for civinfo 2023-01-18 13:35:01 +02:00
Yair Morgenstern
002dd951f6 Displayed Great Person point requirements always take game speed into account 2023-01-18 13:09:10 +02:00
Yair Morgenstern
48bf588b48 Conditioned trigger uniques do not 'go off' without the trigger (e.g. when tech researched, building built) 2023-01-18 10:40:47 +02:00
Yair Morgenstern
cfca929e73 Resolve #8403 - global alerts not translated properly 2023-01-18 10:32:14 +02:00
itanasi
b84290de1b
Refactor Cannot Move Unique (#8168)
* Add buildCheck flags

* Catch issues in Swap Units

* Move all code to movement code

* Add back in Red Attack Range for Air Units

* Remove useless parameter
Be more specific for Air Attack range highlight
2023-01-18 10:25:33 +02:00
Yair Morgenstern
62c03d9545 4.4.2 4.4.2 2023-01-17 23:06:45 +02:00
Yair Morgenstern
e758c9bad7
Version rollout (#8401)
* Bump version and create initial changelog entry

* Update Catalan.properties (#8397)

* Update German translation (#8392)

* Update Italian.properties (#8391)

* Patch 1 (#1) (#8390)

* New Hungarian translations of descriptions

Edited entries are:
StartWithCapitalLetter
Fastlane_short_description
Fastlane_full_description

* Fixed Catalan translation error

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: MartinP <mape6@posteo.de>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
2023-01-17 23:05:08 +02:00
Yair Morgenstern
68daac5660 Advanced game options hidden by default for faster initial game
Better alignment on new game screen for options and mods
2023-01-17 22:30:24 +02:00
Yair Morgenstern
0ada7c476e Fixed broken test, faster local tests 2023-01-17 21:49:12 +02:00
Yair Morgenstern
be161d8839 Better docs for Trigger Conditions 2023-01-16 23:13:08 +02:00
Yair Morgenstern
509d179d19 War -> war with major civ 2023-01-16 23:11:17 +02:00
Yair Morgenstern
2185036682 Trigger upon declaring friendship 2023-01-16 23:07:31 +02:00
Yair Morgenstern
d07c77fa2b Added building trigger with city filter 2023-01-16 23:02:48 +02:00
Yair Morgenstern
239a6e238f Added religion triggers 2023-01-16 22:58:46 +02:00
Yair Morgenstern
1c64844c1e Added trigger conditional for constructing building 2023-01-16 22:51:37 +02:00
Yair Morgenstern
7c52e25a1d Added trigger conditional for capturing city 2023-01-16 22:39:52 +02:00
Yair Morgenstern
a045114dc6 Added trigger conditional for entering era 2023-01-16 22:28:42 +02:00
Yair Morgenstern
3f3235c1af Actually no 2023-01-16 22:07:05 +02:00
Yair Morgenstern
f89c2330aa Conditional triggers now work with timed uniques 2023-01-16 22:03:17 +02:00
Yair Morgenstern
6d8ea49b23 Added 'upon entering golden age' trigger 2023-01-16 21:22:40 +02:00
Yair Morgenstern
358f01079c Added 'upon adopting policy' trigger 2023-01-16 21:20:14 +02:00
Yair Morgenstern
2593c35e30 Added 'upon declaring war' trigger 2023-01-16 21:13:40 +02:00
Yair Morgenstern
cbd7f7ac5c Added trigger conditions framework! 2023-01-16 21:05:59 +02:00
Yair Morgenstern
83f5784f1e old unique deprecation 2023-01-16 19:35:46 +02:00
Yair Morgenstern
d49fdfc9ff Great prophets do not spawn to pantheons that cannot become religions 2023-01-16 17:54:55 +02:00
Yair Morgenstern
59a7300c43 Reverted Himeji Castle change - see #6131 2023-01-16 15:43:33 +02:00
Yair Morgenstern
f6ddd71504 RTL language support in very first paragraph of translation docs, so as not to waste people's time 2023-01-16 15:32:40 +02:00
Yair Morgenstern
879a5b230f Resolved #8387 - Fixed Reliquary belief
Got rid of multiple uniques with the same text
2023-01-16 13:05:11 +02:00
Yair Morgenstern
fe1d258c05 4.4.1 4.4.1 2023-01-15 23:43:28 +02:00
Yair Morgenstern
9d149fb2cf
Version rollout (#8386)
* Bump version and create initial changelog entry

* Update French.properties (#8385)

* Provide missing Ukrainian translations (#8384)

Co-authored-by: Kostiantyn Kolesnichenko <mormat.iam@gmail.com>

* Update Korean.properties (#8380)

* Updated Brazilian_Portuguese.properties (#8379)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Kostiantyn Kolesnichenko <test9@mormat.name>
Co-authored-by: Kostiantyn Kolesnichenko <mormat.iam@gmail.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
2023-01-15 23:36:32 +02:00
Yair Morgenstern
6df871a8bc Bonus damage additive
Fixed 'melee attack from 2 tiles away'
2023-01-15 22:51:29 +02:00
vegeta1k95
280d3da933
Preparation for Tactical AI Rework: analysis map, domination zones (#8381)
* Preparations for AI Rework: tactical analysis map, tactical domination zones, city distances

* Iteration whole tilemap -> iteration 4-tile rings around cities

* Optimize iteration

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-15 11:24:54 +02:00
Yair Morgenstern
864145acbb Differentiated attackable from visible tiles per Civ V 2023-01-15 11:19:32 +02:00
Yair Morgenstern
31acb7e469 Tiles 1 step out of bounds of visibility are visible if they're higher than current tile 2023-01-15 11:05:19 +02:00
Yair Morgenstern
d1a9caaa88 New tile visibility framework! 2023-01-15 10:54:41 +02:00
Yair Morgenstern
924dbf70d0 Added framework for tile visibility testing 2023-01-15 08:05:43 +02:00
Yair Morgenstern
c956293fec Resolved health bar overflow problems 2023-01-15 07:37:59 +02:00
Yair Morgenstern
b5281e20c9 4.4.0 4.4.0 2023-01-14 21:27:11 +02:00
Yair Morgenstern
4a8b949df8 Resolve #8371 - prioritize pathfinding direction 2023-01-14 21:22:26 +02:00
itanasi
22f9936a34
Add Transform Action for mods (#8120)
* Initial version of code

* Enable cost=0 for buttons

* Add Conditional to Transform

* Fix translation file

* Add icon
Allow other Conditionals

* Updated icon

* Add credit

* switch hotkey

* Fix icon

* Remove Conditional Costs

* Remove vestigal Stats costs for Transform

* Minor cleanup
2023-01-14 20:43:48 +02:00
Yair Morgenstern
9fee185f5d
Version rollout (#8377)
* Bump version and create initial changelog entry

* Update Spanish.properties (#8370)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
2023-01-14 20:37:22 +02:00