using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using System.Text;
using BepInEx;
using BepInEx.Bootstrap;
using BepInEx.Configuration;
using BepInEx.Logging;
using DefiniteSeeds;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using Obeliskial_Essentials;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")]
[assembly: AssemblyCompany("com.binbin.DefiniteSeeds")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.1.2.0")]
[assembly: AssemblyInformationalVersion("1.1.2+43bcf4e64d8968ca362a330c4023ff1940ac6eb2")]
[assembly: AssemblyProduct("DefiniteSeeds")]
[assembly: AssemblyTitle("com.binbin.DefiniteSeeds")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.1.2.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.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;
}
}
}
public static class EssentialsCompatibility
{
private static bool? _enabled;
public static bool Enabled
{
get
{
bool valueOrDefault = _enabled.GetValueOrDefault();
if (!_enabled.HasValue)
{
valueOrDefault = Chainloader.PluginInfos.ContainsKey("com.stiffmeds.obeliskialessentials");
_enabled = valueOrDefault;
}
return _enabled.Value;
}
}
[MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
public static void EssentialsRegister()
{
Essentials.RegisterMod(Plugin.PluginName, "binbin", "Definite Seeds", Plugin.PluginVersion, Plugin.ModDate, "https://github.com/binbinmods/DefiniteSeeds", (string[])null, "", 100, (string[])null, "", true);
Plugin.LogInfo(Plugin.PluginGUID + " " + Plugin.PluginVersion + " has loaded with Essentials!");
}
}
namespace DefiniteSeeds
{
[HarmonyPatch]
public class DefiniteSeedsFunctions
{
}
[HarmonyPatch]
public class DefiniteSeedsPatches
{
[HarmonyPrefix]
[HarmonyPatch(typeof(AtOManager), "BeginAdventure")]
public static void BeginAdventurePrefix(ref AtOManager __instance, out string __state)
{
__state = __instance.GetGameId();
}
[HarmonyPostfix]
[HarmonyPatch(typeof(AtOManager), "BeginAdventure")]
public static void BeginAdventurePostfix(ref AtOManager __instance, string __state)
{
if (Plugin.EnableMod.Value)
{
__instance.SetGameId(__state);
}
}
}
[BepInPlugin("com.binbin.DefiniteSeeds", "DefiniteSeeds", "1.1.2")]
[BepInProcess("AcrossTheObelisk.exe")]
public class Plugin : BaseUnityPlugin
{
public static string PluginName;
public static string PluginVersion;
public static string PluginGUID;
internal static int ModDate = int.Parse(DateTime.Today.ToString("yyyyMMdd"));
private readonly Harmony harmony = new Harmony("com.binbin.DefiniteSeeds");
internal static ManualLogSource Log;
public static string debugBase = "com.binbin.DefiniteSeeds ";
public static ConfigEntry<bool> EnableMod { get; set; }
private void Awake()
{
//IL_002e: Unknown result type (might be due to invalid IL or missing references)
//IL_003f: Unknown result type (might be due to invalid IL or missing references)
//IL_0049: Expected O, but got Unknown
//IL_0049: Expected O, but got Unknown
Log = ((BaseUnityPlugin)this).Logger;
Log.LogInfo((object)"com.binbin.DefiniteSeeds 1.1.2 has loaded!");
string text = "DefiniteSeeds";
EnableMod = ((BaseUnityPlugin)this).Config.Bind<bool>(new ConfigDefinition(text, "EnableMod"), true, new ConfigDescription("If false, disables the mod. No Restart Required.", (AcceptableValueBase)null, Array.Empty<object>()));
PluginName = "DefiniteSeeds";
PluginVersion = "1.1.2";
PluginGUID = "com.binbin.DefiniteSeeds";
if (EssentialsCompatibility.Enabled)
{
EssentialsCompatibility.EssentialsRegister();
}
else
{
LogInfo(PluginGUID + " " + PluginVersion + " has loaded!");
}
harmony.PatchAll();
}
internal static void LogDebug(string msg)
{
Log.LogDebug((object)(debugBase + msg));
}
internal static void LogInfo(string msg)
{
Log.LogInfo((object)(debugBase + msg));
}
internal static void LogError(string msg)
{
Log.LogError((object)(debugBase + msg));
}
public static List<string> GetItemList()
{
if ((Object)(object)Globals.Instance != (Object)null)
{
return Globals.Instance.CardListByClass[(CardClass)8];
}
return new List<string>
{
"acolytetunic", "acolytetunicrare", "advancedhandbook", "advancedhandbookrare", "aegis", "aegisrare", "agateamulet", "agateamuletrare", "alarmbell", "alarmbellrare",
"albatrosspendant", "albatrosspendantrare", "alchemypot", "alchemypotrare", "allseeingamulet", "allseeingamuletrare", "amberamulet", "amberamuletrare", "amethystring", "amethystringrare",
"amuletofprotection", "amuletofprotectionrare", "amuletofspeed", "amuletofspeedrare", "amuletofthorns", "amuletofthornsrare", "ankhoflife", "ankhofliferare", "antiquefigurine", "antiquefigurinerare",
"aquamarinebracelet", "aquamarinebraceletrare", "architectsring", "architectsringrare", "archmagebook", "archmagebookrare", "asmody", "asmodyrare", "assassintools", "assassintoolsrare",
"avoidancecollar", "avoidancecollarrare", "ballofwool", "ballofwoolrare", "bandages", "bandagesrare", "bastion", "bastionrare", "batsy", "batsyrare",
"battleaxe", "battleaxerare", "beermug", "beermugrare", "bell", "bellrare", "belphyorpipe", "belphyorpiperare", "berserkerclaw", "berserkerclawrare",
"berserkpotion", "berserkpotionrare", "betty", "bettyrare", "blackdeck", "blackdeckrare", "blackguard", "blackguardrare", "blackpyramid", "blackpyramidrare",
"bloodamulet", "bloodamuleta", "bloodamuletb", "bloodamuletrare", "bloodblobpet", "bloodblobpetrare", "blooddguard", "blooddguardrare", "bloodgoblet", "bloodgobletrare",
"bloodlettersfang", "bloodlettersfangrare", "bloodseeker", "bloodseekerrare", "bloodstone", "bloodstonerare", "blowgun", "blowgunrare", "bluefeather", "bluefeatherrare",
"blueprints", "blueprintsrare", "blunderbluss", "blunderblussrare", "boneclaws", "boneclawsa", "boneclawsb", "boneclawsrare", "bonering", "boneringrare",
"bonkhammer", "bonkhammerrare", "bootsofswiftness", "bootsofswiftnessrare", "brassamulet", "brassamuletrare", "brasslantern", "brasslanternrare", "breastplate", "breastplaterare",
"brigandarmor", "brigandarmorrare", "brokenitem", "bronzegear", "bronzegearrare", "bucket", "bucketrare", "bunny", "bunnyrare", "burialmask",
"burialmaskrare", "burneditem", "burningorb", "burningorbrare", "butcherblock", "butcherblockrare", "butchersknife", "butcherskniferare", "cauldron", "cauldronrare",
"chaliceofkings", "chaliceofkingsrare", "chaliceofqueens", "chaliceofqueensrare", "champy", "champyrare", "chaosblobpet", "chaosblobpetrare", "chaoticspear", "chaoticspearrare",
"chargedtrident", "chargedtridentrare", "cheese", "cheeserare", "chompy", "chompyrare", "chumpy", "chumpyrare", "clairvoyantscroll", "clairvoyantscrollrare",
"clergyamulet", "clergyamuletrare", "cloackofevasion", "cloackofevasionrare", "cloackofspeed", "cloackofspeedrare", "cloudsong", "cloudsongrare", "club", "clubrare",
"coldbonegoblet", "coldbonegobletrare", "coldbook", "coldbookrare", "coldrune", "coldrunerare", "combatbandages", "combatbandagesa", "combatbandagesb", "combatbandagesrare",
"compass", "compassrare", "continuumblade", "continuumbladerare", "coolingservos", "coolingservosrare", "corruptedplate", "corruptedplatea", "corruptedplateb", "corruptedplaterare",
"corsairhat", "corsairhatrare", "countsamulet", "countsamuletrare", "countscloak", "countscloakrare", "crankcrossbow", "crankcrossbowrare", "crescentmoon", "crescentmoonrare",
"crimsonraiment", "crimsonraimentrare", "crossbow", "crossbowrare", "crusaderhelmet", "crusaderhelmetrare", "crystalball", "crystalballrare", "cuby", "cubyd",
"cubydrare", "cubyrare", "cupcake", "cupcakerare", "cupofdeath", "cupofdeathrare", "curseddagger", "curseddaggerrare", "cursedjewelersring", "dagger",
"daggerrare", "daley", "daleyrare", "darkblobpet", "darkblobpetrare", "darkflamering", "darkflameringrare", "darkhood", "darkhoodrare", "dartpouch",
"dartpouchrare", "deformeditem", "desertjam", "desertjamrare", "dessert", "dessertrare", "destiny", "destinyrare", "destroyergauntlets", "destroyergauntletsrare",
"detoxpotion", "detoxpotionrare", "diamondring", "diamondringrare", "dimensionalcrystal", "dimensionalcrystalrare", "dirtybandages", "dirtybandagesrare", "divinationorb", "divinationorbrare",
"divinghelmet", "divinghelmetrare", "dracomancerstaff", "dracomancerstaffrare", "dreamcatcher", "dreamcatcherrare", "dreamsphere", "dreamsphererare", "druidicamulet", "druidicamuletrare",
"dryadmask", "dryadmaskrare", "durandal", "durandalrare", "duskforgedarmor", "duskforgedarmora", "duskforgedarmorb", "duskforgedarmorrare", "dwarvenhelmet", "dwarvenhelmetrare",
"dynamite", "dynamiterare", "edgeoffury", "edgeoffuryrare", "eeriering", "eerieringrare", "eldritchcloak", "eldritchcloakrare", "eldritchring", "eldritchringrare",
"eldritchsword", "eldritchswordrare", "eldritchwand", "eldritchwandrare", "electricblobpet", "electricblobpetrare", "elvencuirass", "elvencuirassrare", "elvenquiver", "elvenquiverrare",
"emeraldnecklace", "emeraldnecklacerare", "emeraldstaff", "emeraldstaffrare", "endlessbag", "endlessbagrare", "energyshield", "energyshieldrare", "eternalcandle", "eternalcandlerare",
"exoticspices", "exoticspicesrare", "faeborgscale", "faeborgscalerare", "faithring", "faithringrare", "familyjewels", "familyjewelsa", "familyjewelsb", "familyjewelsrare",
"featherearring", "featherearringrare", "fenny", "fennyrare", "ferventring", "ferventringrare", "fierywand", "fierywandrare", "firebook", "firebookrare",
"firerune", "firerunerare", "fishbonesoup", "fishbonesouprare", "fishcage", "fishcagerare", "fishingrod", "fishingrodrare", "fistofthedamned", "fistofthedamnedrare",
"flail", "flailrare", "flamingsword", "flamingswordrare", "flamy", "flamyrare", "floaty", "floatyrare", "flute", "fluterare",
"forestbanner", "forestbannera", "forestbannerb", "forestbannerrare", "forestcrown", "forestcrownrare", "fork", "forkrare", "fountainpen", "fountainpenrare",
"fourleafclover", "fourleafcloverrare", "freelover", "freeloverrare", "freezingink", "freezinginkrare", "frostaxe", "frostaxerare", "frostfirering", "frostfireringrare",
"frostguard", "frostguardrare", "frozenarrows", "frozenarrowsrare", "frozenheirloom", "frozenheirloomrare", "frozenorb", "frozenorbrare", "frozentear", "frozentearrare",
"garnetearrings", "garnetearringsrare", "gauntlets", "gauntletsrare", "gihlrunestone", "gihlrunestonerare", "gildedplate", "gildedplatea", "gildedplateb", "gildedplaterare",
"glacialhammer", "glacialhammerrare", "gladiatorhelmet", "gladiatorhelmetrare", "gloves", "glovesofagility", "glovesofagilityrare", "glovesrare", "goblinamulet", "goblinamuletrare",
"goggles", "gogglesrare", "goldchain", "goldchainrare", "goldenbell", "goldenbellrare", "goldenchalice", "goldenchalicerare", "goldencloak", "goldencloakrare",
"goldencross", "goldencrossrare", "goldenharp", "goldenharprare", "goldenlaurel", "goldenlaurelrare", "goldring", "goldringrare", "greaterhealthpotion", "greaterhealthpotionrare",
"greatermanapotion", "greatermanapotionrare", "handbook", "handbookrare", "harbingerofdeath", "harbingerofdeathrare", "healingbook", "healingbookrare", "healthpotion", "healthpotionrare",
"heartamulet", "heartamuletrare", "heartofthorns", "heartofthornsrare", "heavybelt", "heavybeltrare", "heavypackage", "hellblade", "hellbladerare", "helmet",
"helmetrare", "hightchancellorstaff", "hightchancellorstaffa", "hightchancellorstaffb", "hightchancellorstaffrare", "holyblobpet", "holyblobpetrare", "holybook", "holybookrare", "holygrail",
"holygrailrare", "holyhammer", "holyhammerrare", "holyrune", "holyrunerare", "hornethelmet", "hornethelmetrare", "hourglassofdeath", "hourglassofdeathrare", "hunterscharm",
"hunterscharmrare", "hunterswhip", "hunterswhiprare", "huntingring", "huntingringrare", "hydraegg", "hydraeggrare", "hypnoshell", "hypnoshellrare", "icebreaker",
"icebreakerrare", "iceorb", "iceorbrare", "icyblobpet", "icyblobpetrare", "icywand", "icywandrare", "ignidohscore", "ignidohscorerare", "igniscloack",
"igniscloackrare", "impstatuette", "impstatuetterare", "infusedgem", "infusedgemrare", "inky", "inkyrare", "ironfortress", "ironfortressrare", "ironkanabo",
"ironkanaborare", "ironwand", "ironwandrare", "jadering", "jaderingrare", "jelly", "jellyrare", "jewelersring", "jewelersringrare", "jinglebell",
"jinglebella", "jinglebellb", "jinglebellrare", "jollyroger", "jollyrogerrare", "justicarring", "justicarringrare", "kingmaker", "kingmakerrare", "kiteshield",
"kiteshieldrare", "krakensushi", "krakensushirare", "lapisnecklace", "lapisnecklacerare", "largepouch", "largepouchrare", "largeshield", "largeshieldrare", "lavablobpet",
"lavablobpetrare", "lavacrystal", "lavacrystalrare", "lavaorb", "lavaorbrare", "lavapotion", "lavapotionrare", "leatherarmor", "leatherarmorrare", "leatherboots",
"leatherbootsrare", "leathergloves", "leatherglovesrare", "liante", "lianterare", "lifebindersashes", "lifebindersashesrare", "lifeessence", "lifeessencerare", "lightbringer",
"lightbringerrare", "lightningbook", "lightningbookrare", "lightningrune", "lightningrunerare", "lightningspear", "lightningspearrare", "lockpicks", "lockpicksrare", "longbow",
"longbowrare", "longevitypotion", "longevitypotiona", "longevitypotionb", "longevitypotionrare", "lostmail", "lostmailrare", "luckypaw", "luckypawrare", "lunaring",
"lunaringrare", "lychee", "lycheerare", "machineoil", "machineoilrare", "madnessring", "madnessringrare", "magictome", "magictomerare", "magusstaff",
"magusstaffrare", "manaloop", "manalooprare", "manapotion", "manapotionrare", "maskofanger", "maskofangerrare", "maskofjoy", "maskofjoyrare", "maskoftolerance",
"maskoftolerancerare", "matey", "mateyrare", "matriarchsclaw", "matriarchsclawrare", "megaphone", "megaphonerare", "merchantbadge", "merchantbadgerare", "metalblobpet",
"metalblobpetrare", "midnightgloves", "midnightglovesrare", "mildbroth", "mildbrothrare", "mimy", "mimyrare", "mindbook", "mindbookrare", "minotaurhorn",
"minotaurhornrare", "mirrorofkalandra", "mirrorofkalandrarare", "mixedsalad", "mixedsaladrare", "mjolnir", "mjolnirrare", "mnemrunestone", "mnemrunestonerare", "morningstar",
"morningstarrare", "mortarandpestle", "mortarandpestlerare", "mountainking", "mountainkingrare", "mozzy", "mozzyrare", "mysticstaff", "mysticstaffrare", "necromancerrobe",
"necromancerroberare", "netherblade", "netherbladerare", "neverfrost", "neverfrostrare", "nightveil", "nightveilrare", "ninjascroll", "ninjascrollrare", "nobleshield",
"nobleshieldrare", "nullifier", "nullifierrare", "obeliskscroll", "obeliskscrollrare", "obsidiandagger", "obsidiandaggerrare", "obsidianring", "obsidianringrare", "obsidianrod",
"obsidianrodrare", "oculy", "oculyrare", "oldhorseshoe", "oldhorseshoerare", "onyxamulet", "onyxamuletrare", "opalring", "opalringrare", "orbofstorms",
"orbofstormsrare", "orby", "orbyrare", "osmiumfeet", "osmiumfeetrare", "paladingauntlets", "paladingauntletsrare", "pancakes", "pancakesrare", "pandorasbox",
"pandorasboxrare", "pearlbelt", "pearlbeltrare", "penitencering", "penitenceringrare", "piggybank", "piousring", "piousringrare", "pirategrog", "pirategrograre",
"piratehat", "piratehatrare", "platemail", "platemailrare", "platinumring", "platinumringrare", "pointyhat", "pointyhatrare", "poisoneddagger", "poisoneddaggerrare",
"powdercask", "powdercaskrare", "powercoil", "powercoilrare", "powerglove", "powerglovea", "powergloveb", "powergloverare", "primalnecklace", "primalnecklacerare",
"prophetstaff", "prophetstaffa", "prophetstaffb", "prophetstaffrare", "purpletentacle", "purpletentaclerare", "pyromancerrobe", "pyromancerroberare", "quill", "quillrare",
"raggeddoll", "raggeddolla", "raggeddollb", "raggeddollrare", "raiderslicer", "raiderslicerrare", "raincoat", "raincoatrare", "rangerarmor", "rangerarmora",
"rangerarmorb", "rangerarmorrare", "ravenstaff", "ravenstaffrare", "razor", "razorrare", "redcape", "redcaperare", "redfeather", "redfeatherrare",
"redsteelcloack", "redsteelcloackrare", "reforgedcore", "reforgedcorea", "reforgedcoreb", "reforgedcorerare", "reinforcedarmor", "reinforcedarmorrare", "rejuvenationpotion", "rejuvenationpotionrare",
"retaliator", "retaliatorrare", "riftshard", "riftshardrare", "riftshield", "riftshieldrare", "rifty", "riftyrare", "ringoffire", "ringoffirerare",
"ringofhope", "ringofhoperare", "ringofprotection", "ringofprotectionrare", "ritualdagger", "ritualdaggerrare", "rocketboots", "rocketbootsa", "rocketbootsb", "rocketbootsrare",
"rocky", "rockyrare", "roundshield", "roundshieldrare", "royalcoin", "royalcoinrare", "rubyamulet", "rubyamuletrare", "rubycuirass", "rubycuirassrare",
"rudder", "rudderrare", "runicdice", "runicdicerare", "runicring", "runicringrare", "rustyarmor", "rustyarmorrare", "rustyboots", "rustybootsrare",
"rustyhook", "rustyhookrare", "rustyring", "rustyringrare", "sacredaxe", "sacredaxerare", "sacredtablet", "sacredtabletrare", "sahtipendant", "sahtipendantrare",
"salt", "saltrare", "samuraiarmor", "samuraiarmorrare", "sapphireamulet", "sapphireamuletrare", "sapphirering", "sapphireringrare", "savantrobe", "savantroberare",
"scarabshield", "scarabshieldrare", "scaraby", "scarabyrare", "scholarrobe", "scholarroberare", "screwdriver", "screwdriverrare", "scrollofresurrection", "scrollofresurrectionrare",
"scryerstaff", "scryerstaffrare", "searingdagger", "searingdaggerrare", "seashell", "seashellamulet", "seashellamuletrare", "seashellrare", "seashellring", "seashellringrare",
"serenityring", "serenityringrare", "sextant", "sextantrare", "shacklesofwar", "shacklesofwarrare", "shadowbook", "shadowbookrare", "shadowcloack", "shadowcloackrare",
"shadoworb", "shadoworbrare", "shadowrune", "shadowrunerare", "sharpscimitar", "sharpscimitarrare", "sharpy", "sharpyrare", "shieldofthorns", "shieldofthornsrare",
"shortsword", "shortswordrare", "shoulderplate", "shoulderplaterare", "sidearm", "sidearmrare", "silverchalice", "silverchalicerare", "silverring", "silverringrare",
"simplehat", "simplehatrare", "singingsword", "singingswordrare", "slimy", "slimyrare", "slingshot", "slingshotrare", "slippers", "slippersrare",
"smallchest", "smallchestrare", "smallpouch", "smallpouchrare", "soap", "soaprare", "solring", "solringrare", "soullantern", "soullanterna",
"soullanternb", "soullanternrare", "soulreaver", "soulreaverrare", "spear", "spearrare", "spicydish", "spicydishrare", "spiderqueeneye", "spiderqueeneyerare",
"spikedbracers", "spikedbracersrare", "spikedshoulderpads", "spikedshoulderpadsrare", "spikygauntlets", "spikygauntletsrare", "spooky", "spookyrare", "spyglass", "spyglassrare",
"squidtoken", "stainlesscuirass", "stainlesscuirassrare", "steadfastboots", "steadfastbootsrare", "steadfastshield", "steadfastshieldrare", "steelrod", "steelrodrare", "stimulantpills",
"stimulantpillsrare", "stoneamulet", "stoneamuletrare", "stonemaul", "stonemaulrare", "stormcallerfeather", "stormcallerfeatherrare", "storminabottle", "storminabottlerare", "stormtiara",
"stormtiararare", "stormy", "stormyrare", "strawhat", "strawhatrare", "strongmojo", "strongmojorare", "suppressionhelmet", "suppressionhelmetrare", "surprisebox",
"surpriseboxrare", "surprisegiftbox", "surprisegiftboxrare", "taintedrod", "taintedrodrare", "tempest", "tempestrare", "templeamulet", "templeamuletrare", "terrorring",
"terrorringrare", "tesseract", "tesseractrare", "theanvil", "theanvilrare", "thedarkone", "thedarkonerare", "thedefiler", "thedefilerrare", "thejuggernaut",
"thejuggernautrare", "theone", "theonerare", "thepolluter", "thepolluterrare", "theporcupine", "theporcupinerare", "theproficient", "theproficientrare", "thermalamulet",
"thermalamuletrare", "thermalring", "thermalringrare", "thewall", "thewallrare", "thewolfslayer", "thewolfslayera", "thewolfslayerb", "thewolfslayerrare", "thorimsrod",
"thornyring", "thornyringrare", "tikimask", "tikimaskrare", "timepiece", "timepiecea", "timepieceb", "timepiecerare", "tinycannon", "tinycannonrare",
"titangauntlets", "titangauntletsrare", "topazring", "topazringrare", "torch", "torchrare", "touristmap", "touristmaprare", "toxicblobpet", "toxicblobpetrare",
"turban", "turbanrare", "turboboots", "turbobootsrare", "twinblades", "twinbladesrare", "tyrantnecklace", "tyrantnecklacerare", "undeathichor", "undeathichorrare",
"unholyhammer", "unholyhammerrare", "uselessitem", "veiledbonds", "veiledbondsrare", "venomamulet", "venomamuletrare", "venomfang", "venomfangrare", "venomflask",
"venomflaska", "venomflaskb", "venomflaskrare", "veteranarmor", "veteranarmorrare", "vilering", "vileringrare", "viperring", "viperringrare", "virulentring",
"virulentringrare", "visionring", "visionringrare", "volcanicaxe", "volcanicaxerare", "voodoodoll", "voodoodollrare", "warbanner", "warbannerrare", "wardrum",
"wardrumrare", "warhammer", "warhammerrare", "warriorcode", "warriorcoderare", "waterblobpet", "waterblobpetrare", "waterskin", "waterskinrare", "watervase",
"watervaserare", "weaponpouch", "weaponpouchrare", "winebottle", "winebottlerare", "wingblade", "wingbladerare", "wingedhelmet", "wingedhelmeta", "wingedhelmetb",
"wingedhelmetrare", "wingedwand", "wingedwandrare", "wolfskincloack", "wolfskincloackrare", "wolfy", "wolfyrare", "woodencrosier", "woodencrosiera", "woodencrosierb",
"woodencrosierrare", "woollyhat", "woollyhatrare", "xulrunestone", "xulrunestonerare", "yellowfeather", "yellowfeatherrare", "yggdrasilroot", "yggdrasilrootrare", "yinyangbadge",
"yinyangbadgerare", "ylmerbranch", "ylmerbranchrare", "yoggercleaver", "yoggercleaverrare"
};
}
public static List<string> GetLocationList()
{
return new List<string>
{
"apothecaryhigh", "apothecarylow", "apprentince", "aquarvendor", "bakerson_a", "bakerson_b", "balanceblack", "balanceboth", "balancewhite", "Basthet",
"battlefield", "Behindwaterfall", "belphyor", "belphyorquest", "betty", "blobbleed", "blobcold", "blobdire", "blobholy", "bloblightning",
"blobmetal", "blobmind", "blobpoison", "blobselem", "blobshadow", "blobsmyst", "blobsphys", "blobwater", "bridge", "burninghand",
"burninghouse_a", "burninghouse_b", "caravanshop", "challenge_boss_fisher", "challenge_boss_high", "challenge_boss_hydra", "challenge_boss_low", "challenge_chest_final", "challenge_chest_high", "challenge_chest_low",
"challenge_start", "chappel", "courtcraftobsidian", "crane", "crocoloot", "crocosmugglers", "crossroads_a", "crossroads_b", "crossroads_c", "cuby",
"cubyd", "daley", "daleyrare", "desertreliquary", "dreadcosme", "dreadcuthbert", "dreadfrancis", "dreadhalfman", "dreadhoratio", "dreadjack",
"dreadmimic", "dreadpurser", "dreadpurserstash", "dreadrhodogor", "dream_13_loot", "dream_6_loot", "dream_9_loot", "Dryad_a", "Dryad_b", "eeriechest_a",
"eeriechest_b", "elvenarmory", "elvenarmoryplus", "elvenemporium", "exoticshop_tier0", "exoticshop_tier1", "exoticshop_tier2", "exoticshop_tier3", "Faeborg", "felineshop",
"fenny", "fennyrare", "firebazaar", "fishermanchest", "fishlava", "fishlavarare", "franky", "FrozenSewersElves", "FrozenSewersMix", "FrozenSewersRatmen",
"gobletsmerchant", "goblinchest", "goblintown", "Goblintown_a", "Goblintown_b", "Goblintown_c", "harpychest", "harpyfight", "heronshop", "Hydra",
"Ignidoh", "inky", "Jelly", "Jeweler", "Jewelerrings", "khazakdhum", "kingrat", "laircocoon", "lavacascade", "lavacascadepet",
"liante", "lootedarmory", "Mansionleft", "Mansionleftplus", "Mansionright", "matey", "mateyrare", "Merchantwares", "mimy", "minotaurcave",
"Mortis", "mutatedcocoon", "nagashop", "nagavendor", "obechampy", "obechompy", "obechumpy", "obeliskash", "obeliskdelivery", "obeliskgirl",
"obeliskshophigh", "obeliskshoplow", "obelisktreasure", "obsidianall", "obsidiananvil", "obsidiananvilrare", "obsidianboots", "obsidianbootsrare", "obsidianrings", "obsidianringsrare",
"obsidianrods", "obsidianrodsrare", "oculy", "petshop", "rareshop_tier0", "rareshop_tier1", "rareshop_tier2", "rareshop_tier3", "reverie", "rift",
"riftsen", "Rocky", "rubychest", "rubyrefuges", "ruinedplaza", "ruinedplaza_crit", "ruinedplaza_fail", "sahtibernardstash", "sahtibernardstashshop", "sahtidaleshop",
"sahtidomedesert", "sahtidomeice", "sahtidomemain", "sahtidomemountain", "sahtidomeswamp", "sahtifishingshop", "sahtikraken", "sahtikrakenmjolmir", "sahtipiratearsenal", "sahtipiratewarehouse",
"sahtiplaguecot", "sahtirustkingtreasure", "sahtisurgeonarsenal", "sahtisurgeonstash", "sahtitreasurechamber", "sahtivalkyriestash", "Sailor", "Shady", "sharpy", "slimy",
"spiderqueen", "Stolenitems", "stormy", "Sunkenblooddelighted", "Sunkenblooddisrespected", "Sunkenbloodpleased", "sunkenholelab", "sunkenmineslave", "sunkenofferingroom", "Sunkensaflamedelighted",
"Sunkensaflamedisrespected", "Sunkensaflamepleased", "sunkenspidershrine", "Sunkenthunderdelighted", "Sunkenthunderdisrespected", "Sunkenthunderpleased", "Sylviehome", "thorimsrod", "towntier0", "towntier0_a",
"towntier0_b", "towntier1", "towntier1_a", "towntier1_b", "towntier2", "towntier2_a", "towntier2_b", "towntier3", "towntier3_a", "towntier3_b",
"tradeship1", "tradeship10", "tradeship2", "tradeship3", "tradeship4", "tradeship5", "tradeship6", "tradeship7", "tradeship8", "tradeship9",
"treasureaquarfall", "Tulah", "tyrant", "tyrantbeavers", "tyrantchampy", "tyrantchompy", "tyrantchumpy", "uprienergy", "uprimagma", "upripreboss",
"upriprebossnenukill", "voidasmody", "voidcraftemerald", "voidcraftgolden", "voidcraftobsidian", "voidcraftpearl", "voidcraftring", "voidcraftruby", "voidcraftsapphire", "voidcrafttopaz",
"voidshop", "voidtreasure", "voidtreasurejade", "voidtsnemo", "voidtwins", "voodooshop", "wareacc0", "wareacc1", "wareacc2", "warearm0",
"warearm1", "warearm2", "warejew0", "warejew1", "warejew2", "warenavalea", "wareweap0", "wareweap1", "wareweap2", "watermill",
"weekly1", "weekly10", "weekly11", "weekly12", "weekly13", "weekly2", "weekly3", "weekly4", "weekly5", "weekly6",
"weekly7", "weekly8", "weekly9", "weeklychristmas", "weeklyhalloween", "weeklylunar", "werewolfstall_a", "werewolfstall_b", "wolfy", "woodsshop",
"woodstreasurechest", "Ylmer", "yogger"
};
}
public static string DictToString(Dictionary<string, List<string>> dict)
{
if (dict == null)
{
throw new ArgumentNullException("dict");
}
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.Append('{');
List<string> list = dict.Keys.OrderBy((string k) => k).ToList();
for (int i = 0; i < list.Count; i++)
{
string text = list[i];
List<string> list2 = dict[text];
stringBuilder.Append("\"" + text + "\":[");
for (int j = 0; j < list2.Count; j++)
{
stringBuilder.Append("\"" + list2[j] + "\"");
if (j < list2.Count - 1)
{
stringBuilder.Append(',');
}
}
stringBuilder.Append(']');
if (i < list.Count - 1)
{
stringBuilder.Append(',');
}
}
stringBuilder.Append('}');
return stringBuilder.ToString();
}
}
public static class PluginInfo
{
public const string PLUGIN_GUID = "com.binbin.DefiniteSeeds";
public const string PLUGIN_NAME = "DefiniteSeeds";
public const string PLUGIN_VERSION = "1.1.2";
}
}