2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-02 08:53:42 -04:00

[Explorer] Default + Custom Criteria improvements (#130)

* [Explorer] Default + Custom Criteria improvements

For Custom Criteria:
* If a custom criteria throws an error or fails to parse/load, Core no longer disables custom criteria entirely -- it now disables the problematic criteria until you update the custom criteria file and trigger a new journal/re-read (which reloads the source file).

For Default Criteria:
* Adds landable status of the body triggering the Close Ring/Belt proximity. (Requested in Discord somewhere.)
* Adds the triggering ring name to the Wide Ring criteria. (I believe also requested, can't remember now.)
This commit is contained in:
F K
2024-01-25 22:50:59 -05:00
committed by GitHub
parent 2a8ba0ad8d
commit 35ab70b743
3 changed files with 22 additions and 8 deletions

View File

@ -188,7 +188,6 @@ namespace Observatory.Explorer
Details = e.OriginalScript
};
ObservatoryCore.AddGridItem(ExplorerWorker, exceptionResult);
ExplorerWorker.settings.EnableCustomCriteria = false;
}
CriteriaLastModified = fileModified;