Skip to content

Releases: amtep/ck3-tiger

v0.8.4

09 Aug 18:51
Compare
Choose a tag to compare
Version 0.8.4

Changes since 0.8.3:

Bugfixes:

* Fix relative paths in .mod files
* Allow comma and period in localization #markup

Fix false positives:

* Don't warn about an `if` without effect, if its `limit` has side effects
* Do strict scope validation of scripted lists at the call site, not at
  the list definition.

Features:

* Strict scope checking for scripted rules
* Strict scope checking for builtin on_actions
* Redid gui validation

v0.8.3

04 Aug 15:09
Compare
Choose a tag to compare
Version 0.8.3

Changes since 0.8.2:

Output changes:

* Errorkey "structure" for those "expected block, found value" type errors.
* Warn at only "untidy" severity if a datatype expression has too many `)` at the end.
* Ck3 report missing or bad `reformed_icon` on pagan faiths as fatal.

Fix false positives:

* Much better detection of named scopes in localization.
* Allow multiple "add" and "factor" fields in a modifier.
* Vic3 detect "snapshot:/" sounds as sounds.

Features:

* Validate gui fields.
* Ck3 Support #TOOLTIP:GAME_TRAIT style localization markup (used internally in
  vanilla but also available to mods).
* Ck3 verify localization for sea and river provinces (their names in
  definitions.csv are localization keys).
* Warn about "switch" with no branches.
* Vic3 fill out more of the effects table; work goes on.

v0.8.2

31 Jul 15:48
Compare
Choose a tag to compare
Version 0.8.2

Changes since 0.8.1:

ck3-tiger for CK3 1.9.2.1
vic3-tiger for Vic3 1.3.6

Bugfixes:

* ck3: fix confusion between decisions and cultural traditions
* ck3: activities need TRAVEL_NAME_FOR_<key> localization
* vic3: fix to is_adjacent trigger validation
* output: avoid printing the BOM when printing line 1

Features:

* ck3: advise when animation and scripted_animation are mixed up in events
* vic3: more complete trigger validation
* gui: validate fonts, textformats and texticons
* script: better tracking of use of lists
* VS Code extension linked from the README
  https://github.com/unLomTrois/ck3tiger-for-vscode

Secret stuff:

* imperator-tiger
* internal docs at https://amtep.github.io/ck3-tiger/tiger_lib/

v0.8.1

27 Jul 11:11
Compare
Choose a tag to compare
Version 0.8.1

ck3-tiger for CK3 1.9.2.1
vic3-tiger for Vic3 1.3.6

Changes since 0.8.0:

Features:
* Deduce scope types from a scope's name where appropriate.
  (scope:activity is going to be an activity, that sort of thing)
* Be explicit about when a scope was supplied by the game engine.

Fix false positives:
* Propagate knowledge about lists better (fewer "unknown list" errors)
* Don't complain about |E localization where the game concept is unclear.
* Allow provinces to not have names in `definitions.csv`

v0.8.0 introducing vic3-tiger

24 Jul 05:14
Compare
Choose a tag to compare

ck3-tiger for CK3 1.9.2.1
vic3-tiger for Vic3 1.3.6

Changes since 0.7.4

Features

  • Now comes with vic3-tiger for Victoria 3
  • 10% faster

New checks

  • Validate province adjacencies
  • Warn about each color in provinces.png that's missing from definition.csv
    (warns at untidy level)
  • Warn about use of unknown lists (some false positives there)

Output changes

  • Missing $key$ in loca is now only a warning
  • Missing files are also only a warning (they are usually just visual glitches)
  • New errorkey brace-error for brace mismatches
  • Some misuse of parameters for scripted effects etc is now logged as fatal

Fix false positives

  • Straightened out which localizations are necessary for activity pulse actions
  • Allow character interactions to save scopes in on_send
  • Allow template = (with the =) in .gui files

v0.7.4

22 Jul 07:20
Compare
Choose a tag to compare
Version 0.7.4

Changes since 0.7.3:

Output changes

* Make the severity level (error, warning, etc) lowercase for extra friendliness.
* Reworked leading space handling in output to better reflect the
  indentation level of the code being pointed to.
* When saying a named scope does not exist, list the names of the available scopes (if not too many).
* Trailing dots on dates are reported as only Untidy.
* Report localization parse errors as warnings instead of errors.
* Bugfix to caret placement in a few cases.
* With `--no-colors`, disable colors when reading the modfile and config
  too.

New checks

* Warn about unknown lists.
* Warn about double BOM in localization files.
* Warn if a scripted item gets the same name as an important builtin like `if`

Fix false positives

* Allow `.mod` files to have a BOM.
* Allow multiple values in most triggers that take `value =` fields.
* activity_log_entry only needs `<key>_title` localization to exist.
* activity pulse actions don't need any localization.
* "value" in portrait modifier accessory can be a scriptvalue.
* Validate `portrait_override` in character history.
* Remove outdated warning about `replace_paths` of `history/province_mapping`.

v0.7.3

20 Jul 19:08
Compare
Choose a tag to compare

Now also available on crates.io

Changes since 0.7.2:

  • More errors downgraded to warnings
  • Use of scopes in localization is now checked (not for all of them yet)

v0.7.2

19 Jul 12:42
Compare
Choose a tag to compare
Version 0.7.2

Changes since 0.7.1:

Features:

* now points to the whole token that caused the error, instead of just its start
* moved things around between error and warning
* small fixes to JSON output

Validations:

* checks that scriptvalue logic affects the scriptvalue (so if you have an `if`, it actually does something)

Fixing false positives:

* Accept ; after ids (including numbers)
* Accept leading / on filenames

v0.7.1 for CK3 1.9.2.1

18 Jul 06:07
Compare
Choose a tag to compare

Changelog since 0.6.1

Features

  • Command line flag --json for JSON format output
  • ck3-tiger-auto executable, double-click on it and it will try its best
  • About 50% faster validation
  • Readme file: made the Contributions section more welcoming

Validations

  • Fill in more datafunction types
  • Warn when using a UTF-8 BOM inside a localization literal
  • Traits: warn that birth and random_creation are only for genetic = yes
  • Warn about use of ^Z in files

Bugfixes

  • Parse quoted tokens more accurately in cases like alpha"beta"gamma
  • Fix scope analysis of "prev" values when using scope-overrides in config file

False positives

  • Stop warning about localization file directories (the filename is what matters)
  • Support @one = @two in local values
  • Gui files: stop warning about = after block and blockoverride
  • On-action quarterly_playable_pulse has scope:quarter predefined
  • Accept trailing whitespace in quoted dates
  • Straighten out the localizations needed for pulse actions and activity logs

Secret stuff

  • vic3-tiger

v0.7.0 for CK3 1.9.2.1

17 Jul 22:59
Compare
Choose a tag to compare
Verion 0.7.0

Changelog since 0.6.1

Features

* Command line flag --json for JSON format output
* ck3-tiger-auto executable, double-click on it and it will try its best
* About 50% faster validation
* Readme file: made the Contributions section more welcoming

Validations

* Fill in more datafunction types
* Warn when using a UTF-8 BOM inside a localization literal
* Traits: warn that birth and random_creation are only for genetic = yes
* Warn about use of ^Z in files

Bugfixes

* Parse quoted tokens more accurately in cases like alpha"beta"gamma
* Fix scope analysis of "prev" values when using scope-overrides in config file

False positives

* Stop warning about localization file directories (the filename is what matters)
* Support @one = @two in local values
* Gui files: stop warning about = after block and blockoverride
* On-action quarterly_playable_pulse has scope:quarter predefined
* Accept trailing whitespace in quoted dates
* Straighten out the localizations needed for pulse actions and activity logs

Secret stuff

* vic3-tiger