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 BepInEx.Logging; 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("RtDHorrors")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("RtDHorrors")] [assembly: AssemblyTitle("RtDHorrors")] [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 RtDHorrors { [BepInPlugin("Soloredis.RtDHorrors", "RtDHorrors", "0.6.12")] [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("blacks7ar.MagicRevamp")] [BepInIncompatibility("blacks7ar.SeedBed")] [BepInIncompatibility("blacks7ar.OreMines")] [BepInIncompatibility("blacks7ar.BowPlugin")] [BepInIncompatibility("IAmOnTheInternetAndItIsScary.NoArbitraryIncompatibilityFlag")] [BepInIncompatibility("randyknapp.mods.epicloot")] public class RtDHorrors : BaseUnityPlugin { public const string PluginGUID = "Soloredis.RtDHorrors"; public const string PluginName = "RtDHorrors"; public const string PluginVersion = "0.6.12"; public static bool isModded = true; public AssetBundle MyAssets; public ConfigEntry LoggingEnable; internal static ManualLogSource Log; private CustomLocalization Localization; public string[] PrefabList = new string[194] { "webeggprojectile_RtD1", "blackforestmutantprojectile_RtD1", "deepnorthmutantprojectile_RtD1", "meadowsmutantprojectile_RtD1", "mistlandsmutantprojectile_RtD1", "mountainmutantprojectile2_RtD1", "mountainmutantprojectile3_RtD1", "mountainmutantprojectile_RtD1", "plainsmutantprojectile_RtD2", "sizzleprojectile_RtD1", "spawn_earthstorm_RtD1", "spawn_firestorm_RtD1", "spawn_icestorm2_RtD1", "spawn_icestorm_RtD1", "spawn_meteorstorm_RtD1", "spawn_sizzlerstorm_RtD1", "spawn_spikeballstorm_RtD1", "spawn_voidstorm_RtD1", "swampmutantprojectile2_RtD1", "swampmutantprojectile_RtD1", "mountainmutantprojectile_RtD2", "ashlandsmutantprojectile_RtD1", "AirBlast_RtD1", "ArcaneBlast_RtD1", "EarthBlast_RtD1", "EarthCurse_RtD1", "ElectricBlast_RtD1", "FireBlast_RtD1", "FrostBlast_RtD1", "HealingBlast_RtD1", "HolyBlast_RtD1", "LighteningCurse_RtD1", "StormCurse_RtD1", "VoidCurse_RtD1", "WaterBlast_RtD1", "AirSpray_RtD1", "ArcaneSpray_RtD1", "EarthSpray_Rtd1", "ElectricSpray_RtD1", "FireSpray_RtD1", "FireSprayAOE_RtD1", "FrostSpray_RtD1", "HealingSpray_RtD1", "HolySpray_RtD1", "VoidSpray_RtD1", "WaterSpray_RtD1", "AirRainAOE1_RtD1", "ArcaneRain1_RtD1", "EarthPillarM_RtD1", "EarthRainAOE2_RtD1", "EarthRainAOE1_RtD1", "ElectricRainAOE1_RtD1", "FirePillarMAOE1_RtD1", "FireRainAOE2_RtD1", "FireRainAOE1_RtD1", "FrostRainAOE2_RtD1", "FrostRainAOE3_RtD1", "FrostRainAOE1_RtD1", "HealingRainAOE1_RtD1", "HolyRainAOE1_RtD1", "IcePillarM1_RtD1", "LighteningPillarB_RtD1", "VoidRainAOE2_RtD1", "VoidRainAOE1_RtD1", "WaterRainAOE1_RtD1", "FrostBlast01_RtD", "AirBlast01_RtD", "Ragdoll_AshLandsCrawler_RtD", "Ragdoll_AshLandsHorror_RtD", "Ragdoll_AshLandsHorror01_RtD", "Ragdoll_BlackForestHorror_RtD", "Ragdoll_BlackForestHorror01_RtD", "Ragdoll_DeepNorthDemon1_RtD", "Ragdoll_DeepNorthDemon2_RtD", "Ragdoll_DeepNorthDemon3_RtD", "Ragdoll_DeepNorthDemon4_RtD", "Ragdoll_DeepNorthHorror_RtD", "Ragdoll_MeadowsHorror_RtD", "Ragdoll_MeadowsHorror01_RtD", "Ragdoll_MistlandsHorror_RtD", "Ragdoll_SeekerMutant_RtD", "Ragdoll_MountainHorror_RtD", "Ragdoll_MountainHorror01_RtD", "Ragdoll_PlainsHorror_RtD", "Ragdoll_PlainsHorror01_RtD", "Ragdoll_SwampChaser_RtD", "Ragdoll_SwampHorror01_RtD", "AshLandsMutantMelee1_RtD", "AshLandsMutantMelee2_RtD", "AshLandsMutantSpell_RtD", "AshLandsMutantSummon_RtD", "BlackForestMutantMelee1_RtD", "BlackForestMutantMelee2_RtD", "BlackForestMutantMelee3_RtD", "BlackForestMutantSpell_RtD", "DeepNorthMutantMeele1_RtD", "DeepNorthMutantMelee2_RtD", "DeepNorthMutantMelee3_RtD", "DeepNorthMutantSpell_RtD", "MeadowsMutantHeal_RtD", "MeadowsMutantMelee1_RtD", "MeadowsMutantMelee2_RtD", "MeadowsMutantSpell_RtD", "MistlandsMutantMelee1_RtD", "MistlandsMutantMelee2_RtD", "MistlandsMutantSpell_RtD", "MistlandsMutantSummon_RtD", "MountainMutantMelee1_RtD", "MountainMutantMelee2_RtD", "MountainMutantMelee3_RtD", "MountainMutantSpell_RtD", "PlainsMutantMelee1_RtD", "PlainsMutantMelee2_RtD", "PlainsMutantSpell_RtD", "PlainsMutantSummon_RtD", "SwampMutantMelee1_RtD", "SwampMutantMelee2_RtD", "SwampMutantMelee3_RtD", "SwampMutantSpell_RtD", "AshLandsMeleeC1_RtD", "AshLandsMeleeC2_RtD", "AshLandsSpellC1_RtD", "AshLandsSummonC1_RtD", "DeepNorthMeleeC1_RtD", "DeepNorthMeleeC2_RtD", "DeepNorthSpellC1_RtD", "DeepNorthSpellC2_RtD", "DeepNorthSpellC3_RtD", "DeepNorthSpellC4_RtD", "DeepNorthSummonC1_RtD", "DeepNorthSummonC2_RtD", "DeepNorthSummonC3_RtD", "DeepNorthSummonC4_RtD", "AshLandsMutantMelee1_RtD1", "BlackForestMutantMelee1_01_RtD", "BlackForestMutantMelee3_01_RtD", "MeadowsMutantSummon01_RtD", "LightningBlast01_RtD4", "MountainMutantSpell01_RtD", "seeker_attack1_RtD", "seeker_attack2_RtD", "seeker_attack3_RtD", "seeker_attack4_RtD", "seeker_attack5_RtD", "seeker_land1_RtD", "seeker_takeoff1_RtD", "PlainsMutantMelee01_RtD", "PlainsMutantSpell01_RtD", "ShadowBlast01_RtD", "SwampHorrorMelee1_RtD", "SwampHorrorMelee3_RtD", "SwampHorrorSpell_RtD", "SwampHorrorSummon1_RtD", "ArcaneExplosionSmall1_RtD1", "EarthExplosionLarge1_RtD1", "EarthExplosionSmall1_RtD1", "EggExplosion_RtD1", "FireExplosionSmall1_RtD1", "FrostExplosionLarge1_RtD1", "FrostExplosionSmall1_RtD1", "LightningExplosionSmall1_RtD1", "SpikyExplosionSmall1_RtD1", "StormExplosionSmall1_RtD1", "vfx_bloodsplat_death_RtD1", "vfx_bloodsplat_hit_RtD1", "VFX_IceSpray_RtD1", "VoidExplosionSmall1_RtD1", "FX_Armor_RtD1", "FX_Frosted_RtD1", "FX_Shocked_RtD1", "FX_Weakened_RtD1", "fx_Queen_Run_RtD1", "fx_Queen_Walk_RtD1", "Spawner_AshLandsHorror_RtD", "Spawner_BlackForestHorror_RtD", "Spawner_DeepNorthHorror_RtD", "Spawner_MeadowsHorror_RtD", "Spawner_MistlandsHorror_RtD", "Spawner_MountainHorror_RtD", "Spawner_PlainsHorror_RtD", "Spawner_SwampHorror_RtD", "Spawner_AshLandsCrawler_RtD", "Spawner_DeepNorthDemon1_RtD", "Spawner_DeepNorthDemon2_RtD", "Spawner_DeepNorthDemon3_RtD", "Spawner_DeepNorthDemon4_RtD", "Spawner_AshLandsHorror01_RtD", "Spawner_BlackForestHorror01_RtD", "Spawner_MeadowsHorror01_RtD", "Spawner_MountainHorror01_RtD", "Spawner_PlainsHorror01_RtD", "Spawner_SeekerMutant_RtD", "Spawner_SwampHorror01_RtD", "HorrorElseIf_RtD" }; public string[] CustomStatusEffectList = new string[4] { "SE_Shocked_RtD1", "SE_Weakened_RtD1", "SE_Frosted_RtD1", "SE_ArmorWeakness_RtD1" }; public string[] SFXHorrorList = new string[61] { "DummyPrefab", "sfx_mutant1_death_RtD", "sfx_mutant1_hit_RtD", "sfx_mutant2_attack_RtD", "sfx_mutant2_death_RtD", "sfx_mutant2_hit_RtD", "sfx_mutant3_attack_RtD", "sfx_mutant3_death_RtD", "sfx_mutant3_hit_RtD", "sfx_mutant4_attack_RtD", "sfx_mutant4_death_RtD", "sfx_mutant4_hit_RtD", "sfx_mutant5_attack_RtD", "sfx_mutant5_death_RtD", "sfx_mutant5_hit_RtD", "sfx_mutant6_attack_RtD", "sfx_mutant6_death_RtD", "sfx_mutant6_hit_RtD", "sfx_mutant7_attack_RtD", "sfx_mutant7_death_RtD", "sfx_mutant7_hit_RtD", "sfx_mutant8_attack_RtD", "sfx_mutant8_death_RtD", "sfx_mutant8_hit_RtD", "sfx_mutantranged1_RtD", "sfx_mutantranged2_RtD", "sfx_mutantranged3_RtD", "sfx_mutantranged4_RtD", "sfx_mutantranged5_RtD", "sfx_mutantranged6_RtD", "sfx_mutantranged7_RtD", "sfx_mutantranged8_RtD", "sfx_mutant1_alerted_RtD", "sfx_mutant1_idle_RtD", "sfx_mutant2_alerted_RtD", "sfx_mutant2_idle_RtD", "sfx_mutant3_alerted_RtD", "sfx_mutant3_idle_RtD", "sfx_mutant4_alerted_RtD", "sfx_mutant4_idle_RtD", "sfx_mutant5_alerted_RtD", "sfx_mutant5_idle_RtD", "sfx_mutant6_alerted_RtD", "sfx_mutant6_idle_RtD", "sfx_mutant7_alerted_RtD", "sfx_mutant7_idle_RtD", "sfx_mutant8_alerted_RtD", "sfx_mutant8_idle_RtD", "sfx_crawler_alerted_RtD", "sfx_crawler_attack_RtD", "sfx_crawler_death", "sfx_crawler_hit_RtD", "sfx_crawler_idle_RtD", "sfx_crawler_ranged_RtD", "sfx_northdemon_alerted_RtD", "sfx_northdemon_attack_RtD", "sfx_northdemon_death_RtD", "sfx_northdemon_hit_RtD", "sfx_northdemon_idle_RtD", "sfx_northdemon_ranged_RtD", "sfx_mutant1_attack_RtD" }; public string[] StaticList1 = new string[2] { "MeadowsHorror_RtD", "MeadowsHorror01_RtD" }; public string[] StaticList2 = new string[2] { "BlackForestHorror_RtD", "BlackForestHorror01_RtD" }; public string[] StaticList3 = new string[2] { "SwampChaser_RtD", "SwampHorror01_RtD" }; public string[] StaticList4 = new string[2] { "MountainHorror_RtD", "MountainHorror01_RtD" }; public string[] StaticList5 = new string[2] { "PlainsHorror_RtD", "PlainsHorror01_RtD" }; public string[] StaticList6 = new string[2] { "MistlandsHorror_RtD", "SeekerMutant_RtD" }; public string[] StaticList7 = new string[3] { "AshLandsCrawler_RtD", "AshLandsHorror_RtD", "AshLandsHorror01_RtD" }; public string[] StaticList8 = new string[5] { "DeepNorthDemon1_RtD", "DeepNorthDemon2_RtD", "DeepNorthDemon3_RtD", "DeepNorthDemon4_RtD", "DeepNorthHorror_RtD" }; public static SpawnConfig[] MeadowsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 240f, SpawnChance = 30f, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MinGroupSize = 1, MaxGroupSize = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 250f, Biome = (Biome)1 } }; public static SpawnConfig[] BlackForestSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 240f, SpawnChance = 30f, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MinGroupSize = 1, MaxGroupSize = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 250f, Biome = (Biome)8 } }; public static SpawnConfig[] SwampSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 240f, SpawnChance = 30f, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MinGroupSize = 1, MaxGroupSize = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 250f, Biome = (Biome)2 } }; public static SpawnConfig[] MountainSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 240f, SpawnChance = 30f, MinGroupSize = 1, MaxGroupSize = 1, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 500f, Biome = (Biome)4 } }; public static SpawnConfig[] PlainsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 240f, SpawnChance = 30f, MaxGroupSize = 1, SpawnAtNight = true, SpawnAtDay = false, MinGroupSize = 1, MaxSpawned = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 250f, Biome = (Biome)16 } }; public static SpawnConfig[] MistlandsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 240f, SpawnChance = 30f, MaxGroupSize = 1, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MinGroupSize = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 500f, Biome = (Biome)512 } }; public static SpawnConfig[] AshLandsSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 360f, SpawnChance = 10f, MaxGroupSize = 1, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MinGroupSize = 1, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 275f, Biome = (Biome)32 } }; public static SpawnConfig[] DeepNorthSpawnConfig = (SpawnConfig[])(object)new SpawnConfig[1] { new SpawnConfig { SpawnDistance = 100f, SpawnInterval = 360f, SpawnChance = 5f, MaxGroupSize = 3, SpawnAtNight = true, SpawnAtDay = false, MaxSpawned = 1, MinGroupSize = 2, MaxLevel = 2, MinAltitude = 3f, MaxAltitude = 450f, Biome = (Biome)64 } }; 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() { LoadBundle(); CreateConfigurationValues(); AddSFX(); AddPrefabs(); MeadowsSpawner(); BlackForestSpawner(); SwampSpawner(); MountainSpawner(); PlainsSpawner(); MistlandsSpawner(); AshlandsSpawner(); DeepNorthSpawner(); StatusEffects(); Addlocalizations(); PrefabManager.OnPrefabsRegistered += AddDrops; PrefabManager.OnPrefabsRegistered += AddDrops01; PrefabManager.OnPrefabsRegistered += AddDropsCheck; PrefabManager.OnPrefabsRegistered += FixSFX; Log = ((BaseUnityPlugin)this).Logger; } private void LoadBundle() { try { MyAssets = AssetUtils.LoadAssetBundleFromResources("rtdhorrors", Assembly.GetExecutingAssembly()); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundles: {arg}"); } } private void CreateConfigurationValues() { //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_003d: Expected O, but got Unknown //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: Expected O, but got Unknown try { ((BaseUnityPlugin)this).Config.SaveOnConfigSet = true; LoggingEnable = ((BaseUnityPlugin)this).Config.Bind("Logging", "Enable", false, new ConfigDescription("Admin only, Enables logging. Disabled by default.", (AcceptableValueBase)null, new object[1] { (object)new ConfigurationManagerAttributes { IsAdminOnly = true } })); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding configuration values: {arg}"); } } private void Addlocalizations() { Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization = Localization; string text = "English"; localization.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Physical Weakness" }, { "se_armorweakness_tooltip", "Physical Weakness" }, { "se_armorweakness_start", "Physical Weakness" }, { "se_frosted_name", "Frost Weakness" }, { "se_frosted_tooltip", "Frost Weakness" }, { "se_frosted_start", "Frost Weakness" }, { "se_shocked_name", "Electric Weakness" }, { "se_shocked_tooltip", "Electric Weakness" }, { "se_shocked_start", "Electric Weakness" }, { "se_weakened_name", "Poison Weakness" }, { "se_weakened_tooltip", "Poison Weakness" }, { "se_weakened_start", "Poison Weakness" }, { "DeepNorthDemon1_RtD", "Arcane Demon" }, { "DeepNorthDemon2_RtD", "Arcane Demon" }, { "DeepNorthDemon3_RtD", "Arcane Demon" }, { "DeepNorthDemon4_RtD", "Arcane Demon" }, { "AshLandsCrawler_RtD", "Crawler" }, { "AshLandsHorror01_RtD", "Mutated Demon" }, { "AshLandsHorror_RtD", "Mutated Demon" }, { "BlackForestHorror01_RtD", "Wandering Undead" }, { "BlackForestHorror_RtD", "Wandering Undead" }, { "DeepNorthHorror_RtD", "Wandering Undead" }, { "MeadowsHorror01_RtD", "Wandering Undead" }, { "MeadowsHorror_RtD", "Wandering Undead" }, { "MistlandsHorror_RtD", "Wandering Undead" }, { "SeekerMutant_RtD", "Mutated Seeker" }, { "MountainHorror01_RtD", "Wandering Undead" }, { "MountainHorror_RtD", "Wandering Undead" }, { "PlainsHorror01_RtD", "Wandering Undead" }, { "PlainsHorror_RtD", "Wandering Undead" }, { "SwampChaser_RtD", "Mutated Spider" }, { "SwampHorror01_RtD", "Wandering Undead" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization2 = Localization; text = "Portuguese"; localization2.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Fraqueza Física" }, { "se_armorweakness_tooltip", "Fraqueza Física" }, { "se_armorweakness_start", "Fraqueza Física" }, { "se_frosted_name", "Fraqueza ao Gelo" }, { "se_frosted_tooltip", "Fraqueza ao Gelo" }, { "se_frosted_start", "Fraqueza ao Gelo" }, { "se_shocked_name", "Fraqueza Elétrica" }, { "se_shocked_tooltip", "Fraqueza Elétrica" }, { "se_shocked_start", "Fraqueza Elétrica" }, { "se_weakened_name", "Fraqueza a Veneno" }, { "se_weakened_tooltip", "Fraqueza a Veneno" }, { "se_weakened_start", "Fraqueza a Veneno" }, { "DeepNorthDemon1_RtD", "Demônio Arcano" }, { "DeepNorthDemon2_RtD", "Demônio Arcano" }, { "DeepNorthDemon3_RtD", "Demônio Arcano" }, { "DeepNorthDemon4_RtD", "Demônio Arcano" }, { "AshLandsCrawler_RtD", "Rastejador" }, { "AshLandsHorror01_RtD", "Demônio Mutado" }, { "AshLandsHorror_RtD", "Demônio Mutado" }, { "BlackForestHorror01_RtD", "Morto-Vivo Errante" }, { "BlackForestHorror_RtD", "Morto-Vivo Errante" }, { "DeepNorthHorror_RtD", "Morto-Vivo Errante" }, { "MeadowsHorror01_RtD", "Morto-Vivo Errante" }, { "MeadowsHorror_RtD", "Morto-Vivo Errante" }, { "MistlandsHorror_RtD", "Morto-Vivo Errante" }, { "SeekerMutant_RtD", "Buscador Mutado" }, { "MountainHorror01_RtD", "Morto-Vivo Errante" }, { "MountainHorror_RtD", "Morto-Vivo Errante" }, { "PlainsHorror01_RtD", "Morto-Vivo Errante" }, { "PlainsHorror_RtD", "Morto-Vivo Errante" }, { "SwampChaser_RtD", "Aranha Mutada" }, { "SwampHorror01_RtD", "Morto-Vivo Errante" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization3 = Localization; text = "Hindi"; localization3.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "श\u093eर\u0940र\u093fक कमज\u094bर\u0940" }, { "se_armorweakness_tooltip", "श\u093eर\u0940र\u093fक कमज\u094bर\u0940" }, { "se_armorweakness_start", "श\u093eर\u0940र\u093fक कमज\u094bर\u0940" }, { "se_frosted_name", "बर\u094dफ क\u0940 कमज\u094bर\u0940" }, { "se_frosted_tooltip", "बर\u094dफ क\u0940 कमज\u094bर\u0940" }, { "se_frosted_start", "बर\u094dफ क\u0940 कमज\u094bर\u0940" }, { "se_shocked_name", "ब\u093fजल\u0940 क\u0940 कमज\u094bर\u0940" }, { "se_shocked_tooltip", "ब\u093fजल\u0940 क\u0940 कमज\u094bर\u0940" }, { "se_shocked_start", "ब\u093fजल\u0940 क\u0940 कमज\u094bर\u0940" }, { "se_weakened_name", "ज\u093cहर क\u0940 कमज\u094bर\u0940" }, { "se_weakened_tooltip", "ज\u093cहर क\u0940 कमज\u094bर\u0940" }, { "se_weakened_start", "ज\u093cहर क\u0940 कमज\u094bर\u0940" }, { "DeepNorthDemon1_RtD", "ग\u0942ढ\u093c र\u093eक\u094dषस" }, { "DeepNorthDemon2_RtD", "ग\u0942ढ\u093c र\u093eक\u094dषस" }, { "DeepNorthDemon3_RtD", "ग\u0942ढ\u093c र\u093eक\u094dषस" }, { "DeepNorthDemon4_RtD", "ग\u0942ढ\u093c र\u093eक\u094dषस" }, { "AshLandsCrawler_RtD", "र\u0947\u0902गन\u0947 व\u093eल\u093e" }, { "AshLandsHorror01_RtD", "पर\u093fवर\u094dत\u093fत र\u093eक\u094dषस" }, { "AshLandsHorror_RtD", "पर\u093fवर\u094dत\u093fत र\u093eक\u094dषस" }, { "BlackForestHorror01_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "BlackForestHorror_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "DeepNorthHorror_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "MeadowsHorror01_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "MeadowsHorror_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "MistlandsHorror_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "SeekerMutant_RtD", "पर\u093fवर\u094dत\u093fत ख\u094bज\u0940" }, { "MountainHorror01_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "MountainHorror_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "PlainsHorror01_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "PlainsHorror_RtD", "भटकत\u093e म\u0943तज\u0940व" }, { "SwampChaser_RtD", "पर\u093fवर\u094dत\u093fत मकड\u093c\u0940" }, { "SwampHorror01_RtD", "भटकत\u093e म\u0943तज\u0940व" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization4 = Localization; text = "Spanish"; localization4.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Debilidad Física" }, { "se_armorweakness_tooltip", "Debilidad Física" }, { "se_armorweakness_start", "Debilidad Física" }, { "se_frosted_name", "Debilidad al Hielo" }, { "se_frosted_tooltip", "Debilidad al Hielo" }, { "se_frosted_start", "Debilidad al Hielo" }, { "se_shocked_name", "Debilidad Eléctrica" }, { "se_shocked_tooltip", "Debilidad Eléctrica" }, { "se_shocked_start", "Debilidad Eléctrica" }, { "se_weakened_name", "Debilidad al Veneno" }, { "se_weakened_tooltip", "Debilidad al Veneno" }, { "se_weakened_start", "Debilidad al Veneno" }, { "DeepNorthDemon1_RtD", "Demonio Arcano" }, { "DeepNorthDemon2_RtD", "Demonio Arcano" }, { "DeepNorthDemon3_RtD", "Demonio Arcano" }, { "DeepNorthDemon4_RtD", "Demonio Arcano" }, { "AshLandsCrawler_RtD", "Reptador" }, { "AshLandsHorror01_RtD", "Demonio Mutado" }, { "AshLandsHorror_RtD", "Demonio Mutado" }, { "BlackForestHorror01_RtD", "No-Muerto Errante" }, { "BlackForestHorror_RtD", "No-Muerto Errante" }, { "DeepNorthHorror_RtD", "No-Muerto Errante" }, { "MeadowsHorror01_RtD", "No-Muerto Errante" }, { "MeadowsHorror_RtD", "No-Muerto Errante" }, { "MistlandsHorror_RtD", "No-Muerto Errante" }, { "SeekerMutant_RtD", "Buscador Mutado" }, { "MountainHorror01_RtD", "No-Muerto Errante" }, { "MountainHorror_RtD", "No-Muerto Errante" }, { "PlainsHorror01_RtD", "No-Muerto Errante" }, { "PlainsHorror_RtD", "No-Muerto Errante" }, { "SwampChaser_RtD", "Araña Mutada" }, { "SwampHorror01_RtD", "No-Muerto Errante" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization5 = Localization; text = "Swedish"; localization5.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Fysisk Svaghet" }, { "se_armorweakness_tooltip", "Fysisk Svaghet" }, { "se_armorweakness_start", "Fysisk Svaghet" }, { "se_frosted_name", "Kylsvaghet" }, { "se_frosted_tooltip", "Kylsvaghet" }, { "se_frosted_start", "Kylsvaghet" }, { "se_shocked_name", "Elektrisk Svaghet" }, { "se_shocked_tooltip", "Elektrisk Svaghet" }, { "se_shocked_start", "Elektrisk Svaghet" }, { "se_weakened_name", "Gift\u00adsvaghet" }, { "se_weakened_tooltip", "Gift\u00adsvaghet" }, { "se_weakened_start", "Gift\u00adsvaghet" }, { "DeepNorthDemon1_RtD", "Arkan Demon" }, { "DeepNorthDemon2_RtD", "Arkan Demon" }, { "DeepNorthDemon3_RtD", "Arkan Demon" }, { "DeepNorthDemon4_RtD", "Arkan Demon" }, { "AshLandsCrawler_RtD", "Krypare" }, { "AshLandsHorror01_RtD", "Muterad Demon" }, { "AshLandsHorror_RtD", "Muterad Demon" }, { "BlackForestHorror01_RtD", "Vandrande Odöd" }, { "BlackForestHorror_RtD", "Vandrande Odöd" }, { "DeepNorthHorror_RtD", "Vandrande Odöd" }, { "MeadowsHorror01_RtD", "Vandrande Odöd" }, { "MeadowsHorror_RtD", "Vandrande Odöd" }, { "MistlandsHorror_RtD", "Vandrande Odöd" }, { "SeekerMutant_RtD", "Muterad Sökare" }, { "MountainHorror01_RtD", "Vandrande Odöd" }, { "MountainHorror_RtD", "Vandrande Odöd" }, { "PlainsHorror01_RtD", "Vandrande Odöd" }, { "PlainsHorror_RtD", "Vandrande Odöd" }, { "SwampChaser_RtD", "Muterad Spindel" }, { "SwampHorror01_RtD", "Vandrande Odöd" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization6 = Localization; text = "Dutch"; localization6.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Fysieke Zwakte" }, { "se_armorweakness_tooltip", "Fysieke Zwakte" }, { "se_armorweakness_start", "Fysieke Zwakte" }, { "se_frosted_name", "Vorstzwakte" }, { "se_frosted_tooltip", "Vorstzwakte" }, { "se_frosted_start", "Vorstzwakte" }, { "se_shocked_name", "Elektrische Zwakte" }, { "se_shocked_tooltip", "Elektrische Zwakte" }, { "se_shocked_start", "Elektrische Zwakte" }, { "se_weakened_name", "Gifzwakte" }, { "se_weakened_tooltip", "Gifzwakte" }, { "se_weakened_start", "Gifzwakte" }, { "DeepNorthDemon1_RtD", "Arkanen Demon" }, { "DeepNorthDemon2_RtD", "Arkanen Demon" }, { "DeepNorthDemon3_RtD", "Arkanen Demon" }, { "DeepNorthDemon4_RtD", "Arkanen Demon" }, { "AshLandsCrawler_RtD", "Kruiper" }, { "AshLandsHorror01_RtD", "Gemuteerde Demon" }, { "AshLandsHorror_RtD", "Gemuteerde Demon" }, { "BlackForestHorror01_RtD", "Dwalende Ondood" }, { "BlackForestHorror_RtD", "Dwalende Ondood" }, { "DeepNorthHorror_RtD", "Dwalende Ondood" }, { "MeadowsHorror01_RtD", "Dwalende Ondood" }, { "MeadowsHorror_RtD", "Dwalende Ondood" }, { "MistlandsHorror_RtD", "Dwalende Ondood" }, { "SeekerMutant_RtD", "Gemuteerde Zoeker" }, { "MountainHorror01_RtD", "Dwalende Ondood" }, { "MountainHorror_RtD", "Dwalende Ondood" }, { "PlainsHorror01_RtD", "Dwalende Ondood" }, { "PlainsHorror_RtD", "Dwalende Ondood" }, { "SwampChaser_RtD", "Gemuteerde Spin" }, { "SwampHorror01_RtD", "Dwalende Ondood" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization7 = Localization; text = "Japanese"; localization7.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "物理的な弱点" }, { "se_armorweakness_tooltip", "物理的な弱点" }, { "se_armorweakness_start", "物理的な弱点" }, { "se_frosted_name", "氷の弱点" }, { "se_frosted_tooltip", "氷の弱点" }, { "se_frosted_start", "氷の弱点" }, { "se_shocked_name", "電気の弱点" }, { "se_shocked_tooltip", "電気の弱点" }, { "se_shocked_start", "電気の弱点" }, { "se_weakened_name", "毒の弱点" }, { "se_weakened_tooltip", "毒の弱点" }, { "se_weakened_start", "毒の弱点" }, { "DeepNorthDemon1_RtD", "秘術の悪魔" }, { "DeepNorthDemon2_RtD", "秘術の悪魔" }, { "DeepNorthDemon3_RtD", "秘術の悪魔" }, { "DeepNorthDemon4_RtD", "秘術の悪魔" }, { "AshLandsCrawler_RtD", "クロウラー" }, { "AshLandsHorror01_RtD", "変異した悪魔" }, { "AshLandsHorror_RtD", "変異した悪魔" }, { "BlackForestHorror01_RtD", "さまようアンデッド" }, { "BlackForestHorror_RtD", "さまようアンデッド" }, { "DeepNorthHorror_RtD", "さまようアンデッド" }, { "MeadowsHorror01_RtD", "さまようアンデッド" }, { "MeadowsHorror_RtD", "さまようアンデッド" }, { "MistlandsHorror_RtD", "さまようアンデッド" }, { "SeekerMutant_RtD", "変異したシーカー" }, { "MountainHorror01_RtD", "さまようアンデッド" }, { "MountainHorror_RtD", "さまようアンデッド" }, { "PlainsHorror01_RtD", "さまようアンデッド" }, { "PlainsHorror_RtD", "さまようアンデッド" }, { "SwampChaser_RtD", "変異したクモ" }, { "SwampHorror01_RtD", "さまようアンデッド" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization8 = Localization; text = "Chinese"; localization8.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "物理弱点" }, { "se_armorweakness_tooltip", "物理弱点" }, { "se_armorweakness_start", "物理弱点" }, { "se_frosted_name", "冰霜弱点" }, { "se_frosted_tooltip", "冰霜弱点" }, { "se_frosted_start", "冰霜弱点" }, { "se_shocked_name", "电击弱点" }, { "se_shocked_tooltip", "电击弱点" }, { "se_shocked_start", "电击弱点" }, { "se_weakened_name", "中毒弱点" }, { "se_weakened_tooltip", "中毒弱点" }, { "se_weakened_start", "中毒弱点" }, { "DeepNorthDemon1_RtD", "奥术恶魔" }, { "DeepNorthDemon2_RtD", "奥术恶魔" }, { "DeepNorthDemon3_RtD", "奥术恶魔" }, { "DeepNorthDemon4_RtD", "奥术恶魔" }, { "AshLandsCrawler_RtD", "爬行者" }, { "AshLandsHorror01_RtD", "变异恶魔" }, { "AshLandsHorror_RtD", "变异恶魔" }, { "BlackForestHorror01_RtD", "游荡的不死者" }, { "BlackForestHorror_RtD", "游荡的不死者" }, { "DeepNorthHorror_RtD", "游荡的不死者" }, { "MeadowsHorror01_RtD", "游荡的不死者" }, { "MeadowsHorror_RtD", "游荡的不死者" }, { "MistlandsHorror_RtD", "游荡的不死者" }, { "SeekerMutant_RtD", "变异搜寻者" }, { "MountainHorror01_RtD", "游荡的不死者" }, { "MountainHorror_RtD", "游荡的不死者" }, { "PlainsHorror01_RtD", "游荡的不死者" }, { "PlainsHorror_RtD", "游荡的不死者" }, { "SwampChaser_RtD", "变异蜘蛛" }, { "SwampHorror01_RtD", "游荡的不死者" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization9 = Localization; text = "French"; localization9.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Faiblesse Physique" }, { "se_armorweakness_tooltip", "Faiblesse Physique" }, { "se_armorweakness_start", "Faiblesse Physique" }, { "se_frosted_name", "Faiblesse au Givre" }, { "se_frosted_tooltip", "Faiblesse au Givre" }, { "se_frosted_start", "Faiblesse au Givre" }, { "se_shocked_name", "Faiblesse Électrique" }, { "se_shocked_tooltip", "Faiblesse Électrique" }, { "se_shocked_start", "Faiblesse Électrique" }, { "se_weakened_name", "Faiblesse au Poison" }, { "se_weakened_tooltip", "Faiblesse au Poison" }, { "se_weakened_start", "Faiblesse au Poison" }, { "DeepNorthDemon1_RtD", "Démon Arcanique" }, { "DeepNorthDemon2_RtD", "Démon Arcanique" }, { "DeepNorthDemon3_RtD", "Démon Arcanique" }, { "DeepNorthDemon4_RtD", "Démon Arcanique" }, { "AshLandsCrawler_RtD", "Rampant" }, { "AshLandsHorror01_RtD", "Démon Muté" }, { "AshLandsHorror_RtD", "Démon Muté" }, { "BlackForestHorror01_RtD", "Mort-Vivant Errant" }, { "BlackForestHorror_RtD", "Mort-Vivant Errant" }, { "DeepNorthHorror_RtD", "Mort-Vivant Errant" }, { "MeadowsHorror01_RtD", "Mort-Vivant Errant" }, { "MeadowsHorror_RtD", "Mort-Vivant Errant" }, { "MistlandsHorror_RtD", "Mort-Vivant Errant" }, { "SeekerMutant_RtD", "Chercheur Muté" }, { "MountainHorror01_RtD", "Mort-Vivant Errant" }, { "MountainHorror_RtD", "Mort-Vivant Errant" }, { "PlainsHorror01_RtD", "Mort-Vivant Errant" }, { "PlainsHorror_RtD", "Mort-Vivant Errant" }, { "SwampChaser_RtD", "Araignée Mutée" }, { "SwampHorror01_RtD", "Mort-Vivant Errant" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization10 = Localization; text = "German"; localization10.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Körperliche Schwäche" }, { "se_armorweakness_tooltip", "Körperliche Schwäche" }, { "se_armorweakness_start", "Körperliche Schwäche" }, { "se_frosted_name", "Frostschwäche" }, { "se_frosted_tooltip", "Frostschwäche" }, { "se_frosted_start", "Frostschwäche" }, { "se_shocked_name", "Elektrische Schwäche" }, { "se_shocked_tooltip", "Elektrische Schwäche" }, { "se_shocked_start", "Elektrische Schwäche" }, { "se_weakened_name", "Giftschwäche" }, { "se_weakened_tooltip", "Giftschwäche" }, { "se_weakened_start", "Giftschwäche" }, { "DeepNorthDemon1_RtD", "Arkaner Dämon" }, { "DeepNorthDemon2_RtD", "Arkaner Dämon" }, { "DeepNorthDemon3_RtD", "Arkaner Dämon" }, { "DeepNorthDemon4_RtD", "Arkaner Dämon" }, { "AshLandsCrawler_RtD", "Kriecher" }, { "AshLandsHorror01_RtD", "Mutierter Dämon" }, { "AshLandsHorror_RtD", "Mutierter Dämon" }, { "BlackForestHorror01_RtD", "Wandelnder Untoter" }, { "BlackForestHorror_RtD", "Wandelnder Untoter" }, { "DeepNorthHorror_RtD", "Wandelnder Untoter" }, { "MeadowsHorror01_RtD", "Wandelnder Untoter" }, { "MeadowsHorror_RtD", "Wandelnder Untoter" }, { "MistlandsHorror_RtD", "Wandelnder Untoter" }, { "SeekerMutant_RtD", "Mutierter Sucher" }, { "MountainHorror01_RtD", "Wandelnder Untoter" }, { "MountainHorror_RtD", "Wandelnder Untoter" }, { "PlainsHorror01_RtD", "Wandelnder Untoter" }, { "PlainsHorror_RtD", "Wandelnder Untoter" }, { "SwampChaser_RtD", "Mutierte Spinne" }, { "SwampHorror01_RtD", "Wandelnder Untoter" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization11 = Localization; text = "Ukrainian"; localization11.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Фізична слабкість" }, { "se_armorweakness_tooltip", "Фізична слабкість" }, { "se_armorweakness_start", "Фізична слабкість" }, { "se_frosted_name", "Слабкість до холоду" }, { "se_frosted_tooltip", "Слабкість до холоду" }, { "se_frosted_start", "Слабкість до холоду" }, { "se_shocked_name", "Слабкість до електрики" }, { "se_shocked_tooltip", "Слабкість до електрики" }, { "se_shocked_start", "Слабкість до електрики" }, { "se_weakened_name", "Слабкість до отрути" }, { "se_weakened_tooltip", "Слабкість до отрути" }, { "se_weakened_start", "Слабкість до отрути" }, { "DeepNorthDemon1_RtD", "Магічний демон" }, { "DeepNorthDemon2_RtD", "Магічний демон" }, { "DeepNorthDemon3_RtD", "Магічний демон" }, { "DeepNorthDemon4_RtD", "Магічний демон" }, { "AshLandsCrawler_RtD", "Повзучий" }, { "AshLandsHorror01_RtD", "Мутований демон" }, { "AshLandsHorror_RtD", "Мутований демон" }, { "BlackForestHorror01_RtD", "Блукаючий нежить" }, { "BlackForestHorror_RtD", "Блукаючий нежить" }, { "DeepNorthHorror_RtD", "Блукаючий нежить" }, { "MeadowsHorror01_RtD", "Блукаючий нежить" }, { "MeadowsHorror_RtD", "Блукаючий нежить" }, { "MistlandsHorror_RtD", "Блукаючий нежить" }, { "SeekerMutant_RtD", "Мутований шукач" }, { "MountainHorror01_RtD", "Блукаючий нежить" }, { "MountainHorror_RtD", "Блукаючий нежить" }, { "PlainsHorror01_RtD", "Блукаючий нежить" }, { "PlainsHorror_RtD", "Блукаючий нежить" }, { "SwampChaser_RtD", "Мутований павук" }, { "SwampHorror01_RtD", "Блукаючий нежить" } }); Localization = LocalizationManager.Instance.GetLocalization(); CustomLocalization localization12 = Localization; text = "Russian"; localization12.AddTranslation(ref text, new Dictionary { { "se_armorweakness_name", "Физическая слабость" }, { "se_armorweakness_tooltip", "Физическая слабость" }, { "se_armorweakness_start", "Физическая слабость" }, { "se_frosted_name", "Слабость к морозу" }, { "se_frosted_tooltip", "Слабость к морозу" }, { "se_frosted_start", "Слабость к морозу" }, { "se_shocked_name", "Слабость к электричеству" }, { "se_shocked_tooltip", "Слабость к электричеству" }, { "se_shocked_start", "Слабость к электричеству" }, { "se_weakened_name", "Слабость к яду" }, { "se_weakened_tooltip", "Слабость к яду" }, { "se_weakened_start", "Слабость к яду" }, { "DeepNorthDemon1_RtD", "Магический демон" }, { "DeepNorthDemon2_RtD", "Магический демон" }, { "DeepNorthDemon3_RtD", "Магический демон" }, { "DeepNorthDemon4_RtD", "Магический демон" }, { "AshLandsCrawler_RtD", "Ползун" }, { "AshLandsHorror01_RtD", "Мутировавший демон" }, { "AshLandsHorror_RtD", "Мутировавший демон" }, { "BlackForestHorror01_RtD", "Бродячая нежить" }, { "BlackForestHorror_RtD", "Бродячая нежить" }, { "DeepNorthHorror_RtD", "Бродячая нежить" }, { "MeadowsHorror01_RtD", "Бродячая нежить" }, { "MeadowsHorror_RtD", "Бродячая нежить" }, { "MistlandsHorror_RtD", "Бродячая нежить" }, { "SeekerMutant_RtD", "Мутировавший искатель" }, { "MountainHorror01_RtD", "Бродячая нежить" }, { "MountainHorror_RtD", "Бродячая нежить" }, { "PlainsHorror01_RtD", "Бродячая нежить" }, { "PlainsHorror_RtD", "Бродячая нежить" }, { "SwampChaser_RtD", "Мутировавший паук" }, { "SwampHorror01_RtD", "Бродячая нежить" } }); } private void StatusEffects() { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Expected O, but got Unknown try { string[] customStatusEffectList = CustomStatusEffectList; foreach (string text in customStatusEffectList) { SE_Stats val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { CustomStatusEffect val2 = new CustomStatusEffect((StatusEffect)(object)val, true); ItemManager.Instance.AddStatusEffect(val2); } } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding SE_Stats Effects: {arg}"); } } private void FixSFX() { try { AudioSource prefab = Cache.GetPrefab("sfx_arrow_hit"); string[] sFXHorrorList = SFXHorrorList; foreach (string text in sFXHorrorList) { 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) { } finally { PrefabManager.OnPrefabsRegistered -= FixSFX; } } private void MeadowsSpawner() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0047: 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 AddPrefabs() { //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Expected O, but got Unknown try { string[] prefabList = PrefabList; foreach (string text in prefabList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { GameObject prefab = Cache.GetPrefab(text); if ((Object)(object)prefab == (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 AddSFX() { //IL_004a: Unknown result type (might be due to invalid IL or missing references) //IL_0051: Expected O, but got Unknown try { string[] sFXHorrorList = SFXHorrorList; foreach (string text in sFXHorrorList) { GameObject val = MyAssets.LoadAsset(text); if ((Object)(object)val != (Object)null) { GameObject prefab = Cache.GetPrefab(text); if ((Object)(object)prefab == (Object)null) { CustomPrefab val2 = new CustomPrefab(val, false); 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 sfx prefabs: {arg}"); } } private void AddDrops() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Expected O, but got Unknown //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Expected O, but got Unknown //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0333: Unknown result type (might be due to invalid IL or missing references) //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036c: Expected O, but got Unknown //IL_0379: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Expected O, but got Unknown //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Expected O, but got Unknown //IL_04a0: Unknown result type (might be due to invalid IL or missing references) //IL_04a5: Unknown result type (might be due to invalid IL or missing references) //IL_04ad: Unknown result type (might be due to invalid IL or missing references) //IL_04b8: Unknown result type (might be due to invalid IL or missing references) //IL_04bf: Unknown result type (might be due to invalid IL or missing references) //IL_04c6: Unknown result type (might be due to invalid IL or missing references) //IL_04cd: Unknown result type (might be due to invalid IL or missing references) //IL_04d9: Expected O, but got Unknown //IL_0508: Unknown result type (might be due to invalid IL or missing references) //IL_050d: Unknown result type (might be due to invalid IL or missing references) //IL_0515: Unknown result type (might be due to invalid IL or missing references) //IL_0520: Unknown result type (might be due to invalid IL or missing references) //IL_0527: Unknown result type (might be due to invalid IL or missing references) //IL_052e: Unknown result type (might be due to invalid IL or missing references) //IL_0535: Unknown result type (might be due to invalid IL or missing references) //IL_0541: Expected O, but got Unknown //IL_0570: Unknown result type (might be due to invalid IL or missing references) //IL_0575: Unknown result type (might be due to invalid IL or missing references) //IL_057d: Unknown result type (might be due to invalid IL or missing references) //IL_0588: Unknown result type (might be due to invalid IL or missing references) //IL_058f: Unknown result type (might be due to invalid IL or missing references) //IL_0596: Unknown result type (might be due to invalid IL or missing references) //IL_059d: Unknown result type (might be due to invalid IL or missing references) //IL_05a9: Expected O, but got Unknown //IL_05d8: Unknown result type (might be due to invalid IL or missing references) //IL_05dd: Unknown result type (might be due to invalid IL or missing references) //IL_05e5: Unknown result type (might be due to invalid IL or missing references) //IL_05f0: Unknown result type (might be due to invalid IL or missing references) //IL_05f7: Unknown result type (might be due to invalid IL or missing references) //IL_05fe: Unknown result type (might be due to invalid IL or missing references) //IL_0605: Unknown result type (might be due to invalid IL or missing references) //IL_0611: Expected O, but got Unknown //IL_0640: Unknown result type (might be due to invalid IL or missing references) //IL_0645: Unknown result type (might be due to invalid IL or missing references) //IL_064d: Unknown result type (might be due to invalid IL or missing references) //IL_0658: Unknown result type (might be due to invalid IL or missing references) //IL_065f: Unknown result type (might be due to invalid IL or missing references) //IL_0666: Unknown result type (might be due to invalid IL or missing references) //IL_066d: Unknown result type (might be due to invalid IL or missing references) //IL_0679: Expected O, but got Unknown //IL_06a8: Unknown result type (might be due to invalid IL or missing references) //IL_06ad: Unknown result type (might be due to invalid IL or missing references) //IL_06b5: Unknown result type (might be due to invalid IL or missing references) //IL_06c0: Unknown result type (might be due to invalid IL or missing references) //IL_06c7: Unknown result type (might be due to invalid IL or missing references) //IL_06ce: Unknown result type (might be due to invalid IL or missing references) //IL_06d5: Unknown result type (might be due to invalid IL or missing references) //IL_06e1: Expected O, but got Unknown //IL_0710: Unknown result type (might be due to invalid IL or missing references) //IL_0715: Unknown result type (might be due to invalid IL or missing references) //IL_071d: Unknown result type (might be due to invalid IL or missing references) //IL_0728: Unknown result type (might be due to invalid IL or missing references) //IL_072f: Unknown result type (might be due to invalid IL or missing references) //IL_0736: Unknown result type (might be due to invalid IL or missing references) //IL_073d: Unknown result type (might be due to invalid IL or missing references) //IL_0749: Expected O, but got Unknown try { GameObject prefab = PrefabManager.Instance.GetPrefab("MeadowsHorror_RtD"); GameObject prefab2 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab3 = PrefabManager.Instance.GetPrefab("MeadowsToken_RtD"); prefab.GetComponent().m_drops.Add(new Drop { m_prefab = prefab2, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab.GetComponent().m_drops.Add(new Drop { m_prefab = prefab3, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab4 = PrefabManager.Instance.GetPrefab("BlackForestHorror_RtD"); GameObject prefab5 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab6 = PrefabManager.Instance.GetPrefab("BlackForestToken_RtD"); prefab4.GetComponent().m_drops.Add(new Drop { m_prefab = prefab5, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab4.GetComponent().m_drops.Add(new Drop { m_prefab = prefab6, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab7 = PrefabManager.Instance.GetPrefab("SwampChaser_RtD"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab9 = PrefabManager.Instance.GetPrefab("SwampToken_RtD"); prefab7.GetComponent().m_drops.Add(new Drop { m_prefab = prefab8, m_chance = 1f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); prefab7.GetComponent().m_drops.Add(new Drop { m_prefab = prefab9, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab10 = PrefabManager.Instance.GetPrefab("MountainHorror_RtD"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("MountainToken_RtD"); prefab10.GetComponent().m_drops.Add(new Drop { m_prefab = prefab11, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab10.GetComponent().m_drops.Add(new Drop { m_prefab = prefab12, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab13 = PrefabManager.Instance.GetPrefab("PlainsHorror_RtD"); GameObject prefab14 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("PlainsToken_RtD"); prefab13.GetComponent().m_drops.Add(new Drop { m_prefab = prefab14, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab13.GetComponent().m_drops.Add(new Drop { m_prefab = prefab15, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab16 = PrefabManager.Instance.GetPrefab("MistlandsHorror_RtD"); GameObject prefab17 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab18 = PrefabManager.Instance.GetPrefab("MistlandsToken_RtD"); prefab16.GetComponent().m_drops.Add(new Drop { m_prefab = prefab17, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab16.GetComponent().m_drops.Add(new Drop { m_prefab = prefab18, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab19 = PrefabManager.Instance.GetPrefab("AshLandsHorror_RtD"); GameObject prefab20 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab19.GetComponent().m_drops.Add(new Drop { m_prefab = prefab20, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab21 = PrefabManager.Instance.GetPrefab("AshLandsCrawler_RtD"); GameObject prefab22 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab21.GetComponent().m_drops.Add(new Drop { m_prefab = prefab22, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab23 = PrefabManager.Instance.GetPrefab("DeepNorthHorror_RtD"); GameObject prefab24 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab23.GetComponent().m_drops.Add(new Drop { m_prefab = prefab24, m_chance = 1f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab25 = PrefabManager.Instance.GetPrefab("DeepNorthDemon1_RtD"); GameObject prefab26 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab25.GetComponent().m_drops.Add(new Drop { m_prefab = prefab26, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab27 = PrefabManager.Instance.GetPrefab("DeepNorthDemon2_RtD"); GameObject prefab28 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab27.GetComponent().m_drops.Add(new Drop { m_prefab = prefab28, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab29 = PrefabManager.Instance.GetPrefab("DeepNorthDemon3_RtD"); GameObject prefab30 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab29.GetComponent().m_drops.Add(new Drop { m_prefab = prefab30, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab31 = PrefabManager.Instance.GetPrefab("DeepNorthDemon4_RtD"); GameObject prefab32 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab31.GetComponent().m_drops.Add(new Drop { m_prefab = prefab32, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= AddDrops; } } private void AddDrops01() { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_0042: Unknown result type (might be due to invalid IL or missing references) //IL_0049: Unknown result type (might be due to invalid IL or missing references) //IL_0054: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0062: Unknown result type (might be due to invalid IL or missing references) //IL_0069: Unknown result type (might be due to invalid IL or missing references) //IL_0075: Expected O, but got Unknown //IL_0081: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) //IL_008d: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) //IL_009f: Unknown result type (might be due to invalid IL or missing references) //IL_00a6: Unknown result type (might be due to invalid IL or missing references) //IL_00ad: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Expected O, but got Unknown //IL_00f7: Unknown result type (might be due to invalid IL or missing references) //IL_00fc: Unknown result type (might be due to invalid IL or missing references) //IL_0104: Unknown result type (might be due to invalid IL or missing references) //IL_010f: Unknown result type (might be due to invalid IL or missing references) //IL_0116: Unknown result type (might be due to invalid IL or missing references) //IL_011d: Unknown result type (might be due to invalid IL or missing references) //IL_0124: Unknown result type (might be due to invalid IL or missing references) //IL_0130: Expected O, but got Unknown //IL_013c: Unknown result type (might be due to invalid IL or missing references) //IL_0141: Unknown result type (might be due to invalid IL or missing references) //IL_0149: Unknown result type (might be due to invalid IL or missing references) //IL_0154: Unknown result type (might be due to invalid IL or missing references) //IL_015b: Unknown result type (might be due to invalid IL or missing references) //IL_0162: Unknown result type (might be due to invalid IL or missing references) //IL_0169: Unknown result type (might be due to invalid IL or missing references) //IL_0175: Expected O, but got Unknown //IL_01b5: Unknown result type (might be due to invalid IL or missing references) //IL_01ba: Unknown result type (might be due to invalid IL or missing references) //IL_01c2: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d4: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01ee: Expected O, but got Unknown //IL_01fb: Unknown result type (might be due to invalid IL or missing references) //IL_0200: Unknown result type (might be due to invalid IL or missing references) //IL_0208: Unknown result type (might be due to invalid IL or missing references) //IL_0213: Unknown result type (might be due to invalid IL or missing references) //IL_021a: Unknown result type (might be due to invalid IL or missing references) //IL_0221: Unknown result type (might be due to invalid IL or missing references) //IL_0228: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Expected O, but got Unknown //IL_0274: Unknown result type (might be due to invalid IL or missing references) //IL_0279: Unknown result type (might be due to invalid IL or missing references) //IL_0281: Unknown result type (might be due to invalid IL or missing references) //IL_028c: Unknown result type (might be due to invalid IL or missing references) //IL_0293: Unknown result type (might be due to invalid IL or missing references) //IL_029a: Unknown result type (might be due to invalid IL or missing references) //IL_02a1: Unknown result type (might be due to invalid IL or missing references) //IL_02ad: Expected O, but got Unknown //IL_02ba: Unknown result type (might be due to invalid IL or missing references) //IL_02bf: Unknown result type (might be due to invalid IL or missing references) //IL_02c7: Unknown result type (might be due to invalid IL or missing references) //IL_02d2: Unknown result type (might be due to invalid IL or missing references) //IL_02d9: Unknown result type (might be due to invalid IL or missing references) //IL_02e0: Unknown result type (might be due to invalid IL or missing references) //IL_02e7: Unknown result type (might be due to invalid IL or missing references) //IL_02f3: Expected O, but got Unknown //IL_0333: Unknown result type (might be due to invalid IL or missing references) //IL_0338: Unknown result type (might be due to invalid IL or missing references) //IL_0340: Unknown result type (might be due to invalid IL or missing references) //IL_034b: Unknown result type (might be due to invalid IL or missing references) //IL_0352: Unknown result type (might be due to invalid IL or missing references) //IL_0359: Unknown result type (might be due to invalid IL or missing references) //IL_0360: Unknown result type (might be due to invalid IL or missing references) //IL_036c: Expected O, but got Unknown //IL_0379: Unknown result type (might be due to invalid IL or missing references) //IL_037e: Unknown result type (might be due to invalid IL or missing references) //IL_0386: Unknown result type (might be due to invalid IL or missing references) //IL_0391: Unknown result type (might be due to invalid IL or missing references) //IL_0398: Unknown result type (might be due to invalid IL or missing references) //IL_039f: Unknown result type (might be due to invalid IL or missing references) //IL_03a6: Unknown result type (might be due to invalid IL or missing references) //IL_03b2: Expected O, but got Unknown //IL_03f2: Unknown result type (might be due to invalid IL or missing references) //IL_03f7: Unknown result type (might be due to invalid IL or missing references) //IL_03ff: Unknown result type (might be due to invalid IL or missing references) //IL_040a: Unknown result type (might be due to invalid IL or missing references) //IL_0411: Unknown result type (might be due to invalid IL or missing references) //IL_0418: Unknown result type (might be due to invalid IL or missing references) //IL_041f: Unknown result type (might be due to invalid IL or missing references) //IL_042b: Expected O, but got Unknown //IL_0438: Unknown result type (might be due to invalid IL or missing references) //IL_043d: Unknown result type (might be due to invalid IL or missing references) //IL_0445: Unknown result type (might be due to invalid IL or missing references) //IL_0450: Unknown result type (might be due to invalid IL or missing references) //IL_0457: Unknown result type (might be due to invalid IL or missing references) //IL_045e: Unknown result type (might be due to invalid IL or missing references) //IL_0465: Unknown result type (might be due to invalid IL or missing references) //IL_0471: Expected O, but got Unknown //IL_04a0: Unknown result type (might be due to invalid IL or missing references) //IL_04a5: Unknown result type (might be due to invalid IL or missing references) //IL_04ad: Unknown result type (might be due to invalid IL or missing references) //IL_04b8: Unknown result type (might be due to invalid IL or missing references) //IL_04bf: Unknown result type (might be due to invalid IL or missing references) //IL_04c6: Unknown result type (might be due to invalid IL or missing references) //IL_04cd: Unknown result type (might be due to invalid IL or missing references) //IL_04d9: Expected O, but got Unknown try { GameObject prefab = PrefabManager.Instance.GetPrefab("MeadowsHorror01_RtD"); GameObject prefab2 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab3 = PrefabManager.Instance.GetPrefab("MeadowsToken_RtD"); prefab.GetComponent().m_drops.Add(new Drop { m_prefab = prefab2, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab.GetComponent().m_drops.Add(new Drop { m_prefab = prefab3, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab4 = PrefabManager.Instance.GetPrefab("BlackForestHorror01_RtD"); GameObject prefab5 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab6 = PrefabManager.Instance.GetPrefab("BlackForestToken_RtD"); prefab4.GetComponent().m_drops.Add(new Drop { m_prefab = prefab5, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab4.GetComponent().m_drops.Add(new Drop { m_prefab = prefab6, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab7 = PrefabManager.Instance.GetPrefab("SwampHorror01_RtD"); GameObject prefab8 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab9 = PrefabManager.Instance.GetPrefab("SwampToken_RtD"); prefab7.GetComponent().m_drops.Add(new Drop { m_prefab = prefab8, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab7.GetComponent().m_drops.Add(new Drop { m_prefab = prefab9, m_chance = 0.05f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab10 = PrefabManager.Instance.GetPrefab("MountainHorror01_RtD"); GameObject prefab11 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab12 = PrefabManager.Instance.GetPrefab("MountainToken_RtD"); prefab10.GetComponent().m_drops.Add(new Drop { m_prefab = prefab11, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab10.GetComponent().m_drops.Add(new Drop { m_prefab = prefab12, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab13 = PrefabManager.Instance.GetPrefab("PlainsHorror01_RtD"); GameObject prefab14 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab15 = PrefabManager.Instance.GetPrefab("PlainsToken_RtD"); prefab13.GetComponent().m_drops.Add(new Drop { m_prefab = prefab14, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab13.GetComponent().m_drops.Add(new Drop { m_prefab = prefab15, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab16 = PrefabManager.Instance.GetPrefab("SeekerMutant_RtD"); GameObject prefab17 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); GameObject prefab18 = PrefabManager.Instance.GetPrefab("MistlandsToken_RtD"); prefab16.GetComponent().m_drops.Add(new Drop { m_prefab = prefab17, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); prefab16.GetComponent().m_drops.Add(new Drop { m_prefab = prefab18, m_chance = 0.25f, m_amountMin = 1, m_amountMax = 1, m_levelMultiplier = false, m_onePerPlayer = false }); GameObject prefab19 = PrefabManager.Instance.GetPrefab("AshLandsHorror01_RtD"); GameObject prefab20 = PrefabManager.Instance.GetPrefab("SpiritEssense_RtD"); prefab19.GetComponent().m_drops.Add(new Drop { m_prefab = prefab20, m_chance = 1f, m_amountMin = 1, m_amountMax = 3, m_levelMultiplier = false, m_onePerPlayer = false }); } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while loading bundle: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= AddDrops01; } } private void AddDropsCheck() { try { GameObject prefab = Cache.GetPrefab("SpiritEssense_RtD"); if (!Object.op_Implicit((Object)(object)prefab)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab2 = Cache.GetPrefab("BlackForestToken_RtD"); if (!Object.op_Implicit((Object)(object)prefab2)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab3 = Cache.GetPrefab("MeadowsToken_RtD"); if (!Object.op_Implicit((Object)(object)prefab3)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab4 = Cache.GetPrefab("MistlandsToken_RtD"); if (!Object.op_Implicit((Object)(object)prefab4)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab5 = Cache.GetPrefab("MountainToken_RtD"); if (!Object.op_Implicit((Object)(object)prefab5)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab6 = Cache.GetPrefab("PlainsToken_RtD"); if (!Object.op_Implicit((Object)(object)prefab6)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } GameObject prefab7 = Cache.GetPrefab("SwampToken_RtD"); if (!Object.op_Implicit((Object)(object)prefab7)) { ((BaseUnityPlugin)this).Logger.LogMessage((object)"RtDMonstrum was not installed, skipping drops related to this mod."); } } catch (Exception arg) { ((BaseUnityPlugin)this).Logger.LogWarning((object)$"Exception caught while adding Spirit Essence: {arg}"); } finally { PrefabManager.OnPrefabsRegistered -= AddDrops; } } } }