11573 Commits

Author SHA1 Message Date
yairm210
6d278bc2fe AI: choose policy branch at random between those with the least remaining policies 2025-02-13 23:25:40 +02:00
yairm210
76320bdc44 4.15.11 4.15.11 2025-02-13 21:22:09 +02:00
Yair Morgenstern
93701b80a1
Version rollout (#12955)
* Bump version and create initial changelog entry

* Update Simplified_Chinese.properties (#12954)

* Add files via upload

* Update Simplified_Chinese.properties

* Update Spanish.properties (#12953)

* Update Thai.properties (#12950)

* Update Thai.properties

* Update Thai.properties

* A little help with the translation into pt-br (#12948)

* A little help with the translation into pt-br

* Update Brazilian_Portuguese.properties

Fixed a spell error

[outUnit] to [ourUnit]

It should work correctly now

* Update Polish.properties (#12947)

* Update French.properties (#12944)

* Update Indonesian.properties (#12942)

Translation and corrections.

* Update Croatian translation (#12940)

* translate new lines

* corrections

* Update Italian.properties (#12938)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: AutumnPizazz <114050365+AutumnPizazz@users.noreply.github.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: Stevekun321 <95151822+Stevekun321@users.noreply.github.com>
Co-authored-by: -Kayk_Caputo- <49660516+KaykCaputo@users.noreply.github.com>
Co-authored-by: Lesiakower <125187776+Lesiakower@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2025-02-13 21:19:30 +02:00
General_E
2a8edb3af0
Added feature to save unitType promotion. (#12894)
* Settler settle best tile when not escort and dangerous Tiles instead of running away

Settler unit will now settle on best tile in dangerous Tiles without escort instead of running away.

* Update WorkerAutomation.kt

* Update SpecificUnitAutomation.kt

* Update WorkerAutomation.kt

* Update SpecificUnitAutomation.kt

* Now city states get mad when you steal their Lands

* new version

* change to getDiplomacyManagerOrMeet

* added text to template.properties and changed AlertPopup.kt

* Update template.properties

* with period at the end :b

* add flag now

* Made Option to declare war when a city state is bullied unavailable

* added option to change the Maximum Autosave turns stored

* remove print

* change letter

* should fix issue with building test

* update with changes

* Added UniqueType.FoundPuppetCity

with "Founds a new puppet city" in "uniques" of an unit in Units.json.
Making it so you can now settle a puppet city.

* Added save promotion

* Updated for PR

* Updated with requested changes

* Removed unnecessary check

* updated PR

* Update PromotionPickerScreen.kt to save promotion cells too

* change name and added !

* updated name of variable
2025-02-13 20:34:58 +02:00
PLynx
34b281ebfc
Add "Will be destroyed when pillaged" unique (#12943)
* Add Will be destroyed when pillaged unique

* Applied the suggestions of yairm210
2025-02-13 20:34:32 +02:00
yairm210
5dc4a28707 Changed stockpile names to be human readable 2025-02-13 20:31:59 +02:00
yairm210
95c9018b89 Units with logistics that attacked but did not move, no longer heal 2025-02-13 12:17:11 +02:00
yairm210
48e121a2a8 Fix automated road connections going through impassible tiles 2025-02-13 12:14:11 +02:00
Yair Morgenstern
97d7152a5d
Update README.md 2025-02-12 09:28:37 +02:00
yairm210
2990454f23 chore: Extract NeighborDirection to another file 2025-02-12 09:20:32 +02:00
yairm210
3393363172 Resolved #12941 - Applied text changes to UI elements 2025-02-12 09:19:38 +02:00
yairm210
df72363bf0 UI: Fixed edges for edge tiles on word wrap maps 2025-02-12 09:13:29 +02:00
yairm210
8f5979ac2a 4.15.10 4.15.10 2025-02-11 16:43:18 +02:00
yairm210
4e972fed41 Resolved #12935 - Replaced "worked" with "improved" for building resource requirements 2025-02-11 16:39:40 +02:00
Yair Morgenstern
0473bb46cf
Version rollout (#12937)
* Bump version and create initial changelog entry

* Update Latin translation (#12933)

* Update Latin translation

* Translate new uniques

* Update Portuguese.properties (#12931)

* Update Spanish.properties (#12923)

* Update Spanish.properties

* Update Spanish.properties

Fix with help of @jjesus-dev

https://github.com/yairm210/Unciv/pull/12923#issuecomment-2644474622

* Update French.properties (#12920)

* Update Ukrainian translations (#12919)

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

* Update Indonesian.properties (#12918)

* Update Croatian translation (#12917)

* Translate new lines and corrections

* minor corrections

* corrections of building names

* few grammatical corrections

* few corrections and clarity

* GB text correction for clarity

* Update Italian.properties (#12916)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: sls1005 <90055573+sls1005@users.noreply.github.com>
Co-authored-by: murilozinkkkj <78273099+murilozinkkkj@users.noreply.github.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2025-02-11 16:34:18 +02:00
itanasi
83b62f8c0a
Merge up to latest master (#12927) 2025-02-11 16:23:32 +02:00
itanasi
6cc882e253
Add Shuffle Civ option (#12932)
* Add Shuffle checkbox

* Make one line
2025-02-11 16:23:23 +02:00
EmperorPinguin
f05b70433f
Update CityConstructions.kt (#12936) 2025-02-11 16:23:11 +02:00
yairm210
09b9e8a8c8 modding: Validate tech row value 2025-02-10 12:00:54 +02:00
yairm210
6e1a406024 UI: More visible railroads 2025-02-09 18:36:45 +02:00
yairm210
f5cfe80e53 Display unexplored tiles 1-tile out from explored tiles 2025-02-09 14:45:48 +02:00
yairm210
e80e0c6939 Resolved #12930 - Retain zoom when moving between different city screens 2025-02-09 08:17:53 +02:00
yairm210
b25575f99c 4.15.9-patch1 4.15.9-patch1 2025-02-07 14:41:25 +00:00
Yair Morgenstern
c0b1baa54d
Revert "Add small Skip/Cycle Button (#12845)" (#12924)
This reverts commit 26c2a8ccdbf5c2e54e2b7af374187685ebe2637a.
2025-02-07 16:41:17 +02:00
yairm210
f90551eb71 Resolved #12903 - Stats in notifications no longer have number format 'baked in' 2025-02-06 23:27:00 +02:00
yairm210
552f9526c5 Map no longer makes map options left-right scrollable (hopefully) 2025-02-06 23:22:18 +02:00
yairm210
59bde1d099 Add missing translations - see #6131 2025-02-06 22:00:14 +02:00
yairm210
749e154f5e Only show 'move spies' button if there are places to move spies 2025-02-06 21:53:47 +02:00
yairm210
5f025a1550 4.15.9 4.15.9 2025-02-06 10:40:18 +02:00
Yair Morgenstern
bae997f087
Version rollout (#12915)
* Bump version and create initial changelog entry

* Update Persian_(Pinglish-UN).properties (#12912)

- Added and fixed some translations

* Update Hungarian.properties (#12911)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Ilia <81512402+ilia-abbasi@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
2025-02-06 10:36:49 +02:00
itanasi
26c2a8ccdb
Add small Skip/Cycle Button (#12845)
* Add UnitWaitButton

* Manage button visibility

* Update notifications spacers

* fix spacing when StatusButtons wrap

* "Wait" icon changed to a Watch

* Update Tutorials "Idle Units"

* Fix up small button to toggle behavior and only show when unit selected

* Update Big Button functionality

* Big Button always Next Unit

* Rename buttons to Skip

* Fix in merge

* Fix icon

* Civilopedia updates

* Merge sulai's changes. Add credits. More space on icon

* Fix civilopedia

* Rework StatusButtons as Table to get alignments right

* sulai suggested fixes

* Add Settings toggle for small button

---------

Co-authored-by: M. Rittweger <m.rittweger@mvolution.de>
2025-02-06 10:36:16 +02:00
itanasi
ff4e1b51b8
Settling Suggestion Improvements (#12781)
* Split River eval for AI vs Human. Add initial distance penalty

* Human eval doesn't use unseen resources
Wider eval for humans

* Remove human eval
Set recommended spots to larger search

* Cleanup Constants

* Line cleanup

* Remove hidden resource filter
Lower threshold back to 50

* Threshold

* Penalty to 3%/distance
2025-02-06 10:35:14 +02:00
SeventhM
6754ca5ffa
Add turn start unique (#12914) 2025-02-06 10:35:03 +02:00
yairm210
21ba03edb5 Added 'Example map' text on example map in new game screen 2025-02-06 10:34:47 +02:00
yairm210
1972997e9d Generate map tab in map editor properly scrollable 2025-02-06 10:29:59 +02:00
yairm210
5c3251f17b Map example for new games is *only an example* not the real map 2025-02-06 10:11:15 +02:00
yairm210
0dfed62cfc perf(render): Improved yield render performance for modded images 2025-02-05 11:20:25 +02:00
yairm210
9bc468eea9 Map example map generation async 2025-02-05 11:08:01 +02:00
yairm210
3d8b6e0978 Document rendering performance boost w/circle 2025-02-05 09:21:14 +02:00
yairm210
bdf2d43176 perf(render): Minimized texture swaps for improvements/resources 2025-02-05 09:16:59 +02:00
yairm210
c2e83c9ee9 Added missing attack notification translations 2025-02-05 09:03:05 +02:00
yairm210
429229ba25 Fixed unit statuses causing game to be unloadable
Unit status list deprecated
2025-02-04 19:33:24 +02:00
yairm210
7160f7f89e 4.15.8 4.15.8 2025-02-04 11:25:44 +02:00
Yair Morgenstern
eef5a407d4
Version rollout (#12910)
* Bump version and create initial changelog entry

* Update German translation (#12909)

* Update Spanish.properties (#12907)

* Update Thai.properties (#12905)

Add more Thai translated

* Update French.properties (#12902)

* Update Indonesian.properties (#12901)

* Update Croatian translation (#12900)

* translate new line

* minor corrections

* Update Brazilian_Portuguese.properties (#12898)

* Update Italian.properties (#12897)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: mape6 <mape6@posteo.de>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@users.noreply.github.com>
Co-authored-by: Tanetpon phiewluang <61853754+AikaChan132@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: metablaster <44481081+metablaster@users.noreply.github.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
2025-02-04 10:43:26 +02:00
EmperorPinguin
1d364ea96b
Update MapRegions.kt (#12908)
* Update MapRegions.kt

* Update MapRegions.kt
2025-02-04 10:20:06 +02:00
yairm210
9bff4cddf5 Update map when changing advanced parameters as well 2025-02-04 10:17:12 +02:00
yairm210
cfc1131d81 "Triggers a global alert upon build start" works for units 2025-02-04 09:30:07 +02:00
yairm210
d868a2a87b Added generated map type preview :D 2025-02-03 22:27:31 +02:00
yairm210
19dedcfacb UX: new screen game options doesn't need left-right scrolling on certain screen sizes 2025-02-03 22:11:11 +02:00
yairm210
96efa119cb UX: new screen map options doesn't need left-right scrolling on certain screen sizes 2025-02-03 22:04:52 +02:00