Commit graph

489 commits

Author SHA1 Message Date
Thyrum
95bcb131f5 Update to 4.14.16
CPU performance improvements

UI:
- Better 'close unit table' button
- Better options checkboxes, slider buttons, multiplayer server UI  - By Toxile

Bugfixes:
- Buy button active when civ can purchase items in puppets
- Paused music no longer resumes on game resume

By SeventhM:
- Unified unique for gaining stats/stockpiles
- Pantheon cost respects game speed modifer

AI:
- Better Food Weights for citizen management - By itanasi
- Prevent incorrect settler retreat - By EmperorPinguin
2024-12-16 13:22:57 +00:00
Thyrum
734440ba48 Update to 4.14.15
UI improvements:

- Tile Info Table
- Changed Black to Charcoal
- Unit description table

Fixed cities built on pillages roads colored red

Fixed scroll position indicator

Fixed Thai diacritic support

Added 'exit' button in world screen popup menu

Fixed AI religion belief assessment

Increase starting Luxury amount to match Civ 5 - By SeventhM

UI fixes: dividers, checkbox-to-text spacing, multiplayer tab connection button  - By Toxile (new contributor!)
2024-12-14 17:04:58 +00:00
Thyrum
cbd0fd05f8 Update to 4.14.14
Automated air units respect 'Cannot move' unique

Resolved rare New Game Screen 'application not responding' errors

AI:
- Don't pick most expensive tech as free tech, if it's marked as '0 weight for AI decisions'
- Decreased base Fort value to not build it instead of useful improvements

Remove images of expended units

Display city state type name for battle bonuses

'Unit built' notification selects the built unit
2024-12-09 17:07:38 +00:00
Thyrum
842544f1df Update to 4.14.13-patch1 2024-12-06 10:30:20 +00:00
Thyrum
a5834170b4 Update to 4.14.13
SIGNIFICANT memory performance improvements for large maps

'Stats from tiles' uniques work with terrain + improvement filter combos

Layout for resource icons in city screen when in resistance - fixed

Remove server notifications - bad user experience

hexarealm: Fix Snow-Lake edges - By RobLoach
2024-12-05 20:46:02 +00:00
Thyrum
127f05f005 Update to 4.14.12-patch2 2024-12-03 14:54:49 +00:00
Thyrum
7aea78bc84 Update to 4.14.12-patch1 2024-12-03 14:45:45 +00:00
Thyrum
9ae97dfe5b Update to 4.14.12
Allow unit triggers to be used in unit-triggered events

Memory and rendering performance improvements

Solved ANRs while building crash screen

Spies assigned to cities moved to other civs are returned to hideout

Automated workers don't remove terrain features without the proper tech

Removed 'please' from Civ demands to make them more demand-y

Fix promotion uniques being ignored if it didn't match a promotion names  - By SeventhM

Notifications can link to URLs  - By touhidurrr
2024-12-02 18:27:46 +00:00
Thyrum
69d561ea5a Update to 4.14.11
Added Github + Discord icon links on main menu

City construction progress is reset when puppeting, not when annexing

Mods:
- Allow loading games where a buildings' 'replaces' has been removed
- Allow loading games with natural wonders that have been removed from mods
- Only add city ruins improvements if they exist in the ruleset

Added lake-land edge tiles - by legacymtgsalvationuser69544

Move Capital building function from city to civ  - By SeventhM
2024-11-27 21:34:04 +00:00
Thyrum
3f343c014b Update to 4.14.10
Fixed Flood Plains generation

Fixed crash when swapping while retreating

Added debug option to show tile image locations

Worker units do not try and swap with non-adjacent tiles

Better MP update error handling

Resolved crashes due to incorrect music state

Console cannot change player type for non-major civs or allow adding cities to spectator/barbarian
2024-11-26 07:08:06 +00:00
Thyrum
0e769f7007 Update to 4.14.9
CPU performance improvements

Uniques hidden from users do not show icons in tech tree

Disallow slashes in mp game names

Added more options for UI skin mods  - By GGGuenni

By SeventhM:
- Fix capital indicating uniques ignoring gamestate
- Fix tile defence uniques ignoring unit state
2024-11-21 17:57:45 +00:00
Thyrum
1a0be12b4c Update to 4.14.8
Avoid 'application not responding' errors on Android when attempting to start a multiplayer game

Avoid out of memory errors when updating multiplayer games

Don't reject constructions for missing stockpiled resource costs, AFTER you've already paid them

Memory performance improvements - By SeventhM

Growth changes - By itanasi
2024-11-19 07:52:36 +00:00
Thyrum
e51a7e0ce6 Update to 4.14.7
CPU performance improvements

Modding:
- Mod checker accepts civ filters as tile filters
- Great General unique works with conditionals
- Nat wonders land->water conversion no longer causes rivers on water tiles

Growth nullifying uniques do not nullify starvation

Removed Scenarios button, since the 'new game' screen handles scenarios better

Allow filter uniques to have conditionals and work with modifiers  - By SeventhM
2024-11-17 09:59:20 +00:00
Thyrum
d45c07be90 Update to 4.14.6-patch1 2024-11-14 11:59:13 +00:00
Thyrum
23895e3ac6 Update to 4.14.6
Rendering performance improvements

AI does not offer open borders trade if other side already has open borders

Don't allow trading away max gold/max gpt to multiple civs

Added 'unit remove all' console command

In trade, if one side has *negative* resources of a certain type, the resource on the other side is colored green
2024-11-13 14:30:10 +00:00
Thyrum
dfce6e60c4 Update to 4.14.5-patch1 2024-11-11 11:32:28 +00:00
Thyrum
49ca487995 Update to 4.14.5
Coast edge images for HexaRealm tiles by legacymtgsalvationuser69544 :)

Place edge images over terrains and under improvements, where possible

City-state unique units are not taken from civs within this game

Don't assume the city-state ally knows the civ that attacked the city-state

Modding:
- Comment text is displayed on event choices
- Don't allow triggers to decrease city population below 1

Added owned tiles countable - By PLynx01
2024-11-10 12:59:27 +00:00
Thyrum
c4a491a8fa Update to 4.14.4
Memory optimizations

AI: Use Great Artists for Golden Ages

modding: Added 'on [difficulty] difficulty' conditional

Avoid Growth and Food Ranking Improvements  - By itanasi
2024-11-06 13:10:32 +00:00
Thyrum
8ea2a02233 Update to 4.14.3
Fixed Wait action when auto unit cycle is disabled

Unresearchable techs not added when starting in advanced era

modding:
- Added validation to event uniques
- 'upon gaining/losing the [promotion] status' triggers correctly
- 'upon building a [improvementFilter] improvement' triggers correctly
- 'Becomes [terrainName] when adjacent to [terrainFilter]' accepts conditionals
2024-11-02 17:49:40 +00:00
Thyrum
50c6161bd0 Update to 4.14.2-patch1 2024-10-31 14:23:44 +00:00
Thyrum
fa2fa1e4b6 Update to 4.14.2
DoF popup requires choosing an option

Downgraded back to LibGDX 1.12.1 to solve Wayland and AWT issues

Resource uniques are initialized correctly

Memory performance improvements

Workers will repair pillaged Great improvement tiles - By Emandac

Avoid Growth blocks New Population - By itanasi
2024-10-31 08:44:12 +00:00
Thyrum
210dff550b Update to 4.14.1
Modding: 'upon gaining/losing the [promotion] status/promotion' triggers now work correctly

Allow AI to use perpetual culture/faith conversions

Added version number to main menu

By itanasi:
- New 'Guard' action for units that can retreat from combat
- Align Civilopedia on Idle Units and Wait command to current behavior
2024-10-28 18:44:30 +00:00
Thyrum
f62e1da61e Update to 4.14.0
Wait action selects next unit

By sulai:
- Better city screen buy button location
- Do not create resource notification for unresearched resources

Fix constructions that's always visible showing when belonging to another civ  - By SeventhM
2024-10-24 18:25:32 +00:00
Thyrum
912b2df540 Update to 4.13.19
Update mods even if we have cached data

Modding: Unit icon falls back to UnitTypeIcons/<unitType> successfully

Cities reduce tile movement cost to 1 (on e.g. hills), per Civ V

Add Specialists Tutorial - By itanasi

Add `<when espionage is enabled>` conditional  - By RobLoach

Allow purchasing wonders with gold when explicitly given a unique - By SeventhM
2024-10-21 19:26:17 +00:00
Thyrum
3c427cf4d1 Update to 4.13.18
Better AI decisions for policy branches

Modding:
- Allow fallback to 'UnitTypeIcons/$unitName' if 'UnitIcons/$unitName' does not exist
- Added unique-weighted decision for policy branches
- Better 'hidden when' uniques for disabled religion, victory types

Resolved rare crash when map contains improvements not in ruleset

Add unique to show construction when unbuildable - By SeventhM
2024-10-20 12:14:04 +00:00
Thyrum
70dd3e0a05 Update to 4.13.17
Mod management screen:
- Cache online mod list for fast loading
- Always allow mod search

Modding:
- Allow removing free policies
- Resolved crash on modded game with no capital city indicator

AI: Improved automated worker tile selection

Solve ANRs due to resuming music player which is in an unplayable state

Don't auto-replace holy sites in G&K - By EmperorPinguin
2024-10-15 21:59:29 +00:00
Thyrum
efd935c304 Update to 4.13.16
AI: Better rules to not build unit-carrying units

Units that can withdraw before melee do not do so when escorting civilian units

Modding:
- Filtering uniques are also checked for in unit types
- Added 'if [modFilter] is not enabled' conditional

UI: Free tech pickable in any way you enter the tech screen
2024-10-13 20:13:45 +00:00
Thyrum
d668045319 Update to 4.13.15
Fixed spies stealing multiple tech steals in one turn

Resolved new game ANRs in a better way

AI:
- Keep 'don't spread religion' promises better
- Greatly discourage attacking stronger enemies

Modding:
- Added 'Remaining [civFilter] Civilizations' as countable value
- Conditional phrasing: 'for [civFilter]' -> 'for [civFilter] Civilizations'
- Resolved badly configured ruins causing crashes
- Added 'City-State' as value for nationFilter
2024-10-10 20:29:49 +00:00
Thyrum
6028efaf55 Update to 4.13.14
Ruleset validation for personalities with victory types not present in ruleset

Added mod download percentage tracking

Adjacent tiles updated when tile in changed in map editor, to update relevant edge tile images

Remove '-0 HP' from city attack notifications

Improve AI city settling, science game, and belief picking  - By EmperorPinguin

Add two population-related conditional uniques  - By PLynx01
2024-10-06 14:09:45 +00:00
Thyrum
d6d0cc94a1 Update to 4.13.13
Minimized MP game update IO by ignoring games older than 2 weeks for 'update all'

Resolved ANRs when pausing game due to game clone time

Resolved ANRs when starting a new game (checking for multuplayer server connection)

Protect terrainImage against incorrectly configured mods (natural wonder turnsInto is not in ruleset)

Resolved race-condition error for loading terrain icons
2024-09-29 21:17:15 +00:00
Thyrum
1bd22693b3 Update to 4.13.12
Cannot have 2 research agreements at once due to counteroffers

Modding: Added 'upon losing/gaining the [promotion] status' unit triggers

Mod branch parsing (downloading from user input url) can now handle branch names containing '/'

Fixed 'Top' edge tiles not showing - kudos @legacymtgsalvationuser69544
2024-09-28 19:25:45 +00:00
Thyrum
2b38ffec0e Update to 4.13.11
Better AI evaluation for 'win the game' buildings

Modding:
- Trigger uniques from religious beliefs activate correctly
- Added 'removing the [promotion] promotion/status' unit action modifier
- Added 'upon gaining/losing [promotionName] promotion' unit trigger uniques
- Allow comment uniques and timed uniques in event choices

Re-activate Thai language, now with diacritic support

Improve AI tech and policy choices  - By EmperorPinguin
2024-09-25 19:34:58 +00:00
Thyrum
75343579a0 Update to 4.13.10
Tilesets: Added edge tile images!

Great prophets bought in city with different religion do not get incorrect warning popup

Getting all resources does not eliminate WLTK day

modding: Added validations for 'replaces' being set when 'uniqueTo' is not (units/buildings/improvements)

Invalid MP games cannot be 'joined'

Changing rulesets in new game screen no longer leads to fake error warnings
2024-09-21 20:13:11 +00:00
Thyrum
bd5604f482 Update to 4.13.9-patch1 2024-09-17 17:43:47 +00:00
Thyrum
b0ea14e966 Update to 4.13.9
Significant memory improvements - should allow for much larger maps on memory-constrained devices!

CPU performance improvements

Solved rare automation crashes with escorted units
2024-09-17 17:04:24 +00:00
Thyrum
4dcd6bf268 Update to 4.13.8-patch1 2024-09-15 19:00:33 +00:00
Thyrum
52b1c8f067 Update to 4.13.8
Allowed starting Scenarios, including Multiplayer, through the 'New Game' screen! :D

WLTK + continuous rendering no longer cause city tiles to be dimmed

Fixed Scenario mods being undownloadable and needing to restart game to access Scenario picker

Added Barbarian Musketman and Worker variants for AbsoluteUnits

Images are restored to ruleset correctly when resuming open game screen

BNW unit sprites for HexaRealm - By GeneralWadaling
2024-09-15 15:19:33 +00:00
Thyrum
25e9de9927 Update to 4.13.7-patch1 2024-09-15 08:49:53 +00:00
Thyrum
6214de29d7 Update to 4.13.7
Performance improvements!

Added Barbarian image variants for AbsoluteUnits by Pelo

AI is displeased when you become the new ally of a city-state it was the ally of

kick/skip turn in mutliplayer only active if the game contains the current player ID
2024-09-12 18:30:08 +00:00
Thyrum
bf6791f20e Update to 4.13.6
Performance improvements!

AI prioritizes unit upgrades over purchasing new constructions

Units are not added to cities in resistance if non-resistant cities are available
2024-09-07 22:34:52 +00:00
Thyrum
6f7ad40d66 Update to 4.13.5
Modding:
- Make event choices ruleset objects, with standard 'uniques' field
- Added 'AI choice weight' for event choices, techs, policies and promotions

Moved screen orientation setting from advanced tab to display tab

Performance: only trigger population reassignment on new buildings when it really changes something

Better stat-related checks for buildings in cities
2024-09-05 18:44:05 +00:00
Thyrum
ccc19cf99d Update to 4.13.4
Don't allow constructing stockpiled-resource-requiring constructions when lacking the resources

Consume stockpiled resources when purchasing constructions that require them

Don't show 'ok' ruleset validations when starting a new game

Set 'auto assign city production' to false for new players

Automated units retreat from Barbarians when not at war - By EmperorPinguin
2024-09-01 19:15:37 +00:00
Thyrum
888307ec0e Update to 4.13.3
Fixed 'conquer city' automation crash

Minor memory performance improvements

Natural wonders uniques generalized to work for terrain feature as well

Prep work for unit-based Events :)

Dev console displays enum options correctly when given incorrect options
2024-08-27 06:51:34 +00:00
Thyrum
dff8577b31 Update to 4.13.2
Removed 'continuous rendering' setting, should always be false since Actions 'override' this and all our animations use Actions

Resolved  - City overview updates when entering a city via it, changing info, and exiting

Fixed 'don't settle cities' demand button triggering 'stop spreading religion' demand as well

Modding: 'Costs [amount] [stockpiledResource]' construction accepts conditionals

test: Added test to ensure stockpiled resources are consumed when starting work on 'Costs [amount] [stockpiledResource]' construction

Skipping turns for a game now correctly updates the MP screen

Added '[unitTriggerTarget] is destroyed' unit triggerable

Added 'upon damaging a [mapUnitFilter] unit' which can trigger a unique on the *enemy* unit!

All unit trigger uniques start with a targetting parameter

AI worker improvements  - By EmperorPinguin
2024-08-24 19:53:55 +00:00
Thyrum
4c51d31edd Update to 4.13.1
Unit statuses, which are temporary promotions!
- Can be applied with 'This Unit gains the [promotion] status for [positiveAmount] turn(s)'
- Can be removed with 'This Unit loses the [promotion] status'

When selecting a unit, show only arrows relevant to selected unit

Better AI conquering of cities

Allowed specifying custom colors for unit promotions

'ok' warnings now colored in 'accept mod errors' popup

Discourage spreading religion by AI to civs they've promised to not do so
2024-08-21 20:36:57 +00:00
Thyrum
33b8e8f16e Update to 4.13.0-patch1 2024-08-18 06:14:24 +00:00
Thyrum
2426db9f73 Update to 4.13.0-gp 2024-08-17 20:17:31 +00:00
Thyrum
c693bff470 Update to 4.13.0
Revert 'perf: Compute 'missing from minimum' stats only when necessary'

perf: Compute 'missing from minimum' stats only when necessary

Fixed Civilopedia not showing non-unique buildings and units on techs

UI: Show terrain icons in text

UI: Fade in newly-explored tiles

Improvement uniqueTo can apply to civ *filters*

Unit uniqueTo can apply to civ *filters*

Building uniqueTo can apply to civ *filters*

Fixed tests

Added 'don't spread religion to us' demand

Hopefully fixed commit parsing

AI changes  - By EmperorPinguin
2024-08-17 19:12:09 +00:00
Thyrum
afd17a6110 Update to 4.12.19
Multiplayer: Add button to skip current player after 24h inactivity

Strategic balance applies only to major civs, as per Civ V

Automated settlers take conditionals on settling locations into account

Modding: Added ruleset validation that 2 policies in the same branch do not have the same position

'Land to water' natural wonders do not cause ruins on water tiles
2024-08-14 08:05:10 +00:00
Thyrum
5a1713b316 Update to 4.12.18-patch1 2024-08-09 07:39:54 +00:00