mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
* Add file association for .eop, prompt for install dir * Handle .eop or .aip file passed as arg. * VS2022 version bump * Filter neutron stars and black holes from fast spinning criteria. * Adjustments for new "high value" check * Refactor herald cache * Fix element order and namespaces for voice moods. * Add explicit .Stop() between audio player calls. * Use nullsafe member access instead of skipping * Don't queue up a title that's already queued. * Improve body ordinal handling for explorer speech titles. * Escape strings being inserted into xml * Handle flip-flopping JSON type * Converter for flip-flopping property type * Use the converter * Escape characters *before* we wrap it in xml. * Give Eahlstan his clear button. :D * Exclude all stars from fast rotation check. * Close outstanding popup notifications on exit. * TO DONE * [Herald] Suppress duplicate notification titles for spoken notifications If you have notifications from multiple plugins producing notifications with the same title in quick succession (ie. "Body A 1 e" from both Explorer and BioInsights), the title on successive notifications will not be spoken again to save the breath of our friendly Azure speakers. * Doc update * Remove unintended member hiding * Fix export errors when exporting BioInsights data, cleanup Discovered a couple issues with exporting BioInsights data resulting from using two different types of objects in the data grid; improved error handling as well. Also cleaned up some old-style read all code. * Add read-all on launch setting * Updated framework xml * Improve high-value body description text Co-authored-by: Fred Kuipers <mr.fredk@gmail.com>
97 lines
3.0 KiB
C#
97 lines
3.0 KiB
C#
using Observatory.Framework;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Observatory.Explorer
|
|
{
|
|
public class ExplorerSettings
|
|
{
|
|
public ExplorerSettings()
|
|
{
|
|
CustomCriteriaFile = $"{Environment.GetFolderPath(Environment.SpecialFolder.Personal)}{System.IO.Path.DirectorySeparatorChar}ObservatoryCriteria.lua";
|
|
}
|
|
|
|
[SettingDisplayName("Landable & Terraformable")]
|
|
public bool LandableTerraformable { get; set; }
|
|
|
|
[SettingDisplayName("Landable w/ Atmosphere")]
|
|
public bool LandableAtmosphere { get; set; }
|
|
|
|
[SettingDisplayName("Landable High-g")]
|
|
public bool LandableHighG { get; set; }
|
|
|
|
[SettingDisplayName("Landable Large")]
|
|
public bool LandableLarge { get; set; }
|
|
|
|
[SettingDisplayName("Close Orbit")]
|
|
public bool CloseOrbit { get; set; }
|
|
|
|
[SettingDisplayName("Shepherd Moon")]
|
|
public bool ShepherdMoon { get; set; }
|
|
|
|
[SettingDisplayName("Wide Ring")]
|
|
public bool WideRing { get; set; }
|
|
|
|
[SettingDisplayName("Close Binary")]
|
|
public bool CloseBinary { get; set; }
|
|
|
|
[SettingDisplayName("Colliding Binary")]
|
|
public bool CollidingBinary { get; set; }
|
|
|
|
[SettingDisplayName("Close Ring Proximity")]
|
|
public bool CloseRing { get; set; }
|
|
|
|
[SettingDisplayName("Codex Discoveries")]
|
|
public bool Codex { get; set; }
|
|
|
|
[SettingDisplayName("Uncommon Secondary Star")]
|
|
public bool UncommonSecondary { get; set; }
|
|
|
|
[SettingDisplayName("Landable w/ Ring")]
|
|
public bool LandableRing { get; set; }
|
|
|
|
[SettingDisplayName("Nested Moon")]
|
|
public bool Nested { get; set; }
|
|
|
|
[SettingDisplayName("Small Object")]
|
|
public bool SmallObject { get; set; }
|
|
|
|
[SettingDisplayName("Fast Rotation")]
|
|
public bool FastRotation { get; set; }
|
|
|
|
[SettingDisplayName("Fast Orbit")]
|
|
public bool FastOrbit { get; set; }
|
|
|
|
[SettingDisplayName("High Eccentricity")]
|
|
public bool HighEccentricity { get; set; }
|
|
|
|
[SettingDisplayName("Diverse Life")]
|
|
public bool DiverseLife { get; set; }
|
|
|
|
[SettingDisplayName("Good FSD Injection")]
|
|
public bool GoodFSDBody { get; set; }
|
|
|
|
[SettingDisplayName("All FSD Mats In System")]
|
|
public bool GreenSystem { get; set; }
|
|
|
|
[SettingDisplayName("All Surface Mats In System")]
|
|
public bool GoldSystem { get; set; }
|
|
|
|
[SettingDisplayName("High-Value Body")]
|
|
public bool HighValueMappable { get; set; }
|
|
|
|
[SettingDisplayName("Enable Custom Criteria")]
|
|
public bool EnableCustomCriteria { get; set; }
|
|
|
|
[SettingDisplayName("Custom Criteria File")]
|
|
[System.Text.Json.Serialization.JsonIgnore]
|
|
public System.IO.FileInfo CustomCriteria {get => new System.IO.FileInfo(CustomCriteriaFile); set => CustomCriteriaFile = value.FullName;}
|
|
|
|
[SettingIgnore]
|
|
public string CustomCriteriaFile { get; set; }
|
|
}
|
|
}
|