Commit Graph

216 Commits

Author SHA1 Message Date
8c24926476 Modding: global alert available as triggerable for all objects 2023-03-05 12:53:02 +02:00
253c669ba9 Added 'after which this unit is consumed' for units whose only purpose is limited actions 2023-03-03 16:37:11 +02:00
608e0dfb71 Added limited usage for actions! 2023-03-03 14:47:50 +02:00
c3a4a18bba Replace unit action for timed golden ages with a generic triggered unique
Triggered uniques display side effects
2023-03-03 14:13:00 +02:00
06fa2c2378 Added 'for [amount] movement' unit action modifier 2023-03-02 21:02:34 +02:00
5e85c3ca72 "by consuming this unit" is better 2023-03-01 16:35:06 +02:00
ae501c3750 'create improvement' action, <consuming this unit> and <as an action> modifiers 2023-03-01 16:09:44 +02:00
66faeb0d15 Preparation for unit action modifiers 2023-03-01 15:26:54 +02:00
44399e770c Added triggered uniques to grant specific tech / policy 2023-02-27 10:58:08 +02:00
8361d68452 Added 'upon ending turn in tile' unit trigger 2023-02-26 23:41:09 +02:00
86a63ac578 'upon conquering' is a condition not a triggered unique 2023-02-26 22:33:00 +02:00
c1df32b4e7 Add new uniques to wiki 2023-02-26 22:15:15 +02:00
090c421f9b Introduced "upon defeating [unitFilter] unit" trigger 2023-02-26 20:31:13 +02:00
ad9942c532 4.5.0 2023-02-25 21:03:52 +02:00
5d80f50d93 Show UnitTypes in Civilopedia (#8729)
* Show UnitTypes in Civilopedia

* Show UnitTypes in Civilopedia - polish
2023-02-25 20:40:59 +02:00
3278cbc904 4.4.19 2023-02-23 23:11:30 +02:00
5d07fd981b Allow filters in the ModOptions "ToRemove" lists (#8730)
* Allow "*" wildcard in the ModOptions "ToRemove" lists

* Allow filters in the ModOptions "ToRemove" lists
2023-02-23 22:40:47 +02:00
a31e74dee2 Add "Custom Fonts" section to mod docs 2023-02-23 00:26:37 +01:00
06292bec64 Fix unique parameter type 2023-02-22 09:54:10 +02:00
7b1a5e296c modding: Added "upon gaining a [unitFilter] unit" trigger condition 2023-02-22 09:32:50 +02:00
2e5d1bf591 Resolved #8435 - rivers remain visible after founding city 2023-01-22 19:33:27 +02:00
39e88d3a1a Added "upon discovering a Natural Wonder" trigger - @letstalkaboutdune 2023-01-22 19:05:17 +02:00
4beaaadfc8 Added conditionals for above and below resource amounts 2023-01-21 23:36:53 +02:00
be161d8839 Better docs for Trigger Conditions 2023-01-16 23:13:08 +02:00
509d179d19 War -> war with major civ 2023-01-16 23:11:17 +02:00
a045114dc6 Added trigger conditional for entering era 2023-01-16 22:28:42 +02:00
f89c2330aa Conditional triggers now work with timed uniques 2023-01-16 22:03:17 +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
879a5b230f Resolved #8387 - Fixed Reliquary belief
Got rid of multiple uniques with the same text
2023-01-16 13:05:11 +02:00
b5281e20c9 4.4.0 2023-01-14 21:27:11 +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
37cfc12a64 4.3.18 2023-01-08 15:11:45 +02:00
4d8f056df7 Rework of PromotionPicker UI (#8325)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-08 11:45:51 +02:00
fe6c19532a UI: Better unit table 2023-01-07 22:12:31 +02:00
0301cc89d4 Modding: allow for custom TechPortraits (#8300)
Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2023-01-03 19:48:08 +02:00
d20f8a53f8 Validate unique parameters for mods 2023-01-01 15:55:41 +02:00
a751c8e3dc Fixed TechButton progress-bar padding, less rounded corners for buttons. (#8260)
* Fixed TechButton progress-bar padding, less rounded corners for buttons.

* Removed extra padding on the right

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-29 13:52:52 +02:00
be573f2b76 Big rework of City plates (#8239)
* Big rework of City plates

* New city plates design, new status icons

* A little bit of padding for construction icon

* Better border for defence counter

* Better border for defence counter

* Solid colored icons

* Solid colored icons

* Credits

* Credits

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-28 17:32:26 +02:00
0c58488e42 4.3.12 2022-12-24 20:02:11 +02:00
2bc91f1216 Rework of City Screen: new Great People list + misc changes (#8180)
* Rework of City Screen: new Great People list + misc changes

* Added a bit of padding

* Buildings are united under one tabs, GP font icons replaced by tinted UnitIcons

* Fix color of separators

* Big update to "Detailed stats" UI

* Rebuild pngs

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2022-12-21 11:46:35 +02:00
cf8e6b39e2 4.3.10 2022-12-18 19:42:45 +02:00
09260f4d4d added mod topics to wiki (#8159) 2022-12-17 18:35:43 +02:00
0d19bf9cef Better icons for 'next turn' button
@vegeta1k95 sorry about this, but the way this works without resizing is simply not up to the standards of the current UI :/
2022-12-16 11:15:36 +02:00
a134242487 Units/Buildings can now be given optional Portraits to be displayed instead of flags. (#8107)
* Units can now be given optional Portraits to be displayed everywhere (except world map) instead of unit Flags.

* Add section to wiki for adding Unit Portraits

* Generify portrait functions

* Small nitpicks fixed

* Reverted one change

* Fix docs

* Fix docs

Co-authored-by: tunerzinc@gmail.com <vfylfhby>
2022-12-11 22:58:11 +02:00
c9ed9d5d74 modding: Double Happiness from Natural Wonders -> [stats] from every known Natural Wonder 2022-12-02 11:50:11 +02:00
1eb1976c4e Made yields smaller so heavy yields looks better on tiles 2022-11-28 21:45:56 +02:00
1b8c98eed3 Resolved #8050 - "Occurs at temperature between [amount] and [amount] and humidity between [amount] and [amount]" now applicable to resources 2022-11-27 20:02:05 +02:00
99b6a2254d Changes to moddable UI (#8055)
* Replaced all occurrences of deprecated NinePatch

function calls

This makes a lot of UI elements already moddable but documentation is still missing

* Added "How to create a UI skin for Unciv" to wiki

* Added image

* Fixed two typos and updated directory image

Old image was missing a folder

* Added clear color to skin config

to support picker screen backgrounds

* Removed deprecated functions in ImageGetter

* Fixed lowercase ui element names

they should always be UpperCamelCase to be consistent

* Added UiElementDocsWriter

to modify the docs for UI elements automatically

* Added default shape to UiElementsDocsWriter.kt

* Revert unintended merge errors

* Rerun file auto generation
2022-11-27 19:14:56 +02:00