This release adds a number of custom criteria convenience functions and iterators which implement some frequently repeated logic in many custom checks, plus improves the information provided when a...
github.com
This release adds a number of custom criteria convenience functions and iterators which implement some frequently repeated logic in many custom checks, plus improves the information provided when an error is encountered in a custom criteria. This release also supports the new journal data added in Odyssey Update 13.
The new functions available for custom criteria are:
- Filtered iterators
ringsOnly(scan.Rings) and beltsOnly(scan.Rings) which work similarly to the existing rings(scan.Rings) iterator, but only iterates over proper rings and asteroid belts, respectively. (@fredjk-gh)
- Convenience checks
hasRings(scan.Rings) and hasBelts(scan.Belts) which return simple true or false if the set of rings provided contains a ring or a belt. (@fredjk-gh)
isStar(scan) and isPlanet(scan) to return true or false if the scan is a star or planet/moon.
hasAtmosphere(scan) and hasLandableAtmosphere(scan) to return true or false if the scanned body has an atmosphere or is a landable with atmosphere.
Custom criteria error enhancement:
- Criteria error messages will now include the criteria title/label. Complex criteria can be annotated with a label to use for error reporting in the form
::Criteria=LabelHere::. (@fredjk-gh)
Journal changes in Update 13:
- New
NavRouteClear event
- Genus is now included in
SAASignalsFound event
- DestinationSettlement is now included in
MissionAccepted event
Bugfixes:
- Fix possible null reference when cancelling from plugin setting file browse windows
- Improved conditional evaluation of custom criteria detail text to prevent crash from untriggered criteria (@fredjk-gh)
- Resolves an application publishing issue which was grabbing outdated versions of dependent libraries, causing compatibility issues with some new plugin releases