Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of BountiesReworked v1.2.2
plugins/Orgetorix-BountiesReworked/Orgetorix.BountiesAdds.dll
Decompiled a week ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using BepInEx; using BepInEx.Configuration; using BepInEx.Logging; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: AssemblyVersion("0.0.0.0")] namespace Orgetorix.BountiesAdds; [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInPlugin("orgetorix.bounties.adds", "BountiesReworked", "1.0.2")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class BountyAddsPlugin : BaseUnityPlugin { private class CatEntry { public string TargetID; public string Biome; public int RewardCoins; public List<AddEnt> Adds; } private class AddEnt { public string ID; public int Count; } public const string PluginGUID = "orgetorix.bounties.adds"; public const string PluginName = "BountiesReworked"; public const string PluginVersion = "1.0.2"; internal static ManualLogSource Log; private static string _jsonPath; private static bool _applied; private static List<CatEntry> _cat; private static ConfigEntry<bool> _bossesEnabled; private static ConfigEntry<bool> _normalsEnabled; private static Dictionary<string, ConfigEntry<bool>> _bountyEnabled = new Dictionary<string, ConfigEntry<bool>>(); private static Dictionary<string, ConfigEntry<int>> _bountyCoins = new Dictionary<string, ConfigEntry<int>>(); private static Dictionary<string, ConfigEntry<string>> _bountyAdds = new Dictionary<string, ConfigEntry<string>>(); private float _next; private int _tries; public static ConfigEntry<bool> BossesEnabled => _bossesEnabled; public static ConfigEntry<bool> NormalsEnabled => _normalsEnabled; public static Dictionary<string, ConfigEntry<bool>> BountyEnabled => _bountyEnabled; public static Dictionary<string, ConfigEntry<int>> BountyCoins => _bountyCoins; public static Dictionary<string, ConfigEntry<string>> BountyAdds => _bountyAdds; private void Awake() { //IL_003e: Unknown result type (might be due to invalid IL or missing references) Log = ((BaseUnityPlugin)this).Logger; _jsonPath = Path.Combine(Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location) ?? ".", "adds.json"); SetupConfig(); new Harmony("orgetorix.bounties.adds").PatchAll(); Log.LogInfo((object)"BountiesReworked v1.0.2 loaded."); } private void Update() { if (!_applied && !(Time.unscaledTime < _next)) { _next = Time.unscaledTime + 2f; _tries++; bool verbose = _tries <= 3 || _tries == 10 || _tries == 20; if (!TryApply(verbose) && _tries == 45 && Log != null) { Log.LogWarning((object)"Adds: no bounty target list found after 90s."); } } } private void SetupConfig() { //IL_0078: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Expected O, but got Unknown //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_012e: Expected O, but got Unknown //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01de: Expected O, but got Unknown //IL_0287: Unknown result type (might be due to invalid IL or missing references) //IL_0291: Expected O, but got Unknown //IL_02d1: Unknown result type (might be due to invalid IL or missing references) //IL_02db: Expected O, but got Unknown //IL_0383: Unknown result type (might be due to invalid IL or missing references) //IL_038d: Expected O, but got Unknown //IL_0439: Unknown result type (might be due to invalid IL or missing references) //IL_0443: Expected O, but got Unknown //IL_04ef: Unknown result type (might be due to invalid IL or missing references) //IL_04f9: Expected O, but got Unknown //IL_05a5: Unknown result type (might be due to invalid IL or missing references) //IL_05af: Expected O, but got Unknown //IL_0658: Unknown result type (might be due to invalid IL or missing references) //IL_0662: Expected O, but got Unknown //IL_06a2: Unknown result type (might be due to invalid IL or missing references) //IL_06ac: Expected O, but got Unknown //IL_0754: Unknown result type (might be due to invalid IL or missing references) //IL_075e: Expected O, but got Unknown //IL_080a: Unknown result type (might be due to invalid IL or missing references) //IL_0814: Expected O, but got Unknown //IL_08c0: Unknown result type (might be due to invalid IL or missing references) //IL_08ca: Expected O, but got Unknown //IL_0976: Unknown result type (might be due to invalid IL or missing references) //IL_0980: Expected O, but got Unknown //IL_0a2c: Unknown result type (might be due to invalid IL or missing references) //IL_0a36: Expected O, but got Unknown //IL_0a76: Unknown result type (might be due to invalid IL or missing references) //IL_0a80: Expected O, but got Unknown //IL_0b28: Unknown result type (might be due to invalid IL or missing references) //IL_0b32: Expected O, but got Unknown //IL_0bde: Unknown result type (might be due to invalid IL or missing references) //IL_0be8: Expected O, but got Unknown //IL_0c94: Unknown result type (might be due to invalid IL or missing references) //IL_0c9e: Expected O, but got Unknown //IL_0d4a: Unknown result type (might be due to invalid IL or missing references) //IL_0d54: Expected O, but got Unknown //IL_0e00: Unknown result type (might be due to invalid IL or missing references) //IL_0e0a: Expected O, but got Unknown //IL_0eb6: Unknown result type (might be due to invalid IL or missing references) //IL_0ec0: Expected O, but got Unknown //IL_0f00: Unknown result type (might be due to invalid IL or missing references) //IL_0f0a: Expected O, but got Unknown //IL_0fb2: Unknown result type (might be due to invalid IL or missing references) //IL_0fbc: Expected O, but got Unknown //IL_1068: Unknown result type (might be due to invalid IL or missing references) //IL_1072: Expected O, but got Unknown //IL_111e: Unknown result type (might be due to invalid IL or missing references) //IL_1128: Expected O, but got Unknown //IL_11d4: Unknown result type (might be due to invalid IL or missing references) //IL_11de: Expected O, but got Unknown //IL_128a: Unknown result type (might be due to invalid IL or missing references) //IL_1294: Expected O, but got Unknown //IL_1340: Unknown result type (might be due to invalid IL or missing references) //IL_134a: Expected O, but got Unknown //IL_13f6: Unknown result type (might be due to invalid IL or missing references) //IL_1400: Expected O, but got Unknown //IL_14ac: Unknown result type (might be due to invalid IL or missing references) //IL_14b6: Expected O, but got Unknown //IL_1562: Unknown result type (might be due to invalid IL or missing references) //IL_156c: Expected O, but got Unknown //IL_1618: Unknown result type (might be due to invalid IL or missing references) //IL_1622: Expected O, but got Unknown //IL_16ce: Unknown result type (might be due to invalid IL or missing references) //IL_16d8: Expected O, but got Unknown //IL_1784: Unknown result type (might be due to invalid IL or missing references) //IL_178e: Expected O, but got Unknown //IL_183a: Unknown result type (might be due to invalid IL or missing references) //IL_1844: Expected O, but got Unknown //IL_18f0: Unknown result type (might be due to invalid IL or missing references) //IL_18fa: Expected O, but got Unknown //IL_19a6: Unknown result type (might be due to invalid IL or missing references) //IL_19b0: Expected O, but got Unknown //IL_1a5c: Unknown result type (might be due to invalid IL or missing references) //IL_1a66: Expected O, but got Unknown //IL_1b12: Unknown result type (might be due to invalid IL or missing references) //IL_1b1c: Expected O, but got Unknown //IL_1b5c: Unknown result type (might be due to invalid IL or missing references) //IL_1b66: Expected O, but got Unknown //IL_1c0b: Unknown result type (might be due to invalid IL or missing references) //IL_1c15: Expected O, but got Unknown //IL_1cbe: Unknown result type (might be due to invalid IL or missing references) //IL_1cc8: Expected O, but got Unknown //IL_1d71: Unknown result type (might be due to invalid IL or missing references) //IL_1d7b: Expected O, but got Unknown //IL_1dbb: Unknown result type (might be due to invalid IL or missing references) //IL_1dc5: Expected O, but got Unknown //IL_1e6d: Unknown result type (might be due to invalid IL or missing references) //IL_1e77: Expected O, but got Unknown //IL_1f23: Unknown result type (might be due to invalid IL or missing references) //IL_1f2d: Expected O, but got Unknown //IL_1fd9: Unknown result type (might be due to invalid IL or missing references) //IL_1fe3: Expected O, but got Unknown //IL_208f: Unknown result type (might be due to invalid IL or missing references) //IL_2099: Expected O, but got Unknown //IL_2145: Unknown result type (might be due to invalid IL or missing references) //IL_214f: Expected O, but got Unknown //IL_218f: Unknown result type (might be due to invalid IL or missing references) //IL_2199: Expected O, but got Unknown //IL_2241: Unknown result type (might be due to invalid IL or missing references) //IL_224b: Expected O, but got Unknown //IL_234f: Unknown result type (might be due to invalid IL or missing references) //IL_2359: Expected O, but got Unknown //IL_2405: Unknown result type (might be due to invalid IL or missing references) //IL_240f: Expected O, but got Unknown //IL_2513: Unknown result type (might be due to invalid IL or missing references) //IL_251d: Expected O, but got Unknown //IL_25c9: Unknown result type (might be due to invalid IL or missing references) //IL_25d3: Expected O, but got Unknown //IL_267f: Unknown result type (might be due to invalid IL or missing references) //IL_2689: Expected O, but got Unknown //IL_26c9: Unknown result type (might be due to invalid IL or missing references) //IL_26d3: Expected O, but got Unknown //IL_2778: Unknown result type (might be due to invalid IL or missing references) //IL_2782: Expected O, but got Unknown //IL_282b: Unknown result type (might be due to invalid IL or missing references) //IL_2835: Expected O, but got Unknown //IL_28de: Unknown result type (might be due to invalid IL or missing references) //IL_28e8: Expected O, but got Unknown //IL_2991: Unknown result type (might be due to invalid IL or missing references) //IL_299b: Expected O, but got Unknown //IL_29db: Unknown result type (might be due to invalid IL or missing references) //IL_29e5: Expected O, but got Unknown //IL_2a8a: Unknown result type (might be due to invalid IL or missing references) //IL_2a94: Expected O, but got Unknown //IL_2b3d: Unknown result type (might be due to invalid IL or missing references) //IL_2b47: Expected O, but got Unknown //IL_2bf0: Unknown result type (might be due to invalid IL or missing references) //IL_2bfa: Expected O, but got Unknown //IL_2ca6: Unknown result type (might be due to invalid IL or missing references) //IL_2cb0: Expected O, but got Unknown //IL_2d5c: Unknown result type (might be due to invalid IL or missing references) //IL_2d66: Expected O, but got Unknown //IL_2e64: Unknown result type (might be due to invalid IL or missing references) //IL_2e6e: Expected O, but got Unknown //IL_2eae: Unknown result type (might be due to invalid IL or missing references) //IL_2eb8: Expected O, but got Unknown //IL_2f5d: Unknown result type (might be due to invalid IL or missing references) //IL_2f67: Expected O, but got Unknown //IL_3010: Unknown result type (might be due to invalid IL or missing references) //IL_301a: Expected O, but got Unknown //IL_30c3: Unknown result type (might be due to invalid IL or missing references) //IL_30cd: Expected O, but got Unknown //IL_3176: Unknown result type (might be due to invalid IL or missing references) //IL_3180: Expected O, but got Unknown //IL_3229: Unknown result type (might be due to invalid IL or missing references) //IL_3233: Expected O, but got Unknown //IL_32dc: Unknown result type (might be due to invalid IL or missing references) //IL_32e6: Expected O, but got Unknown //IL_338f: Unknown result type (might be due to invalid IL or missing references) //IL_3399: Expected O, but got Unknown //IL_3442: Unknown result type (might be due to invalid IL or missing references) //IL_344c: Expected O, but got Unknown //IL_34f5: Unknown result type (might be due to invalid IL or missing references) //IL_34ff: Expected O, but got Unknown //IL_35a8: Unknown result type (might be due to invalid IL or missing references) //IL_35b2: Expected O, but got Unknown //IL_365b: Unknown result type (might be due to invalid IL or missing references) //IL_3665: Expected O, but got Unknown //IL_370e: Unknown result type (might be due to invalid IL or missing references) //IL_3718: Expected O, but got Unknown //IL_37c1: Unknown result type (might be due to invalid IL or missing references) //IL_37cb: Expected O, but got Unknown //IL_3874: Unknown result type (might be due to invalid IL or missing references) //IL_387e: Expected O, but got Unknown //IL_3927: Unknown result type (might be due to invalid IL or missing references) //IL_3931: Expected O, but got Unknown //IL_39da: Unknown result type (might be due to invalid IL or missing references) //IL_39e4: Expected O, but got Unknown //IL_3a8d: Unknown result type (might be due to invalid IL or missing references) //IL_3a97: Expected O, but got Unknown //IL_3ad7: Unknown result type (might be due to invalid IL or missing references) //IL_3ae1: Expected O, but got Unknown //IL_3b86: Unknown result type (might be due to invalid IL or missing references) //IL_3b90: Expected O, but got Unknown //IL_3c39: Unknown result type (might be due to invalid IL or missing references) //IL_3c43: Expected O, but got Unknown //IL_3cec: Unknown result type (might be due to invalid IL or missing references) //IL_3cf6: Expected O, but got Unknown //IL_3da2: Unknown result type (might be due to invalid IL or missing references) //IL_3dac: Expected O, but got Unknown //IL_3dec: Unknown result type (might be due to invalid IL or missing references) //IL_3df6: Expected O, but got Unknown //IL_3e9b: Unknown result type (might be due to invalid IL or missing references) //IL_3ea5: Expected O, but got Unknown //IL_3f4e: Unknown result type (might be due to invalid IL or missing references) //IL_3f58: Expected O, but got Unknown //IL_4004: Unknown result type (might be due to invalid IL or missing references) //IL_400e: Expected O, but got Unknown //IL_40ba: Unknown result type (might be due to invalid IL or missing references) //IL_40c4: Expected O, but got Unknown //IL_4170: Unknown result type (might be due to invalid IL or missing references) //IL_417a: Expected O, but got Unknown //IL_4226: Unknown result type (might be due to invalid IL or missing references) //IL_4230: Expected O, but got Unknown //IL_4270: Unknown result type (might be due to invalid IL or missing references) //IL_427a: Expected O, but got Unknown //IL_4322: Unknown result type (might be due to invalid IL or missing references) //IL_432c: Expected O, but got Unknown //IL_43d8: Unknown result type (might be due to invalid IL or missing references) //IL_43e2: Expected O, but got Unknown //IL_448e: Unknown result type (might be due to invalid IL or missing references) //IL_4498: Expected O, but got Unknown //IL_4541: Unknown result type (might be due to invalid IL or missing references) //IL_454b: Expected O, but got Unknown //IL_45f4: Unknown result type (might be due to invalid IL or missing references) //IL_45fe: Expected O, but got Unknown //IL_46a7: Unknown result type (might be due to invalid IL or missing references) //IL_46b1: Expected O, but got Unknown //IL_46f1: Unknown result type (might be due to invalid IL or missing references) //IL_46fb: Expected O, but got Unknown //IL_47a3: Unknown result type (might be due to invalid IL or missing references) //IL_47ad: Expected O, but got Unknown //IL_4859: Unknown result type (might be due to invalid IL or missing references) //IL_4863: Expected O, but got Unknown //IL_490f: Unknown result type (might be due to invalid IL or missing references) //IL_4919: Expected O, but got Unknown //IL_49c5: Unknown result type (might be due to invalid IL or missing references) //IL_49cf: Expected O, but got Unknown //IL_4a7b: Unknown result type (might be due to invalid IL or missing references) //IL_4a85: Expected O, but got Unknown //IL_4b2e: Unknown result type (might be due to invalid IL or missing references) //IL_4b38: Expected O, but got Unknown //IL_4be1: Unknown result type (might be due to invalid IL or missing references) //IL_4beb: Expected O, but got Unknown //IL_4c94: Unknown result type (might be due to invalid IL or missing references) //IL_4c9e: Expected O, but got Unknown //IL_4d47: Unknown result type (might be due to invalid IL or missing references) //IL_4d51: Expected O, but got Unknown //IL_4d91: Unknown result type (might be due to invalid IL or missing references) //IL_4d9b: Expected O, but got Unknown //IL_4e9b: Unknown result type (might be due to invalid IL or missing references) //IL_4ea5: Expected O, but got Unknown //IL_4f51: Unknown result type (might be due to invalid IL or missing references) //IL_4f5b: Expected O, but got Unknown //IL_5007: Unknown result type (might be due to invalid IL or missing references) //IL_5011: Expected O, but got Unknown //IL_5115: Unknown result type (might be due to invalid IL or missing references) //IL_511f: Expected O, but got Unknown //IL_51cb: Unknown result type (might be due to invalid IL or missing references) //IL_51d5: Expected O, but got Unknown //IL_5281: Unknown result type (might be due to invalid IL or missing references) //IL_528b: Expected O, but got Unknown //IL_5337: Unknown result type (might be due to invalid IL or missing references) //IL_5341: Expected O, but got Unknown //IL_5445: Unknown result type (might be due to invalid IL or missing references) //IL_544f: Expected O, but got Unknown //IL_55ab: Unknown result type (might be due to invalid IL or missing references) //IL_55b5: Expected O, but got Unknown //IL_5661: Unknown result type (might be due to invalid IL or missing references) //IL_566b: Expected O, but got Unknown _bossesEnabled = ((BaseUnityPlugin)this).Config.Bind<bool>("General", "Boss Enabled", true, "Enable or disable all boss bounty adds. Changes apply after restart."); _normalsEnabled = ((BaseUnityPlugin)this).Config.Bind<bool>("General", "Normal Enabled", true, "Enable or disable all normal bounty adds. Changes apply after restart."); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Meadows", "1 (Meadows) general enabled", true, new ConfigDescription("Enable all in Meadows.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Eikthyr_Meadows_120_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Meadows", "Eikthyr #1 Enabled", true, "Enable this bounty."); _bountyCoins["Eikthyr_Meadows_120_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Meadows", "Eikthyr #1 Coins", 120, "Coin reward for this bounty."); _bountyAdds["Eikthyr_Meadows_120_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Meadows", "Eikthyr #1 Adds", "2x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Eikthyr_Meadows_120_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Meadows", "Eikthyr #2 Enabled", true, "Enable this bounty."); _bountyCoins["Eikthyr_Meadows_120_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Meadows", "Eikthyr #2 Coins", 120, "Coin reward for this bounty."); _bountyAdds["Eikthyr_Meadows_120_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Meadows", "Eikthyr #2 Adds", "5x Boar, 5x Neck", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Eikthyr_Meadows_160_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Meadows", "Eikthyr #3 Enabled", true, "Enable this bounty."); _bountyCoins["Eikthyr_Meadows_160_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Meadows", "Eikthyr #3 Coins", 160, "Coin reward for this bounty."); _bountyAdds["Eikthyr_Meadows_160_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Meadows", "Eikthyr #3 Adds", "5x Boar, 5x Neck, 2x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - BlackForest", "1 (BlackForest) general enabled", true, new ConfigDescription("Enable all in BlackForest.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["gd_king_Meadows_195_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - BlackForest", "Elder #1 Enabled", true, "Enable this bounty."); _bountyCoins["gd_king_Meadows_195_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - BlackForest", "Elder #1 Coins", 195, "Coin reward for this bounty."); _bountyAdds["gd_king_Meadows_195_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - BlackForest", "Elder #1 Adds", "1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["gd_king_Meadows_215_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - BlackForest", "Elder #2 Enabled", true, "Enable this bounty."); _bountyCoins["gd_king_Meadows_215_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - BlackForest", "Elder #2 Coins", 215, "Coin reward for this bounty."); _bountyAdds["gd_king_Meadows_215_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - BlackForest", "Elder #2 Adds", "2x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["gd_king_Meadows_215_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - BlackForest", "Elder #3 Enabled", true, "Enable this bounty."); _bountyCoins["gd_king_Meadows_215_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - BlackForest", "Elder #3 Coins", 215, "Coin reward for this bounty."); _bountyAdds["gd_king_Meadows_215_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - BlackForest", "Elder #3 Adds", "1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["gd_king_Meadows_245_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - BlackForest", "Elder #4 Enabled", true, "Enable this bounty."); _bountyCoins["gd_king_Meadows_245_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - BlackForest", "Elder #4 Coins", 245, "Coin reward for this bounty."); _bountyAdds["gd_king_Meadows_245_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - BlackForest", "Elder #4 Adds", "1x gd_king, 1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["gd_king_Plains_100_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - BlackForest", "Elder #5 Enabled", true, "Enable this bounty."); _bountyCoins["gd_king_Plains_100_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - BlackForest", "Elder #5 Coins", 100, "Coin reward for this bounty."); _bountyAdds["gd_king_Plains_100_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - BlackForest", "Elder #5 Adds", "2x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Swamp", "1 (Swamp) general enabled", true, new ConfigDescription("Enable all in Swamp.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Bonemass_Swamp_210_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Swamp", "Bonemass #1 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Swamp_210_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Swamp", "Bonemass #1 Coins", 210, "Coin reward for this bounty."); _bountyAdds["Bonemass_Swamp_210_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Swamp", "Bonemass #1 Adds", "1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Swamp_220_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Swamp", "Bonemass #2 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Swamp_220_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Swamp", "Bonemass #2 Coins", 220, "Coin reward for this bounty."); _bountyAdds["Bonemass_Swamp_220_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Swamp", "Bonemass #2 Adds", "2x Draugr_Elite", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Swamp_230_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Swamp", "Bonemass #3 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Swamp_230_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Swamp", "Bonemass #3 Coins", 230, "Coin reward for this bounty."); _bountyAdds["Bonemass_Swamp_230_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Swamp", "Bonemass #3 Adds", "2x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Swamp_220_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Swamp", "Bonemass #4 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Swamp_220_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Swamp", "Bonemass #4 Coins", 220, "Coin reward for this bounty."); _bountyAdds["Bonemass_Swamp_220_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Swamp", "Bonemass #4 Adds", "1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Swamp_250_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Swamp", "Bonemass #5 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Swamp_250_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Swamp", "Bonemass #5 Coins", 250, "Coin reward for this bounty."); _bountyAdds["Bonemass_Swamp_250_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Swamp", "Bonemass #5 Adds", "1x Eikthyr, 1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "1 (Mountain) general enabled", true, new ConfigDescription("Enable all in Mountain.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Dragon_Mountain_240_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "Moder #1 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Mountain_240_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mountain", "Moder #1 Coins", 240, "Coin reward for this bounty."); _bountyAdds["Dragon_Mountain_240_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mountain", "Moder #1 Adds", "2x Hatchling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Mountain_240_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "Moder #2 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Mountain_240_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mountain", "Moder #2 Coins", 240, "Coin reward for this bounty."); _bountyAdds["Dragon_Mountain_240_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mountain", "Moder #2 Adds", "1x StoneGolem", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Mountain_260_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "Moder #3 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Mountain_260_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mountain", "Moder #3 Coins", 260, "Coin reward for this bounty."); _bountyAdds["Dragon_Mountain_260_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mountain", "Moder #3 Adds", "4x Hatchling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Mountain_260_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "Moder #4 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Mountain_260_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mountain", "Moder #4 Coins", 260, "Coin reward for this bounty."); _bountyAdds["Dragon_Mountain_260_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mountain", "Moder #4 Adds", "3x Draugr_Ranged", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Mountain_250_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "Moder #5 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Mountain_250_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mountain", "Moder #5 Coins", 250, "Coin reward for this bounty."); _bountyAdds["Dragon_Mountain_250_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mountain", "Moder #5 Adds", "1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Mountain_290_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mountain", "Moder #6 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Mountain_290_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mountain", "Moder #6 Coins", 290, "Coin reward for this bounty."); _bountyAdds["Dragon_Mountain_290_5"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mountain", "Moder #6 Adds", "1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "1 (Plains) general enabled", true, new ConfigDescription("Enable all in Plains.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Dragon_Plains_230_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Moder #1 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Plains_230_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Moder #1 Coins", 230, "Coin reward for this bounty."); _bountyAdds["Dragon_Plains_230_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Moder #1 Adds", "2x Hatchling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Plains_300_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Moder #2 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Plains_300_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Moder #2 Coins", 300, "Coin reward for this bounty."); _bountyAdds["Dragon_Plains_300_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Moder #2 Adds", "1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Dragon_Plains_400_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Moder #3 Enabled", true, "Enable this bounty."); _bountyCoins["Dragon_Plains_400_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Moder #3 Coins", 400, "Coin reward for this bounty."); _bountyAdds["Dragon_Plains_400_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Moder #3 Adds", "1x Bonemass", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Plains_400_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Bonemass #4 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Plains_400_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Bonemass #4 Coins", 400, "Coin reward for this bounty."); _bountyAdds["Bonemass_Plains_400_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Bonemass #4 Adds", "1x Dragon", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Plains_350_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Bonemass #5 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Plains_350_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Bonemass #5 Coins", 350, "Coin reward for this bounty."); _bountyAdds["Bonemass_Plains_350_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Bonemass #5 Adds", "1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Plains_370_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Bonemass #6 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Plains_370_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Bonemass #6 Coins", 370, "Coin reward for this bounty."); _bountyAdds["Bonemass_Plains_370_5"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Bonemass #6 Adds", "1x gd_king, 1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Bonemass_Plains_550_6"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Bonemass #7 Enabled", true, "Enable this bounty."); _bountyCoins["Bonemass_Plains_550_6"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Bonemass #7 Coins", 550, "Coin reward for this bounty."); _bountyAdds["Bonemass_Plains_550_6"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Bonemass #7 Adds", "1x gd_king, 1x Dragon", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_580_7"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #8 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_580_7"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #8 Coins", 580, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_580_7"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #8 Adds", "1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_650_8"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #9 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_650_8"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #9 Coins", 650, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_650_8"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #9 Adds", "1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_850_9"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #10 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_850_9"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #10 Coins", 850, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_850_9"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #10 Adds", "1x Bonemass", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_850_10"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #11 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_850_10"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #11 Coins", 850, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_850_10"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #11 Adds", "1x Dragon", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_1050_11"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #12 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_1050_11"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #12 Coins", 1050, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_1050_11"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #12 Adds", "1x Dragon, 1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_1050_12"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #13 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_1050_12"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #13 Coins", 1050, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_1050_12"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #13 Adds", "1x Bonemass, 1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_1250_13"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #14 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_1250_13"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #14 Coins", 1250, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_1250_13"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #14 Adds", "1x Dragon, 1x Bonemass", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_1300_14"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #15 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_1300_14"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #15 Coins", 1300, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_1300_14"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #15 Adds", "1x Dragon, 1x Bonemass, 1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_1450_15"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #16 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_1450_15"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #16 Coins", 1450, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_1450_15"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #16 Adds", "1x Dragon, 1x Bonemass, 1x gd_king", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_Plains_2050_16"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Plains", "Yagluth #17 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_Plains_2050_16"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Plains", "Yagluth #17 Coins", 2050, "Coin reward for this bounty."); _bountyAdds["GoblinKing_Plains_2050_16"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Plains", "Yagluth #17 Adds", "1x Dragon, 1x Bonemass, 1x gd_king, 1x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mistlands", "1 (Mistlands) general enabled", true, new ConfigDescription("Enable all in Mistlands.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Eikthyr_Mistlands_90_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mistlands", "Eikthyr #1 Enabled", true, "Enable this bounty."); _bountyCoins["Eikthyr_Mistlands_90_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mistlands", "Eikthyr #1 Coins", 90, "Coin reward for this bounty."); _bountyAdds["Eikthyr_Mistlands_90_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mistlands", "Eikthyr #1 Adds", "5x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["SeekerQueen_Mistlands_90_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mistlands", "Seeker Queen #2 Enabled", true, "Enable this bounty."); _bountyCoins["SeekerQueen_Mistlands_90_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mistlands", "Seeker Queen #2 Coins", 90, "Coin reward for this bounty."); _bountyAdds["SeekerQueen_Mistlands_90_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mistlands", "Seeker Queen #2 Adds", "5x Eikthyr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["SeekerQueen_Mistlands_90_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Mistlands", "Seeker Queen #3 Enabled", true, "Enable this bounty."); _bountyCoins["SeekerQueen_Mistlands_90_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Mistlands", "Seeker Queen #3 Coins", 90, "Coin reward for this bounty."); _bountyAdds["SeekerQueen_Mistlands_90_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Mistlands", "Seeker Queen #3 Adds", "1x Bonemass", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Ashlands", "1 (Ashlands) general enabled", true, new ConfigDescription("Enable all in Ashlands.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["GoblinKing_AshLands_2070_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Ashlands", "Yagluth #1 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_AshLands_2070_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Ashlands", "Yagluth #1 Coins", 2070, "Coin reward for this bounty."); _bountyAdds["GoblinKing_AshLands_2070_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Ashlands", "Yagluth #1 Adds", "6x Surtling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_AshLands_2070_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Ashlands", "Yagluth #2 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_AshLands_2070_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Ashlands", "Yagluth #2 Coins", 2070, "Coin reward for this bounty."); _bountyAdds["GoblinKing_AshLands_2070_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Ashlands", "Yagluth #2 Adds", "2x GoblinBrute, 1x GoblinArcher, 2x Goblin, 2x GoblinShaman", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_AshLands_2070_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Ashlands", "Yagluth #3 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_AshLands_2070_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Ashlands", "Yagluth #3 Coins", 2070, "Coin reward for this bounty."); _bountyAdds["GoblinKing_AshLands_2070_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Ashlands", "Yagluth #3 Adds", "2x GoblinArcher, 1x Goblin, 2x GoblinShaman", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_AshLands_2070_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Ashlands", "Yagluth #4 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_AshLands_2070_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Ashlands", "Yagluth #4 Coins", 2070, "Coin reward for this bounty."); _bountyAdds["GoblinKing_AshLands_2070_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Ashlands", "Yagluth #4 Adds", "2x GoblinArcher, 2x Goblin, 1x GoblinShaman", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinKing_AshLands_2070_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - Ashlands", "Yagluth #5 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinKing_AshLands_2070_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - Ashlands", "Yagluth #5 Coins", 2070, "Coin reward for this bounty."); _bountyAdds["GoblinKing_AshLands_2070_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - Ashlands", "Yagluth #5 Adds", "3x GoblinBrute, 1x GoblinShaman", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "1 (DeepNorth) general enabled", true, new ConfigDescription("Enable all in DeepNorth.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["FrozenKing_DeepNorth_2080_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #1 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_2080_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #1 Coins", 2080, "Coin reward for this bounty."); _bountyAdds["FrozenKing_DeepNorth_2080_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - DeepNorth", "FrozenKing #1 Adds", "1x FrozenKing", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["FrozenKing_DeepNorth_2080_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #2 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_2080_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #2 Coins", 2080, "Coin reward for this bounty."); _bountyEnabled["FrozenKing_DeepNorth_2080_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #3 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_2080_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #3 Coins", 2080, "Coin reward for this bounty."); _bountyAdds["FrozenKing_DeepNorth_2080_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - DeepNorth", "FrozenKing #3 Adds", "2x StoneGolem", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["FrozenKing_DeepNorth_2080_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #4 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_2080_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #4 Coins", 2080, "Coin reward for this bounty."); _bountyAdds["FrozenKing_DeepNorth_2080_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - DeepNorth", "FrozenKing #4 Adds", "4x Dragon", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["FrozenKing_DeepNorth_2400_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #5 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_2400_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #5 Coins", 2400, "Coin reward for this bounty."); _bountyEnabled["FrozenKing_DeepNorth_2800_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #6 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_2800_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #6 Coins", 2800, "Coin reward for this bounty."); _bountyAdds["FrozenKing_DeepNorth_2800_5"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - DeepNorth", "FrozenKing #6 Adds", "2x JotunWarrior, 1x JotunWitch", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["FrozenKing_DeepNorth_3200_6"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "FrozenKing #7 Enabled", true, "Enable this bounty."); _bountyCoins["FrozenKing_DeepNorth_3200_6"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "FrozenKing #7 Coins", 3200, "Coin reward for this bounty."); _bountyAdds["FrozenKing_DeepNorth_3200_6"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - DeepNorth", "FrozenKing #7 Adds", "2x Barka", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Fader_DeepNorth_7500_7"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Boss Bounties - DeepNorth", "Fader #8 Enabled", true, "Enable this bounty."); _bountyCoins["Fader_DeepNorth_7500_7"] = ((BaseUnityPlugin)this).Config.Bind<int>("Boss Bounties - DeepNorth", "Fader #8 Coins", 7500, "Coin reward for this bounty."); _bountyAdds["Fader_DeepNorth_7500_7"] = ((BaseUnityPlugin)this).Config.Bind<string>("Boss Bounties - DeepNorth", "Fader #8 Adds", "5x Dragon", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Meadows", "1 (Meadows) general enabled", true, new ConfigDescription("Enable all in Meadows.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Boar_Meadows_15_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Meadows", "Boar #1 Enabled", true, "Enable this bounty."); _bountyCoins["Boar_Meadows_15_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Meadows", "Boar #1 Coins", 15, "Coin reward for this bounty."); _bountyAdds["Boar_Meadows_15_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Meadows", "Boar #1 Adds", "2x Boar", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Neck_Meadows_15_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Meadows", "Neck #2 Enabled", true, "Enable this bounty."); _bountyCoins["Neck_Meadows_15_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Meadows", "Neck #2 Coins", 15, "Coin reward for this bounty."); _bountyAdds["Neck_Meadows_15_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Meadows", "Neck #2 Adds", "2x Neck", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Skeleton_Poison_Meadows_30_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Meadows", "Skeleton_Poison #3 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_Poison_Meadows_30_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Meadows", "Skeleton_Poison #3 Coins", 30, "Coin reward for this bounty."); _bountyAdds["Skeleton_Poison_Meadows_30_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Meadows", "Skeleton_Poison #3 Adds", "4x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Skeleton_Meadows_25_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Meadows", "Skeleton #4 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_Meadows_25_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Meadows", "Skeleton #4 Coins", 25, "Coin reward for this bounty."); _bountyAdds["Skeleton_Meadows_25_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Meadows", "Skeleton #4 Adds", "3x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "1 (BlackForest) general enabled", true, new ConfigDescription("Enable all in BlackForest.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Greydwarf_Shaman_Meadows_25_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Greydwarf_Shaman #1 Enabled", true, "Enable this bounty."); _bountyCoins["Greydwarf_Shaman_Meadows_25_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Greydwarf_Shaman #1 Coins", 25, "Coin reward for this bounty."); _bountyAdds["Greydwarf_Shaman_Meadows_25_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - BlackForest", "Greydwarf_Shaman #1 Adds", "4x Greyling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Greydwarf_Elite_Meadows_100_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Greydwarf_Elite #2 Enabled", true, "Enable this bounty."); _bountyCoins["Greydwarf_Elite_Meadows_100_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Greydwarf_Elite #2 Coins", 100, "Coin reward for this bounty."); _bountyAdds["Greydwarf_Elite_Meadows_100_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - BlackForest", "Greydwarf_Elite #2 Adds", "2x Greydwarf_Shaman, 4x Greydwarf, 5x Greyling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Greydwarf_Shaman_Meadows_35_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Greydwarf_Shaman #3 Enabled", true, "Enable this bounty."); _bountyCoins["Greydwarf_Shaman_Meadows_35_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Greydwarf_Shaman #3 Coins", 35, "Coin reward for this bounty."); _bountyAdds["Greydwarf_Shaman_Meadows_35_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - BlackForest", "Greydwarf_Shaman #3 Adds", "3x Greydwarf", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Greydwarf_Shaman_Frozen_DeepNorth_740_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Greydwarf_Shaman_Frozen #4 Enabled", true, "Enable this bounty."); _bountyCoins["Greydwarf_Shaman_Frozen_DeepNorth_740_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Greydwarf_Shaman_Frozen #4 Coins", 740, "Coin reward for this bounty."); _bountyAdds["Greydwarf_Shaman_Frozen_DeepNorth_740_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - BlackForest", "Greydwarf_Shaman_Frozen #4 Adds", "4x Greydwarf_Frozen", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Greydwarf_Frozen_DeepNorth_680_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Greydwarf_Frozen #5 Enabled", true, "Enable this bounty."); _bountyCoins["Greydwarf_Frozen_DeepNorth_680_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Greydwarf_Frozen #5 Coins", 680, "Coin reward for this bounty."); _bountyAdds["Greydwarf_Frozen_DeepNorth_680_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - BlackForest", "Greydwarf_Frozen #5 Adds", "3x Greydwarf_Frozen", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Troll_BlackForest_55_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Troll #6 Enabled", true, "Enable this bounty."); _bountyCoins["Troll_BlackForest_55_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Troll #6 Coins", 55, "Coin reward for this bounty."); _bountyEnabled["Troll_BlackForest_90_6"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - BlackForest", "Troll #7 Enabled", true, "Enable this bounty."); _bountyCoins["Troll_BlackForest_90_6"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - BlackForest", "Troll #7 Coins", 90, "Coin reward for this bounty."); _bountyAdds["Troll_BlackForest_90_6"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - BlackForest", "Troll #7 Adds", "3x Greydwarf", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "1 (Swamp) general enabled", true, new ConfigDescription("Enable all in Swamp.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["BlobElite_Swamp_45_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #1 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #1 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #1 Adds", "2x Blob", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_45_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #2 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #2 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #2 Adds", "1x Blob, 1x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_45_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #3 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #3 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #3 Adds", "2x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_50_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #4 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_50_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #4 Coins", 50, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_50_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #4 Adds", "2x Skeleton, 1x Skeleton_Poison", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_45_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #5 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #5 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #5 Adds", "2x Ghost", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_45_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #6 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #6 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_5"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #6 Adds", "2x Draugr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_45_6"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #7 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_6"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #7 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_6"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #7 Adds", "2x Draugr_Ranged", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["BlobElite_Swamp_45_7"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "BlobElite #8 Enabled", true, "Enable this bounty."); _bountyCoins["BlobElite_Swamp_45_7"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "BlobElite #8 Coins", 45, "Coin reward for this bounty."); _bountyAdds["BlobElite_Swamp_45_7"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "BlobElite #8 Adds", "1x Draugr, 1x Draugr_Ranged", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Surtling_Swamp_40_8"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Surtling #9 Enabled", true, "Enable this bounty."); _bountyCoins["Surtling_Swamp_40_8"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Surtling #9 Coins", 40, "Coin reward for this bounty."); _bountyAdds["Surtling_Swamp_40_8"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Surtling #9 Adds", "2x Surtling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Wraith_Swamp_80_9"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Wraith #10 Enabled", true, "Enable this bounty."); _bountyCoins["Wraith_Swamp_80_9"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Wraith #10 Coins", 80, "Coin reward for this bounty."); _bountyAdds["Wraith_Swamp_80_9"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Wraith #10 Adds", "2x Ghost", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Draugr_Elite_Swamp_90_10"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Draugr_Elite #11 Enabled", true, "Enable this bounty."); _bountyCoins["Draugr_Elite_Swamp_90_10"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Draugr_Elite #11 Coins", 90, "Coin reward for this bounty."); _bountyAdds["Draugr_Elite_Swamp_90_10"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Draugr_Elite #11 Adds", "3x Draugr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Draugr_Elite_Swamp_90_11"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Draugr_Elite #12 Enabled", true, "Enable this bounty."); _bountyCoins["Draugr_Elite_Swamp_90_11"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Draugr_Elite #12 Coins", 90, "Coin reward for this bounty."); _bountyAdds["Draugr_Elite_Swamp_90_11"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Draugr_Elite #12 Adds", "2x Draugr_Ranged, 1x Draugr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Draugr_Elite_Swamp_90_12"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Draugr_Elite #13 Enabled", true, "Enable this bounty."); _bountyCoins["Draugr_Elite_Swamp_90_12"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Draugr_Elite #13 Coins", 90, "Coin reward for this bounty."); _bountyAdds["Draugr_Elite_Swamp_90_12"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Draugr_Elite #13 Adds", "3x Draugr_Ranged", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Draugr_Elite_Swamp_90_13"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Draugr_Elite #14 Enabled", true, "Enable this bounty."); _bountyCoins["Draugr_Elite_Swamp_90_13"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Draugr_Elite #14 Coins", 90, "Coin reward for this bounty."); _bountyAdds["Draugr_Elite_Swamp_90_13"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Draugr_Elite #14 Adds", "1x Draugr_Ranged, 2x Draugr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Skeleton_Swamp_60_14"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Skeleton #15 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_Swamp_60_14"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Skeleton #15 Coins", 60, "Coin reward for this bounty."); _bountyAdds["Skeleton_Swamp_60_14"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Skeleton #15 Adds", "5x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Skeleton_Poison_Swamp_70_15"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Skeleton_Poison #16 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_Poison_Swamp_70_15"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Skeleton_Poison #16 Coins", 70, "Coin reward for this bounty."); _bountyAdds["Skeleton_Poison_Swamp_70_15"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Skeleton_Poison #16 Adds", "5x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Troll_Swamp_80_16"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Troll #17 Enabled", true, "Enable this bounty."); _bountyCoins["Troll_Swamp_80_16"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Troll #17 Coins", 80, "Coin reward for this bounty."); _bountyAdds["Troll_Swamp_80_16"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Troll #17 Adds", "2x Draugr", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mountain", "1 (Mountain) general enabled", true, new ConfigDescription("Enable all in Mountain.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Skeleton_Mountain_50_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mountain", "Skeleton #1 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_Mountain_50_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mountain", "Skeleton #1 Coins", 50, "Coin reward for this bounty."); _bountyAdds["Skeleton_Mountain_50_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mountain", "Skeleton #1 Adds", "3x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Fenring_Mountain_110_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mountain", "Fenring #2 Enabled", true, "Enable this bounty."); _bountyCoins["Fenring_Mountain_110_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mountain", "Fenring #2 Coins", 110, "Coin reward for this bounty."); _bountyAdds["Fenring_Mountain_110_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mountain", "Fenring #2 Adds", "3x Wolf", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Wolf_Mountain_80_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mountain", "Wolf #3 Enabled", true, "Enable this bounty."); _bountyCoins["Wolf_Mountain_80_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mountain", "Wolf #3 Coins", 80, "Coin reward for this bounty."); _bountyAdds["Wolf_Mountain_80_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mountain", "Wolf #3 Adds", "2x Wolf", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["StoneGolem_Mountain_170_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mountain", "StoneGolem #4 Enabled", true, "Enable this bounty."); _bountyCoins["StoneGolem_Mountain_170_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mountain", "StoneGolem #4 Coins", 170, "Coin reward for this bounty."); _bountyAdds["StoneGolem_Mountain_170_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mountain", "StoneGolem #4 Adds", "2x StoneGolem", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "1 (Plains) general enabled", true, new ConfigDescription("Enable all in Plains.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Skeleton_Plains_60_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "Skeleton #1 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_Plains_60_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Plains", "Skeleton #1 Coins", 60, "Coin reward for this bounty."); _bountyAdds["Skeleton_Plains_60_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Plains", "Skeleton #1 Adds", "3x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Deathsquito_Plains_65_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "Deathsquito #2 Enabled", true, "Enable this bounty."); _bountyCoins["Deathsquito_Plains_65_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Plains", "Deathsquito #2 Coins", 65, "Coin reward for this bounty."); _bountyAdds["Deathsquito_Plains_65_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Plains", "Deathsquito #2 Adds", "2x Deathsquito", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinBrute_Plains_135_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "GoblinBrute #3 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinBrute_Plains_135_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Plains", "GoblinBrute #3 Coins", 135, "Coin reward for this bounty."); _bountyAdds["GoblinBrute_Plains_135_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Plains", "GoblinBrute #3 Adds", "2x Goblin", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinBrute_Plains_195_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "GoblinBrute #4 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinBrute_Plains_195_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Plains", "GoblinBrute #4 Coins", 195, "Coin reward for this bounty."); _bountyAdds["GoblinBrute_Plains_195_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Plains", "GoblinBrute #4 Adds", "3x Goblin", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinShaman_Plains_215_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "GoblinShaman #5 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinShaman_Plains_215_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Plains", "GoblinShaman #5 Coins", 215, "Coin reward for this bounty."); _bountyAdds["GoblinShaman_Plains_215_4"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Plains", "GoblinShaman #5 Adds", "3x Goblin", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinShaman_Plains_265_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Plains", "GoblinShaman #6 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinShaman_Plains_265_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Plains", "GoblinShaman #6 Coins", 265, "Coin reward for this bounty."); _bountyAdds["GoblinShaman_Plains_265_5"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Plains", "GoblinShaman #6 Adds", "1x GoblinBrute, 2x Goblin", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mistlands", "1 (Mistlands) general enabled", true, new ConfigDescription("Enable all in Mistlands.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Gjall_Mistlands_300_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mistlands", "Gjall #1 Enabled", true, "Enable this bounty."); _bountyCoins["Gjall_Mistlands_300_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mistlands", "Gjall #1 Coins", 300, "Coin reward for this bounty."); _bountyAdds["Gjall_Mistlands_300_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mistlands", "Gjall #1 Adds", "3x Seeker", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["SeekerSoldier_Mistlands_250_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mistlands", "Seeker Soldier #2 Enabled", true, "Enable this bounty."); _bountyCoins["SeekerSoldier_Mistlands_250_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mistlands", "Seeker Soldier #2 Coins", 250, "Coin reward for this bounty."); _bountyAdds["SeekerSoldier_Mistlands_250_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mistlands", "Seeker Soldier #2 Adds", "1x SeekerSoldier, 2x Seeker", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["DvergerMage_Mistlands_280_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Mistlands", "Dverger Sharpshooter #3 Enabled", true, "Enable this bounty."); _bountyCoins["DvergerMage_Mistlands_280_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Mistlands", "Dverger Sharpshooter #3 Coins", 280, "Coin reward for this bounty."); _bountyAdds["DvergerMage_Mistlands_280_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Mistlands", "Dverger Sharpshooter #3 Adds", "2x DvergerMage", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Ghost_Mistlands_60_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Ghost #1 Enabled", true, "Enable this bounty."); _bountyCoins["Ghost_Mistlands_60_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Ghost #1 Coins", 60, "Coin reward for this bounty."); _bountyAdds["Ghost_Mistlands_60_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Ghost #1 Adds", "2x Wraith, 2x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Wraith_Mistlands_60_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Wraith #2 Enabled", true, "Enable this bounty."); _bountyCoins["Wraith_Mistlands_60_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Wraith #2 Coins", 60, "Coin reward for this bounty."); _bountyAdds["Wraith_Mistlands_60_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Wraith #2 Adds", "4x Ghost", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Wraith_Mistlands_60_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Swamp", "Wraith #3 Enabled", true, "Enable this bounty."); _bountyCoins["Wraith_Mistlands_60_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Swamp", "Wraith #3 Coins", 60, "Coin reward for this bounty."); _bountyAdds["Wraith_Mistlands_60_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Swamp", "Wraith #3 Adds", "2x Ghost, 2x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "1 (Ashlands) general enabled", true, new ConfigDescription("Enable all in Ashlands.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["FallenValkyrie_AshLands_400_10"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Fallen Valkyrie #10 Enabled", true, "Enable this bounty."); _bountyCoins["FallenValkyrie_AshLands_400_10"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Fallen Valkyrie #10 Coins", 400, "Coin reward for this bounty."); _bountyAdds["FallenValkyrie_AshLands_400_10"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Fallen Valkyrie #10 Adds", "4x Volture", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Morgen_AshLands_450_11"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Morgen #11 Enabled", true, "Enable this bounty."); _bountyCoins["Morgen_AshLands_450_11"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Morgen #11 Coins", 450, "Coin reward for this bounty."); _bountyAdds["Morgen_AshLands_450_11"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Morgen #11 Adds", "4x LavaBlob", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["CharredWarrior_AshLands_300_12"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Charred Warrior #12 Enabled", true, "Enable this bounty."); _bountyCoins["CharredWarrior_AshLands_300_12"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Charred Warrior #12 Coins", 300, "Coin reward for this bounty."); _bountyAdds["CharredWarrior_AshLands_300_12"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Charred Warrior #12 Adds", "4x Charred_Archer", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["CharredArcher_AshLands_280_13"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Charred Archer #13 Enabled", true, "Enable this bounty."); _bountyCoins["CharredArcher_AshLands_280_13"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Charred Archer #13 Coins", 280, "Coin reward for this bounty."); _bountyAdds["CharredArcher_AshLands_280_13"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Charred Archer #13 Adds", "4x Charred_Melee", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Asksvin_AshLands_350_14"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Asksvin #14 Enabled", true, "Enable this bounty."); _bountyCoins["Asksvin_AshLands_350_14"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Asksvin #14 Coins", 350, "Coin reward for this bounty."); _bountyAdds["Asksvin_AshLands_350_14"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Asksvin #14 Adds", "4x Asksvin", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Surtling_AshLands_70_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Surtling #1 Enabled", true, "Enable this bounty."); _bountyCoins["Surtling_AshLands_70_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Surtling #1 Coins", 70, "Coin reward for this bounty."); _bountyAdds["Surtling_AshLands_70_0"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Surtling #1 Adds", "4x Skeleton", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Surtling_AshLands_70_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Surtling #2 Enabled", true, "Enable this bounty."); _bountyCoins["Surtling_AshLands_70_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Surtling #2 Coins", 70, "Coin reward for this bounty."); _bountyAdds["Surtling_AshLands_70_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Surtling #2 Adds", "3x Surtling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Surtling_AshLands_70_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Surtling #3 Enabled", true, "Enable this bounty."); _bountyCoins["Surtling_AshLands_70_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Surtling #3 Coins", 70, "Coin reward for this bounty."); _bountyAdds["Surtling_AshLands_70_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Surtling #3 Adds", "2x Surtling, 2x Wraith", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Surtling_AshLands_70_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - Ashlands", "Surtling #4 Enabled", true, "Enable this bounty."); _bountyCoins["Surtling_AshLands_70_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - Ashlands", "Surtling #4 Coins", 70, "Coin reward for this bounty."); _bountyAdds["Surtling_AshLands_70_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - Ashlands", "Surtling #4 Adds", "2x Surtling, 2x Ghost", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "1 (DeepNorth) general enabled", true, new ConfigDescription("Enable all in DeepNorth.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { Order = 0 } })); _bountyEnabled["Barka_DeepNorth_720_0"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Barka #1 Enabled", true, "Enable this bounty."); _bountyCoins["Barka_DeepNorth_720_0"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Barka #1 Coins", 720, "Coin reward for this bounty."); _bountyEnabled["Barka_DeepNorth_860_1"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Barka #2 Enabled", true, "Enable this bounty."); _bountyCoins["Barka_DeepNorth_860_1"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Barka #2 Coins", 860, "Coin reward for this bounty."); _bountyAdds["Barka_DeepNorth_860_1"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "Barka #2 Adds", "3x Greydwarf_Frozen", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Barka_DeepNorth_980_2"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Barka #3 Enabled", true, "Enable this bounty."); _bountyCoins["Barka_DeepNorth_980_2"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Barka #3 Coins", 980, "Coin reward for this bounty."); _bountyAdds["Barka_DeepNorth_980_2"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "Barka #3 Adds", "2x Greydwarf_Frozen", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Skeleton_DeepNorth_DeepNorth_760_3"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Skeleton_DeepNorth #4 Enabled", true, "Enable this bounty."); _bountyCoins["Skeleton_DeepNorth_DeepNorth_760_3"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Skeleton_DeepNorth #4 Coins", 760, "Coin reward for this bounty."); _bountyAdds["Skeleton_DeepNorth_DeepNorth_760_3"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "Skeleton_DeepNorth #4 Adds", "4x Skeleton_DeepNorth", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Elaking_DeepNorth_880_4"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Elaking #5 Enabled", true, "Enable this bounty."); _bountyCoins["Elaking_DeepNorth_880_4"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Elaking #5 Coins", 880, "Coin reward for this bounty."); _bountyEnabled["Elaking_DeepNorth_1040_5"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Elaking #6 Enabled", true, "Enable this bounty."); _bountyCoins["Elaking_DeepNorth_1040_5"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Elaking #6 Coins", 1040, "Coin reward for this bounty."); _bountyAdds["Elaking_DeepNorth_1040_5"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "Elaking #6 Adds", "2x ElakingMole", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["ElakingMole_DeepNorth_820_6"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "ElakingMole #7 Enabled", true, "Enable this bounty."); _bountyCoins["ElakingMole_DeepNorth_820_6"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "ElakingMole #7 Coins", 820, "Coin reward for this bounty."); _bountyAdds["ElakingMole_DeepNorth_820_6"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "ElakingMole #7 Adds", "2x ElakingMole", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["Frysling_DeepNorth_740_7"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "Frysling #8 Enabled", true, "Enable this bounty."); _bountyCoins["Frysling_DeepNorth_740_7"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "Frysling #8 Coins", 740, "Coin reward for this bounty."); _bountyAdds["Frysling_DeepNorth_740_7"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "Frysling #8 Adds", "2x Frysling", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["GoblinDeepNorth_DeepNorth_800_8"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "GoblinDeepNorth #9 Enabled", true, "Enable this bounty."); _bountyCoins["GoblinDeepNorth_DeepNorth_800_8"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "GoblinDeepNorth #9 Coins", 800, "Coin reward for this bounty."); _bountyAdds["GoblinDeepNorth_DeepNorth_800_8"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "GoblinDeepNorth #9 Adds", "3x GoblinDeepNorth", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["DvergerDeepNorth_DeepNorth_840_9"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "DvergerDeepNorth #10 Enabled", true, "Enable this bounty."); _bountyCoins["DvergerDeepNorth_DeepNorth_840_9"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "DvergerDeepNorth #10 Coins", 840, "Coin reward for this bounty."); _bountyEnabled["BlobMork_DeepNorth_820_11"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "BlobMork #12 Enabled", true, "Enable this bounty."); _bountyCoins["BlobMork_DeepNorth_820_11"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "BlobMork #12 Coins", 820, "Coin reward for this bounty."); _bountyAdds["BlobMork_DeepNorth_820_11"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "BlobMork #12 Adds", "3x BlobMorkMini", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["JotunWarrior_DeepNorth_900_12"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "JotunWarrior #13 Enabled", true, "Enable this bounty."); _bountyCoins["JotunWarrior_DeepNorth_900_12"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "JotunWarrior #13 Coins", 900, "Coin reward for this bounty."); _bountyEnabled["JotunWitch_DeepNorth_920_13"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "JotunWitch #14 Enabled", true, "Enable this bounty."); _bountyCoins["JotunWitch_DeepNorth_920_13"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "JotunWitch #14 Coins", 920, "Coin reward for this bounty."); _bountyEnabled["JotunWitch_DeepNorth_1800_14"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "JotunWitch #15 Enabled", true, "Enable this bounty."); _bountyCoins["JotunWitch_DeepNorth_1800_14"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "JotunWitch #15 Coins", 1800, "Coin reward for this bounty."); _bountyAdds["JotunWitch_DeepNorth_1800_14"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "JotunWitch #15 Adds", "4x JotunWarrior", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); _bountyEnabled["JotunWarrior_DeepNorth_2600_15"] = ((BaseUnityPlugin)this).Config.Bind<bool>("Normal - DeepNorth", "JotunWarrior #16 Enabled", true, "Enable this bounty."); _bountyCoins["JotunWarrior_DeepNorth_2600_15"] = ((BaseUnityPlugin)this).Config.Bind<int>("Normal - DeepNorth", "JotunWarrior #16 Coins", 2600, "Coin reward for this bounty."); _bountyAdds["JotunWarrior_DeepNorth_2600_15"] = ((BaseUnityPlugin)this).Config.Bind<string>("Normal - DeepNorth", "JotunWarrior #16 Adds", "4x JotunWitch", new ConfigDescription("Adds for this bounty.", (AcceptableValueBase)null, new object[1] { new ConfigurationManagerAttributes { CustomDrawer = AddsDrawer.Draw } })); } internal static bool TryApply(bool verbose) { if (_applied) { return true; } if (_cat == null) { if (!File.Exists(_jsonPath)) { if (Log != null) { Log.LogWarning((object)("adds.json missing: " + _jsonPath)); } return false; } _cat = ParseCatalog(File.ReadAllText(_jsonPath)); if (Log != null) { Log.LogInfo((object)("Adds catalog entries: " + _cat.Count)); } } if (_cat.Count == 0) { return false; } IList list = FindAnyBountyList(verbose); if (list == null || list.Count == 0) { if (verbose && Log != null) { Log.LogInfo((object)"Adds: target list not ready yet."); } return false; } object obj = list[0]; Type type = obj.GetType(); Type type2 = FindAddType(type); if (verbose && Log != null) { Log.LogInfo((object)("Adds: list count=" + list.Count + " type=" + type.FullName + " addType=" + ((type2 != null) ? type2.Name : "null"))); } if (type2 == null) { if (Log != null) { Log.LogWarning((object)"Adds: BountyTargetAddConfig type not found."); } return false; } int num = 0; for (int i = 0; i < list.Count; i++) { object obj2 = list[i]; if (obj2 == null) { continue; } object member = GetMember(obj2, "Adds"); if (member is IList { Count: >0 }) { continue; } st
plugins/Orgetorix-BountiesReworked/Orgetorix.BountyReworked.dll
Decompiled a week agousing System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyCompany("DigitalrootBountiesFixed")] [assembly: AssemblyConfiguration("Release")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("DigitalrootBountiesFixed")] [assembly: AssemblyTitle("DigitalrootBountiesFixed")] [assembly: AssemblyVersion("1.0.0.0")] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace DigitalrootBountiesFixed { [BepInPlugin("orgetorix.mod.bounties.reworked", "Orgetorix BountiesReworked", "1.0.1")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class Plugin : BaseUnityPlugin { public const string PluginGuid = "orgetorix.mod.bounties.reworked"; public const string PluginName = "Orgetorix BountiesReworked"; public const string PluginVersion = "1.0.1"; internal static ManualLogSource Log; private bool _registered; private void Awake() { Log = ((BaseUnityPlugin)this).Logger; Log.LogInfo((object)"Orgetorix BountiesReworked v1.0.1 loaded - restoring legacy bounty catalogue."); ((MonoBehaviour)this).InvokeRepeating("TryRegisterBounties", 3f, 2f); } private void TryRegisterBounties() { if (_registered) { return; } try { Type type = Type.GetType("EpicLoot.API, EpicLoot"); if (type == null) { return; } MethodInfo method = type.GetMethod("AddBountyTarget", BindingFlags.Static | BindingFlags.Public); if (method == null) { Log.LogError((object)"Epic Loot API method AddBountyTarget was not found."); ((MonoBehaviour)this).CancelInvoke("TryRegisterBounties"); return; } if ((Object)(object)ZNetScene.instance == (Object)null) { Log.LogDebug((object)"ZNetScene not ready yet - retrying..."); return; } int num = 0; int num2 = 0; int num3 = 0; foreach (string allBounty in BountyData.AllBounties) { if (allBounty.StartsWith("RRRN|", StringComparison.Ordinal)) { num2++; continue; } string[] array = allBounty.Split(new char[1] { '|' }); if (array.Length != 5) { num3++; continue; } string text = array[0]; if ((Object)(object)ZNetScene.instance.GetPrefab(text) == (Object)null) { num2++; continue; } string text2 = BountyData.ToJson(array); try { if (method.Invoke(null, new object[1] { text2 }) != null) { num++; } else { num3++; } } catch (Exception ex) { num3++; Log.LogWarning((object)("Failed to add legacy bounty '" + text + "': " + (ex.InnerException?.Message ?? ex.Message))); } } Log.LogInfo((object)($"Legacy bounties processed: {num} added, " + $"{num2} skipped (missing optional prefab/RRRN), {num3} failed.")); _registered = true; ((MonoBehaviour)this).CancelInvoke("TryRegisterBounties"); } catch (Exception arg) { Log.LogError((object)$"Error while registering legacy bounties: {arg}"); } } } public static class BountyData { public static readonly List<string> AllBounties = new List<string> { B("Deer", "Meadows", 1, 0, 10), B("Boar", "Meadows", 1, 0, 10), B("Boar", "Meadows", 1, 0, 10), B("Neck", "Meadows", 1, 0, 10), B("Neck", "Meadows", 1, 0, 10), B("Greyling", "Meadows", 1, 0, 10), B("Greyling", "Meadows", 1, 0, 10), B("Boar", "Meadows", 2, 0, 15), B("Neck", "Meadows", 2, 0, 15), B("Greydwarf_Shaman", "Meadows", 2, 1, 25), B("Greydwarf_Elite", "Meadows", 10, 3, 100), B("BlobElite", "Meadows", 0, 1, 25), B("Skeleton_Poison", "Meadows", 5, 0, 25), B("Skeleton_Poison", "Meadows", 1, 1, 30), B("Troll", "Meadows", 0, 1, 50), B("Ghost", "Meadows", 1, 0, 20), B("Ghost", "Meadows", 1, 0, 20), B("Wraith", "Meadows", 0, 1, 50), B("Lox", "Meadows", 3, 0, 50), B("Eikthyr", "Meadows", 3, 2, 100), B("Eikthyr", "Meadows", 5, 2, 120), B("Eikthyr", "Meadows", 5, 3, 120), B("Eikthyr", "Meadows", 8, 5, 160), B("RRRM_EikthyrBoar", "Meadows", 1, 0, 10), B("RRRN_wildbandit1", "Meadows", 1, 0, 10), B("RRRN_wildbandit2", "Meadows", 1, 0, 10), B("RRRN_wildbandit3", "Meadows", 1, 0, 10), B("RRRM_EikthyrWolf", "Meadows", 6, 0, 30), B("RRRM_EikthyrNeckT3R", "Meadows", 4, 0, 60), B("EikthyrLox", "Meadows", 7, 3, 80), B("EikthyrNeckT3M", "Meadows", 9, 5, 110), B("EikthyrNeckT4", "Meadows", 11, 6, 140), B("Greydwarf", "BlackForest", 2, 0, 20), B("Greydwarf", "BlackForest", 2, 0, 20), B("Skeleton", "BlackForest", 2, 0, 20), B("Skeleton", "BlackForest", 2, 0, 20), B("Ghost", "BlackForest", 2, 0, 25), B("Greydwarf_Shaman", "BlackForest", 3, 0, 30), B("Skeleton", "BlackForest", 4, 0, 35), B("Greydwarf_Elite", "BlackForest", 0, 1, 25), B("Troll", "BlackForest", 0, 1, 55), B("Greydwarf_Shaman", "BlackForest", 4, 1, 45), B("gd_king", "BlackForest", 5, 2, 185), B("gd_king", "BlackForest", 7, 2, 205), B("gd_king", "BlackForest", 9, 3, 225), B("gd_king", "BlackForest", 9, 3, 225), B("gd_king", "BlackForest", 12, 3, 255), B("GhostWarrior", "BlackForest", 2, 0, 20), B("SkeletonWarrior", "BlackForest", 2, 0, 20), B("SkeletonWarriorFire", "BlackForest", 2, 0, 20), B("SkeletonWarriorIce", "BlackForest", 2, 0, 20), B("TanSpider", "BlackForest", 2, 0, 20), B("ForestSpider", "BlackForest", 2, 0, 20), B("Greydwarf_Purple_Shroom", "BlackForest", 2, 0, 20), B("Greydwarf_Purple", "BlackForest", 2, 0, 20), B("Molluscan", "BlackForest", 2, 0, 20), B("RRRM_ForestSpider", "BlackForest", 2, 0, 20), B("RRRM_GhostWarrior", "BlackForest", 2, 0, 20), B("RRRM_SkeletonWarrior", "BlackForest", 2, 0, 20), B("RRRM_SkeletonWarriorFire", "BlackForest", 2, 0, 20), B("RRRM_SkeletonWarriorIce", "BlackForest", 2, 0, 20), B("RRRM_TanSpider", "BlackForest", 2, 0, 20), B("RRRM_GDTosser", "BlackForest", 2, 0, 20), B("RRR_GDThornweaver", "BlackForest", 3, 0, 30), B("RRRN_wildbanditgiant", "BlackForest", 4, 1, 60), B("RRRN_wildbandit3", "BlackForest", 4, 1, 60), B("TrollT2Elite", "BlackForest", 6, 1, 80), B("GDElderBrute", "BlackForest", 6, 1, 85), B("GDBurningTorch", "BlackForest", 7, 1, 80), B("TrollT3Elite", "BlackForest", 7, 2, 90), B("TrollT4Elite", "BlackForest", 10, 2, 110), B("Blob", "Swamp", 3, 0, 35), B("BlobElite", "Swamp", 4, 0, 40), B("BlobElite", "Swamp", 5, 0, 45), B("BlobElite", "Swamp", 5, 0, 45), B("BlobElite", "Swamp", 5, 0, 45), B("BlobElite", "Swamp", 6, 0, 50), B("BlobElite", "Swamp", 5, 0, 45), B("BlobElite", "Swamp", 5, 0, 45), B("BlobElite", "Swamp", 5, 0, 45), B("BlobElite", "Swamp", 5, 0, 45), B("Skeleton", "Swamp", 3, 0, 30), B("Leech", "Swamp", 3, 0, 30), B("Ghost", "Swamp", 0, 0, 30), B("Draugr", "Swamp", 3, 0, 40), B("Surtling", "Swamp", 3, 0, 30), B("Surtling", "Swamp", 4, 0, 40), B("Wraith", "Swamp", 0, 1, 60), B("Wraith", "Swamp", 3, 1, 80), B("Draugr_Elite", "Swamp", 0, 1, 60), B("Draugr_Elite", "Swamp", 5, 1, 90), B("Draugr_Elite", "Swamp", 5, 1, 90), B("Draugr_Elite", "Swamp", 5, 1, 90), B("Draugr_Elite", "Swamp", 5, 1, 90), B("Skeleton", "Swamp", 5, 1, 60), B("Skeleton_Poison", "Swamp", 5, 1, 70), B("Bonemass", "Swamp", 6, 2, 190), B("Eikthyr", "Swamp", 5, 1, 130), B("gd_king", "Swamp", 5, 1, 150), B("Bonemass", "Swamp", 7, 2, 210), B("Bonemass", "Swamp", 8, 2, 220), B("Bonemass", "Swamp", 9, 2, 230), B("Bonemass", "Swamp", 8, 4, 220), B("Bonemass", "Swamp", 11, 4, 250), B("GreenSpider", "Swamp", 3, 0, 30), B("GreenSpider", "Swamp", 3, 0, 30), B("RRRM_GreenSpider", "Swamp", 3, 0, 30), B("RRR_GhostVengeful", "Swamp", 3, 0, 30), B("UndeadHrungnir", "Swamp", 5, 1, 70), B("SkeletonT3Captain", "Swamp", 5, 1, 80), B("SkeletonT4Captain", "Swamp", 6, 2, 90), B("WraithT3", "Swamp", 7, 2, 40), B("Wolf", "Mountain", 4, 0, 40), B("Wolf", "Mountain", 4, 0, 40), B("Hatchling", "Mountain", 4, 0, 40), B("Hatchling", "Mountain", 4, 0, 40), B("Skeleton", "Mountain", 4, 0, 40), B("Skeleton", "Mountain", 4, 0, 40), B("Surtling", "Mountain", 4, 0, 40), B("Draugr_Ranged", "Mountain", 4, 0, 40), B("Skeleton", "Mountain", 5, 0, 50), B("Fenring", "Mountain", 0, 2, 60), B("Fenring", "Mountain", 5, 2, 110), B("Wolf", "Mountain", 5, 1, 80), B("StoneGolem", "Mountain", 0, 2, 90), B("StoneGolem", "Mountain", 7, 3, 170), B("Ghost", "Mountain", 4, 0, 50), B("Ghost", "Mountain", 4, 0, 50), B("Wraith", "Mountain", 4, 0, 55), B("Wraith", "Mountain", 4, 0, 55), B("Eikthyr", "Mountain", 6, 1, 130), B("gd_king", "Mountain", 7, 1, 150), B("Dragon", "Mountain", 7, 2, 220), B("Dragon", "Mountain", 8, 2, 240), B("Dragon", "Mountain", 8, 2, 240), B("Dragon", "Mountain", 10, 2, 260), B("Dragon", "Mountain", 10, 2, 260), B("Dragon", "Mountain", 9, 2, 250), B("Dragon", "Mountain", 11, 3, 290), B("Bear", "Mountain", 4, 0, 50), B("Bear", "Mountain", 4, 0, 50), B("Bear", "Mountain", 4, 0, 50), B("Bear", "Mountain", 5, 0, 40), B("Bear", "Mountain", 4, 1, 40), B("IceGolem", "Mountain", 4, 0, 40), B("SkeletonWarriorIce", "Mountain", 4, 0, 40), B("FrostSpider", "Mountain", 4, 0, 40), B("FrigidSpider", "Mountain", 4, 0, 40), B("ObsidianGolem", "Mountain", 4, 0, 40), B("RRRM_StormWolf", "Mountain", 4, 0, 40), B("RRRM_FrigidSpider", "Mountain", 4, 0, 40), B("RRRM_FrostSpider", "Mountain", 4, 0, 40), B("RRRM_IceGolem", "Mountain", 4, 0, 40), B("RRRN_mountainbandit1", "Mountain", 4, 0, 40), B("RRRN_mountainbandit2", "Mountain", 4, 0, 40), B("RRRN_mountainbandit3", "Mountain", 9, 1, 140), B("IceGolem", "Mountain", 11, 3, 340), B("Serpent", "Ocean", 6, 1, 30), B("Kraken", "Ocean", 24, 25, 3030), B("RRRM_StormHatchling", "Ocean", 5, 1, 60), B("RRRM_DrownedSoul", "Ocean", 4, 0, 35), B("RRRM_SmallPolarSerpent", "Ocean", 9, 1, 60), B("Goblin", "Plains", 5, 1, 65), B("Goblin", "Plains", 5, 1, 65), B("Goblin", "Plains", 5, 1, 65), B("Hatchling", "Plains", 5, 1, 50), B("Skeleton", "Plains", 5, 1, 50), B("Lox", "Plains", 5, 1, 95), B("Surtling", "Plains", 5, 1, 50), B("Draugr_Ranged", "Plains", 5, 1, 50), B("Skeleton", "Plains", 6, 1, 60), B("Deathsquito", "Plains", 5, 1, 50), B("Deathsquito", "Plains", 5, 1, 50), B("Deathsquito", "Plains", 8, 4, 65), B("GoblinBrute", "Plains", 0, 4, 95), B("GoblinBrute", "Plains", 8, 4, 135), B("GoblinBrute", "Plains", 10, 4, 195), B("GoblinShaman", "Plains", 10, 4, 215), B("GoblinShaman", "Plains", 15, 5, 265), B("Ghost", "Plains", 5, 1, 50), B("Ghost", "Plains", 5, 1, 50), B("Wraith", "Plains", 5, 1, 50), B("Wraith", "Plains", 5, 1, 50), B("Eikthyr", "Plains", 5, 2, 80), B("gd_king", "Plains", 8, 2, 90), B("gd_king", "Plains", 10, 3, 100), B("Dragon", "Plains", 9, 3, 230), B("Dragon", "Plains", 12, 4, 300), B("Dragon", "Plains", 15, 7, 400), B("Bonemass", "Plains", 15, 7, 400), B("Bonemass", "Plains", 15, 5, 350), B("Bonemass", "Plains", 20, 6, 370), B("Bonemass", "Plains", 25, 7, 550), B("GoblinKing", "Plains", 15, 4, 550), B("GoblinKing", "Plains", 17, 4, 580), B("GoblinKing", "Plains", 25, 5, 650), B("GoblinKing", "Plains", 35, 9, 850), B("GoblinKing", "Plains", 35, 9, 850), B("GoblinKing", "Plains", 45, 11, 1050), B("GoblinKing", "Plains", 45, 11, 1050), B("GoblinKing", "Plains", 55, 13, 1250), B("GoblinKing", "Plains", 65, 14, 1300), B("GoblinKing", "Plains", 75, 16, 1450), B("GoblinKing", "Plains", 80, 16, 2050), B("GoblinBase", "Plains", 5, 1, 50), B("GoblinShamanNew", "Plains", 5, 1, 50), B("GoblinShamanNew", "Plains", 6, 1, 50), B("GoblinShamanNew", "Plains", 5, 1, 50), B("BrownSpider", "Plains", 5, 1, 50), B("RRRM_BrownSpider", "Plains", 5, 1, 50), B("RRRN_plainsbandit1", "Plains", 5, 1, 50), B("RRRN_plainsbandit2", "Plains", 5, 1, 50), B("RRRN_plainsbandit3", "Plains", 11, 3, 200), B("Ghost", "Mistlands", 5, 1, 60), B("Ghost", "Mistlands", 5, 1, 60), B("Wraith", "Mistlands", 5, 1, 60), B("Wraith", "Mistlands", 5, 1, 60), B("Eikthyr", "Mistlands", 5, 1, 90), B("TreeSpider", "Mistlands", 5, 1, 60), B("TreeSpider", "Mistlands", 5, 1, 60), B("Spider_Boss", "Mistlands", 8, 6, 160), B("RRRM_DarkProtector", "Mistlands", 5, 1, 60), B("RRRM_DarkSpider", "Mistlands", 5, 1, 60), B("RRRM_PoisonDarkSpider", "Mistlands", 5, 1, 60), B("RRRM_TreeSpider", "Mistlands", 5, 1, 60), B("RRRN_Svartalfr", "Mistlands", 5, 1, 60), B("RRRN_SvartalfrArcher", "Mistlands", 5, 1, 60), B("RRRN_SvartalfrMage", "Mistlands", 5, 1, 60), B("RRRN_SvartalfrHeavy", "Mistlands", 5, 1, 60), B("RRRN_SvartalfrBrigade", "Mistlands", 5, 1, 60), B("RRR_Grig", "Mistlands", 7, 2, 100), B("RRRM_MotherDarkSpider", "Mistlands", 8, 3, 110), B("RRRN_SvartalfrQueen", "Mistlands", 14, 6, 310), B("Surtling", "AshLands", 6, 2, 70), B("Surtling", "AshLands", 6, 2, 70), B("Surtling", "AshLands", 6, 2, 70), B("Surtling", "AshLands", 6, 2, 70), B("GoblinKing", "AshLands", 81, 17, 2070), B("GoblinKing", "AshLands", 81, 17, 2070), B("GoblinKing", "AshLands", 81, 17, 2070), B("GoblinKing", "AshLands", 81, 17, 2070), B("GoblinKing", "AshLands", 81, 17, 2070), B("FireGolem", "AshLands", 6, 2, 70), B("SkeletonWarriorFire", "AshLands", 6, 2, 70), B("RRRM_ElderSurtling", "AshLands", 6, 2, 70), B("RRRM_AshHatchling", "AshLands", 6, 2, 70), B("RRRM_AshNeck", "AshLands", 6, 2, 70), B("RRRM_BurnedBones", "AshLands", 6, 2, 70), B("RRRM_SwollenBody", "AshLands", 8, 4, 140), B("RRRM_FireGolem", "AshLands", 6, 2, 70), B("RRRM_BlazingBones", "AshLands", 6, 2, 70), B("RRRM_DamnedOne", "AshLands", 12, 4, 130), B("RRRM_BlazingDamnedOne", "AshLands", 14, 4, 140), B("Troll", "DeepNorth", 7, 2, 80), B("Troll", "DeepNorth", 8, 3, 90), B("Troll", "DeepNorth", 10, 3, 100), B("Troll", "DeepNorth", 12, 4, 130), B("Dragon", "DeepNorth", 82, 17, 2080), B("Dragon", "DeepNorth", 82, 17, 2080), B("Dragon", "DeepNorth", 82, 17, 2080), B("Dragon", "DeepNorth", 82, 17, 2080), B("Bear", "DeepNorth", 7, 2, 90), B("Bear", "DeepNorth", 7, 2, 80), B("SkeletonWarriorIce", "DeepNorth", 7, 2, 80), B("IceGolem", "DeepNorth", 7, 2, 80), B("RRRM_AngryFrozenCorpse", "DeepNorth", 7, 2, 80), B("RRRM_FrozenCorpse", "DeepNorth", 7, 2, 80), B("RRRM_PolarFenring", "DeepNorth", 7, 2, 80), B("RRRM_PolarLox", "DeepNorth", 7, 2, 80), B("RRRM_SilverGolem", "DeepNorth", 7, 2, 80), B("RRRM_DevourerFenring", "DeepNorth", 9, 8, 180), B("RRRM_StormFenring", "DeepNorth", 9, 8, 180), B("RRRM_ForgottenOne", "DeepNorth", 9, 8, 180), B("RRRM_Jotunn", "DeepNorth", 12, 12, 280) }; private static string B(string targetId, string biome, int iron, int gold, int coins) { return $"{targetId}|{biome}|{iron}|{gold}|{coins}"; } public static string ToJson(string[] parts) { return "{\"TargetID\":\"" + parts[0] + "\",\"Biome\":\"" + parts[1] + "\",\"RewardIron\":" + parts[2] + ",\"RewardGold\":" + parts[3] + ",\"RewardCoins\":" + parts[4] + "}"; } } }