Example #1
0
        //// custom icon markers
        //private Transform m_iconHolder;
        //private List<MapMarkerIconDisplay> m_unmarkedDungeons = new List<MapMarkerIconDisplay>();

        internal void Awake()
        {
            Instance = this;

            var harmony = new Harmony(GUID);

            harmony.PatchAll();

            SetupConfig();

            StartCoroutine(SetupCoroutine());
        }
Example #2
0
        internal void Awake()
        {
            Instance = this;

            var harmony = new Harmony(GUID);

            harmony.PatchAll();

            ShowPlayerMarkers             = Config.Bind("Map Settings", "Show map markers for Players", true);
            ShowPlayerBagMarkers          = Config.Bind("Map Settings", "Show map markers for Player Bags", true);
            ShowEnemyMarkers              = Config.Bind("Map Settings", "Show map markers for Enemies", true);
            ShowSoroborean                = Config.Bind("Map Settings", "Show map markers for Soroborean Caravanner", true);
            LargeMarkerHealthThreshold    = Config.Bind("Map Settings", "Health Threshold for large X marker", 750f);
            OnlyShowEnemiesAboveThreshold = Config.Bind("Map Settings", "Only show enemies above Health Threshold", false);

            StartCoroutine(SetupCoroutine());
        }