Commit Graph

5461 Commits

Author SHA1 Message Date
f89c2330aa Conditional triggers now work with timed uniques 2023-01-16 22:03:17 +02:00
6d8ea49b23 Added 'upon entering golden age' trigger 2023-01-16 21:22:40 +02:00
358f01079c Added 'upon adopting policy' trigger 2023-01-16 21:20:14 +02:00
2593c35e30 Added 'upon declaring war' trigger 2023-01-16 21:13:40 +02:00
cbd7f7ac5c Added trigger conditions framework! 2023-01-16 21:05:59 +02:00
83f5784f1e old unique deprecation 2023-01-16 19:35:46 +02:00
d49fdfc9ff Great prophets do not spawn to pantheons that cannot become religions 2023-01-16 17:54:55 +02:00
879a5b230f Resolved #8387 - Fixed Reliquary belief
Got rid of multiple uniques with the same text
2023-01-16 13:05:11 +02:00
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
6df871a8bc Bonus damage additive
Fixed 'melee attack from 2 tiles away'
2023-01-15 22:51:29 +02:00
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
864145acbb Differentiated attackable from visible tiles per Civ V 2023-01-15 11:19:32 +02:00
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
d1a9caaa88 New tile visibility framework! 2023-01-15 10:54:41 +02:00
924dbf70d0 Added framework for tile visibility testing 2023-01-15 08:05:43 +02:00
c956293fec Resolved health bar overflow problems 2023-01-15 07:37:59 +02:00
b5281e20c9 4.4.0 2023-01-14 21:27:11 +02:00
4a8b949df8 Resolve #8371 - prioritize pathfinding direction 2023-01-14 21:22:26 +02:00
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
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
682d1a194d Fixed battle table uneven when only one side has modifiers 2023-01-14 20:19:43 +02:00
1f0fd6ab1f "Street fighter" style of health bars 2023-01-14 20:13:43 +02:00
b6215690b7 Resolved #8368 - Different colors for 'definite damage' and 'possible damage' 2023-01-14 20:04:11 +02:00
15d8ed8f74 Resolved #8375 - Consider tile happiness for start-of-turn computations 2023-01-14 19:40:10 +02:00
e9364582b5 Resolved #8373 - Fixed sleep not showing on units in tiles with improvements in repair 2023-01-14 18:59:25 +02:00
a3b0d045c6 #8372 - Fixed Great Person speed modifier 2023-01-14 18:51:39 +02:00
8551b9c725 Civilians no longer 'attack' on rightclick 2023-01-13 09:35:12 +02:00
684239a8de Bump version and create initial changelog entry (#8364)
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
2023-01-12 20:20:31 +02:00
969579957f Better bonus resource color 2023-01-12 18:59:54 +02:00
47e1ee1bc7 Resolved #8360 - Game speed affects additional aspects 2023-01-12 18:52:01 +02:00
5c4798442d Notification scroll categories improved 2023-01-12 18:01:19 +02:00
d9a51fc566 Bonus resources light gray 2023-01-12 17:51:37 +02:00
9eda2d2564 Color suggestions now match json format for easy copy-paste 2023-01-12 15:19:44 +02:00
065fce6a97 Fixed some warnings (#8362)
* fix 2 warnings

* circleImageLocation not used

* isWorldScreen removed

NOTE: this parameter isn't used but TechButton.kt:72 does sent it
2023-01-12 14:26:58 +02:00
d605c41ae0 Fixed city screen bug for pillaged improvements 2023-01-12 12:56:52 +02:00
fa3296d3bc Fixed nation contrast issues 2023-01-12 10:19:20 +02:00
2251824d94 Recognize uncontrasting colors for nations according to WCAG guidelines, and suggest tinted versions to conform 2023-01-12 10:06:37 +02:00
7edfd497db Notifications sorted by category 2023-01-11 23:37:40 +02:00
ef78cbc7e3 Added Category to all notifications 2023-01-11 23:15:48 +02:00
fb4029e5d4 Version rollout (#8358)
* Bump version and create initial changelog entry

* Update Traditional_Chinese.properties (#8356)

Fullwidth "(" and halfwidth  "(" are both exist at this file. Not sure which one to choose. Need to clean up. Adjust some translate to match each other.

* Update Filipino.properties (#8355)

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update Filipino.properties

* Update French.properties (#8349)

* Complete Ukrainian transation (#8348)

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

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: LibertyBell <72909724+iamlibertybell@users.noreply.github.com>
Co-authored-by: Shann Aurelle Ripalda <shannaurelleg@gmail.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>
2023-01-11 19:10:40 +02:00
5094fc8816 Show numbers on attack damage, show final strength comparison 2023-01-11 12:45:29 +02:00
b183297a5f Show numbers on attack damage 2023-01-11 12:24:00 +02:00
20f64e2ce5 Damage gets randomness as input 2023-01-11 12:06:47 +02:00
8fa0343568 Fix foreign units flags fading (#8352)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-10 09:18:04 +02:00
a507a0c15e Fix AI being able to bombard non-visible tiles + optimizations (#8353)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-10 09:17:33 +02:00
7fe2b9e99b Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
8cd9bca7bf MoveTo image visible - #8350 2023-01-09 22:17:28 +02:00
0006aaef55 Modding: allow custom ResourcePortraits (#8330)
* Modding: allow custom ResourcePortraits

* Modding: big generification of the icons/portraits mechanism

* Resolve conflict

* Fix background fallback, remove dimming of improvement icons

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-09 21:03:00 +02:00
a7b45251d4 Version rollout (#8347)
* Bump version and create initial changelog entry

* Update Italian.properties (#8345)

* Update German translation (#8344)

* Update Catalan.properties (#8342)

* Update Korean.properties (#8341)

* Update Korean.properties

* Update Korean.properties

* Update Korean.properties

* Update Brazilian_Portuguese.properties (#8340)

* Update Simplified_Chinese.properties (#8339)

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: MartinP <mape6@posteo.de>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Yattong the Mackerel <saud2410@naver.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: xk730 <40309144+xk730@users.noreply.github.com>
2023-01-09 19:30:31 +02:00
69d4772f0d Do not display "war against" quest to the civ that the war is against
Do not allow liberating city-states you were at war with
2023-01-09 19:27:53 +02:00