11794 Commits

Author SHA1 Message Date
yairm210
574962fc90 Added AbsoluteUnits Settler-Ancient era by Basil 2025-02-26 21:46:04 +02:00
SeventhM
7fbdffed7c
Fix free populatoion buildings not working when settling cities (#12988) 2025-02-26 21:07:03 +02:00
General_E
3e6cb2c80e
Change save promotion from unitType to just baseUnit (#12960)
* 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

* updated version from unitType to BaseUnit

* updated variable name

* Added unitType to reduce the xp cost of promotions for all units in a civ

This was a unique type that the Zulu have in civ 5

* updated name

* remove UniqueTarget.FollowerBelief

* Experience from to XP

* fix ?

* XP

* change it back to Experience because it didn't want to build on git :(

* back to XP then

* update auto promotion and fix negative XP on unit

* Fix build issues and remove the XPForPromotionModifier from xpForNextPromotion and  xpForNextNPromotions

* remove XPForPromotionModifier

* re added Statuses and remove duplicate comment

* remove some white space and 1 used import "com.unciv.ui.components.extensions.toPercent"

* remove unique from uniques.md
2025-02-26 21:06:53 +02:00
yairm210
733df5f282 Add .ico file to Windows distribution 2025-02-26 21:05:16 +02:00
yairm210
d03414e85e Update .ico files, set taskbar icon icon for MacOS 2025-02-26 17:16:00 +02:00
yairm210
86b6fbf7bc Resolved #12521 - Added 'tile setpillaged' to dev console commands 2025-02-24 09:58:55 +02:00
yairm210
a14c78f28d Resolved #12993 - Can no longer duplicate units by spamming upgrade button 2025-02-23 22:57:43 +02:00
yairm210
ae01a80a9d Resolved #12991 - "upon gaining the [promotion] promotion" activates when gaining the promotion for free as well as during promotion 2025-02-23 22:44:18 +02:00
yairm210
7dfd9f9188 Added statuses to promotion screen 2025-02-20 22:25:34 +02:00
yairm210
7a35388e7a . 2025-02-20 21:28:25 +02:00
yairm210
f872150da4 Hide 'hidden in world screen' resources from overview tab as well 2025-02-20 19:31:40 +02:00
yairm210
427abfa530 Hopefully solve ghost 'duplicate resource' bug 2025-02-20 19:17:57 +02:00
yairm210
9ba855d627 4.15.12 4.15.12 2025-02-19 16:42:01 +02:00
Yair Morgenstern
358602991a
Version rollout (#12975)
* Bump version and create initial changelog entry

* Update Catalan.properties (#12972)

* Update Brazilian_Portuguese.properties (#12970)

* Update Dutch.properties (#12968)

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update Dutch.properties

* Update French.properties (#12966)

* Update Spanish.properties (#12962)

* translate new lines (#12959)

* Update Italian.properties (#12958)

* galician update (#12957)

* Update Galician.properties

* Update Galician.properties

* Update Indonesian.properties (#12956)

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
Co-authored-by: EmperorPinguin <99119424+EmperorPinguin@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Nahuel Geno <142752140+NahuelGeno@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>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
2025-02-19 16:26:48 +02:00
EmperorPinguin
878f4bcc12
Update ruleset uniques Experience -> XP (#12976)
* Update Buildings.json

* Update Policies.json

* Update Buildings.json

* Update Policies.json
2025-02-19 16:26:05 +02:00
EmperorPinguin
e3e1d0fb49
Move Spy tech steal modifiers to mod constants (#12964)
* Update ModConstants.kt

* Update Spy.kt

* Update ModConstants.kt
2025-02-19 13:09:14 +02:00
yairm210
4973488b2e chore: rename "experience" with "XP" for unified naming 2025-02-18 23:34:25 +02:00
yairm210
86522371b9 "Abundant resources" with mods with loads of resources no longer crash 2025-02-16 18:45:53 +02:00
yairm210
db6bfa8bfe 4.15.11-patch1 4.15.11-patch1 2025-02-15 18:18:40 +00:00
Yair Morgenstern
bb2c181635
Fixed golden age points (#12967) 2025-02-15 20:18:29 +02:00
yairm210
513c29339e Text fix 2025-02-14 10:46:20 +02:00
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