Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of VikingsoldrepublicMOBS v1.0.0
StarwarsMobs.dll
Decompiled a day ago
The result has been truncated due to the large size, download it to view full contents!
using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.IO.Compression; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Reflection.Emit; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using System.Text; using System.Text.RegularExpressions; using System.Threading; using BepInEx; using BepInEx.Bootstrap; using BepInEx.Configuration; using BepInEx.Logging; using CreatureManager; using HarmonyLib; using ItemManager; using JetBrains.Annotations; using LocalizationManager; using Microsoft.CodeAnalysis; using PieceManager; using ServerSync; using TMPro; using UnityEngine; using UnityEngine.UI; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Core.ObjectPool; using YamlDotNet.Core.Tokens; using YamlDotNet.Helpers; using YamlDotNet.Serialization; using YamlDotNet.Serialization.BufferedDeserialization; using YamlDotNet.Serialization.BufferedDeserialization.TypeDiscriminators; using YamlDotNet.Serialization.Callbacks; using YamlDotNet.Serialization.Converters; using YamlDotNet.Serialization.EventEmitters; using YamlDotNet.Serialization.NamingConventions; using YamlDotNet.Serialization.NodeDeserializers; using YamlDotNet.Serialization.NodeTypeResolvers; using YamlDotNet.Serialization.ObjectFactories; using YamlDotNet.Serialization.ObjectGraphTraversalStrategies; using YamlDotNet.Serialization.ObjectGraphVisitors; using YamlDotNet.Serialization.Schemas; using YamlDotNet.Serialization.TypeInspectors; using YamlDotNet.Serialization.TypeResolvers; using YamlDotNet.Serialization.Utilities; using YamlDotNet.Serialization.ValueDeserializers; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("StarwarsMobs")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Azathoth")] [assembly: AssemblyProduct("StarwarsMobs")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("29D394C1-8423-4048-B5A7-08ABE81DBA99")] [assembly: AssemblyFileVersion("1.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)] internal sealed class NullableAttribute : Attribute { public readonly byte[] NullableFlags; public NullableAttribute(byte P_0) { NullableFlags = new byte[1] { P_0 }; } public NullableAttribute(byte[] P_0) { NullableFlags = P_0; } } [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)] internal sealed class NullableContextAttribute : Attribute { public readonly byte Flag; public NullableContextAttribute(byte P_0) { Flag = P_0; } } [CompilerGenerated] [Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace StarwarsMobs { [BepInPlugin("Azathoth.StarwarsMobs", "StarwarsMobs", "1.0.0")] public class StarwarsMobsPlugin : BaseUnityPlugin { public enum Toggle { On = 1, Off = 0 } private class ConfigurationManagerAttributes { public bool? Browsable = false; } internal const string ModName = "StarwarsMobs"; internal const string ModVersion = "1.0.0"; internal const string Author = "Azathoth"; private const string ModGUID = "Azathoth.StarwarsMobs"; private static readonly string ConfigFileName = "Azathoth.StarwarsMobs.cfg"; private static readonly string ConfigFileFullPath; internal static string ConnectionError; private readonly Harmony _harmony = new Harmony("Azathoth.StarwarsMobs"); public static readonly ManualLogSource StarwarsMobsLogger; private static readonly ConfigSync ConfigSync; private static Creature _staWookiee; private static Creature _staWookiee1; private static Creature _staWookiee2; private static Creature _staWookiee3; private static Creature _staDurosFemale; private static Creature _staDurosMale; private static Creature _staTwilekFemale; private static Creature _staTwilekMale; private static Creature _staRodian; private static Creature _staDroidBatle; private static Creature _staDroidBatle1; private static Creature _staSuperBatleDroid; private static Creature _staSuperBatleDroid1; private static Creature _staWeequayHunter; private static Creature _staEmbo; private static Creature _staDurosHunter; private static Creature _staImperialGunner; private static Creature _staCadBane; private static Creature _staHondo; private static Creature _staTrooperSnow; private static Creature _staRebelTrooper; private static Creature _staRebelTrooperV2; private static Creature _staCaraDune; private static Creature _staTusken; private static Creature _staTuskenMelee; private static Creature _staJawa; private static Creature _staGamorrean; private static Creature _staGamorreanCaptain; private static Creature _staNeumoniano; private static Creature _staYodaJedi; private static Creature _staEwook; private static Creature _staEwookChief; private static Creature _staEwookScout; private static Creature _staEwookWarrior; private static Creature _staNeimoidianViceroy; private static Creature _staWampa; private static Creature _staAdmiralAckbar; private static Creature _staConcubineFem; private static Creature _staConcubineFemB; private static Creature _staMaceWindu; private static Creature _staMasterKiAdiMundi; private static Creature _staMasterKitFisto; private static Creature _staMasterPloKon; private static Creature _staMasterQuiGonJinn; private static Creature _staDarthTyranus; private static Creature _staAsajjVentress; private static Creature _staDarthSion; private static Creature _staJedi; private static Creature _staJedi1; private static Creature _staJedi2; private static Creature _staJedi3; private static Creature _staJediPadawan; private static Creature _staJediPadawan1; private static Creature _staSithAcolityo; private static Creature _staSithAcolityoBrute; private static ConfigEntry<Toggle> _serverConfigLocked; private static ConfigEntry<float> _staWookieeHealth; private static ConfigEntry<float> _staWookiee1Health; private static ConfigEntry<float> _staWookiee2Health; private static ConfigEntry<float> _staWookiee3Health; private static ConfigEntry<float> _staDurosFemaleHealth; private static ConfigEntry<float> _staDurosMaleHealth; private static ConfigEntry<float> _staTwilekFemaleHealth; private static ConfigEntry<float> _staTwilekMaleHealth; private static ConfigEntry<float> _staRodianHealth; private static ConfigEntry<float> _staDroidBatleHealth; private static ConfigEntry<float> _staDroidBatle1Health; private static ConfigEntry<float> _staSuperBatleDroidHealth; private static ConfigEntry<float> _staSuperBatleDroid1Health; private static ConfigEntry<float> _staWeequayHunterHealth; private static ConfigEntry<float> _staEmboHealth; private static ConfigEntry<float> _staDurosHunterHealth; private static ConfigEntry<float> _staImperialGunnerHealth; private static ConfigEntry<float> _staCadBaneHealth; private static ConfigEntry<float> _staHondoHealth; private static ConfigEntry<float> _staTrooperSnowHealth; private static ConfigEntry<float> _staRebelTrooperHealth; private static ConfigEntry<float> _staRebelTrooperV2Health; private static ConfigEntry<float> _staCaraDuneHealth; private static ConfigEntry<float> _staTuskenHealth; private static ConfigEntry<float> _staTuskenMeleeHealth; private static ConfigEntry<float> _staJawaHealth; private static ConfigEntry<float> _staGamorreanHealth; private static ConfigEntry<float> _staGamorreanCaptainHealth; private static ConfigEntry<float> _staNeumonianoHealth; private static ConfigEntry<float> _staYodaJediHealth; private static ConfigEntry<float> _staEwookHealth; private static ConfigEntry<float> _staEwookChiefHealth; private static ConfigEntry<float> _staEwookScoutHealth; private static ConfigEntry<float> _staEwookWarriorHealth; private static ConfigEntry<float> _staNeimoidianViceroyHealth; private static ConfigEntry<float> _staWampaHealth; private static ConfigEntry<float> _staAdmiralAckbarHealth; private static ConfigEntry<float> _staConcubineFemHealth; private static ConfigEntry<float> _staConcubineFemBHealth; private static ConfigEntry<float> _staMaceWinduHealth; private static ConfigEntry<float> _staMasterKiAdiMundiHealth; private static ConfigEntry<float> _staMasterKitFistoHealth; private static ConfigEntry<float> _staMasterPloKonHealth; private static ConfigEntry<float> _staMasterQuiGonJinnHealth; private static ConfigEntry<float> _staDarthTyranusHealth; private static ConfigEntry<float> _staAsajjVentressHealth; private static ConfigEntry<float> _staDarthSionHealth; private static ConfigEntry<float> _staJediHealth; private static ConfigEntry<float> _staJedi1Health; private static ConfigEntry<float> _staJedi2Health; private static ConfigEntry<float> _staJedi3Health; private static ConfigEntry<float> _staJediPadawanHealth; private static ConfigEntry<float> _staJediPadawan1Health; private static ConfigEntry<float> _staSithAcolityoHealth; private static ConfigEntry<float> _staSithAcolityoBruteHealth; private static ConfigEntry<float> _staWookieeRunSpeed; private static ConfigEntry<float> _staWookiee1RunSpeed; private static ConfigEntry<float> _staWookiee2RunSpeed; private static ConfigEntry<float> _staWookiee3RunSpeed; private static ConfigEntry<float> _staDurosFemaleRunSpeed; private static ConfigEntry<float> _staDurosMaleRunSpeed; private static ConfigEntry<float> _staTwilekFemaleRunSpeed; private static ConfigEntry<float> _staTwilekMaleRunSpeed; private static ConfigEntry<float> _staRodianRunSpeed; private static ConfigEntry<float> _staDroidBatleRunSpeed; private static ConfigEntry<float> _staDroidBatle1RunSpeed; private static ConfigEntry<float> _staSuperBatleDroidRunSpeed; private static ConfigEntry<float> _staSuperBatleDroid1RunSpeed; private static ConfigEntry<float> _staWeequayHunterRunSpeed; private static ConfigEntry<float> _staEmboRunSpeed; private static ConfigEntry<float> _staDurosHunterRunSpeed; private static ConfigEntry<float> _staImperialGunnerRunSpeed; private static ConfigEntry<float> _staCadBaneRunSpeed; private static ConfigEntry<float> _staHondoRunSpeed; private static ConfigEntry<float> _staTrooperSnowRunSpeed; private static ConfigEntry<float> _staRebelTrooperRunSpeed; private static ConfigEntry<float> _staRebelTrooperV2RunSpeed; private static ConfigEntry<float> _staCaraDuneRunSpeed; private static ConfigEntry<float> _staTuskenRunSpeed; private static ConfigEntry<float> _staTuskenMeleeRunSpeed; private static ConfigEntry<float> _staJawaRunSpeed; private static ConfigEntry<float> _staGamorreanRunSpeed; private static ConfigEntry<float> _staGamorreanCaptainRunSpeed; private static ConfigEntry<float> _staNeumonianoRunSpeed; private static ConfigEntry<float> _staYodaJediRunSpeed; private static ConfigEntry<float> _staEwookRunSpeed; private static ConfigEntry<float> _staEwookChiefRunSpeed; private static ConfigEntry<float> _staEwookScoutRunSpeed; private static ConfigEntry<float> _staEwookWarriorRunSpeed; private static ConfigEntry<float> _staNeimoidianViceroyRunSpeed; private static ConfigEntry<float> _staWampaRunSpeed; private static ConfigEntry<float> _staAdmiralAckbarRunSpeed; private static ConfigEntry<float> _staConcubineFemRunSpeed; private static ConfigEntry<float> _staConcubineFemBRunSpeed; private static ConfigEntry<float> _staMaceWinduRunSpeed; private static ConfigEntry<float> _staMasterKiAdiMundiRunSpeed; private static ConfigEntry<float> _staMasterKitFistoRunSpeed; private static ConfigEntry<float> _staMasterPloKonRunSpeed; private static ConfigEntry<float> _staMasterQuiGonJinnRunSpeed; private static ConfigEntry<float> _staDarthTyranusRunSpeed; private static ConfigEntry<float> _staAsajjVentressRunSpeed; private static ConfigEntry<float> _staDarthSionRunSpeed; private static ConfigEntry<float> _staJediRunSpeed; private static ConfigEntry<float> _staJedi1RunSpeed; private static ConfigEntry<float> _staJedi2RunSpeed; private static ConfigEntry<float> _staJedi3RunSpeed; private static ConfigEntry<float> _staJediPadawanRunSpeed; private static ConfigEntry<float> _staJediPadawan1RunSpeed; private static ConfigEntry<float> _staSithAcolityoRunSpeed; private static ConfigEntry<float> _staSithAcolityoBruteRunSpeed; private static ConfigEntry<float> _staWookieeWalkSpeed; private static ConfigEntry<float> _staWookiee1WalkSpeed; private static ConfigEntry<float> _staWookiee2WalkSpeed; private static ConfigEntry<float> _staWookiee3WalkSpeed; private static ConfigEntry<float> _staDurosFemaleWalkSpeed; private static ConfigEntry<float> _staDurosMaleWalkSpeed; private static ConfigEntry<float> _staTwilekFemaleWalkSpeed; private static ConfigEntry<float> _staTwilekMaleWalkSpeed; private static ConfigEntry<float> _staRodianWalkSpeed; private static ConfigEntry<float> _staDroidBatleWalkSpeed; private static ConfigEntry<float> _staDroidBatle1WalkSpeed; private static ConfigEntry<float> _staSuperBatleDroidWalkSpeed; private static ConfigEntry<float> _staSuperBatleDroid1WalkSpeed; private static ConfigEntry<float> _staWeequayHunterWalkSpeed; private static ConfigEntry<float> _staEmboWalkSpeed; private static ConfigEntry<float> _staDurosHunterWalkSpeed; private static ConfigEntry<float> _staImperialGunnerWalkSpeed; private static ConfigEntry<float> _staCadBaneWalkSpeed; private static ConfigEntry<float> _staHondoWalkSpeed; private static ConfigEntry<float> _staTrooperSnowWalkSpeed; private static ConfigEntry<float> _staRebelTrooperWalkSpeed; private static ConfigEntry<float> _staRebelTrooperV2WalkSpeed; private static ConfigEntry<float> _staCaraDuneWalkSpeed; private static ConfigEntry<float> _staTuskenWalkSpeed; private static ConfigEntry<float> _staTuskenMeleeWalkSpeed; private static ConfigEntry<float> _staJawaWalkSpeed; private static ConfigEntry<float> _staGamorreanWalkSpeed; private static ConfigEntry<float> _staGamorreanCaptainWalkSpeed; private static ConfigEntry<float> _staNeumonianoWalkSpeed; private static ConfigEntry<float> _staYodaJediWalkSpeed; private static ConfigEntry<float> _staEwookWalkSpeed; private static ConfigEntry<float> _staEwookChiefWalkSpeed; private static ConfigEntry<float> _staEwookScoutWalkSpeed; private static ConfigEntry<float> _staEwookWarriorWalkSpeed; private static ConfigEntry<float> _staNeimoidianViceroyWalkSpeed; private static ConfigEntry<float> _staWampaWalkSpeed; private static ConfigEntry<float> _staAdmiralAckbarWalkSpeed; private static ConfigEntry<float> _staConcubineFemWalkSpeed; private static ConfigEntry<float> _staConcubineFemBWalkSpeed; private static ConfigEntry<float> _staMaceWinduWalkSpeed; private static ConfigEntry<float> _staMasterKiAdiMundiWalkSpeed; private static ConfigEntry<float> _staMasterKitFistoWalkSpeed; private static ConfigEntry<float> _staMasterPloKonWalkSpeed; private static ConfigEntry<float> _staMasterQuiGonJinnWalkSpeed; private static ConfigEntry<float> _staDarthTyranusWalkSpeed; private static ConfigEntry<float> _staAsajjVentressWalkSpeed; private static ConfigEntry<float> _staDarthSionWalkSpeed; private static ConfigEntry<float> _staJediWalkSpeed; private static ConfigEntry<float> _staJedi1WalkSpeed; private static ConfigEntry<float> _staJedi2WalkSpeed; private static ConfigEntry<float> _staJedi3WalkSpeed; private static ConfigEntry<float> _staJediPadawanWalkSpeed; private static ConfigEntry<float> _staJediPadawan1WalkSpeed; private static ConfigEntry<float> _staSithAcolityoWalkSpeed; private static ConfigEntry<float> _staSithAcolityoBruteWalkSpeed; public void Awake() { try { AwakeSafe(); } catch (Exception arg) { StarwarsMobsLogger.LogError((object)$"StarwarsMobs failed during startup and disabled itself to avoid blocking Valheim loading: {arg}"); } } private void AwakeSafe() { //IL_1509: Unknown result type (might be due to invalid IL or missing references) //IL_153f: Unknown result type (might be due to invalid IL or missing references) //IL_1646: Unknown result type (might be due to invalid IL or missing references) //IL_167c: Unknown result type (might be due to invalid IL or missing references) //IL_1783: Unknown result type (might be due to invalid IL or missing references) //IL_17b9: Unknown result type (might be due to invalid IL or missing references) //IL_18c0: Unknown result type (might be due to invalid IL or missing references) //IL_18f6: Unknown result type (might be due to invalid IL or missing references) //IL_19fd: Unknown result type (might be due to invalid IL or missing references) //IL_1a33: Unknown result type (might be due to invalid IL or missing references) //IL_1b40: Unknown result type (might be due to invalid IL or missing references) //IL_1b76: Unknown result type (might be due to invalid IL or missing references) //IL_1c83: Unknown result type (might be due to invalid IL or missing references) //IL_1cb9: Unknown result type (might be due to invalid IL or missing references) //IL_1dc6: Unknown result type (might be due to invalid IL or missing references) //IL_1dfc: Unknown result type (might be due to invalid IL or missing references) //IL_1f09: Unknown result type (might be due to invalid IL or missing references) //IL_1f3f: Unknown result type (might be due to invalid IL or missing references) //IL_204c: Unknown result type (might be due to invalid IL or missing references) //IL_2082: Unknown result type (might be due to invalid IL or missing references) //IL_218f: Unknown result type (might be due to invalid IL or missing references) //IL_21c5: Unknown result type (might be due to invalid IL or missing references) //IL_22d2: Unknown result type (might be due to invalid IL or missing references) //IL_2309: Unknown result type (might be due to invalid IL or missing references) //IL_23d7: Unknown result type (might be due to invalid IL or missing references) //IL_2411: Unknown result type (might be due to invalid IL or missing references) //IL_24de: Unknown result type (might be due to invalid IL or missing references) //IL_2515: Unknown result type (might be due to invalid IL or missing references) //IL_25e3: Unknown result type (might be due to invalid IL or missing references) //IL_261d: Unknown result type (might be due to invalid IL or missing references) //IL_26ea: Unknown result type (might be due to invalid IL or missing references) //IL_2720: Unknown result type (might be due to invalid IL or missing references) //IL_27ee: Unknown result type (might be due to invalid IL or missing references) //IL_2828: Unknown result type (might be due to invalid IL or missing references) //IL_28f6: Unknown result type (might be due to invalid IL or missing references) //IL_2930: Unknown result type (might be due to invalid IL or missing references) //IL_29fd: Unknown result type (might be due to invalid IL or missing references) //IL_2a34: Unknown result type (might be due to invalid IL or missing references) //IL_2b01: Unknown result type (might be due to invalid IL or missing references) //IL_2b37: Unknown result type (might be due to invalid IL or missing references) //IL_2c04: Unknown result type (might be due to invalid IL or missing references) //IL_2c3b: Unknown result type (might be due to invalid IL or missing references) //IL_2d09: Unknown result type (might be due to invalid IL or missing references) //IL_2d43: Unknown result type (might be due to invalid IL or missing references) //IL_2e11: Unknown result type (might be due to invalid IL or missing references) //IL_2e4b: Unknown result type (might be due to invalid IL or missing references) //IL_2f18: Unknown result type (might be due to invalid IL or missing references) //IL_2f4f: Unknown result type (might be due to invalid IL or missing references) //IL_305c: Unknown result type (might be due to invalid IL or missing references) //IL_3093: Unknown result type (might be due to invalid IL or missing references) //IL_31a0: Unknown result type (might be due to invalid IL or missing references) //IL_31d7: Unknown result type (might be due to invalid IL or missing references) //IL_32e4: Unknown result type (might be due to invalid IL or missing references) //IL_331b: Unknown result type (might be due to invalid IL or missing references) //IL_3428: Unknown result type (might be due to invalid IL or missing references) //IL_345f: Unknown result type (might be due to invalid IL or missing references) //IL_356c: Unknown result type (might be due to invalid IL or missing references) //IL_35a3: Unknown result type (might be due to invalid IL or missing references) //IL_36b1: Unknown result type (might be due to invalid IL or missing references) //IL_36eb: Unknown result type (might be due to invalid IL or missing references) //IL_37f8: Unknown result type (might be due to invalid IL or missing references) //IL_382e: Unknown result type (might be due to invalid IL or missing references) //IL_393b: Unknown result type (might be due to invalid IL or missing references) //IL_3971: Unknown result type (might be due to invalid IL or missing references) //IL_3a7e: Unknown result type (might be due to invalid IL or missing references) //IL_3ab4: Unknown result type (might be due to invalid IL or missing references) //IL_3bc1: Unknown result type (might be due to invalid IL or missing references) //IL_3bf7: Unknown result type (might be due to invalid IL or missing references) //IL_3d04: Unknown result type (might be due to invalid IL or missing references) //IL_3d3e: Unknown result type (might be due to invalid IL or missing references) //IL_3e4b: Unknown result type (might be due to invalid IL or missing references) //IL_3e81: Unknown result type (might be due to invalid IL or missing references) //IL_3f8f: Unknown result type (might be due to invalid IL or missing references) //IL_3fc9: Unknown result type (might be due to invalid IL or missing references) //IL_40d6: Unknown result type (might be due to invalid IL or missing references) //IL_410c: Unknown result type (might be due to invalid IL or missing references) //IL_41d9: Unknown result type (might be due to invalid IL or missing references) //IL_420f: Unknown result type (might be due to invalid IL or missing references) //IL_42dd: Unknown result type (might be due to invalid IL or missing references) //IL_4317: Unknown result type (might be due to invalid IL or missing references) //IL_43e5: Unknown result type (might be due to invalid IL or missing references) //IL_441f: Unknown result type (might be due to invalid IL or missing references) //IL_44ed: Unknown result type (might be due to invalid IL or missing references) //IL_4527: Unknown result type (might be due to invalid IL or missing references) //IL_45f5: Unknown result type (might be due to invalid IL or missing references) //IL_462f: Unknown result type (might be due to invalid IL or missing references) //IL_46fd: Unknown result type (might be due to invalid IL or missing references) //IL_4737: Unknown result type (might be due to invalid IL or missing references) //IL_4804: Unknown result type (might be due to invalid IL or missing references) //IL_483e: Unknown result type (might be due to invalid IL or missing references) //IL_48eb: Unknown result type (might be due to invalid IL or missing references) //IL_492c: Unknown result type (might be due to invalid IL or missing references) //IL_4966: Unknown result type (might be due to invalid IL or missing references) //IL_4a13: Unknown result type (might be due to invalid IL or missing references) //IL_4a54: Unknown result type (might be due to invalid IL or missing references) //IL_4a8e: Unknown result type (might be due to invalid IL or missing references) //IL_4b5c: Unknown result type (might be due to invalid IL or missing references) //IL_4b96: Unknown result type (might be due to invalid IL or missing references) //IL_4c64: Unknown result type (might be due to invalid IL or missing references) //IL_4c9e: Unknown result type (might be due to invalid IL or missing references) //IL_4d6c: Unknown result type (might be due to invalid IL or missing references) //IL_4da6: Unknown result type (might be due to invalid IL or missing references) //IL_4e74: Unknown result type (might be due to invalid IL or missing references) //IL_4eae: Unknown result type (might be due to invalid IL or missing references) //IL_4f7c: Unknown result type (might be due to invalid IL or missing references) //IL_4fb6: Unknown result type (might be due to invalid IL or missing references) //IL_5084: Unknown result type (might be due to invalid IL or missing references) //IL_50be: Unknown result type (might be due to invalid IL or missing references) //IL_518b: Unknown result type (might be due to invalid IL or missing references) //IL_51c5: Unknown result type (might be due to invalid IL or missing references) //IL_5272: Unknown result type (might be due to invalid IL or missing references) //IL_52b3: Unknown result type (might be due to invalid IL or missing references) //IL_52ed: Unknown result type (might be due to invalid IL or missing references) //IL_539a: Unknown result type (might be due to invalid IL or missing references) Localizer.Load(); _serverConfigLocked = config("1 - General", "Lock Configuration", Toggle.On, "If on, the configuration is locked and can be changed by server admins only."); ConfigSync.AddLockingConfigEntry<Toggle>(_serverConfigLocked); _staWookieeHealth = config("2 - STA_Wookiee", "Health", 800f, "Base health for STA_Wookiee"); _staWookieeRunSpeed = config("2 - STA_Wookiee", "Run Speed", 6.7f, "Base run speed for STA_Wookiee"); _staWookieeWalkSpeed = config("2 - STA_Wookiee", "Walk Speed", 2.7f, "Base walk speed for STA_Wookiee"); _staWookiee1Health = config("3 - STA_Wookiee1", "Health", 900f, "Base health for STA_Wookiee1"); _staWookiee1RunSpeed = config("3 - STA_Wookiee1", "Run Speed", 6.7f, "Base run speed for STA_Wookiee1"); _staWookiee1WalkSpeed = config("3 - STA_Wookiee1", "Walk Speed", 2.7f, "Base walk speed for STA_Wookiee1"); _staWookiee2Health = config("4 - STA_Wookiee2", "Health", 1050f, "Base health for STA_Wookiee2"); _staWookiee2RunSpeed = config("4 - STA_Wookiee2", "Run Speed", 6.8f, "Base run speed for STA_Wookiee2"); _staWookiee2WalkSpeed = config("4 - STA_Wookiee2", "Walk Speed", 2.8f, "Base walk speed for STA_Wookiee2"); _staWookiee3Health = config("5 - STA_Wookiee3", "Health", 1250f, "Base health for STA_Wookiee3"); _staWookiee3RunSpeed = config("5 - STA_Wookiee3", "Run Speed", 6.8f, "Base run speed for STA_Wookiee3"); _staWookiee3WalkSpeed = config("5 - STA_Wookiee3", "Walk Speed", 2.8f, "Base walk speed for STA_Wookiee3"); _staDurosFemaleHealth = config("6 - STA_DUROSFEMALE", "Health", 520f, "Base health for STA_DUROSFEMALE"); _staDurosFemaleRunSpeed = config("6 - STA_DUROSFEMALE", "Run Speed", 6.9f, "Base run speed for STA_DUROSFEMALE"); _staDurosFemaleWalkSpeed = config("6 - STA_DUROSFEMALE", "Walk Speed", 2.8f, "Base walk speed for STA_DUROSFEMALE"); _staDurosMaleHealth = config("7 - STA_DUROSMALE", "Health", 580f, "Base health for STA_DUROSMALE"); _staDurosMaleRunSpeed = config("7 - STA_DUROSMALE", "Run Speed", 6.9f, "Base run speed for STA_DUROSMALE"); _staDurosMaleWalkSpeed = config("7 - STA_DUROSMALE", "Walk Speed", 2.8f, "Base walk speed for STA_DUROSMALE"); _staTwilekFemaleHealth = config("8 - STA_TWILEKFEMALE", "Health", 520f, "Base health for STA_TWILEKFEMALE"); _staTwilekFemaleRunSpeed = config("8 - STA_TWILEKFEMALE", "Run Speed", 6.9f, "Base run speed for STA_TWILEKFEMALE"); _staTwilekFemaleWalkSpeed = config("8 - STA_TWILEKFEMALE", "Walk Speed", 2.8f, "Base walk speed for STA_TWILEKFEMALE"); _staTwilekMaleHealth = config("9 - STA_TWILEKMALE", "Health", 580f, "Base health for STA_TWILEKMALE"); _staTwilekMaleRunSpeed = config("9 - STA_TWILEKMALE", "Run Speed", 6.9f, "Base run speed for STA_TWILEKMALE"); _staTwilekMaleWalkSpeed = config("9 - STA_TWILEKMALE", "Walk Speed", 2.8f, "Base walk speed for STA_TWILEKMALE"); _staRodianHealth = config("10 - STA_RODIAN", "Health", 750f, "Base health for STA_RODIAN"); _staRodianRunSpeed = config("10 - STA_RODIAN", "Run Speed", 7.2f, "Base run speed for STA_RODIAN"); _staRodianWalkSpeed = config("10 - STA_RODIAN", "Walk Speed", 2.9f, "Base walk speed for STA_RODIAN"); _staDroidBatleHealth = config("53 - STA_DROIDBATLE", "Health", 720f, "Base health for STA_DROIDBATLE"); _staDroidBatleRunSpeed = config("53 - STA_DROIDBATLE", "Run Speed", 6.6f, "Base run speed for STA_DROIDBATLE"); _staDroidBatleWalkSpeed = config("53 - STA_DROIDBATLE", "Walk Speed", 2.6f, "Base walk speed for STA_DROIDBATLE"); _staDroidBatle1Health = config("54 - STA_DROIDBATLE1", "Health", 920f, "Base health for STA_DROIDBATLE1"); _staDroidBatle1RunSpeed = config("54 - STA_DROIDBATLE1", "Run Speed", 6.8f, "Base run speed for STA_DROIDBATLE1"); _staDroidBatle1WalkSpeed = config("54 - STA_DROIDBATLE1", "Walk Speed", 2.7f, "Base walk speed for STA_DROIDBATLE1"); _staSuperBatleDroidHealth = config("55 - STA_SUPERBATLEDROID", "Health", 1450f, "Base health for STA_SUPERBATLEDROID"); _staSuperBatleDroidRunSpeed = config("55 - STA_SUPERBATLEDROID", "Run Speed", 6.4f, "Base run speed for STA_SUPERBATLEDROID"); _staSuperBatleDroidWalkSpeed = config("55 - STA_SUPERBATLEDROID", "Walk Speed", 2.55f, "Base walk speed for STA_SUPERBATLEDROID"); _staSuperBatleDroid1Health = config("56 - STA_SUPERBATLEDROID1", "Health", 1700f, "Base health for STA_SUPERBATLEDROID1"); _staSuperBatleDroid1RunSpeed = config("56 - STA_SUPERBATLEDROID1", "Run Speed", 6.55f, "Base run speed for STA_SUPERBATLEDROID1"); _staSuperBatleDroid1WalkSpeed = config("56 - STA_SUPERBATLEDROID1", "Walk Speed", 2.65f, "Base walk speed for STA_SUPERBATLEDROID1"); _staTuskenHealth = config("11 - STA_TUSKEN", "Health", 850f, "Base health for STA_TUSKEN"); _staTuskenRunSpeed = config("11 - STA_TUSKEN", "Run Speed", 7f, "Base run speed for STA_TUSKEN"); _staTuskenWalkSpeed = config("11 - STA_TUSKEN", "Walk Speed", 2.8f, "Base walk speed for STA_TUSKEN"); _staTuskenMeleeHealth = config("12 - STA_TUSKENMELEE", "Health", 1050f, "Base health for STA_TUSKENMELEE"); _staTuskenMeleeRunSpeed = config("12 - STA_TUSKENMELEE", "Run Speed", 6.9f, "Base run speed for STA_TUSKENMELEE"); _staTuskenMeleeWalkSpeed = config("12 - STA_TUSKENMELEE", "Walk Speed", 2.8f, "Base walk speed for STA_TUSKENMELEE"); _staJawaHealth = config("13 - STA_JAWA", "Health", 450f, "Base health for STA_JAWA"); _staJawaRunSpeed = config("13 - STA_JAWA", "Run Speed", 7.2f, "Base run speed for STA_JAWA"); _staJawaWalkSpeed = config("13 - STA_JAWA", "Walk Speed", 2.8f, "Base walk speed for STA_JAWA"); _staGamorreanHealth = config("14 - STA_GAMORREAN", "Health", 1250f, "Base health for STA_GAMORREAN"); _staGamorreanRunSpeed = config("14 - STA_GAMORREAN", "Run Speed", 5.9f, "Base run speed for STA_GAMORREAN"); _staGamorreanWalkSpeed = config("14 - STA_GAMORREAN", "Walk Speed", 2.35f, "Base walk speed for STA_GAMORREAN"); _staGamorreanCaptainHealth = config("15 - STA_GAMORREANCAPITAN", "Health", 1900f, "Base health for STA_GAMORREANCAPITAN"); _staGamorreanCaptainRunSpeed = config("15 - STA_GAMORREANCAPITAN", "Run Speed", 6f, "Base run speed for STA_GAMORREANCAPITAN"); _staGamorreanCaptainWalkSpeed = config("15 - STA_GAMORREANCAPITAN", "Walk Speed", 2.45f, "Base walk speed for STA_GAMORREANCAPITAN"); _staNeumonianoHealth = config("16 - STA_NEUMONIANO", "Health", 900f, "Base health for STA_NEUMONIANO"); _staNeumonianoRunSpeed = config("16 - STA_NEUMONIANO", "Run Speed", 6.5f, "Base run speed for STA_NEUMONIANO"); _staNeumonianoWalkSpeed = config("16 - STA_NEUMONIANO", "Walk Speed", 2.6f, "Base walk speed for STA_NEUMONIANO"); _staYodaJediHealth = config("17 - STA_YODAJEDI", "Health", 3200f, "Base health for STA_YODAJEDI"); _staYodaJediRunSpeed = config("17 - STA_YODAJEDI", "Run Speed", 8.1f, "Base run speed for STA_YODAJEDI"); _staYodaJediWalkSpeed = config("17 - STA_YODAJEDI", "Walk Speed", 3.2f, "Base walk speed for STA_YODAJEDI"); _staEwookHealth = config("18 - STA_EWOOK", "Health", 420f, "Base health for STA_EWOOK"); _staEwookRunSpeed = config("18 - STA_EWOOK", "Run Speed", 6.9f, "Base run speed for STA_EWOOK"); _staEwookWalkSpeed = config("18 - STA_EWOOK", "Walk Speed", 2.7f, "Base walk speed for STA_EWOOK"); _staEwookChiefHealth = config("19 - STA_EWOOKCHIEF", "Health", 1000f, "Base health for STA_EWOOKCHIEF"); _staEwookChiefRunSpeed = config("19 - STA_EWOOKCHIEF", "Run Speed", 6.6f, "Base run speed for STA_EWOOKCHIEF"); _staEwookChiefWalkSpeed = config("19 - STA_EWOOKCHIEF", "Walk Speed", 2.6f, "Base walk speed for STA_EWOOKCHIEF"); _staEwookScoutHealth = config("20 - STA_EWOOKSCOUT", "Health", 380f, "Base health for STA_EWOOKSCOUT"); _staEwookScoutRunSpeed = config("20 - STA_EWOOKSCOUT", "Run Speed", 7.8f, "Base run speed for STA_EWOOKSCOUT"); _staEwookScoutWalkSpeed = config("20 - STA_EWOOKSCOUT", "Walk Speed", 3.1f, "Base walk speed for STA_EWOOKSCOUT"); _staEwookWarriorHealth = config("21 - STA_EWOOKWARRIOR", "Health", 720f, "Base health for STA_EWOOKWARRIOR"); _staEwookWarriorRunSpeed = config("21 - STA_EWOOKWARRIOR", "Run Speed", 7.1f, "Base run speed for STA_EWOOKWARRIOR"); _staEwookWarriorWalkSpeed = config("21 - STA_EWOOKWARRIOR", "Walk Speed", 2.8f, "Base walk speed for STA_EWOOKWARRIOR"); _staNeimoidianViceroyHealth = config("22 - STA_NEIMOIDIANVICEROY", "Health", 1450f, "Base health for STA_NEIMOIDIANVICEROY"); _staNeimoidianViceroyRunSpeed = config("22 - STA_NEIMOIDIANVICEROY", "Run Speed", 6f, "Base run speed for STA_NEIMOIDIANVICEROY"); _staNeimoidianViceroyWalkSpeed = config("22 - STA_NEIMOIDIANVICEROY", "Walk Speed", 2.4f, "Base walk speed for STA_NEIMOIDIANVICEROY"); _staWampaHealth = config("23 - STA_WAMPA", "Health", 2800f, "Base health for STA_WAMPA"); _staWampaRunSpeed = config("23 - STA_WAMPA", "Run Speed", 6.6f, "Base run speed for STA_WAMPA"); _staWampaWalkSpeed = config("23 - STA_WAMPA", "Walk Speed", 2.65f, "Base walk speed for STA_WAMPA"); _staAdmiralAckbarHealth = config("24 - STA_ADMIRALACKBAR", "Health", 1500f, "Base health for STA_ADMIRALACKBAR"); _staAdmiralAckbarRunSpeed = config("24 - STA_ADMIRALACKBAR", "Run Speed", 6.7f, "Base run speed for STA_ADMIRALACKBAR"); _staAdmiralAckbarWalkSpeed = config("24 - STA_ADMIRALACKBAR", "Walk Speed", 2.7f, "Base walk speed for STA_ADMIRALACKBAR"); _staConcubineFemHealth = config("25 - STA_CONCUBINEFEM", "Health", 650f, "Base health for STA_CONCUBINEFEM"); _staConcubineFemRunSpeed = config("25 - STA_CONCUBINEFEM", "Run Speed", 6.9f, "Base run speed for STA_CONCUBINEFEM"); _staConcubineFemWalkSpeed = config("25 - STA_CONCUBINEFEM", "Walk Speed", 2.75f, "Base walk speed for STA_CONCUBINEFEM"); _staConcubineFemBHealth = config("26 - STA_CONCUBINEFEMB", "Health", 700f, "Base health for STA_CONCUBINEFEMB"); _staConcubineFemBRunSpeed = config("26 - STA_CONCUBINEFEMB", "Run Speed", 6.9f, "Base run speed for STA_CONCUBINEFEMB"); _staConcubineFemBWalkSpeed = config("26 - STA_CONCUBINEFEMB", "Walk Speed", 2.75f, "Base walk speed for STA_CONCUBINEFEMB"); _staMaceWinduHealth = config("27 - STA_MACEWINDU", "Health", 3400f, "Base health for STA_MACEWINDU"); _staMaceWinduRunSpeed = config("27 - STA_MACEWINDU", "Run Speed", 7.6f, "Base run speed for STA_MACEWINDU"); _staMaceWinduWalkSpeed = config("27 - STA_MACEWINDU", "Walk Speed", 3.05f, "Base walk speed for STA_MACEWINDU"); _staMasterKiAdiMundiHealth = config("28 - STA_MASTERKIADIMUNDI", "Health", 3100f, "Base health for STA_MASTERKIADIMUNDI"); _staMasterKiAdiMundiRunSpeed = config("28 - STA_MASTERKIADIMUNDI", "Run Speed", 7.5f, "Base run speed for STA_MASTERKIADIMUNDI"); _staMasterKiAdiMundiWalkSpeed = config("28 - STA_MASTERKIADIMUNDI", "Walk Speed", 3f, "Base walk speed for STA_MASTERKIADIMUNDI"); _staMasterKitFistoHealth = config("29 - STA_MASTERKITFISTO", "Health", 3200f, "Base health for STA_MASTERKITFISTO"); _staMasterKitFistoRunSpeed = config("29 - STA_MASTERKITFISTO", "Run Speed", 7.7f, "Base run speed for STA_MASTERKITFISTO"); _staMasterKitFistoWalkSpeed = config("29 - STA_MASTERKITFISTO", "Walk Speed", 3.05f, "Base walk speed for STA_MASTERKITFISTO"); _staMasterPloKonHealth = config("30 - STA_MASTERPLOKON", "Health", 3200f, "Base health for STA_MASTERPLOKON"); _staMasterPloKonRunSpeed = config("30 - STA_MASTERPLOKON", "Run Speed", 7.6f, "Base run speed for STA_MASTERPLOKON"); _staMasterPloKonWalkSpeed = config("30 - STA_MASTERPLOKON", "Walk Speed", 3.05f, "Base walk speed for STA_MASTERPLOKON"); _staMasterQuiGonJinnHealth = config("31 - STA_MASTERQUIGONJINN", "Health", 3100f, "Base health for STA_MASTERQUIGONJINN"); _staMasterQuiGonJinnRunSpeed = config("31 - STA_MASTERQUIGONJINN", "Run Speed", 7.5f, "Base run speed for STA_MASTERQUIGONJINN"); _staMasterQuiGonJinnWalkSpeed = config("31 - STA_MASTERQUIGONJINN", "Walk Speed", 3f, "Base walk speed for STA_MASTERQUIGONJINN"); _staDarthTyranusHealth = config("32 - STA_DARTHTYRANUS", "Health", 3600f, "Base health for STA_DARTHTYRANUS"); _staDarthTyranusRunSpeed = config("32 - STA_DARTHTYRANUS", "Run Speed", 7.7f, "Base run speed for STA_DARTHTYRANUS"); _staDarthTyranusWalkSpeed = config("32 - STA_DARTHTYRANUS", "Walk Speed", 3.05f, "Base walk speed for STA_DARTHTYRANUS"); _staAsajjVentressHealth = config("33 - STA_AsajjVentress", "Health", 2400f, "Base health for STA_AsajjVentress"); _staAsajjVentressRunSpeed = config("33 - STA_AsajjVentress", "Run Speed", 8.2f, "Base run speed for STA_AsajjVentress"); _staAsajjVentressWalkSpeed = config("33 - STA_AsajjVentress", "Walk Speed", 3.2f, "Base walk speed for STA_AsajjVentress"); _staDarthSionHealth = config("34 - STA_DARTHSION", "Health", 3900f, "Base health for STA_DARTHSION"); _staDarthSionRunSpeed = config("34 - STA_DARTHSION", "Run Speed", 6.9f, "Base run speed for STA_DARTHSION"); _staDarthSionWalkSpeed = config("34 - STA_DARTHSION", "Walk Speed", 2.75f, "Base walk speed for STA_DARTHSION"); _staJediHealth = config("35 - STA_JEDI", "Health", 1500f, "Base health for STA_JEDI"); _staJediRunSpeed = config("35 - STA_JEDI", "Run Speed", 7.3f, "Base run speed for STA_JEDI"); _staJediWalkSpeed = config("35 - STA_JEDI", "Walk Speed", 2.9f, "Base walk speed for STA_JEDI"); _staJedi1Health = config("36 - STA_JEDI1", "Health", 1700f, "Base health for STA_JEDI1"); _staJedi1RunSpeed = config("36 - STA_JEDI1", "Run Speed", 7.4f, "Base run speed for STA_JEDI1"); _staJedi1WalkSpeed = config("36 - STA_JEDI1", "Walk Speed", 2.95f, "Base walk speed for STA_JEDI1"); _staJedi2Health = config("37 - STA_JEDI2", "Health", 1500f, "Base health for STA_JEDI2"); _staJedi2RunSpeed = config("37 - STA_JEDI2", "Run Speed", 7.3f, "Base run speed for STA_JEDI2"); _staJedi2WalkSpeed = config("37 - STA_JEDI2", "Walk Speed", 2.9f, "Base walk speed for STA_JEDI2"); _staJedi3Health = config("38 - STA_JEDI3", "Health", 1700f, "Base health for STA_JEDI3"); _staJedi3RunSpeed = config("38 - STA_JEDI3", "Run Speed", 7.4f, "Base run speed for STA_JEDI3"); _staJedi3WalkSpeed = config("38 - STA_JEDI3", "Walk Speed", 2.95f, "Base walk speed for STA_JEDI3"); _staJediPadawanHealth = config("39 - STA_JEDIPADAWAN", "Health", 900f, "Base health for STA_JEDIPADAWAN"); _staJediPadawanRunSpeed = config("39 - STA_JEDIPADAWAN", "Run Speed", 7f, "Base run speed for STA_JEDIPADAWAN"); _staJediPadawanWalkSpeed = config("39 - STA_JEDIPADAWAN", "Walk Speed", 2.7f, "Base walk speed for STA_JEDIPADAWAN"); _staJediPadawan1Health = config("40 - STA_JEDIPADAWAN1", "Health", 950f, "Base health for STA_JEDIPADAWAN1"); _staJediPadawan1RunSpeed = config("40 - STA_JEDIPADAWAN1", "Run Speed", 7f, "Base run speed for STA_JEDIPADAWAN1"); _staJediPadawan1WalkSpeed = config("40 - STA_JEDIPADAWAN1", "Walk Speed", 2.7f, "Base walk speed for STA_JEDIPADAWAN1"); _staSithAcolityoHealth = config("41 - STA_SITHACOLITYO", "Health", 1450f, "Base health for STA_SITHACOLITYO"); _staSithAcolityoRunSpeed = config("41 - STA_SITHACOLITYO", "Run Speed", 7.4f, "Base run speed for STA_SITHACOLITYO"); _staSithAcolityoWalkSpeed = config("41 - STA_SITHACOLITYO", "Walk Speed", 2.9f, "Base walk speed for STA_SITHACOLITYO"); _staSithAcolityoBruteHealth = config("42 - STA_SITHACOLITYOBRUTE", "Health", 2200f, "Base health for STA_SITHACOLITYOBRUTE"); _staSithAcolityoBruteRunSpeed = config("42 - STA_SITHACOLITYOBRUTE", "Run Speed", 6.5f, "Base run speed for STA_SITHACOLITYOBRUTE"); _staSithAcolityoBruteWalkSpeed = config("42 - STA_SITHACOLITYOBRUTE", "Walk Speed", 2.55f, "Base walk speed for STA_SITHACOLITYOBRUTE"); _staWeequayHunterHealth = config("43 - STA_WEEQUAYHUNTER", "Health", 900f, "Base health for STA_WEEQUAYHUNTER"); _staWeequayHunterRunSpeed = config("43 - STA_WEEQUAYHUNTER", "Run Speed", 7.25f, "Base run speed for STA_WEEQUAYHUNTER"); _staWeequayHunterWalkSpeed = config("43 - STA_WEEQUAYHUNTER", "Walk Speed", 2.9f, "Base walk speed for STA_WEEQUAYHUNTER"); _staEmboHealth = config("44 - STA_EMBO", "Health", 2100f, "Base health for STA_EMBO"); _staEmboRunSpeed = config("44 - STA_EMBO", "Run Speed", 7.8f, "Base run speed for STA_EMBO"); _staEmboWalkSpeed = config("44 - STA_EMBO", "Walk Speed", 3.05f, "Base walk speed for STA_EMBO"); _staDurosHunterHealth = config("45 - STA_DUROSHUNTER", "Health", 820f, "Base health for STA_DUROSHUNTER"); _staDurosHunterRunSpeed = config("45 - STA_DUROSHUNTER", "Run Speed", 7.15f, "Base run speed for STA_DUROSHUNTER"); _staDurosHunterWalkSpeed = config("45 - STA_DUROSHUNTER", "Walk Speed", 2.85f, "Base walk speed for STA_DUROSHUNTER"); _staImperialGunnerHealth = config("46 - STA_IMPERIALGUNNER", "Health", 1250f, "Base health for STA_IMPERIALGUNNER"); _staImperialGunnerRunSpeed = config("46 - STA_IMPERIALGUNNER", "Run Speed", 6.8f, "Base run speed for STA_IMPERIALGUNNER"); _staImperialGunnerWalkSpeed = config("46 - STA_IMPERIALGUNNER", "Walk Speed", 2.7f, "Base walk speed for STA_IMPERIALGUNNER"); _staCadBaneHealth = config("47 - STA_CADBANE", "Health", 2400f, "Base health for STA_CADBANE"); _staCadBaneRunSpeed = config("47 - STA_CADBANE", "Run Speed", 8f, "Base run speed for STA_CADBANE"); _staCadBaneWalkSpeed = config("47 - STA_CADBANE", "Walk Speed", 3.1f, "Base walk speed for STA_CADBANE"); _staHondoHealth = config("48 - STA_HONDO", "Health", 1600f, "Base health for STA_HONDO"); _staHondoRunSpeed = config("48 - STA_HONDO", "Run Speed", 7.35f, "Base run speed for STA_HONDO"); _staHondoWalkSpeed = config("48 - STA_HONDO", "Walk Speed", 2.95f, "Base walk speed for STA_HONDO"); _staTrooperSnowHealth = config("49 - STA_TROOPERSNOW", "Health", 1350f, "Base health for STA_TROOPERSNOW"); _staTrooperSnowRunSpeed = config("49 - STA_TROOPERSNOW", "Run Speed", 6.6f, "Base run speed for STA_TROOPERSNOW"); _staTrooperSnowWalkSpeed = config("49 - STA_TROOPERSNOW", "Walk Speed", 2.65f, "Base walk speed for STA_TROOPERSNOW"); _staRebelTrooperHealth = config("50 - STA_REBELTROOPER", "Health", 1150f, "Base health for STA_REBELTROOPER"); _staRebelTrooperRunSpeed = config("50 - STA_REBELTROOPER", "Run Speed", 6.9f, "Base run speed for STA_REBELTROOPER"); _staRebelTrooperWalkSpeed = config("50 - STA_REBELTROOPER", "Walk Speed", 2.75f, "Base walk speed for STA_REBELTROOPER"); _staRebelTrooperV2Health = config("51 - STA_REBELTROOPERV2", "Health", 1350f, "Base health for STA_REBELTROOPERV2"); _staRebelTrooperV2RunSpeed = config("51 - STA_REBELTROOPERV2", "Run Speed", 7.05f, "Base run speed for STA_REBELTROOPERV2"); _staRebelTrooperV2WalkSpeed = config("51 - STA_REBELTROOPERV2", "Walk Speed", 2.85f, "Base walk speed for STA_REBELTROOPERV2"); _staCaraDuneHealth = config("52 - STA_CARADUNE", "Health", 1850f, "Base health for STA_CARADUNE"); _staCaraDuneRunSpeed = config("52 - STA_CARADUNE", "Run Speed", 7.35f, "Base run speed for STA_CARADUNE"); _staCaraDuneWalkSpeed = config("52 - STA_CARADUNE", "Walk Speed", 2.95f, "Base walk speed for STA_CARADUNE"); Creature creature = new Creature("starwarsmobs", "STA_Wookiee") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature.Localize().English("Wookiee").Spanish("Wookiee"); creature.Drops["STA_TrophyWookie"].Amount = new CreatureManager.Range(1f, 1f); creature.Drops["STA_TrophyWookie"].DropChance = 10f; _staWookiee = creature; MaterialReplacer.RegisterWookieeFurFix(creature.Prefab); Creature creature2 = new Creature("starwarsmobs", "STA_Wookiee1") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature2.Localize().English("Wookiee Warrior").Spanish("Guerrero Wookiee"); creature2.Drops["STA_TrophyWookie"].Amount = new CreatureManager.Range(1f, 1f); creature2.Drops["STA_TrophyWookie"].DropChance = 10f; _staWookiee1 = creature2; MaterialReplacer.RegisterWookieeFurFix(creature2.Prefab); Creature creature3 = new Creature("starwarsmobs", "STA_Wookiee2") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature3.Localize().English("Wookiee Guardian").Spanish("Guardián Wookiee"); creature3.Drops["STA_TrophyWookie"].Amount = new CreatureManager.Range(1f, 1f); creature3.Drops["STA_TrophyWookie"].DropChance = 10f; _staWookiee2 = creature3; MaterialReplacer.RegisterWookieeFurFix(creature3.Prefab); Creature creature4 = new Creature("starwarsmobs", "STA_Wookiee3") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature4.Localize().English("Wookiee Champion").Spanish("Campeón Wookiee"); creature4.Drops["STA_TrophyWookie"].Amount = new CreatureManager.Range(1f, 1f); creature4.Drops["STA_TrophyWookie"].DropChance = 10f; _staWookiee3 = creature4; MaterialReplacer.RegisterWookieeFurFix(creature4.Prefab); Creature creature5 = new Creature("starwarsmobs", "STA_DUROSFEMALE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature5.Localize().English("Female Duros").Spanish("Duros hembra"); creature5.Drops["STA_TrophyDuros"].Amount = new CreatureManager.Range(1f, 1f); creature5.Drops["STA_TrophyDuros"].DropChance = 10f; _staDurosFemale = creature5; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature5.Prefab); Creature creature6 = new Creature("starwarsmobs", "STA_DUROSMALE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature6.Localize().English("Male Duros").Spanish("Duros macho"); creature6.Drops["STA_TrophyDuros"].Amount = new CreatureManager.Range(1f, 1f); creature6.Drops["STA_TrophyDuros"].DropChance = 10f; _staDurosMale = creature6; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature6.Prefab); Creature creature7 = new Creature("starwarsmobs", "STA_TWILEKFEMALE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature7.Localize().English("Female Twi'lek").Spanish("Twi'lek femenina"); creature7.Drops["STA_TrophyTwilekFemale"].Amount = new CreatureManager.Range(1f, 1f); creature7.Drops["STA_TrophyTwilekFemale"].DropChance = 10f; _staTwilekFemale = creature7; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature7.Prefab); Creature creature8 = new Creature("starwarsmobs", "STA_TWILEKMALE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature8.Localize().English("Male Twi'lek").Spanish("Twi'lek masculino"); creature8.Drops["STA_TrophyTwilekMale"].Amount = new CreatureManager.Range(1f, 1f); creature8.Drops["STA_TrophyTwilekMale"].DropChance = 10f; _staTwilekMale = creature8; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature8.Prefab); Creature creature9 = new Creature("starwarsmobs", "STA_RODIAN") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature9.Localize().English("Rodian").Spanish("Rodiano"); creature9.Drops["STA_TrophyRODIAN"].Amount = new CreatureManager.Range(1f, 1f); creature9.Drops["STA_TrophyRODIAN"].DropChance = 10f; _staRodian = creature9; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature9.Prefab); Creature creature10 = new Creature("starwarsmobs", "STA_DROIDBATLE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 3f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature10.Localize().English("Battle Droid").Spanish("Droide de batalla"); creature10.Drops["STA_TrophyDROIDBATLE"].Amount = new CreatureManager.Range(1f, 1f); creature10.Drops["STA_TrophyDROIDBATLE"].DropChance = 10f; _staDroidBatle = creature10; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature10.Prefab); Creature creature11 = new Creature("starwarsmobs", "STA_DROIDBATLE1") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 8f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature11.Localize().English("Yellow Battle Droid").Spanish("Droide de batalla amarillo"); creature11.Drops["STA_TrophyDROIDBATLE1"].Amount = new CreatureManager.Range(1f, 1f); creature11.Drops["STA_TrophyDROIDBATLE1"].DropChance = 10f; _staDroidBatle1 = creature11; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature11.Prefab); Creature creature12 = new Creature("starwarsmobs", "STA_SUPERBATLEDROID") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 7f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature12.Localize().English("Super Battle Droid").Spanish("Super droide de batalla"); _staSuperBatleDroid = creature12; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature12.Prefab); Creature creature13 = new Creature("starwarsmobs", "STA_SUPERBATLEDROID1") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature13.Localize().English("White Super Battle Droid").Spanish("Super droide de batalla blanco"); _staSuperBatleDroid1 = creature13; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature13.Prefab); Creature creature14 = new Creature("starwarsmobs", "STA_WEEQUAYHUNTER") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature14.Localize().English("Weequay Hunter").Spanish("Cazador Weequay"); _staWeequayHunter = creature14; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature14.Prefab); Creature creature15 = new Creature("starwarsmobs", "STA_EMBO") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 4f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature15.Localize().English("Embo").Spanish("Embo"); _staEmbo = creature15; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature15.Prefab); Creature creature16 = new Creature("starwarsmobs", "STA_DUROSHUNTER") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 8f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature16.Localize().English("Duros Hunter").Spanish("Cazador Duros"); _staDurosHunter = creature16; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature16.Prefab); Creature creature17 = new Creature("starwarsmobs", "STA_IMPERIALGUNNER") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 7f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature17.Localize().English("Imperial Gunner").Spanish("Artillero imperial"); _staImperialGunner = creature17; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature17.Prefab); Creature creature18 = new Creature("starwarsmobs", "STA_CADBANE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 4f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature18.Localize().English("Cad Bane").Spanish("Cad Bane"); _staCadBane = creature18; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature18.Prefab); Creature creature19 = new Creature("starwarsmobs", "STA_HONDO") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1500, SpawnChance = 6f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature19.Localize().English("Hondo").Spanish("Hondo"); _staHondo = creature19; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature19.Prefab); Creature creature20 = new Creature("starwarsmobs", "STA_TROOPERSNOW") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)5, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(100f, 2000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)4, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature20.Localize().English("Snowtrooper").Spanish("Soldado de nieve"); _staTrooperSnow = creature20; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature20.Prefab); Creature creature21 = new Creature("starwarsmobs", "STA_REBELTROOPER") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature21.Localize().English("Rebel Trooper").Spanish("Soldado rebelde"); _staRebelTrooper = creature21; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature21.Prefab); Creature creature22 = new Creature("starwarsmobs", "STA_REBELTROOPERV2") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 7f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature22.Localize().English("Rebel Trooper V2").Spanish("Soldado rebelde V2"); _staRebelTrooperV2 = creature22; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature22.Prefab); Creature creature23 = new Creature("starwarsmobs", "STA_CARADUNE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature23.Localize().English("Cara Dune").Spanish("Cara Dune"); _staCaraDune = creature23; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature23.Prefab); Creature creature24 = new Creature("starwarsmobs", "STA_TUSKEN") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature24.Localize().English("Tusken Raider").Spanish("Incursor Tusken"); creature24.Drops["STA_TrophyTusken"].Amount = new CreatureManager.Range(1f, 1f); creature24.Drops["STA_TrophyTusken"].DropChance = 10f; _staTusken = creature24; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature24.Prefab); Creature creature25 = new Creature("starwarsmobs", "STA_TUSKENMELEE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature25.Localize().English("Tusken Melee Warrior").Spanish("Guerrero Tusken cuerpo a cuerpo"); creature25.Drops["STA_TrophyTusken"].Amount = new CreatureManager.Range(1f, 1f); creature25.Drops["STA_TrophyTusken"].DropChance = 10f; _staTuskenMelee = creature25; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature25.Prefab); Creature creature26 = new Creature("starwarsmobs", "STA_JAWA") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 3f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature26.Localize().English("Jawa").Spanish("Jawa"); creature26.Drops["STA_TrophyJAWA"].Amount = new CreatureManager.Range(1f, 1f); creature26.Drops["STA_TrophyJAWA"].DropChance = 10f; _staJawa = creature26; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature26.Prefab); Creature creature27 = new Creature("starwarsmobs", "STA_GAMORREAN") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature27.Localize().English("Gamorrean").Spanish("Gamorreano"); creature27.Drops["STA_TrophyGAMORREAN"].Amount = new CreatureManager.Range(1f, 1f); creature27.Drops["STA_TrophyGAMORREAN"].DropChance = 10f; _staGamorrean = creature27; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature27.Prefab); Creature creature28 = new Creature("starwarsmobs", "STA_GAMORREANCAPITAN") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature28.Localize().English("Gamorrean Warrior").Spanish("Guerrero Gamorreano"); creature28.Drops["STA_TrophyGAMORREANCAPITAN"].Amount = new CreatureManager.Range(1f, 1f); creature28.Drops["STA_TrophyGAMORREANCAPITAN"].DropChance = 10f; _staGamorreanCaptain = creature28; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature28.Prefab); Creature creature29 = new Creature("starwarsmobs", "STA_NEUMONIANO") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)16, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature29.Localize().English("Neimoidian Warrior").Spanish("Guerrero Neimoidiano"); creature29.Drops["STA_TrophyNEUMONIANO"].Amount = new CreatureManager.Range(1f, 1f); creature29.Drops["STA_TrophyNEUMONIANO"].DropChance = 10f; _staNeumoniano = creature29; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature29.Prefab); Creature creature30 = new Creature("starwarsmobs", "STA_YODAJEDI") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature30.Localize().English("Yoda Jedi Master").Spanish("Maestro Jedi Yoda"); creature30.Drops["STA_TrophyYODA"].Amount = new CreatureManager.Range(1f, 1f); creature30.Drops["STA_TrophyYODA"].DropChance = 10f; _staYodaJedi = creature30; MaterialReplacer.RegisterDoubleSidedUseUnityShader(creature30.Prefab); Creature creature31 = new Creature("starwarsmobs", "STA_EWOOK") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 3f), CheckSpawnInterval = 1200, SpawnChance = 15f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature31.Localize().English("Ewok").Spanish("Ewok"); creature31.Drops["STA_TrophyEWOOK"].Amount = new CreatureManager.Range(1f, 1f); creature31.Drops["STA_TrophyEWOOK"].DropChance = 10f; _staEwook = creature31; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature31.Prefab); Creature creature32 = new Creature("starwarsmobs", "STA_EWOOKCHIEF") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature32.Localize().English("Ewok Chief").Spanish("Jefe Ewok"); creature32.Drops["STA_TrophyEWOOKCHIEF"].Amount = new CreatureManager.Range(1f, 1f); creature32.Drops["STA_TrophyEWOOKCHIEF"].DropChance = 10f; _staEwookChief = creature32; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature32.Prefab); Creature creature33 = new Creature("starwarsmobs", "STA_EWOOKSCOUT") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 12f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature33.Localize().English("Ewok Scout").Spanish("Explorador Ewok"); creature33.Drops["STA_TrophyEWOOK"].Amount = new CreatureManager.Range(1f, 1f); creature33.Drops["STA_TrophyEWOOK"].DropChance = 10f; _staEwookScout = creature33; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature33.Prefab); Creature creature34 = new Creature("starwarsmobs", "STA_EWOOKWARRIOR") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 12f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature34.Localize().English("Ewok Warrior").Spanish("Guerrero Ewok"); creature34.Drops["STA_TrophyEWOOK"].Amount = new CreatureManager.Range(1f, 1f); creature34.Drops["STA_TrophyEWOOK"].DropChance = 10f; _staEwookWarrior = creature34; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature34.Prefab); Creature creature35 = new Creature("starwarsmobs", "STA_NEIMOIDIANVICEROY") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)7, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature35.Localize().English("Neimoidian Viceroy").Spanish("Virrey Neimoidiano"); creature35.Drops["STA_TrophyNEIMOIDIANVICEROY"].Amount = new CreatureManager.Range(1f, 1f); creature35.Drops["STA_TrophyNEIMOIDIANVICEROY"].DropChance = 10f; _staNeimoidianViceroy = creature35; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature35.Prefab); Creature creature36 = new Creature("starwarsmobs", "STA_WAMPA") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)5, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(100f, 2000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)4, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature36.Localize().English("Wampa").Spanish("Wampa"); creature36.Drops["STA_TrophyWampa"].Amount = new CreatureManager.Range(1f, 1f); creature36.Drops["STA_TrophyWampa"].DropChance = 10f; _staWampa = creature36; MaterialReplacer.RegisterFurCreatureForShaderSwap(creature36.Prefab); Creature creature37 = new Creature("starwarsmobs", "STA_ADMIRALACKBAR") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature37.Localize().English("Admiral Ackbar").Spanish("Almirante Ackbar"); creature37.Drops["STA_TrophyADMIRALACKBAR"].Amount = new CreatureManager.Range(1f, 1f); creature37.Drops["STA_TrophyADMIRALACKBAR"].DropChance = 10f; _staAdmiralAckbar = creature37; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature37.Prefab); Creature creature38 = new Creature("starwarsmobs", "STA_CONCUBINEFEM") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature38.Localize().English("Female Concubine").Spanish("Concubina"); _staConcubineFem = creature38; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature38.Prefab); Creature creature39 = new Creature("starwarsmobs", "STA_CONCUBINEFEMB") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)2, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)8, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.Yes, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature39.Localize().English("Female Concubine Variant").Spanish("Concubina variante"); _staConcubineFemB = creature39; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature39.Prefab); Creature creature40 = new Creature("starwarsmobs", "STA_MACEWINDU") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature40.Localize().English("Jedi Master Mace Windu").Spanish("Maestro Jedi Mace Windu"); _staMaceWindu = creature40; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature40.Prefab); Creature creature41 = new Creature("starwarsmobs", "STA_MASTERKIADIMUNDI") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature41.Localize().English("Jedi Master Ki-Adi-Mundi").Spanish("Maestro Jedi Ki-Adi-Mundi"); _staMasterKiAdiMundi = creature41; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature41.Prefab); Creature creature42 = new Creature("starwarsmobs", "STA_MASTERKITFISTO") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature42.Localize().English("Jedi Master Kit Fisto").Spanish("Maestro Jedi Kit Fisto"); _staMasterKitFisto = creature42; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature42.Prefab); Creature creature43 = new Creature("starwarsmobs", "STA_MASTERPLOKON") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature43.Localize().English("Jedi Master Plo Koon").Spanish("Maestro Jedi Plo Koon"); _staMasterPloKon = creature43; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature43.Prefab); Creature creature44 = new Creature("starwarsmobs", "STA_MASTERQUIGONJINN") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature44.Localize().English("Jedi Master Qui-Gon Jinn").Spanish("Maestro Jedi Qui-Gon Jinn"); _staMasterQuiGonJinn = creature44; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature44.Prefab); Creature creature45 = new Creature("starwarsmobs", "STA_DARTHTYRANUS") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)4, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature45.Localize().English("Darth Tyranus").Spanish("Darth Tyranus"); _staDarthTyranus = creature45; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature45.Prefab); MaterialReplacer.RegisterEmbeddedLightsaberBlade(creature45.Prefab, new Color(1f, 0.04f, 0.015f)); Creature creature46 = new Creature("starwarsmobs", "STA_AsajjVentress") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)4, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature46.Localize().English("Asajj Ventress").Spanish("Asajj Ventress"); _staAsajjVentress = creature46; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature46.Prefab); MaterialReplacer.RegisterEmbeddedLightsaberBlade(creature46.Prefab, new Color(1f, 0.04f, 0.015f)); Creature creature47 = new Creature("starwarsmobs", "STA_DARTHSION") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)4, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1800, SpawnChance = 5f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 1 }; creature47.Localize().English("Darth Sion").Spanish("Darth Sion"); _staDarthSion = creature47; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature47.Prefab); Creature creature48 = new Creature("starwarsmobs", "STA_JEDI") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature48.Localize().English("Jedi Knight").Spanish("Caballero Jedi 1"); _staJedi = creature48; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature48.Prefab); Creature creature49 = new Creature("starwarsmobs", "STA_JEDI1") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature49.Localize().English("Veteran Jedi Knight").Spanish("Caballero Jedi veterano 1"); _staJedi1 = creature49; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature49.Prefab); Creature creature50 = new Creature("starwarsmobs", "STA_JEDI2") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature50.Localize().English("Jedi Knight").Spanish("Caballero Jedi 2"); _staJedi2 = creature50; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature50.Prefab); Creature creature51 = new Creature("starwarsmobs", "STA_JEDI3") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1500, SpawnChance = 8f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature51.Localize().English("Veteran Jedi Knight").Spanish("Caballero Jedi veterano"); _staJedi3 = creature51; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature51.Prefab); Creature creature52 = new Creature("starwarsmobs", "STA_JEDIPADAWAN") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature52.Localize().English("Jedi Padawan").Spanish("Padawan Jedi"); _staJediPadawan = creature52; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature52.Prefab); Creature creature53 = new Creature("starwarsmobs", "STA_JEDIPADAWAN1") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)9, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature53.Localize().English("Jedi Padawan Apprentice").Spanish("Aprendiz Padawan Jedi"); _staJediPadawan1 = creature53; MaterialReplacer.RegisterStarwarsCharacterMaterialFix(creature53.Prefab); Creature creature54 = new Creature("starwarsmobs", "STA_SITHACOLITYO") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)4, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 2f), CheckSpawnInterval = 1200, SpawnChance = 10f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 3 }; creature54.Localize().English("Sith Acolyte").Spanish("Acólito Sith"); _staSithAcolityo = creature54; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature54.Prefab); MaterialReplacer.RegisterEmbeddedLightsaberBlade(creature54.Prefab, new Color(1f, 0.04f, 0.015f)); Creature creature55 = new Creature("starwarsmobs", "STA_SITHACOLITYOBRUTE") { ConfigurationEnabled = true, CanSpawn = true, CanBeTamed = false, FoodItems = "", CreatureFaction = (Faction)4, SpecificSpawnTime = SpawnTime.Always, RequiredAltitude = new CreatureManager.Range(0f, 1000f), RequiredOceanDepth = default(CreatureManager.Range), RequiredGlobalKey = GlobalKey.None, Biome = (Biome)512, SpecificSpawnArea = SpawnArea.Everywhere, GroupSize = new CreatureManager.Range(1f, 1f), CheckSpawnInterval = 1500, SpawnChance = 7f, ForestSpawn = Forest.No, RequiredWeather = Weather.None, SpawnAltitude = 0f, CanHaveStars = true, AttackImmediately = true, Maximum = 2 }; creature55.Localize().English("Sith Acolyte Brute").Spanish("Acólito Sith bruto"); _staSithAcolityoBrute = creature55; MaterialReplacer.RegisterArmoredHumanoidForShaderSwap(creature55.Prefab); MaterialReplacer.RegisterEmbeddedLightsaberBlade(creature55.Prefab, new Color(1f, 0.04f, 0.015f)); ApplyCreatureHealths(); ApplyCreatureRunSpeeds(); App