using System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Configuration; using Jotunn.Configs; using Jotunn.Entities; using Jotunn.Managers; using Jotunn.Utils; using Microsoft.CodeAnalysis; 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(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] [assembly: AssemblyCompany("RtDFairyTale")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RtDFairyTale")] [assembly: AssemblyTitle("RtDFairyTale")] [assembly: AssemblyVersion("1.0.0.0")] [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; } } } namespace RtDFairyTale { [BepInPlugin("Soloredis.RtDFairyTale", "RtDFairyTale", "0.5.24")] [NetworkCompatibility(/*Could not decode attribute arguments.*/)] [BepInDependency(/*Could not decode attribute arguments.*/)] [BepInIncompatibility("CookieMilk.MagicalMounts")] [BepInIncompatibility("CookieMilk.MajesticChickens")] [BepInIncompatibility("CookieMilk.BuildPieces")] [BepInIncompatibility("CookieMilk.CarryMeMaster")] [BepInIncompatibility("CookieMilk.UltimateServerControl")] [BepInIncompatibility("CookieMilk.DiscordControl")] [BepInIncompatibility("blacks7ar.MagicPlugin")] [BepInIncompatibility("blacks7ar.SeedBed")] [BepInIncompatibility("blacks7ar.OreMines")] [BepInIncompatibility("randyknapp.mods.epicloot")] public class RtDFairyTale : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDFairyTale"; public const string PluginName = "RtDFairyTale"; public const string PluginVersion = "0.5.24"; public static AssetBundle MyAssets; public ConfigEntry LoggingEnable; private CustomLocalization Localization; public string[] CustomSEShieldList = new string[16] { "SE_AshLandsShield_RtD", "SE_BlackForestShield_RtD", "SE_DeepNorthShield_RtD", "SE_MeadowsShield_RtD", "SE_MistlandsShield_RtD", "SE_MountainShield_RtD", "SE_PlainsShield_RtD", "SE_SwampShield_RtD", "SE_AshLandsShield_Player_RtD", "SE_BlackForestShield_Player_RtD", "SE_DeepNorthShield_Player_RtD", "SE_MeadowsShield_Player_RtD", "SE_MistlandsShield_Player_RtD", "SE_MountainShield_Player_RtD", "SE_PlainsShield_Player_RtD", "SE_SwampShield_Player_RtD" }; public string[] CustomSEList = new string[8] { "SE_AshLandsHeal_RtD", "SE_BlackForestHeal_RtD", "SE_DeepNorthHeal_RtD", "SE_MeadowsHeal_RtD", "SE_MistlandsHeal_RtD", "SE_MountainHeal_RtD", "SE_PlainsHeal_RtD", "SE_SwampHeal_RtD" }; public string[] ItemsList = new string[8] { "MeadowsCrystal_RtD", "BlackForestCrystal_RtD", "SwampCrystal_RtD", "MountainCrystal_RtD", "PlainsCrystal_RtD", "MistlandsCrystal_RtD", "AshLandsCrystal_RtD", "DeepNorthCrystal_RtD" }; public string[] PrefabsList = new string[153] { "fx_FaeShieldBreak_RtD", "fx_FaeShieldHit_RtD", "ArcaneExplosionAshLandsFairy_RtD", "FaeHealAOEAshLands_RtD", "FaeHealSpellAshLands_RtD", "FaeMeleeAshLands_RtD", "FaeProtectAOEAshLands_RtD", "FaeProtectSpellAshLands_RtD", "FaeSpellAshLands_RtD", "FireExplosionFairy_RtD", "FireProjectileFairy_RtD", "ArcaneExplosionAshlandsPixie_RtD", "PixieExplosionAshLands_RtD", "PixieHealAOEAshLands_RtD", "PixieHealSpellAshLands_RtD", "PixieMeleeAshLands_RtD", "PixieProjectileAshLands_RtD", "PixieProtectAOEAshLands_RtD", "PixieProtectSpellAshLands_RtD", "PixieSpellAshLands_RtD", "ArcaneExplosionBlackForestFairy_RtD", "FaeHealAOEBlackForest_RtD", "FaeHealSpellBlackForest_RtD", "FaeMeleeBlackForest_RtD", "FaeProtectAOEBlackForest_RtD", "FaeProtectSpellBlackForest_RtD", "FaeSpellBlackForest_RtD", "LightningExplosionBlackForest_RtD", "LightningProjectileBlackForest_RtD", "ArcaneExplosionBlackForestPixie_RtD", "LightningExplosionPixie_RtD", "LightningProjectilePixie_RtD", "PixieHealAOEBlackForest_RtD", "PixieHealSpellBlackForest_RtD", "PixieMeleeBlackForest_RtD", "PixieProtectAOEBlackForest_RtD", "PixieProtectSpellBlackForest_RtD", "PixieSpellBlackForest_RtD", "ArcaneExplosionDeepNorthFairy_RtD", "ArcaneExplosionDeepNorthFairyDeath_RtD", "ArcaneProjectileDeepNorthFairy_RtD", "FaeHealAOEDeepNorth_RtD", "FaeHealSpellDeepNorth_RtD", "FaeMeleeDeepNorth_RtD", "FaeProtectAOEDeepNorth_RtD", "FaeProtectSpellDeepNorth_RtD", "FaeSpellDeepNorth_RtD", "ArcaneExplosionDeepNorthPixieDeath_RtD", "ArcaneProfjectileDeepNorthPixie_RtD", "ArecaneExplosionDeepNorthPixie_RtD", "PixieHealAOEDeepNorth_RtD", "PixieHealSpellDeepNorth_RtD", "PixieMeleeDeepNorth1_RtD", "PixieMeleeDeepNorth2_RtD", "PixieMeleeDeepNorth3_RtD", "PixieProtectAOEDeepNorth_RtD", "PixieProtectSpellDeepNorth_RtD", "PixieSpellDeepNorth_RtD", "AirExplosionFairy_RtD", "AirProjectileFairy_RtD", "ArcaneExplosionMeadowsFairy_RtD", "FaeHealAOEMeadows_RtD", "FaeHealSpellMeadows_RtD", "FaeMeleeMeadows_RtD", "FaeProtectAOEMeadows_RtD", "FaeProtectSpellMeadows_RtD", "FaeSpellMeadows_RtD", "AirExplosionPixie_RtD", "AirProjectilePixie_RtD", "ArcaneExplosionMeadowsPixie_RtD", "PixieHealAOEMeadows_RtD", "PixieHealSpellMeadows_RtD", "PixieMeleeMeadows_RtD", "PixieProtectAOEMeadows_RtD", "PixieProtectSpellMeadows_RtD", "PixieSpellMeadows_RtD", "ArcaneExplosionMistlandsFairy_RtD", "FaeHealAOEMistlands_RtD", "FaeHealSpellMistlands_RtD", "FaeMeleeMistlands_RtD", "FaeProtectAOEMistlands_RtD", "FaeProtectSpellMistlands_RtD", "FaeSpellMistlands_RtD", "LightExplosionFairy_RtD", "LightProjectileFairy_RtD", "ArcaneExplosionMistlandsPixie_RtD", "LightExplosionPixie_RtD", "LightProjectilePixie_RtD", "PixieHealAOEMistlands_RtD", "PixieHealSpellMistlands_RtD", "PixieMeleeMistlands_RtD", "PixieProtectAOEMistlands_RtD", "PixieProtectSpellMistlands_RtD", "PixieSpellMistlands_RtD", "ArcaneExplosionMountainFairy_RtD", "FaeHealAOEMountain_RtD", "FaeHealSpellMountain_RtD", "FaeMeleeMountain_RtD", "FaeProtectAOEProtectMountain_RtD", "FaeProtectSpellProtectMountain_RtD", "FaeSpellMountain_RtD", "IceExplosionMountain_RtD", "IceProjectileMountain_RtD", "ArcaneExplosionMountainPixie_RtD", "IceExplosionPixie_RtD", "IceProjectilePixie_RtD", "PixeHealSpellMountain_RtD", "PixieHealAOEMountain_RtD", "PixieMeleeMountain_RtD", "PixieProtectAOEMountain_RtD", "PixieProtectSpellMountain_RtD", "PixieSpellMountain_RtD", "ArcaneExplosionPlainsFairy_RtD", "FaeHealAOEPlains_RtD", "FaeHealSpellPlains_RtD", "FaeMeleePlains_RtD", "FaeProtectAOEPlains_RtD", "FaeProtectSpellPlains_RtD", "FaeSpellPlains_RtD", "VoidExplosionPlainsFairy_RtD", "VoidProjectilePlainsFairy_RtD", "ArcaneExplosionPlainsPixie_RtD", "PixieHealAOEPlains_RtD", "PixieHealSpellPlains_RtD", "PixieMeleePlains_RtD", "PixieProtectAOEPlains_RtD", "PixieProtectSpellPlains_RtD", "PixieSpellPlains_RtD", "VoidExplosionPlainsPixie_RtD", "VoidProjectilePlainsPixie_RtD", "ArcaneExplosionSwampFairy_RtD", "EarthExlosionFairy_RtD", "EarthProjectileFairy_RtD", "FaeHealAOESwamp_RtD", "FaeHealSpellSwamp_RtD", "FaeMeleeSwamp_RtD", "FaeProtectAOESpellSwamp_RtD", "FaeProtectSpellSwamp_RtD", "FaeSpellSwamp_RtD", "ArcaneExplosionSwampPixie_RtD", "EarthExplosionPixie_RtD", "EarthProjectilePixie_RtD", "PixieHealAOESwamp_RtD", "PixieHealSpellSwamp_RtD", "PixieMeleeSwamp_RtD", "PixieProtectAOESwamp_RtD", "PixieProtectSpellSwamp_RtD", "PixieSpellSwamp_RtD", "fx_faehit_RtD", "fx_fae_protect_RtD", "vfx_FaeShield_RtD", "fx_faedeath_RtD", "vfx_FaeShield_Player_RtD" }; public string[] SoundEffectList = new string[8] { "sfx_fae_alerted_RtD", "sfx_fae_death_RtD", "sfx_fae_attack_RtD", "sfx_fae_idle_RtD", "sfx_fae_heal_RtD", "sfx_fae_shield_RtD", "sfx_fae_spell_RtD", "sfx_flapping_RtD" }; public string[] StaticList0 = new string[1] { "MeadowsPixie_RtD" }; public string[] StaticList1 = new string[1] { "MeadowsFairy_RtD" }; public string[] StaticList2 = new string[2] { "BlackForestFairy_RtD", "BlackForestPixie_RtD" }; public string[] StaticList3 = new string[2] { "SwampFairy_RtD", "SwampPixie_RtD" }; public string[] StaticList4 = new string[2] { "MountainFairy_RtD", "MountainPixie_RtD" }; public string[] StaticList5 = new string[2] { "PlainsFairy_RtD", "PlainsPixie_RtD" }; public string[] StaticList6 = new string[2] { "MistlandsFairy_RtD", "MistlandsPixie_RtD" }; public string[] StaticList7 = new string[2] { "AshLandsFairy_RtD", "AshLandsPixie_RtD" }; public string[] StaticList8 = new string[4] { "DeepNorthFairy_RtD", "DeepNorthPixie1_RtD", "DeepNorthPixie2_RtD", "DeepNorthPixie3_RtD" }; public static SpawnConfig[] MeadowsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)1, MinAltitude = 2f } }; public static SpawnConfig[] BlackForestSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)8, MinAltitude = 2f } }; public static SpawnConfig[] SwampSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)2, MinAltitude = 1f } }; public static SpawnConfig[] MountainSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)4 } }; public static SpawnConfig[] PlainsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)16, MinAltitude = 2f } }; public static SpawnConfig[] MistlandsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)512, MinAltitude = 2f } }; public static SpawnConfig[] AshLandsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)32, MinAltitude = 2f } }; public static SpawnConfig[] DeepNorthSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 640f, SpawnChance = 10f, SpawnAtNight = true, SpawnAtDay = true, MaxSpawned = 2, MaxLevel = 2, MaxGroupSize = 2, Biome = (Biome)64, MinAltitude = 2f } }; public static CreatureConfig MeadowsCreatureConfig = new CreatureConfig { Faction = (Faction)2, UseCumulativeLevelEffects = true, SpawnConfigs = MeadowsSpawnConfig }; public static CreatureConfig BlackForestCreatureConfig = new CreatureConfig { Faction = (Faction)2, UseCumulativeLevelEffects = true, SpawnConfigs = BlackForestSpawnConfig }; public static CreatureConfig SwampCreatureConfig = new CreatureConfig { Faction = (Faction)3, UseCumulativeLevelEffects = true, SpawnConfigs = SwampSpawnConfig }; public static CreatureConfig MountainCreatureConfig = new CreatureConfig { Faction = (Faction)5, UseCumulativeLevelEffects = true, SpawnConfigs = MountainSpawnConfig }; public static CreatureConfig PlainsCreatureConfig = new CreatureConfig { Faction = (Faction)7, UseCumulativeLevelEffects = true, SpawnConfigs = PlainsSpawnConfig }; public static CreatureConfig MistlandsCreatureConfig = new CreatureConfig { Faction = (Faction)9, UseCumulativeLevelEffects = true, SpawnConfigs = MistlandsSpawnConfig }; public static CreatureConfig AshLandsCreatureConfig = new CreatureConfig { Faction = (Faction)4, UseCumulativeLevelEffects = true, SpawnConfigs = AshLandsSpawnConfig }; public static CreatureConfig DeepNorthCreatureConfig = new CreatureConfig { Faction = (Faction)5, UseCumulativeLevelEffects = true, SpawnConfigs = DeepNorthSpawnConfig }; private void Awake() { CreateConfigs(); LoadBundle(); Addlocalizations(); AddShieldEffect(); AddSEStatusEffect(); AddItems(); AddPrefabs(); AddPieces(); AddMeadowsPixie(); MeadowsSpawner(); BlackForestSpawner(); SwampSpawner(); MountainSpawner(); PlainsSpawner(); MistlandsSpawner(); AshLandsSpawner(); DeepNorthSpawner(); AddSoundEffects(); Locations(); PrefabManager.OnPrefabsRegistered += FixSoundEffects; if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogWarning((object)"Logging is enabled in the config."); } } private void LoadBundle() { try { MyAssets = AssetUtils.LoadAssetBundleFromResources("rtdfaeheim", Assembly.GetExecutingAssembly()); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } } private void CreateConfigs() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_004a: Expected O, but got Unknown //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; LoggingEnable = ((BaseUnityPlugin)this).Config.Bind("Logging", "Enable", false, new ConfigDescription("Enable or Disable Logging.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true, Order = 15 } })); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void AddMeadowsPixie() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Expected O, but got Unknown try { string[] staticList = StaticList0; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomCreature val2 = new CustomCreature(val, true); CreatureManager.Instance.AddCreature(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void AddShieldEffect() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Expected O, but got Unknown try { string[] customSEShieldList = CustomSEShieldList; foreach (string text in customSEShieldList) { SE_Shield val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomStatusEffect val2 = new CustomStatusEffect((StatusEffect)(object)val, true); ItemManager.Instance.AddStatusEffect(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Object database")); } } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding SE_Stats Effects: {arg}"); } } private void AddSEStatusEffect() { //IL_002f: Unknown result type (might be due to invalid IL or missing references) //IL_0036: Expected O, but got Unknown try { string[] customSEList = CustomSEList; foreach (string text in customSEList) { SE_Stats val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomStatusEffect val2 = new CustomStatusEffect((StatusEffect)(object)val, true); ItemManager.Instance.AddStatusEffect(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + ((object)val)?.ToString() + " to the Object database")); } } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding SE_Stats Effects: {arg}"); } } private void AddItems() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Expected O, but got Unknown try { string[] itemsList = ItemsList; foreach (string text in itemsList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomItem val2 = new CustomItem(val, true); ItemManager.Instance.AddItem(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void AddPrefabs() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Expected O, but got Unknown try { string[] prefabsList = PrefabsList; foreach (string text in prefabsList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomPrefab val2 = new CustomPrefab(val, true); PrefabManager.Instance.AddPrefab(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void MeadowsSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList1; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, MeadowsCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void BlackForestSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList2; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, BlackForestCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void SwampSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList3; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, SwampCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void MountainSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList4; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, MountainCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void PlainsSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList5; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, PlainsCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void MistlandsSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList6; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, MistlandsCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void AshLandsSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList7; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, AshLandsCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void DeepNorthSpawner() { //IL_003c: Unknown result type (might be due to invalid IL or missing references) //IL_0046: Expected O, but got Unknown try { string[] staticList = StaticList8; foreach (string text in staticList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CreatureManager.Instance.AddCreature(new CustomCreature(val, true, DeepNorthCreatureConfig)); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added monster: " + text)); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding monsters: {arg}"); } } private void AddSoundEffects() { //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0039: Expected O, but got Unknown try { string[] soundEffectList = SoundEffectList; foreach (string text in soundEffectList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomPrefab val2 = new CustomPrefab(val, true); PrefabManager.Instance.AddPrefab(val2); if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Added: " + text + " to the Object database")); } } else { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Failed to add: " + text + " to the object database")); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void FixSoundEffects() { try { AudioSource prefab = Cache.GetPrefab("sfx_arrow_hit"); string[] soundEffectList = SoundEffectList; foreach (string text in soundEffectList) { GameObject prefab2 = Cache.GetPrefab(text); prefab2.GetComponentInChildren().outputAudioMixerGroup = prefab.outputAudioMixerGroup; if (LoggingEnable.Value) { ((BaseUnityPlugin)this).Logger.LogMessage((object)("Audio Mixer set on: " + text)); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while fixing custom audio: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= FixSoundEffects; } } private void Addlocalizations() { Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization = Localization; string text = "English"; localization.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Fire Fairy" }, { "$AshLandsPixie_RtD", "Fire Pixie" }, { "$BlackForestFairy_RtD", "Lightning Fairy" }, { "$BlackForestPixie_RtD", "Lightning Pixie" }, { "$DeepNorthFairy_RtD", "Arcane Fairy" }, { "$DeepNorthPixie_RtD", "Arcane Pixie" }, { "$MeadowsFairy_RtD", "Air Fairy" }, { "$MeadowsPixie_RtD", "Air Pixie" }, { "$MistlandsFairy_RtD", "Light Fairy" }, { "$MistlandsPixie_RtD", "Light Pixie" }, { "$MountainFairy_RtD", "Frost Fairy" }, { "$MountainPixie_RtD", "Frost Pixie" }, { "$PlainsFairy_RtD", "Void Fairy" }, { "$PlainsPixie_RtD", "Void Pixie" }, { "$SwampFairy_RtD", "Earth Fairy" }, { "$SwampPixie_RtD", "Earth Pixie" }, { "$AshLandsCrystal_RtD", "Fire Crystal" }, { "$AshLandsCrystal_desc_RtD", "Used to build an Fire Fairy Totem" }, { "$BlackForestCrystal_RtD", "Lightning Crystal" }, { "$BlackForestCrystal_desc_RtD", "Used to build an Lightning Fairy Totem" }, { "$DeepNorthCrystal_RtD", "Arcane Crystal" }, { "$DeepNorthCrystal_desc_RtD", "Used to build an Arcane Fairy Totem" }, { "$MeadowsCrystal_RtD", "Air Crystal" }, { "$MeadowsCrystal_desc_RtD", "Used to build an Air Fairy Totem" }, { "$MistlandsCrystal_RtD", "Light Crystal" }, { "$MistlandsCrystal_desc_RtD", "Used to build an Light Fairy Totem" }, { "$MountainCrystal_RtD", "Ice Crystal" }, { "$MountainCrystal_desc_RtD", "Used to build an Ice Fairy Totem" }, { "$PlainsCrystal_RtD", "Void Crystal" }, { "$PlainsCrystal_desc_RtD", "Used to build an Void Fairy Totem" }, { "$SwampCrystal_RtD", "Earth Crystal" }, { "$SwampCrystal_desc_RtD", "Used to build an Earth Fairy Totem" }, { "$AshLandsFairyTotem_RtD", "Fire Totem" }, { "$AshLandsFairyTotem_desc_RtD", "Use 5 Fire Crystals to summon a friendly Fairy for base defense." }, { "$BlackForestFairyTotem_RtD", "Lighting Totem" }, { "$BlackForestFairyTotem_desc_RtD", "Use 5 Lightning Crystals to summon a friendly Fairy for base defense." }, { "$DeepNorthFairyTotem_RtD", "Arcane Totem" }, { "$DeepNorthFairyTotem_desc_RtD", "Use 5 Arcane Crystals to summon a friendly Fairy for base defense." }, { "$MeadowsFairyTotem_RtD", "Air Totem" }, { "$MeadowsFairyTotem_desc_RtD", "Use 5 Air Crystals to summon a friendly Fairy for base defense." }, { "$MistlandsFairyTotem_RtD", "Light Totem" }, { "$MistlandsFairyTotem_desc_RtD", "Use 5 Light Crystals to summon a friendly Fairy for base defense." }, { "$MountainFairyTotem_RtD", "Ice Totem" }, { "$MountainFairyTotem_desc_RtD", "Use 5 Ice Crystals to summon a friendly Fairy for base defense." }, { "$PlainsFairyTotem_RtD", "Void Totem" }, { "$PlainsFairyTotem_desc_RtD", "Use 5 Void Crystals to summon a friendly Fairy for base defense." }, { "$SwampFairyTotem_RtD", "Earth Totem" }, { "$SwampFairyTotem_desc_RtD", "Use 5 Earth Crystals to summon a friendly Fairy for base defense." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization2 = Localization; text = "Portuguese"; localization2.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Fada do Fogo" }, { "$AshLandsPixie_RtD", "Pixie do Fogo" }, { "$BlackForestFairy_RtD", "Fada do Relâmpago" }, { "$BlackForestPixie_RtD", "Pixie do Relâmpago" }, { "$DeepNorthFairy_RtD", "Fada Arcana" }, { "$DeepNorthPixie_RtD", "Pixie Arcana" }, { "$MeadowsFairy_RtD", "Fada do Ar" }, { "$MeadowsPixie_RtD", "Pixie do Ar" }, { "$MistlandsFairy_RtD", "Fada da Luz" }, { "$MistlandsPixie_RtD", "Pixie da Luz" }, { "$MountainFairy_RtD", "Fada do Gelo" }, { "$MountainPixie_RtD", "Pixie do Gelo" }, { "$PlainsFairy_RtD", "Fada do Vazio" }, { "$PlainsPixie_RtD", "Pixie do Vazio" }, { "$SwampFairy_RtD", "Fada da Terra" }, { "$SwampPixie_RtD", "Pixie da Terra" }, { "$AshLandsCrystal_RtD", "Cristal de Fogo" }, { "$AshLandsCrystal_desc_RtD", "Usado para construir um Totem da Fada do Fogo" }, { "$BlackForestCrystal_RtD", "Cristal de Relâmpago" }, { "$BlackForestCrystal_desc_RtD", "Usado para construir um Totem da Fada do Relâmpago" }, { "$DeepNorthCrystal_RtD", "Cristal Arcano" }, { "$DeepNorthCrystal_desc_RtD", "Usado para construir um Totem da Fada Arcana" }, { "$MeadowsCrystal_RtD", "Cristal do Ar" }, { "$MeadowsCrystal_desc_RtD", "Usado para construir um Totem da Fada do Ar" }, { "$MistlandsCrystal_RtD", "Cristal de Luz" }, { "$MistlandsCrystal_desc_RtD", "Usado para construir um Totem da Fada da Luz" }, { "$MountainCrystal_RtD", "Cristal de Gelo" }, { "$MountainCrystal_desc_RtD", "Usado para construir um Totem da Fada do Gelo" }, { "$PlainsCrystal_RtD", "Cristal do Vazio" }, { "$PlainsCrystal_desc_RtD", "Usado para construir um Totem da Fada do Vazio" }, { "$SwampCrystal_RtD", "Cristal da Terra" }, { "$SwampCrystal_desc_RtD", "Usado para construir um Totem da Fada da Terra" }, { "$AshLandsFairyTotem_RtD", "Totem do Fogo" }, { "$AshLandsFairyTotem_desc_RtD", "Use 5 Cristais de Fogo para invocar uma Fada amigável para defender a base." }, { "$BlackForestFairyTotem_RtD", "Totem do Relâmpago" }, { "$BlackForestFairyTotem_desc_RtD", "Use 5 Cristais de Relâmpago para invocar uma Fada amigável para defender a base." }, { "$DeepNorthFairyTotem_RtD", "Totem Arcano" }, { "$DeepNorthFairyTotem_desc_RtD", "Use 5 Cristais Arcanos para invocar uma Fada amigável para defender a base." }, { "$MeadowsFairyTotem_RtD", "Totem do Ar" }, { "$MeadowsFairyTotem_desc_RtD", "Use 5 Cristais do Ar para invocar uma Fada amigável para defender a base." }, { "$MistlandsFairyTotem_RtD", "Totem da Luz" }, { "$MistlandsFairyTotem_desc_RtD", "Use 5 Cristais de Luz para invocar uma Fada amigável para defender a base." }, { "$MountainFairyTotem_RtD", "Totem do Gelo" }, { "$MountainFairyTotem_desc_RtD", "Use 5 Cristais de Gelo para invocar uma Fada amigável para defender a base." }, { "$PlainsFairyTotem_RtD", "Totem do Vazio" }, { "$PlainsFairyTotem_desc_RtD", "Use 5 Cristais do Vazio para invocar uma Fada amigável para defender a base." }, { "$SwampFairyTotem_RtD", "Totem da Terra" }, { "$SwampFairyTotem_desc_RtD", "Use 5 Cristais da Terra para invocar uma Fada amigável para defender a base." } }); CustomLocalization localization3 = Localization; text = "Spanish"; localization3.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Hada de Fuego" }, { "$AshLandsPixie_RtD", "Duendecillo de Fuego" }, { "$BlackForestFairy_RtD", "Hada de Relámpago" }, { "$BlackForestPixie_RtD", "Duendecillo de Relámpago" }, { "$DeepNorthFairy_RtD", "Hada Arcana" }, { "$DeepNorthPixie_RtD", "Duendecillo Arcano" }, { "$MeadowsFairy_RtD", "Hada de Aire" }, { "$MeadowsPixie_RtD", "Duendecillo de Aire" }, { "$MistlandsFairy_RtD", "Hada de Luz" }, { "$MistlandsPixie_RtD", "Duendecillo de Luz" }, { "$MountainFairy_RtD", "Hada de Hielo" }, { "$MountainPixie_RtD", "Duendecillo de Hielo" }, { "$PlainsFairy_RtD", "Hada del Vacío" }, { "$PlainsPixie_RtD", "Duendecillo del Vacío" }, { "$SwampFairy_RtD", "Hada de Tierra" }, { "$SwampPixie_RtD", "Duendecillo de Tierra" }, { "$AshLandsCrystal_RtD", "Cristal de Fuego" }, { "$AshLandsCrystal_desc_RtD", "Usado para construir un Tótem del Hada de Fuego" }, { "$BlackForestCrystal_RtD", "Cristal de Relámpago" }, { "$BlackForestCrystal_desc_RtD", "Usado para construir un Tótem del Hada de Relámpago" }, { "$DeepNorthCrystal_RtD", "Cristal Arcano" }, { "$DeepNorthCrystal_desc_RtD", "Usado para construir un Tótem del Hada Arcana" }, { "$MeadowsCrystal_RtD", "Cristal de Aire" }, { "$MeadowsCrystal_desc_RtD", "Usado para construir un Tótem del Hada de Aire" }, { "$MistlandsCrystal_RtD", "Cristal de Luz" }, { "$MistlandsCrystal_desc_RtD", "Usado para construir un Tótem del Hada de Luz" }, { "$MountainCrystal_RtD", "Cristal de Hielo" }, { "$MountainCrystal_desc_RtD", "Usado para construir un Tótem del Hada de Hielo" }, { "$PlainsCrystal_RtD", "Cristal del Vacío" }, { "$PlainsCrystal_desc_RtD", "Usado para construir un Tótem del Hada del Vacío" }, { "$SwampCrystal_RtD", "Cristal de Tierra" }, { "$SwampCrystal_desc_RtD", "Usado para construir un Tótem del Hada de Tierra" }, { "$AshLandsFairyTotem_RtD", "Tótem de Fuego" }, { "$AshLandsFairyTotem_desc_RtD", "Usa 5 Cristales de Fuego para invocar un Hada amistosa para la defensa de la base." }, { "$BlackForestFairyTotem_RtD", "Tótem de Relámpago" }, { "$BlackForestFairyTotem_desc_RtD", "Usa 5 Cristales de Relámpago para invocar un Hada amistosa para la defensa de la base." }, { "$DeepNorthFairyTotem_RtD", "Tótem Arcano" }, { "$DeepNorthFairyTotem_desc_RtD", "Usa 5 Cristales Arcanos para invocar un Hada amistosa para la defensa de la base." }, { "$MeadowsFairyTotem_RtD", "Tótem de Aire" }, { "$MeadowsFairyTotem_desc_RtD", "Usa 5 Cristales de Aire para invocar un Hada amistosa para la defensa de la base." }, { "$MistlandsFairyTotem_RtD", "Tótem de Luz" }, { "$MistlandsFairyTotem_desc_RtD", "Usa 5 Cristales de Luz para invocar un Hada amistosa para la defensa de la base." }, { "$MountainFairyTotem_RtD", "Tótem de Hielo" }, { "$MountainFairyTotem_desc_RtD", "Usa 5 Cristales de Hielo para invocar un Hada amistosa para la defensa de la base." }, { "$PlainsFairyTotem_RtD", "Tótem del Vacío" }, { "$PlainsFairyTotem_desc_RtD", "Usa 5 Cristales del Vacío para invocar un Hada amistosa para la defensa de la base." }, { "$SwampFairyTotem_RtD", "Tótem de Tierra" }, { "$SwampFairyTotem_desc_RtD", "Usa 5 Cristales de Tierra para invocar un Hada amistosa para la defensa de la base." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization4 = Localization; text = "Hindi"; localization4.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "आग पर\u0940" }, { "$AshLandsPixie_RtD", "आग प\u093fक\u094dस\u0940" }, { "$BlackForestFairy_RtD", "ब\u093fजल\u0940 पर\u0940" }, { "$BlackForestPixie_RtD", "ब\u093fजल\u0940 प\u093fक\u094dस\u0940" }, { "$DeepNorthFairy_RtD", "ज\u093eद\u0941ई पर\u0940" }, { "$DeepNorthPixie_RtD", "ज\u093eद\u0941ई प\u093fक\u094dस\u0940" }, { "$MeadowsFairy_RtD", "हव\u093e पर\u0940" }, { "$MeadowsPixie_RtD", "हव\u093e प\u093fक\u094dस\u0940" }, { "$MistlandsFairy_RtD", "प\u094dरक\u093eश पर\u0940" }, { "$MistlandsPixie_RtD", "प\u094dरक\u093eश प\u093fक\u094dस\u0940" }, { "$MountainFairy_RtD", "ठ\u0902ड पर\u0940" }, { "$MountainPixie_RtD", "ठ\u0902ड प\u093fक\u094dस\u0940" }, { "$PlainsFairy_RtD", "श\u0942न\u094dय पर\u0940" }, { "$PlainsPixie_RtD", "श\u0942न\u094dय प\u093fक\u094dस\u0940" }, { "$SwampFairy_RtD", "प\u0943थ\u094dव\u0940 पर\u0940" }, { "$SwampPixie_RtD", "प\u0943थ\u094dव\u0940 प\u093fक\u094dस\u0940" }, { "$AshLandsCrystal_RtD", "आग क\u094dर\u093fस\u094dटल" }, { "$AshLandsCrystal_desc_RtD", "आग पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$BlackForestCrystal_RtD", "ब\u093fजल\u0940 क\u094dर\u093fस\u094dटल" }, { "$BlackForestCrystal_desc_RtD", "ब\u093fजल\u0940 पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$DeepNorthCrystal_RtD", "ज\u093eद\u0941ई क\u094dर\u093fस\u094dटल" }, { "$DeepNorthCrystal_desc_RtD", "ज\u093eद\u0941ई पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$MeadowsCrystal_RtD", "हव\u093e क\u094dर\u093fस\u094dटल" }, { "$MeadowsCrystal_desc_RtD", "हव\u093e पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$MistlandsCrystal_RtD", "प\u094dरक\u093eश क\u094dर\u093fस\u094dटल" }, { "$MistlandsCrystal_desc_RtD", "प\u094dरक\u093eश पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$MountainCrystal_RtD", "ठ\u0902ड क\u094dर\u093fस\u094dटल" }, { "$MountainCrystal_desc_RtD", "ठ\u0902ड पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$PlainsCrystal_RtD", "श\u0942न\u094dय क\u094dर\u093fस\u094dटल" }, { "$PlainsCrystal_desc_RtD", "श\u0942न\u094dय पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$SwampCrystal_RtD", "प\u0943थ\u094dव\u0940 क\u094dर\u093fस\u094dटल" }, { "$SwampCrystal_desc_RtD", "प\u0943थ\u094dव\u0940 पर\u0940 क\u093e त\u094bप बन\u093eन\u0947 क\u0947 ल\u093fए उपय\u094bग क\u093fय\u093e ज\u093eत\u093e ह\u0948" }, { "$AshLandsFairyTotem_RtD", "आग त\u094bप" }, { "$AshLandsFairyTotem_desc_RtD", "5 आग क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$BlackForestFairyTotem_RtD", "ब\u093fजल\u0940 त\u094bप" }, { "$BlackForestFairyTotem_desc_RtD", "5 ब\u093fजल\u0940 क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$DeepNorthFairyTotem_RtD", "ज\u093eद\u0941ई त\u094bप" }, { "$DeepNorthFairyTotem_desc_RtD", "5 ज\u093eद\u0941ई क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$MeadowsFairyTotem_RtD", "हव\u093e त\u094bप" }, { "$MeadowsFairyTotem_desc_RtD", "5 हव\u093e क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$MistlandsFairyTotem_RtD", "प\u094dरक\u093eश त\u094bप" }, { "$MistlandsFairyTotem_desc_RtD", "5 प\u094dरक\u093eश क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$MountainFairyTotem_RtD", "ठ\u0902ड त\u094bप" }, { "$MountainFairyTotem_desc_RtD", "5 ठ\u0902ड क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$PlainsFairyTotem_RtD", "श\u0942न\u094dय त\u094bप" }, { "$PlainsFairyTotem_desc_RtD", "5 श\u0942न\u094dय क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" }, { "$SwampFairyTotem_RtD", "प\u0943थ\u094dव\u0940 त\u094bप" }, { "$SwampFairyTotem_desc_RtD", "5 प\u0943थ\u094dव\u0940 क\u094dर\u093fस\u094dटल क\u093e उपय\u094bग कर\u0947\u0902 एक द\u094bस\u094dत\u093eन\u093e पर\u0940 क\u094b रक\u094dष\u093e क\u0947 ल\u093fए ब\u0941ल\u093eन\u0947 क\u0947 ल\u093fए।" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization5 = Localization; text = "Swedish"; localization5.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Eldfé" }, { "$AshLandsPixie_RtD", "Eldpixie" }, { "$BlackForestFairy_RtD", "Blixtfé" }, { "$BlackForestPixie_RtD", "Blixtpixie" }, { "$DeepNorthFairy_RtD", "Arkanfé" }, { "$DeepNorthPixie_RtD", "Arkanpixie" }, { "$MeadowsFairy_RtD", "Luftfé" }, { "$MeadowsPixie_RtD", "Luftpixie" }, { "$MistlandsFairy_RtD", "Ljussfé" }, { "$MistlandsPixie_RtD", "Ljuspixie" }, { "$MountainFairy_RtD", "Frostfé" }, { "$MountainPixie_RtD", "Frostpixie" }, { "$PlainsFairy_RtD", "Tomrumsfé" }, { "$PlainsPixie_RtD", "Tomrumspixie" }, { "$SwampFairy_RtD", "Jordfé" }, { "$SwampPixie_RtD", "Jordpixie" }, { "$AshLandsCrystal_RtD", "Eldkristall" }, { "$AshLandsCrystal_desc_RtD", "Används för att bygga en Eldfé-totem" }, { "$BlackForestCrystal_RtD", "Blixtkristall" }, { "$BlackForestCrystal_desc_RtD", "Används för att bygga en Blixtfé-totem" }, { "$DeepNorthCrystal_RtD", "Arkankristall" }, { "$DeepNorthCrystal_desc_RtD", "Används för att bygga en Arkanfé-totem" }, { "$MeadowsCrystal_RtD", "Luftkristall" }, { "$MeadowsCrystal_desc_RtD", "Används för att bygga en Luftfé-totem" }, { "$MistlandsCrystal_RtD", "Ljuskristall" }, { "$MistlandsCrystal_desc_RtD", "Används för att bygga en Ljussfé-totem" }, { "$MountainCrystal_RtD", "Iskristall" }, { "$MountainCrystal_desc_RtD", "Används för att bygga en Isfé-totem" }, { "$PlainsCrystal_RtD", "Tomrumskristall" }, { "$PlainsCrystal_desc_RtD", "Används för att bygga en Tomrumsfé-totem" }, { "$SwampCrystal_RtD", "Jordkristall" }, { "$SwampCrystal_desc_RtD", "Används för att bygga en Jordfé-totem" }, { "$AshLandsFairyTotem_RtD", "Eldtotem" }, { "$AshLandsFairyTotem_desc_RtD", "Använd 5 Eldkristaller för att kalla fram en vänlig fé för basförsvar." }, { "$BlackForestFairyTotem_RtD", "Blixttotem" }, { "$BlackForestFairyTotem_desc_RtD", "Använd 5 Blixtkristaller för att kalla fram en vänlig fé för basförsvar." }, { "$DeepNorthFairyTotem_RtD", "Arkantotem" }, { "$DeepNorthFairyTotem_desc_RtD", "Använd 5 Arkankristaller för att kalla fram en vänlig fé för basförsvar." }, { "$MeadowsFairyTotem_RtD", "Lufttotem" }, { "$MeadowsFairyTotem_desc_RtD", "Använd 5 Luftkristaller för att kalla fram en vänlig fé för basförsvar." }, { "$MistlandsFairyTotem_RtD", "Ljustotem" }, { "$MistlandsFairyTotem_desc_RtD", "Använd 5 Ljuskristaller för att kalla fram en vänlig fé för basförsvar." }, { "$MountainFairyTotem_RtD", "Istotem" }, { "$MountainFairyTotem_desc_RtD", "Använd 5 Iskristaller för att kalla fram en vänlig fé för basförsvar." }, { "$PlainsFairyTotem_RtD", "Tomrumstotem" }, { "$PlainsFairyTotem_desc_RtD", "Använd 5 Tomrumskristaller för att kalla fram en vänlig fé för basförsvar." }, { "$SwampFairyTotem_RtD", "Jordtotem" }, { "$SwampFairyTotem_desc_RtD", "Använd 5 Jordkristaller för att kalla fram en vänlig fé för basförsvar." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization6 = Localization; text = "Dutch"; localization6.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Vuurfee" }, { "$AshLandsPixie_RtD", "Vuurpixie" }, { "$BlackForestFairy_RtD", "Bliksemfee" }, { "$BlackForestPixie_RtD", "Bliksempixie" }, { "$DeepNorthFairy_RtD", "Arcane Fee" }, { "$DeepNorthPixie_RtD", "Arcane Pixie" }, { "$MeadowsFairy_RtD", "Luchtfee" }, { "$MeadowsPixie_RtD", "Luchtpixie" }, { "$MistlandsFairy_RtD", "Lichtfee" }, { "$MistlandsPixie_RtD", "Lichtpixie" }, { "$MountainFairy_RtD", "Vorstfee" }, { "$MountainPixie_RtD", "Vorstpixie" }, { "$PlainsFairy_RtD", "Leegtefee" }, { "$PlainsPixie_RtD", "Leegtepixie" }, { "$SwampFairy_RtD", "Aardfee" }, { "$SwampPixie_RtD", "Aardpixie" }, { "$AshLandsCrystal_RtD", "Vuurkristal" }, { "$AshLandsCrystal_desc_RtD", "Gebruikt om een Vuurfee Totem te bouwen" }, { "$BlackForestCrystal_RtD", "Bliksemkristal" }, { "$BlackForestCrystal_desc_RtD", "Gebruikt om een Bliksemfee Totem te bouwen" }, { "$DeepNorthCrystal_RtD", "Arcane Kristal" }, { "$DeepNorthCrystal_desc_RtD", "Gebruikt om een Arcane Fee Totem te bouwen" }, { "$MeadowsCrystal_RtD", "Luchtkristal" }, { "$MeadowsCrystal_desc_RtD", "Gebruikt om een Luchtfee Totem te bouwen" }, { "$MistlandsCrystal_RtD", "Lichtkristal" }, { "$MistlandsCrystal_desc_RtD", "Gebruikt om een Lichtfee Totem te bouwen" }, { "$MountainCrystal_RtD", "IJskristal" }, { "$MountainCrystal_desc_RtD", "Gebruikt om een Vorstfee Totem te bouwen" }, { "$PlainsCrystal_RtD", "Leegtekristal" }, { "$PlainsCrystal_desc_RtD", "Gebruikt om een Leegtefee Totem te bouwen" }, { "$SwampCrystal_RtD", "Aardkristal" }, { "$SwampCrystal_desc_RtD", "Gebruikt om een Aardfee Totem te bouwen" }, { "$AshLandsFairyTotem_RtD", "Vuur Totem" }, { "$AshLandsFairyTotem_desc_RtD", "Gebruik 5 Vuurkristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$BlackForestFairyTotem_RtD", "Bliksem Totem" }, { "$BlackForestFairyTotem_desc_RtD", "Gebruik 5 Bliksemkristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$DeepNorthFairyTotem_RtD", "Arcane Totem" }, { "$DeepNorthFairyTotem_desc_RtD", "Gebruik 5 Arcane Kristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$MeadowsFairyTotem_RtD", "Lucht Totem" }, { "$MeadowsFairyTotem_desc_RtD", "Gebruik 5 Luchtkristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$MistlandsFairyTotem_RtD", "Licht Totem" }, { "$MistlandsFairyTotem_desc_RtD", "Gebruik 5 Lichtkristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$MountainFairyTotem_RtD", "IJs Totem" }, { "$MountainFairyTotem_desc_RtD", "Gebruik 5 IJskristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$PlainsFairyTotem_RtD", "Leegte Totem" }, { "$PlainsFairyTotem_desc_RtD", "Gebruik 5 Leegtekristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." }, { "$SwampFairyTotem_RtD", "Aarde Totem" }, { "$SwampFairyTotem_desc_RtD", "Gebruik 5 Aardkristallen om een vriendelijke Fee op te roepen ter verdediging van de basis." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization7 = Localization; text = "Japanese"; localization7.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "火の妖精" }, { "$AshLandsPixie_RtD", "火のピクシー" }, { "$BlackForestFairy_RtD", "雷の妖精" }, { "$BlackForestPixie_RtD", "雷のピクシー" }, { "$DeepNorthFairy_RtD", "アルカナ妖精" }, { "$DeepNorthPixie_RtD", "アルカナピクシー" }, { "$MeadowsFairy_RtD", "風の妖精" }, { "$MeadowsPixie_RtD", "風のピクシー" }, { "$MistlandsFairy_RtD", "光の妖精" }, { "$MistlandsPixie_RtD", "光のピクシー" }, { "$MountainFairy_RtD", "氷の妖精" }, { "$MountainPixie_RtD", "氷のピクシー" }, { "$PlainsFairy_RtD", "虚無の妖精" }, { "$PlainsPixie_RtD", "虚無のピクシー" }, { "$SwampFairy_RtD", "大地の妖精" }, { "$SwampPixie_RtD", "大地のピクシー" }, { "$AshLandsCrystal_RtD", "火のクリスタル" }, { "$AshLandsCrystal_desc_RtD", "火の妖精のトーテムを作るために使用されます" }, { "$BlackForestCrystal_RtD", "雷のクリスタル" }, { "$BlackForestCrystal_desc_RtD", "雷の妖精のトーテムを作るために使用されます" }, { "$DeepNorthCrystal_RtD", "アルカナクリスタル" }, { "$DeepNorthCrystal_desc_RtD", "アルカナ妖精のトーテムを作るために使用されます" }, { "$MeadowsCrystal_RtD", "風のクリスタル" }, { "$MeadowsCrystal_desc_RtD", "風の妖精のトーテムを作るために使用されます" }, { "$MistlandsCrystal_RtD", "光のクリスタル" }, { "$MistlandsCrystal_desc_RtD", "光の妖精のトーテムを作るために使用されます" }, { "$MountainCrystal_RtD", "氷のクリスタル" }, { "$MountainCrystal_desc_RtD", "氷の妖精のトーテムを作るために使用されます" }, { "$PlainsCrystal_RtD", "虚無のクリスタル" }, { "$PlainsCrystal_desc_RtD", "虚無の妖精のトーテムを作るために使用されます" }, { "$SwampCrystal_RtD", "大地のクリスタル" }, { "$SwampCrystal_desc_RtD", "大地の妖精のトーテムを作るために使用されます" }, { "$AshLandsFairyTotem_RtD", "火のトーテム" }, { "$AshLandsFairyTotem_desc_RtD", "5つの火のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$BlackForestFairyTotem_RtD", "雷のトーテム" }, { "$BlackForestFairyTotem_desc_RtD", "5つの雷のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$DeepNorthFairyTotem_RtD", "アルカナトーテム" }, { "$DeepNorthFairyTotem_desc_RtD", "5つのアルカナクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$MeadowsFairyTotem_RtD", "風のトーテム" }, { "$MeadowsFairyTotem_desc_RtD", "5つの風のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$MistlandsFairyTotem_RtD", "光のトーテム" }, { "$MistlandsFairyTotem_desc_RtD", "5つの光のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$MountainFairyTotem_RtD", "氷のトーテム" }, { "$MountainFairyTotem_desc_RtD", "5つの氷のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$PlainsFairyTotem_RtD", "虚無のトーテム" }, { "$PlainsFairyTotem_desc_RtD", "5つの虚無のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" }, { "$SwampFairyTotem_RtD", "大地のトーテム" }, { "$SwampFairyTotem_desc_RtD", "5つの大地のクリスタルを使用して、拠点防衛のための友好的な妖精を召喚します。" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization8 = Localization; text = "Chinese"; localization8.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "火精灵" }, { "$AshLandsPixie_RtD", "火小精灵" }, { "$BlackForestFairy_RtD", "雷精灵" }, { "$BlackForestPixie_RtD", "雷小精灵" }, { "$DeepNorthFairy_RtD", "奥术精灵" }, { "$DeepNorthPixie_RtD", "奥术小精灵" }, { "$MeadowsFairy_RtD", "风精灵" }, { "$MeadowsPixie_RtD", "风小精灵" }, { "$MistlandsFairy_RtD", "光精灵" }, { "$MistlandsPixie_RtD", "光小精灵" }, { "$MountainFairy_RtD", "冰精灵" }, { "$MountainPixie_RtD", "冰小精灵" }, { "$PlainsFairy_RtD", "虚空精灵" }, { "$PlainsPixie_RtD", "虚空小精灵" }, { "$SwampFairy_RtD", "大地精灵" }, { "$SwampPixie_RtD", "大地小精灵" }, { "$AshLandsCrystal_RtD", "火晶石" }, { "$AshLandsCrystal_desc_RtD", "用于建造火精灵图腾" }, { "$BlackForestCrystal_RtD", "雷晶石" }, { "$BlackForestCrystal_desc_RtD", "用于建造雷精灵图腾" }, { "$DeepNorthCrystal_RtD", "奥术晶石" }, { "$DeepNorthCrystal_desc_RtD", "用于建造奥术精灵图腾" }, { "$MeadowsCrystal_RtD", "风晶石" }, { "$MeadowsCrystal_desc_RtD", "用于建造风精灵图腾" }, { "$MistlandsCrystal_RtD", "光晶石" }, { "$MistlandsCrystal_desc_RtD", "用于建造光精灵图腾" }, { "$MountainCrystal_RtD", "冰晶石" }, { "$MountainCrystal_desc_RtD", "用于建造冰精灵图腾" }, { "$PlainsCrystal_RtD", "虚空晶石" }, { "$PlainsCrystal_desc_RtD", "用于建造虚空精灵图腾" }, { "$SwampCrystal_RtD", "大地晶石" }, { "$SwampCrystal_desc_RtD", "用于建造大地图腾" }, { "$AshLandsFairyTotem_RtD", "火图腾" }, { "$AshLandsFairyTotem_desc_RtD", "使用5个火晶石召唤友好的火精灵来防御基地。" }, { "$BlackForestFairyTotem_RtD", "雷图腾" }, { "$BlackForestFairyTotem_desc_RtD", "使用5个雷晶石召唤友好的雷精灵来防御基地。" }, { "$DeepNorthFairyTotem_RtD", "奥术图腾" }, { "$DeepNorthFairyTotem_desc_RtD", "使用5个奥术晶石召唤友好的奥术精灵来防御基地。" }, { "$MeadowsFairyTotem_RtD", "风图腾" }, { "$MeadowsFairyTotem_desc_RtD", "使用5个风晶石召唤友好的风精灵来防御基地。" }, { "$MistlandsFairyTotem_RtD", "光图腾" }, { "$MistlandsFairyTotem_desc_RtD", "使用5个光晶石召唤友好的光精灵来防御基地。" }, { "$MountainFairyTotem_RtD", "冰图腾" }, { "$MountainFairyTotem_desc_RtD", "使用5个冰晶石召唤友好的冰精灵来防御基地。" }, { "$PlainsFairyTotem_RtD", "虚空图腾" }, { "$PlainsFairyTotem_desc_RtD", "使用5个虚空晶石召唤友好的虚空精灵来防御基地。" }, { "$SwampFairyTotem_RtD", "大地图腾" }, { "$SwampFairyTotem_desc_RtD", "使用5个大地晶石召唤友好的大地精灵来防御基地。" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization9 = Localization; text = "French"; localization9.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Fée de Feu" }, { "$AshLandsPixie_RtD", "Pixie de Feu" }, { "$BlackForestFairy_RtD", "Fée de Foudre" }, { "$BlackForestPixie_RtD", "Pixie de Foudre" }, { "$DeepNorthFairy_RtD", "Fée Arcanique" }, { "$DeepNorthPixie_RtD", "Pixie Arcanique" }, { "$MeadowsFairy_RtD", "Fée de l'Air" }, { "$MeadowsPixie_RtD", "Pixie de l'Air" }, { "$MistlandsFairy_RtD", "Fée de Lumière" }, { "$MistlandsPixie_RtD", "Pixie de Lumière" }, { "$MountainFairy_RtD", "Fée de Givre" }, { "$MountainPixie_RtD", "Pixie de Givre" }, { "$PlainsFairy_RtD", "Fée du Vide" }, { "$PlainsPixie_RtD", "Pixie du Vide" }, { "$SwampFairy_RtD", "Fée de la Terre" }, { "$SwampPixie_RtD", "Pixie de la Terre" }, { "$AshLandsCrystal_RtD", "Cristal de Feu" }, { "$AshLandsCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée de Feu" }, { "$BlackForestCrystal_RtD", "Cristal de Foudre" }, { "$BlackForestCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée de Foudre" }, { "$DeepNorthCrystal_RtD", "Cristal Arcanique" }, { "$DeepNorthCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée Arcanique" }, { "$MeadowsCrystal_RtD", "Cristal d'Air" }, { "$MeadowsCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée d'Air" }, { "$MistlandsCrystal_RtD", "Cristal de Lumière" }, { "$MistlandsCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée de Lumière" }, { "$MountainCrystal_RtD", "Cristal de Givre" }, { "$MountainCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée de Givre" }, { "$PlainsCrystal_RtD", "Cristal du Vide" }, { "$PlainsCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée du Vide" }, { "$SwampCrystal_RtD", "Cristal de la Terre" }, { "$SwampCrystal_desc_RtD", "Utilisé pour construire un Totem de Fée de la Terre" }, { "$AshLandsFairyTotem_RtD", "Totem de Feu" }, { "$AshLandsFairyTotem_desc_RtD", "Utilisez 5 Cristaux de Feu pour invoquer une Fée amicale pour défendre la base." }, { "$BlackForestFairyTotem_RtD", "Totem de Foudre" }, { "$BlackForestFairyTotem_desc_RtD", "Utilisez 5 Cristaux de Foudre pour invoquer une Fée amicale pour défendre la base." }, { "$DeepNorthFairyTotem_RtD", "Totem Arcanique" }, { "$DeepNorthFairyTotem_desc_RtD", "Utilisez 5 Cristaux Arcaniques pour invoquer une Fée amicale pour défendre la base." }, { "$MeadowsFairyTotem_RtD", "Totem d'Air" }, { "$MeadowsFairyTotem_desc_RtD", "Utilisez 5 Cristaux d'Air pour invoquer une Fée amicale pour défendre la base." }, { "$MistlandsFairyTotem_RtD", "Totem de Lumière" }, { "$MistlandsFairyTotem_desc_RtD", "Utilisez 5 Cristaux de Lumière pour invoquer une Fée amicale pour défendre la base." }, { "$MountainFairyTotem_RtD", "Totem de Givre" }, { "$MountainFairyTotem_desc_RtD", "Utilisez 5 Cristaux de Givre pour invoquer une Fée amicale pour défendre la base." }, { "$PlainsFairyTotem_RtD", "Totem du Vide" }, { "$PlainsFairyTotem_desc_RtD", "Utilisez 5 Cristaux du Vide pour invoquer une Fée amicale pour défendre la base." }, { "$SwampFairyTotem_RtD", "Totem de la Terre" }, { "$SwampFairyTotem_desc_RtD", "Utilisez 5 Cristaux de la Terre pour invoquer une Fée amicale pour défendre la base." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization10 = Localization; text = "German"; localization10.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Feen des Feuers" }, { "$AshLandsPixie_RtD", "Feuerwichtel" }, { "$BlackForestFairy_RtD", "Blitzfee" }, { "$BlackForestPixie_RtD", "Blitzwichtel" }, { "$DeepNorthFairy_RtD", "Arkane Fee" }, { "$DeepNorthPixie_RtD", "Arkaner Wichtel" }, { "$MeadowsFairy_RtD", "Luftfee" }, { "$MeadowsPixie_RtD", "Luftwichtel" }, { "$MistlandsFairy_RtD", "Lichtfee" }, { "$MistlandsPixie_RtD", "Lichtwichtel" }, { "$MountainFairy_RtD", "Frostfee" }, { "$MountainPixie_RtD", "Frostwichtel" }, { "$PlainsFairy_RtD", "Leere Fee" }, { "$PlainsPixie_RtD", "Leere Wichtel" }, { "$SwampFairy_RtD", "Erdfee" }, { "$SwampPixie_RtD", "Erdwichtel" }, { "$AshLandsCrystal_RtD", "Feuerkristall" }, { "$AshLandsCrystal_desc_RtD", "Wird verwendet, um einen Feen des Feuers-Totem zu bauen." }, { "$BlackForestCrystal_RtD", "Blitzkristall" }, { "$BlackForestCrystal_desc_RtD", "Wird verwendet, um einen Blitzfee-Totem zu bauen." }, { "$DeepNorthCrystal_RtD", "Arkaner Kristall" }, { "$DeepNorthCrystal_desc_RtD", "Wird verwendet, um einen arkanen Feentotem zu bauen." }, { "$MeadowsCrystal_RtD", "Luftkristall" }, { "$MeadowsCrystal_desc_RtD", "Wird verwendet, um einen Luftfee-Totem zu bauen." }, { "$MistlandsCrystal_RtD", "Lichtkristall" }, { "$MistlandsCrystal_desc_RtD", "Wird verwendet, um einen Lichtfee-Totem zu bauen." }, { "$MountainCrystal_RtD", "Eiskristall" }, { "$MountainCrystal_desc_RtD", "Wird verwendet, um einen Eistotem zu bauen." }, { "$PlainsCrystal_RtD", "Leerenkristall" }, { "$PlainsCrystal_desc_RtD", "Wird verwendet, um einen Leerenfee-Totem zu bauen." }, { "$SwampCrystal_RtD", "Erdkristall" }, { "$SwampCrystal_desc_RtD", "Wird verwendet, um einen Erdfee-Totem zu bauen." }, { "$AshLandsFairyTotem_RtD", "Feuertotem" }, { "$AshLandsFairyTotem_desc_RtD", "Verwende 5 Feuerkristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$BlackForestFairyTotem_RtD", "Blitztotem" }, { "$BlackForestFairyTotem_desc_RtD", "Verwende 5 Blitzkristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$DeepNorthFairyTotem_RtD", "Arkaner Totem" }, { "$DeepNorthFairyTotem_desc_RtD", "Verwende 5 arkane Kristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$MeadowsFairyTotem_RtD", "Lufttotem" }, { "$MeadowsFairyTotem_desc_RtD", "Verwende 5 Luftkristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$MistlandsFairyTotem_RtD", "Lichttotem" }, { "$MistlandsFairyTotem_desc_RtD", "Verwende 5 Lichtkristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$MountainFairyTotem_RtD", "Eistotem" }, { "$MountainFairyTotem_desc_RtD", "Verwende 5 Eiskristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$PlainsFairyTotem_RtD", "Leerentotem" }, { "$PlainsFairyTotem_desc_RtD", "Verwende 5 Leerenkristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." }, { "$SwampFairyTotem_RtD", "Erdtotem" }, { "$SwampFairyTotem_desc_RtD", "Verwende 5 Erdkristalle, um eine freundliche Fee zur Basisverteidigung zu beschwören." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization11 = Localization; text = "Ukrainian"; localization11.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Вогняна фея" }, { "$AshLandsPixie_RtD", "Вогняний піксі" }, { "$BlackForestFairy_RtD", "Блискавична фея" }, { "$BlackForestPixie_RtD", "Блискавичний піксі" }, { "$DeepNorthFairy_RtD", "Магічна фея" }, { "$DeepNorthPixie_RtD", "Магічний піксі" }, { "$MeadowsFairy_RtD", "Повітряна фея" }, { "$MeadowsPixie_RtD", "Повітряний піксі" }, { "$MistlandsFairy_RtD", "Світлова фея" }, { "$MistlandsPixie_RtD", "Світловий піксі" }, { "$MountainFairy_RtD", "Крижана фея" }, { "$MountainPixie_RtD", "Крижаний піксі" }, { "$PlainsFairy_RtD", "Порожня фея" }, { "$PlainsPixie_RtD", "Порожній піксі" }, { "$SwampFairy_RtD", "Земляна фея" }, { "$SwampPixie_RtD", "Земляний піксі" }, { "$AshLandsCrystal_RtD", "Вогняний кристал" }, { "$AshLandsCrystal_desc_RtD", "Використовується для створення тотема Вогняної феї" }, { "$BlackForestCrystal_RtD", "Блискавичний кристал" }, { "$BlackForestCrystal_desc_RtD", "Використовується для створення тотема Блискавичної феї" }, { "$DeepNorthCrystal_RtD", "Магічний кристал" }, { "$DeepNorthCrystal_desc_RtD", "Використовується для створення тотема Магічної феї" }, { "$MeadowsCrystal_RtD", "Повітряний кристал" }, { "$MeadowsCrystal_desc_RtD", "Використовується для створення тотема Повітряної феї" }, { "$MistlandsCrystal_RtD", "Світловий кристал" }, { "$MistlandsCrystal_desc_RtD", "Використовується для створення тотема Світлової феї" }, { "$MountainCrystal_RtD", "Крижаний кристал" }, { "$MountainCrystal_desc_RtD", "Використовується для створення тотема Крижаної феї" }, { "$PlainsCrystal_RtD", "Порожній кристал" }, { "$PlainsCrystal_desc_RtD", "Використовується для створення тотема Порожньої феї" }, { "$SwampCrystal_RtD", "Земляний кристал" }, { "$SwampCrystal_desc_RtD", "Використовується для створення тотема Земляної феї" }, { "$AshLandsFairyTotem_RtD", "Вогняний тотем" }, { "$AshLandsFairyTotem_desc_RtD", "Використовуйте 5 Вогняних кристалів, щоб викликати дружню фею для захисту бази." }, { "$BlackForestFairyTotem_RtD", "Тотем блискавки" }, { "$BlackForestFairyTotem_desc_RtD", "Використовуйте 5 Блискавичних кристалів, щоб викликати дружню фею для захисту бази." }, { "$DeepNorthFairyTotem_RtD", "Магічний тотем" }, { "$DeepNorthFairyTotem_desc_RtD", "Використовуйте 5 Магічних кристалів, щоб викликати дружню фею для захисту бази." }, { "$MeadowsFairyTotem_RtD", "Повітряний тотем" }, { "$MeadowsFairyTotem_desc_RtD", "Використовуйте 5 Повітряних кристалів, щоб викликати дружню фею для захисту бази." }, { "$MistlandsFairyTotem_RtD", "Світловий тотем" }, { "$MistlandsFairyTotem_desc_RtD", "Використовуйте 5 Світлових кристалів, щоб викликати дружню фею для захисту бази." }, { "$MountainFairyTotem_RtD", "Крижаний тотем" }, { "$MountainFairyTotem_desc_RtD", "Використовуйте 5 Крижаних кристалів, щоб викликати дружню фею для захисту бази." }, { "$PlainsFairyTotem_RtD", "Порожній тотем" }, { "$PlainsFairyTotem_desc_RtD", "Використовуйте 5 Порожніх кристалів, щоб викликати дружню фею для захисту бази." }, { "$SwampFairyTotem_RtD", "Земляний тотем" }, { "$SwampFairyTotem_desc_RtD", "Використовуйте 5 Земляних кристалів, щоб викликати дружню фею для захисту бази." } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization12 = Localization; text = "Russian"; localization12.AddTranslation(ref text, new Dictionary { { "$AshLandsFairy_RtD", "Огненная фея" }, { "$AshLandsPixie_RtD", "Огненный пикси" }, { "$BlackForestFairy_RtD", "Молниеносная фея" }, { "$BlackForestPixie_RtD", "Молниеносный пикси" }, { "$DeepNorthFairy_RtD", "Магическая фея" }, { "$DeepNorthPixie_RtD", "Магический пикси" }, { "$MeadowsFairy_RtD", "Воздушная фея" }, { "$MeadowsPixie_RtD", "Воздушный пикси" }, { "$MistlandsFairy_RtD", "Светлая фея" }, { "$MistlandsPixie_RtD", "Светлый пикси" }, { "$MountainFairy_RtD", "Ледяная фея" }, { "$MountainPixie_RtD", "Ледяной пикси" }, { "$PlainsFairy_RtD", "Пустотная фея" }, { "$PlainsPixie_RtD", "Пустотный пикси" }, { "$SwampFairy_RtD", "Земляная фея" }, { "$SwampPixie_RtD", "Земляной пикси" }, { "$AshLandsCrystal_RtD", "Огненный кристалл" }, { "$AshLandsCrystal_desc_RtD", "Используется для создания Тотема Огненной феи" }, { "$BlackForestCrystal_RtD", "Молниеносный кристалл" }, { "$BlackForestCrystal_desc_RtD", "Используется для создания Тотема Молниеносной феи" }, { "$DeepNorthCrystal_RtD", "Магический кристалл" }, { "$DeepNorthCrystal_desc_RtD", "Используется для создания Тотема Магической феи" }, { "$MeadowsCrystal_RtD", "Воздушный кристалл" }, { "$MeadowsCrystal_desc_RtD", "Используется для создания Тотема Воздушной феи" }, { "$MistlandsCrystal_RtD", "Светлый кристалл" }, { "$MistlandsCrystal_desc_RtD", "Используется для создания Тотема Светлой феи" }, { "$MountainCrystal_RtD", "Ледяной кристалл" }, { "$MountainCrystal_desc_RtD", "Используется для создания Тотема Ледяной феи" }, { "$PlainsCrystal_RtD", "Пустотный кристалл" }, { "$PlainsCrystal_desc_RtD", "Используется для создания Тотема Пустотной феи" }, { "$SwampCrystal_RtD", "Земляной кристалл" }, { "$SwampCrystal_desc_RtD", "Используется для создания Тотема Земляной феи" }, { "$AshLandsFairyTotem_RtD", "Огненный тотем" }, { "$AshLandsFairyTotem_desc_RtD", "Используйте 5 Огненных кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$BlackForestFairyTotem_RtD", "Молниеносный тотем" }, { "$BlackForestFairyTotem_desc_RtD", "Используйте 5 Молниеносных кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$DeepNorthFairyTotem_RtD", "Магический тотем" }, { "$DeepNorthFairyTotem_desc_RtD", "Используйте 5 Магических кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$MeadowsFairyTotem_RtD", "Воздушный тотем" }, { "$MeadowsFairyTotem_desc_RtD", "Используйте 5 Воздушных кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$MistlandsFairyTotem_RtD", "Светлый тотем" }, { "$MistlandsFairyTotem_desc_RtD", "Используйте 5 Светлых кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$MountainFairyTotem_RtD", "Ледяной тотем" }, { "$MountainFairyTotem_desc_RtD", "Используйте 5 Ледяных кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$PlainsFairyTotem_RtD", "Пустотный тотем" }, { "$PlainsFairyTotem_desc_RtD", "Используйте 5 Пустотных кристаллов, чтобы призвать дружелюбную фею для защиты базы." }, { "$SwampFairyTotem_RtD", "Земляной тотем" }, { "$SwampFairyTotem_desc_RtD", "Используйте 5 Земляных кристаллов, чтобы призвать дружелюбную фею для защиты базы." } }); } private void AddPieces() { //IL_0002: Unknown result type (might be due to invalid IL or missing references) //IL_0008: Expected O, but got Unknown //IL_001e: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Expected O, but got Unknown //IL_0033: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Expected O, but got Unknown //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0065: Expected O, but got Unknown //IL_0066: Unknown result type (might be due to invalid IL or missing references) //IL_006c: Expected O, but got Unknown //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Expected O, but got Unknown //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_00a1: Expected O, but got Unknown //IL_00bf: Unknown result type (might be due to invalid IL or missing references) //IL_00c9: Expected O, but got Unknown //IL_00ca: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Expected O, but got Unknown //IL_00e6: Unknown result type (might be due to invalid IL or missing references) //IL_00f0: Expected O, but got Unknown //IL_00fb: Unknown result type (might be due to invalid IL or missing references) //IL_0105: Expected O, but got Unknown //IL_0123: Unknown result type (might be due to invalid IL or missing references) //IL_012d: Expected O, but got Unknown //IL_012e: Unknown result type (might be due to invalid IL or missing references) //IL_0134: Expected O, but got Unknown //IL_014a: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Expected O, but got Unknown //IL_015f: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Expected O, but got Unknown //IL_0187: Unknown result type (might be due to invalid IL or missing references) //IL_0191: Expected O, but got Unknown //IL_0192: Unknown result type (might be due to invalid IL or missing references) //IL_0199: Expected O, but got Unknown //IL_01b1: Unknown result type (might be due to invalid IL or missing references) //IL_01bb: Expected O, but got Unknown //IL_01c7: Unknown result type (might be due to invalid IL or missing references) //IL_01d1: Expected O, but got Unknown //IL_01f1: Unknown result type (might be due to invalid IL or missing references) //IL_01fb: Expected O, but got Unknown //IL_01fc: Unknown result type (might be due to invalid IL or missing references) //IL_0203: Expected O, but got Unknown //IL_021b: Unknown result type (might be due to invalid IL or missing references) //IL_0225: Expected O, but got Unknown //IL_0231: Unknown result type (might be due to invalid IL or missing references) //IL_023b: Expected O, but got Unknown //IL_025b: Unknown result type (might be due to invalid IL or missing references) //IL_0265: Expected O, but got Unknown //IL_0266: Unknown result type (might be due to invalid IL or missing references) //IL_026d: Expected O, but got Unknown //IL_0285: Unknown result type (might be due to invalid IL or missing references) //IL_028f: Expected O, but got Unknown //IL_029b: Unknown result type (might be due to invalid IL or missing references) //IL_02a5: Expected O, but got Unknown //IL_02c5: Unknown result type (might be due to invalid IL or missing references) //IL_02cf: Expected O, but got Unknown //IL_02d0: Unknown result type (might be due to invalid IL or missing references) //IL_02d7: Expected O, but got Unknown //IL_02ef: Unknown result type (might be due to invalid IL or missing references) //IL_02f9: Expected O, but got Unknown //IL_0305: Unknown result type (might be due to invalid IL or missing references) //IL_030f: Expected O, but got Unknown //IL_032f: Unknown result type (might be due to invalid IL or missing references) //IL_0339: Expected O, but got Unknown try { PieceConfig val = new PieceConfig(); val.PieceTable = PieceTables.Hammer; val.AddRequirement(new RequirementConfig("MeadowsCrystal_RtD", 10, 0, true)); val.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "MeadowsFairyTotem_RtD", true, val)); PieceConfig val2 = new PieceConfig(); val2.PieceTable = PieceTables.Hammer; val2.AddRequirement(new RequirementConfig("BlackForestCrystal_RtD", 10, 0, true)); val2.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val2.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "BlackForestFairyTotem_RtD", true, val2)); PieceConfig val3 = new PieceConfig(); val3.PieceTable = PieceTables.Hammer; val3.AddRequirement(new RequirementConfig("SwampCrystal_RtD", 10, 0, true)); val3.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val3.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "SwampFairyTotem_RtD", true, val3)); PieceConfig val4 = new PieceConfig(); val4.PieceTable = PieceTables.Hammer; val4.AddRequirement(new RequirementConfig("MountainCrystal_RtD", 10, 0, true)); val4.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val4.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "MountainFairyTotem_RtD", true, val4)); PieceConfig val5 = new PieceConfig(); val5.PieceTable = PieceTables.Hammer; val5.AddRequirement(new RequirementConfig("PlainsCrystal_RtD", 10, 0, true)); val5.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val5.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "PlainsFairyTotem_RtD", true, val5)); PieceConfig val6 = new PieceConfig(); val6.PieceTable = PieceTables.Hammer; val6.AddRequirement(new RequirementConfig("MistlandsCrystal_RtD", 10, 0, true)); val6.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val6.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "MistlandsFairyTotem_RtD", true, val6)); PieceConfig val7 = new PieceConfig(); val7.PieceTable = PieceTables.Hammer; val7.AddRequirement(new RequirementConfig("AshLandsCrystal_RtD", 10, 0, true)); val7.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val7.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "AshLandsFairyTotem_RtD", true, val7)); PieceConfig val8 = new PieceConfig(); val8.PieceTable = PieceTables.Hammer; val8.AddRequirement(new RequirementConfig("DeepNorthCrystal_RtD", 10, 0, true)); val8.AddRequirement(new RequirementConfig("Stone", 25, 0, true)); val8.Category = "Misc"; PieceManager.Instance.AddPiece(new CustomPiece(MyAssets, "DeepNorthFairyTotem_RtD", true, val8)); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding prefabs: {arg}"); } } private void Locations() { //IL_0014: Unknown result type (might be due to invalid IL or missing references) //IL_001b: Expected O, but got Unknown //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_00a7: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Expected O, but got Unknown //IL_00cb: Unknown result type (might be due to invalid IL or missing references) //IL_00d2: Expected O, but got Unknown //IL_00de: Unknown result type (might be due to invalid IL or missing references) //IL_0151: Unknown result type (might be due to invalid IL or missing references) //IL_0157: Expected O, but got Unknown //IL_0177: Unknown result type (might be due to invalid IL or missing references) //IL_017e: Expected O, but got Unknown //IL_018a: Unknown result type (might be due to invalid IL or missing references) //IL_01fd: Unknown result type (might be due to invalid IL or missing references) //IL_0204: Expected O, but got Unknown //IL_0225: Unknown result type (might be due to invalid IL or missing references) //IL_022c: Expected O, but got Unknown //IL_0238: Unknown result type (might be due to invalid IL or missing references) //IL_02ab: Unknown result type (might be due to invalid IL or missing references) //IL_02b2: Expected O, but got Unknown //IL_02d3: Unknown result type (might be due to invalid IL or missing references) //IL_02da: Expected O, but got Unknown //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_035a: Unknown result type (might be due to invalid IL or missing references) //IL_0361: Expected O, but got Unknown //IL_0382: Unknown result type (might be due to invalid IL or missing references) //IL_0389: Expected O, but got Unknown //IL_0399: Unknown result type (might be due to invalid IL or missing references) //IL_040c: Unknown result type (might be due to invalid IL or missing references) //IL_0413: Expected O, but got Unknown //IL_0434: Unknown result type (might be due to invalid IL or missing references) //IL_043b: Expected O, but got Unknown //IL_0448: Unknown result type (might be due to invalid IL or missing references) //IL_04bb: Unknown result type (might be due to invalid IL or missing references) //IL_04c2: Expected O, but got Unknown //IL_04e3: Unknown result type (might be due to invalid IL or missing references) //IL_04ea: Expected O, but got Unknown //IL_04f7: Unknown result type (might be due to invalid IL or missing references) //IL_056a: Unknown result type (might be due to invalid IL or missing references) //IL_0571: Expected O, but got Unknown try { GameObject val = MyAssets.LoadAsset("PixieCamp_Meadows_RtD"); LocationConfig val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)1 }); val2.BiomeArea = (BiomeArea)2; val2.ForestTresholdMin = 0f; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 15; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val3 = new CustomLocation(val, true, val2); ZoneManager.Instance.AddCustomLocation(val3); GameObject val4 = MyAssets.LoadAsset("PixieCamp_BlackForest_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)8 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val5 = new CustomLocation(val4, true, val2); ZoneManager.Instance.AddCustomLocation(val5); GameObject val6 = MyAssets.LoadAsset("PixieCamp_Swamp_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)2 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val7 = new CustomLocation(val6, true, val2); ZoneManager.Instance.AddCustomLocation(val7); GameObject val8 = MyAssets.LoadAsset("PixieCamp_Mountain_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)4 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val9 = new CustomLocation(val8, true, val2); ZoneManager.Instance.AddCustomLocation(val9); GameObject val10 = MyAssets.LoadAsset("PixieCamp_Plains_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)16 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val11 = new CustomLocation(val10, true, val2); ZoneManager.Instance.AddCustomLocation(val11); GameObject val12 = MyAssets.LoadAsset("PixieCamp_Mistlands_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)512 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val13 = new CustomLocation(val12, true, val2); ZoneManager.Instance.AddCustomLocation(val13); GameObject val14 = MyAssets.LoadAsset("PixieCamp_AshLands_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)32 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val15 = new CustomLocation(val14, true, val2); ZoneManager.Instance.AddCustomLocation(val15); GameObject val16 = MyAssets.LoadAsset("PixieCamp_DeepNorth_RtD"); val2 = new LocationConfig(); val2.Biome = ZoneManager.AnyBiomeOf((Biome[])(object)new Biome[1] { (Biome)64 }); val2.BiomeArea = (BiomeArea)2; val2.MinAltitude = 1f; val2.MaxAltitude = 500f; val2.Quantity = 25; val2.ExteriorRadius = 10f; val2.MaxTerrainDelta = 3f; val2.MinDistanceFromSimilar = 200f; val2.ClearArea = true; val2.RandomRotation = true; CustomLocation val17 = new CustomLocation(val16, true, val2); ZoneManager.Instance.AddCustomLocation(val17); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding custom location: {arg}"); } } } }