Some mods target the Mono version of the game, which is available by opting into the Steam beta branch "alternate"
Decompiled source of Add NPCs v1.0.5
Mods/WoodStudios.AddNpcs.dll
Decompiled 22 minutes agousing System; using System.Collections.Generic; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using AddNpcs; using HarmonyLib; using Il2CppInterop.Runtime.InteropTypes.Arrays; using Il2CppScheduleOne.Economy; using Il2CppScheduleOne.NPCs; using MelonLoader; using MelonLoader.Preferences; using Microsoft.CodeAnalysis; using S1API.Economy; using S1API.Entities; using S1API.Entities.Customer; using S1API.Entities.Relation; using S1API.Entities.Schedule; using S1API.GameTime; using S1API.Map; using S1API.Products; using S1API.Properties; using S1API.Properties.Interfaces; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: MelonInfo(typeof(AddNpcsCore), "Add NPCs", "1.0.5", "Wood Studios", null)] [assembly: MelonGame("TVGS", "Schedule I")] [assembly: AssemblyTitle("WoodStudios.AddNpcs")] [assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] [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.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace AddNpcs { public abstract class AddedCustomer : NPC { private static readonly Dictionary<Region, string[]> Vanilla = new Dictionary<Region, string[]> { { (Region)0, new string[12] { "kyle_cooley", "jessi_waters", "peggy_myers", "mick_lubbin", "sam_thompson", "chloe_bowers", "austin_steiner", "ludwig_meyer", "beth_penn", "donna_martin", "geraldine_poon", "kathy_henderson" } }, { (Region)1, new string[9] { "charles_rowland", "doris_lubbin", "jerry_montero", "keith_wagner", "meg_cooley", "dean_webster", "joyce_ball", "kim_delaney", "trent_sherman" } }, { (Region)2, new string[10] { "eugene_buckley", "jeff_gilmore", "elizabeth_homley", "greg_fliggle", "kevin_oakley", "jennifer_rivera", "louis_fourier", "philip_wentworth", "lucy_pennington", "randy_caulfield" } }, { (Region)3, new string[9] { "billy_kramer", "anna_chesterfield", "cranky_frank", "lisa_gardener", "marco_baron", "genghis_barn", "javier_perez", "mac_cooper", "melissa_wood" } }, { (Region)4, new string[10] { "carl_bundy", "dennis_kennedy", "alison_knight", "chris_sullivan", "hank_stevenson", "jack_knight", "jeremy_wilkinson", "jackie_stevenson", "harold_colt", "karen_kennedy" } }, { (Region)5, new string[9] { "fiona_hancock", "jen_heard", "lily_turner", "pearl_moore", "tobias_wentworth", "herbert_bleuball", "michael_boog", "ray_hoffman", "walter_cussler" } } }; public override bool IsPhysical => true; public override bool IsCustomer => true; protected abstract int Index { get; } protected override void ConfigurePrefab(NPCPrefabBuilder b) { //IL_0030: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0195: Unknown result type (might be due to invalid IL or missing references) //IL_01a5: Unknown result type (might be due to invalid IL or missing references) //IL_00eb: Unknown result type (might be due to invalid IL or missing references) //IL_00f6: Unknown result type (might be due to invalid IL or missing references) Npc i = Roster.All[Index]; PersonSpec p = i.P; Vector3[] spots = Spots.For(i.Region, Index); List<string> others = new List<string>(); if (Vanilla.TryGetValue(i.Region, out var value) && value.Length != 0) { others.Add(value[Index * 3 % value.Length]); others.Add(value[(Index * 3 + 1) % value.Length]); } int count = AddNpcsCore.Count; int num = 0; for (int j = 0; j < count && j < Roster.All.Length; j++) { if (num >= 2) { break; } int num2 = (Index + 1 + j) % Math.Max(1, Math.Min(count, Roster.All.Length)); if (num2 != Index && Roster.All[num2].Region == i.Region && !others.Contains(Roster.All[num2].P.Id)) { others.Add(Roster.All[num2].P.Id); num++; } } b.WithIdentity(p.Id, p.First, p.Last).WithAppearanceDefaults((Action<AvatarDefaultsBuilder>)delegate(AvatarDefaultsBuilder av) { Dress(av, p); }).WithSpawnPosition(spots[0]) .WithRegion(i.Region) .EnsureCustomer() .WithCustomerDefaults((Action<CustomerDataBuilder>)delegate(CustomerDataBuilder cd) { //IL_003d: Unknown result type (might be due to invalid IL or missing references) //IL_005d: Unknown result type (might be due to invalid IL or missing references) cd.WithSpending(p.MinSpend, p.MaxSpend).WithOrdersPerWeek(p.MinOrders, p.MaxOrders).WithPreferredOrderDay(p.OrderDay) .WithOrderTime(p.OrderTime) .WithStandards(p.Standards) .AllowDirectApproach(true) .GuaranteeFirstSample(true) .WithMutualRelationRequirement(2f, 3.5f) .WithCallPoliceChance(0.08f) .WithDependence(0.15f, 1.1f) .WithAffinities((IEnumerable<ValueTuple<DrugType, float>>)i.Drugs); if (p.Likes != null && p.Likes.Length != 0) { cd.WithPreferredProperties(p.Likes); } }) .WithRelationshipDefaults((Action<NPCRelationshipDataBuilder>)delegate(NPCRelationshipDataBuilder r) { r.WithDelta(1f).SetUnlocked(false).SetUnlockType((UnlockType)1) .WithConnectionsById((IEnumerable<string>)others); }) .WithSchedule((Action<PrefabScheduleBuilder>)delegate(PrefabScheduleBuilder plan) { //IL_000d: Unknown result type (might be due to invalid IL or missing references) //IL_0034: Unknown result type (might be due to invalid IL or missing references) //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_0082: Unknown result type (might be due to invalid IL or missing references) //IL_00a9: Unknown result type (might be due to invalid IL or missing references) //IL_00d0: Unknown result type (might be due to invalid IL or missing references) //IL_00f7: Unknown result type (might be due to invalid IL or missing references) plan.EnsureDealSignal().WalkTo(spots[0], 700, true, 1f, true, (Vector3?)null, (string)null).WalkTo(spots[1], 930, true, 1f, true, (Vector3?)null, (string)null) .WalkTo(spots[2], 1200, true, 1f, true, (Vector3?)null, (string)null) .WalkTo(spots[3], 1430, true, 1f, true, (Vector3?)null, (string)null) .WalkTo(spots[4], 1700, true, 1f, true, (Vector3?)null, (string)null) .WalkTo(spots[5], 1930, true, 1f, true, (Vector3?)null, (string)null) .WalkTo(spots[0], 2200, true, 1f, true, (Vector3?)null, (string)null); }); } protected override void OnCreated() { ((NPC)this).OnCreated(); try { ((NPC)this).Appearance.Build(); } catch { } try { ((NPC)this).Schedule.Enable(); } catch { } } internal static void Dress(AvatarDefaultsBuilder av, PersonSpec p) { //IL_0026: Unknown result type (might be due to invalid IL or missing references) //IL_0032: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) //IL_0043: Unknown result type (might be due to invalid IL or missing references) //IL_0048: Unknown result type (might be due to invalid IL or missing references) //IL_0053: Unknown result type (might be due to invalid IL or missing references) //IL_00bd: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00e1: Unknown result type (might be due to invalid IL or missing references) //IL_00f4: Unknown result type (might be due to invalid IL or missing references) //IL_0107: Unknown result type (might be due to invalid IL or missing references) //IL_0122: Unknown result type (might be due to invalid IL or missing references) //IL_013d: Unknown result type (might be due to invalid IL or missing references) //IL_0158: Unknown result type (might be due to invalid IL or missing references) av.Gender = p.Gender; av.Height = p.Height; av.Weight = p.Weight; av.SkinColor = p.Skin; av.LeftEyeLidColor = Color32.op_Implicit(p.Skin); av.RightEyeLidColor = Color32.op_Implicit(p.Skin); av.EyeBallTint = Color.white; av.PupilDilation = 0.7f; av.EyebrowScale = ((p.Gender > 0.5f) ? 0.85f : 1f); av.EyebrowThickness = ((p.Gender > 0.5f) ? 0.6f : 0.9f); av.HairPath = p.Hair ?? ""; av.HairColor = p.HairCol; av.WithFaceLayer(p.Face, Color.black); av.WithBodyLayer(p.Top, p.TopCol); av.WithBodyLayer(p.Bottom, p.BottomCol); av.WithAccessoryLayer(p.Shoes, p.ShoeCol); if (p.Head != null) { av.WithAccessoryLayer(p.Head, p.HeadCol); } if (p.Chest != null) { av.WithAccessoryLayer(p.Chest, p.ChestCol); } if (p.Neck != null) { av.WithAccessoryLayer(p.Neck, p.NeckCol); } } } public sealed class AddedCustomer00 : AddedCustomer { protected override int Index => 0; } public sealed class AddedCustomer01 : AddedCustomer { protected override int Index => 1; } public sealed class AddedCustomer02 : AddedCustomer { protected override int Index => 2; } public sealed class AddedCustomer03 : AddedCustomer { protected override int Index => 3; } public sealed class AddedCustomer04 : AddedCustomer { protected override int Index => 4; } public sealed class AddedCustomer05 : AddedCustomer { protected override int Index => 5; } public sealed class AddedCustomer06 : AddedCustomer { protected override int Index => 6; } public sealed class AddedCustomer07 : AddedCustomer { protected override int Index => 7; } public sealed class AddedCustomer08 : AddedCustomer { protected override int Index => 8; } public sealed class AddedCustomer09 : AddedCustomer { protected override int Index => 9; } public sealed class AddedCustomer10 : AddedCustomer { protected override int Index => 10; } public sealed class AddedCustomer11 : AddedCustomer { protected override int Index => 11; } public sealed class AddedCustomer12 : AddedCustomer { protected override int Index => 12; } public sealed class AddedCustomer13 : AddedCustomer { protected override int Index => 13; } public sealed class AddedCustomer14 : AddedCustomer { protected override int Index => 14; } public sealed class AddedCustomer15 : AddedCustomer { protected override int Index => 15; } public sealed class AddedCustomer16 : AddedCustomer { protected override int Index => 16; } public sealed class AddedCustomer17 : AddedCustomer { protected override int Index => 17; } public sealed class AddedCustomer18 : AddedCustomer { protected override int Index => 18; } public sealed class AddedCustomer19 : AddedCustomer { protected override int Index => 19; } public sealed class AddedCustomer20 : AddedCustomer { protected override int Index => 20; } public sealed class AddedCustomer21 : AddedCustomer { protected override int Index => 21; } public sealed class AddedCustomer22 : AddedCustomer { protected override int Index => 22; } public sealed class AddedCustomer23 : AddedCustomer { protected override int Index => 23; } public sealed class AddedCustomer24 : AddedCustomer { protected override int Index => 24; } public sealed class AddedCustomer25 : AddedCustomer { protected override int Index => 25; } public sealed class AddedCustomer26 : AddedCustomer { protected override int Index => 26; } public sealed class AddedCustomer27 : AddedCustomer { protected override int Index => 27; } public sealed class AddedCustomer28 : AddedCustomer { protected override int Index => 28; } public sealed class AddedCustomer29 : AddedCustomer { protected override int Index => 29; } public sealed class AddNpcsCore : MelonMod { private static MelonPreferences_Entry<int> _count; internal static Instance Log; private static bool Filter; private static int Skip = -1; internal static int Count => Math.Clamp(_count?.Value ?? 10, 0, 30); public override void OnInitializeMelon() { //IL_00ee: Unknown result type (might be due to invalid IL or missing references) //IL_00fb: Expected O, but got Unknown Log = ((MelonBase)this).LoggerInstance; try { _count = (MelonPreferences.GetCategory("AddNpcs") ?? MelonPreferences.CreateCategory("AddNpcs", "Add NPCs")).CreateEntry<int>("NumberOfNewCustomers", 10, "Number of new customers (1-30)", "How many new customers to add to Hyland Point, from 1 to 30 (0 turns them all off). Spread across every neighbourhood. Applies after a game restart.", false, false, (ValueValidator)null, (string)null); if (_count.Value < 0 || _count.Value > 30) { _count.Value = Math.Clamp(_count.Value, 0, 30); MelonPreferences.Save(); } MethodInfo methodInfo = typeof(NPC).Assembly.GetType("S1API.Internal.Utils.ReflectionUtils")?.GetMethod("AddDerivedTypes", BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); if (methodInfo == null) { Log.Error("Add NPCs: this S1API version isn't supported (no NPC scan found), so every added customer loads."); Filter = true; Skip = 0; } else { ((MelonBase)this).HarmonyInstance.Patch((MethodBase)methodInfo, (HarmonyMethod)null, new HarmonyMethod(typeof(AddNpcsCore), "DerivedPost", (Type[])null), (HarmonyMethod)null, (HarmonyMethod)null, (HarmonyMethod)null); } Log.Msg($"Add NPCs loaded: {Count} new customer{((Count == 1) ? "" : "s")} (change it in Mod Settings or MelonPreferences, 1-30, then restart)."); } catch (Exception ex) { Log.Error("Add NPCs couldn't start: " + ex.Message + ". It needs MelonLoader 0.7 and S1API (Bars fork) 3.2.3 or newer."); } } private static void DerivedPost(Type baseType, Assembly assembly, List<Type> derivedClasses) { if (derivedClasses == null || assembly != typeof(AddNpcsCore).Assembly) { return; } int keep = ((Skip >= 0) ? Skip : Count); Assembly mine = typeof(AddNpcsCore).Assembly; derivedClasses.RemoveAll(delegate(Type t) { if (t == null || t.Assembly != mine || t.IsAbstract) { return false; } string name = t.Name; int result; return name.StartsWith("AddedCustomer", StringComparison.Ordinal) && name.Length >= 15 && int.TryParse(name.Substring(13), out result) && result >= keep; }); } public override void OnSceneWasInitialized(int buildIndex, string sceneName) { if (sceneName == "Main") { DealSpots.Reset(); } } public override void OnUpdate() { DealSpots.Update(); } } internal static class DealSpots { private static float _next; private static bool _done; public static void Reset() { _done = false; _next = Time.unscaledTime + 15f; } public static void Update() { //IL_0092: Unknown result type (might be due to invalid IL or missing references) //IL_0097: Unknown result type (might be due to invalid IL or missing references) //IL_00c7: Unknown result type (might be due to invalid IL or missing references) //IL_00cc: Unknown result type (might be due to invalid IL or missing references) //IL_00ce: Unknown result type (might be due to invalid IL or missing references) //IL_00d3: Unknown result type (might be due to invalid IL or missing references) if (_done || Time.unscaledTime < _next) { return; } _next = Time.unscaledTime + 10f; try { Il2CppArrayBase<DeliveryLocation> val = Object.FindObjectsOfType<DeliveryLocation>(); if (val == null || val.Length == 0) { return; } int num = 0; int num2 = 0; foreach (NPC item in Object.FindObjectsOfType<NPC>()) { string text = null; try { text = ((item != null) ? item.ID : null); } catch { } if (text == null || !text.StartsWith("an_", StringComparison.Ordinal)) { continue; } num2++; Vector3 position = ((Component)item).transform.position; DeliveryLocation val2 = null; float num3 = float.MaxValue; foreach (DeliveryLocation item2 in val) { if (!((Object)(object)item2 == (Object)null)) { Vector3 val3 = ((Component)item2).transform.position - position; float sqrMagnitude = ((Vector3)(ref val3)).sqrMagnitude; if (sqrMagnitude < num3) { num3 = sqrMagnitude; val2 = item2; } } } if (!((Object)(object)val2 == (Object)null)) { OverrideCustomerDealLocation val4 = ((Component)item).gameObject.GetComponent<OverrideCustomerDealLocation>() ?? ((Component)item).gameObject.AddComponent<OverrideCustomerDealLocation>(); if ((Object)(object)val4.Location != (Object)(object)val2) { val4.Location = val2; num++; } } } if (num2 > 0) { _done = true; Instance log = AddNpcsCore.Log; if (log != null) { log.Msg($"Add NPCs: {num2} new customer(s) meet dealers at the town's own deal spots ({num} set)."); } } } catch (Exception ex) { Instance log2 = AddNpcsCore.Log; if (log2 != null) { log2.Warning("Add NPCs: deal spots (" + ex.Message + ")."); } _done = true; } } } internal sealed class Npc { public Region Region; public (DrugType, float)[] Drugs; public PersonSpec P; } internal sealed class PersonSpec { public string Id; public string First; public string Last; public float Gender; public float Height = 1f; public float Weight = 0.45f; public Color32 Skin = new Color32((byte)200, (byte)160, (byte)130, byte.MaxValue); public string Hair; public Color HairCol = new Color(0.1f, 0.07f, 0.05f); public string Face = "Avatar/Layers/Face/Face_Neutral"; public string Top = "Avatar/Layers/Top/T-Shirt"; public Color TopCol = Color.white; public string Bottom = "Avatar/Layers/Bottom/Jeans"; public Color BottomCol = new Color(0.12f, 0.14f, 0.2f); public string Shoes = "Avatar/Accessories/Feet/Sneakers/Sneakers"; public Color ShoeCol = Color.white; public string Head; public Color HeadCol = Color.black; public string Chest; public Color ChestCol = Color.black; public string Neck; public Color NeckCol = new Color(0.85f, 0.7f, 0.3f); public PropertyBase[] Likes = Array.Empty<PropertyBase>(); public float Affinity = 0.85f; public CustomerStandard Standards = (CustomerStandard)2; public float MinSpend = 400f; public float MaxSpend = 1100f; public int MinOrders = 2; public int MaxOrders = 4; public Day OrderDay = (Day)4; public int OrderTime = 1500; public string Hello; } internal static class Roster { public static readonly Npc[] All = new Npc[30] { new Npc { Region = (Region)0, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_rafael", First = "Rafael", Last = "Stone", Gender = 0f, Skin = new Color32((byte)190, (byte)140, (byte)105, byte.MaxValue), Weight = 0.4f, Hair = "Avatar/Hair/closebuzzcut/CloseBuzzCut", HairCol = new Color(0.08f, 0.06f, 0.05f), Face = "Avatar/Layers/Face/Face_SmugPout", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.95f, 0.95f, 0.97f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.12f, 0.12f, 0.15f), Shoes = "Avatar/Accessories/Feet/CombatBoots/CombatBoots", ShoeCol = new Color(0.08f, 0.07f, 0.06f), Neck = "Avatar/Accessories/Neck/GoldChain/GoldChain", Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Glowie, Property.Euphoric }, Standards = (CustomerStandard)2, MinSpend = 600f, MaxSpend = 1500f, OrderDay = (Day)4, OrderTime = 2200 } }, new Npc { Region = (Region)1, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_aurora", First = "Aurora", Last = "Vance", Gender = 1f, Skin = new Color32((byte)244, (byte)214, (byte)194, byte.MaxValue), Hair = "Avatar/Hair/highbun/HighBun", HairCol = new Color(0.98f, 0.92f, 0.78f), Face = "Avatar/Layers/Face/Face_OpenMouthSmile", Top = "Avatar/Layers/Top/Tucked T-Shirt", TopCol = new Color(0.98f, 0.8f, 0.9f), Bottom = "Avatar/Layers/Bottom/Jorts", BottomCol = new Color(0.9f, 0.9f, 0.92f), Shoes = "Avatar/Accessories/Feet/Sneakers/Sneakers", ShoeCol = new Color(0.98f, 0.98f, 0.98f), Head = "Avatar/Accessories/Head/SmallRoundGlasses/SmallRoundGlasses", HeadCol = new Color(0.9f, 0.72f, 0.3f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.AntiGravity, Property.Glowie }, Standards = (CustomerStandard)3, MinSpend = 900f, MaxSpend = 2200f, OrderDay = (Day)5, OrderTime = 2300 } }, new Npc { Region = (Region)2, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_theo", First = "Theo", Last = "Lark", Gender = 0f, Skin = new Color32((byte)226, (byte)186, (byte)152, byte.MaxValue), Weight = 0.5f, Hair = "Avatar/Hair/midfringe/MidFringe", HairCol = new Color(0.45f, 0.3f, 0.15f), Face = "Avatar/Layers/Face/Face_Smile", Top = "Avatar/Layers/Top/T-Shirt", TopCol = new Color(0.45f, 0.65f, 0.95f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.3f, 0.3f, 0.28f), Shoes = "Avatar/Accessories/Feet/Sneakers/Sneakers", ShoeCol = new Color(0.2f, 0.2f, 0.22f), Head = "Avatar/Accessories/Head/Cap/Cap", HeadCol = new Color(0.95f, 0.95f, 0.95f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Electrifying, Property.Energizing }, Standards = (CustomerStandard)2, MinSpend = 500f, MaxSpend = 1300f, OrderDay = (Day)3, OrderTime = 2100 } }, new Npc { Region = (Region)3, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_nova", First = "Nova", Last = "Kingsley", Gender = 1f, Skin = new Color32((byte)150, (byte)104, (byte)76, byte.MaxValue), Hair = "Avatar/Hair/afro/Afro", HairCol = new Color(0.1f, 0.07f, 0.05f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/RolledButtonUp", TopCol = new Color(0.98f, 0.9f, 0.6f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.2f, 0.25f, 0.4f), Shoes = "Avatar/Accessories/Feet/Flats/Flats", ShoeCol = new Color(0.9f, 0.72f, 0.3f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Calming, Property.ThoughtProvoking }, Standards = (CustomerStandard)1, MinSpend = 300f, MaxSpend = 900f, OrderDay = (Day)6, OrderTime = 1600 } }, new Npc { Region = (Region)4, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_luna", First = "Luna", Last = "Hayes", Gender = 1f, Skin = new Color32((byte)240, (byte)212, (byte)190, byte.MaxValue), Weight = 0.3f, Hair = "Avatar/Hair/fringeponytail/FringePonyTail", HairCol = new Color(0.85f, 0.75f, 0.55f), Face = "Avatar/Layers/Face/Face_Smile", Top = "Avatar/Layers/Top/V-Neck", TopCol = new Color(0.55f, 0.35f, 0.8f), BottomCol = new Color(0.25f, 0.3f, 0.45f), Shoes = "Avatar/Accessories/Feet/Sandals/Sandals", ShoeCol = new Color(0.45f, 0.3f, 0.18f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.ThoughtProvoking, Property.Glowie }, MinSpend = 600f, MaxSpend = 1400f, OrderDay = (Day)6, OrderTime = 1300 } }, new Npc { Region = (Region)5, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_jasper", First = "Jasper", Last = "Quinn", Gender = 0f, Skin = new Color32((byte)230, (byte)196, (byte)168, byte.MaxValue), Hair = "Avatar/Hair/longslicked/LongSlicked", HairCol = new Color(0.3f, 0.2f, 0.12f), Face = "Avatar/Layers/Face/Face_Neutral", Top = "Avatar/Layers/Top/RolledButtonUp", TopCol = new Color(0.85f, 0.82f, 0.75f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.35f, 0.32f, 0.25f), Head = "Avatar/Accessories/Head/SmallRoundGlasses/SmallRoundGlasses", HeadCol = new Color(0.7f, 0.55f, 0.25f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Cyclopean, Property.Electrifying }, Standards = (CustomerStandard)3, MinSpend = 800f, MaxSpend = 1800f, OrderDay = (Day)4, OrderTime = 2000 } }, new Npc { Region = (Region)0, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_willow", First = "Willow", Last = "Park", Gender = 1f, Skin = new Color32((byte)235, (byte)200, (byte)165, byte.MaxValue), Hair = "Avatar/Hair/doubletopknot/DoubleTopKnot", HairCol = new Color(0.06f, 0.05f, 0.05f), Face = "Avatar/Layers/Face/Face_OpenMouthSmile", Top = "Avatar/Layers/Top/Tucked T-Shirt", TopCol = new Color(0.4f, 0.8f, 0.7f), Bottom = "Avatar/Layers/Bottom/Jorts", BottomCol = new Color(0.4f, 0.5f, 0.65f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Sneaky, Property.Euphoric }, Standards = (CustomerStandard)1, MinSpend = 400f, MaxSpend = 950f, OrderDay = (Day)1, OrderTime = 1600 } }, new Npc { Region = (Region)1, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_nina", First = "Nina", Last = "Reyes", Gender = 1f, Skin = new Color32((byte)205, (byte)160, (byte)125, byte.MaxValue), Hair = "Avatar/Hair/longcurly/LongCurly", HairCol = new Color(0.12f, 0.07f, 0.04f), Face = "Avatar/Layers/Face/Face_OpenMouthSmile", Top = "Avatar/Layers/Top/Tucked T-Shirt", TopCol = new Color(0.95f, 0.55f, 0.35f), BottomCol = new Color(0.2f, 0.25f, 0.4f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Munchies, Property.Euphoric }, MinSpend = 500f, MaxSpend = 1200f, OrderDay = (Day)5, OrderTime = 1400 } }, new Npc { Region = (Region)2, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_marcus", First = "Marcus", Last = "Bell", Gender = 0f, Skin = new Color32((byte)120, (byte)82, (byte)60, byte.MaxValue), Weight = 0.5f, Hair = "Avatar/Hair/closebuzzcut/CloseBuzzCut", HairCol = new Color(0.05f, 0.04f, 0.03f), Face = "Avatar/Layers/Face/Face_Neutral", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.2f, 0.25f, 0.4f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.1f, 0.1f, 0.12f), Shoes = "Avatar/Accessories/Feet/CombatBoots/CombatBoots", ShoeCol = new Color(0.25f, 0.15f, 0.08f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Sedating, Property.Calming }, Standards = (CustomerStandard)3, MinSpend = 700f, MaxSpend = 1600f, OrderDay = (Day)2, OrderTime = 2100 } }, new Npc { Region = (Region)3, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_priya", First = "Priya", Last = "Shah", Gender = 1f, Skin = new Color32((byte)190, (byte)140, (byte)105, byte.MaxValue), Hair = "Avatar/Hair/lowbun/LowBun", HairCol = new Color(0.06f, 0.05f, 0.05f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/V-Neck", TopCol = new Color(0.5f, 0.75f, 0.95f), Bottom = "Avatar/Layers/Bottom/Jorts", BottomCol = new Color(0.4f, 0.5f, 0.65f), Shoes = "Avatar/Accessories/Feet/Sandals/Sandals", ShoeCol = new Color(0.5f, 0.35f, 0.2f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Refreshing, Property.BrightEyed }, Standards = (CustomerStandard)1, MinSpend = 400f, MaxSpend = 900f, OrderDay = (Day)0, OrderTime = 1200 } }, new Npc { Region = (Region)4, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_gus", First = "Gus", Last = "Kowalski", Gender = 0f, Skin = new Color32((byte)232, (byte)198, (byte)170, byte.MaxValue), Weight = 0.7f, Hair = "Avatar/Hair/balding/Balding", HairCol = new Color(0.45f, 0.35f, 0.25f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/FlannelButtonUp", TopCol = new Color(0.65f, 0.15f, 0.12f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.3f, 0.28f, 0.22f), Head = "Avatar/Accessories/Head/Cap/Cap", HeadCol = new Color(0.15f, 0.3f, 0.15f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.CalorieDense, Property.Energizing }, MinSpend = 450f, MaxSpend = 1100f, OrderDay = (Day)4, OrderTime = 1800 } }, new Npc { Region = (Region)5, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_marlo", First = "Marlo", Last = "Quinn", Gender = 0f, Skin = new Color32((byte)214, (byte)176, (byte)140, byte.MaxValue), Weight = 0.35f, Hair = "Avatar/Hair/longslicked/LongSlicked", HairCol = new Color(0.2f, 0.14f, 0.08f), Face = "Avatar/Layers/Face/Face_Smile", Top = "Avatar/Layers/Top/FlannelButtonUp", TopCol = new Color(0.55f, 0.2f, 0.6f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.25f, 0.3f, 0.45f), Shoes = "Avatar/Accessories/Feet/Sandals/Sandals", ShoeCol = new Color(0.4f, 0.28f, 0.16f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.ThoughtProvoking, Property.Euphoric }, Standards = (CustomerStandard)2, MinSpend = 500f, MaxSpend = 1300f, OrderDay = (Day)5, OrderTime = 2100 } }, new Npc { Region = (Region)0, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_saffron", First = "Saffron", Last = "Bell", Gender = 1f, Skin = new Color32((byte)240, (byte)208, (byte)186, byte.MaxValue), Hair = "Avatar/Hair/doubletopknot/DoubleTopKnot", HairCol = new Color(0.95f, 0.45f, 0.7f), Face = "Avatar/Layers/Face/Face_OpenMouthSmile", Top = "Avatar/Layers/Top/V-Neck", TopCol = new Color(0.2f, 0.8f, 0.75f), Bottom = "Avatar/Layers/Bottom/Jorts", BottomCol = new Color(0.35f, 0.45f, 0.65f), Shoes = "Avatar/Accessories/Feet/Sneakers/Sneakers", ShoeCol = new Color(0.98f, 0.9f, 0.3f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Glowie, Property.BrightEyed }, Standards = (CustomerStandard)3, MinSpend = 700f, MaxSpend = 1700f, OrderDay = (Day)4, OrderTime = 2200 } }, new Npc { Region = (Region)1, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_dez", First = "Dez", Last = "Ortega", Gender = 0f, Skin = new Color32((byte)176, (byte)126, (byte)92, byte.MaxValue), Weight = 0.5f, Hair = "Avatar/Hair/Spiky/Spiky", HairCol = new Color(0.06f, 0.05f, 0.04f), Face = "Avatar/Layers/Face/Face_SmugPout", Top = "Avatar/Layers/Top/T-Shirt", TopCol = new Color(0.1f, 0.1f, 0.12f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.3f, 0.32f, 0.25f), Shoes = "Avatar/Accessories/Feet/CombatBoots/CombatBoots", ShoeCol = new Color(0.08f, 0.06f, 0.05f), Head = "Avatar/Accessories/Head/Beanie/Beanie", HeadCol = new Color(0.85f, 0.25f, 0.2f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.AntiGravity, Property.Energizing }, Standards = (CustomerStandard)3, MinSpend = 800f, MaxSpend = 2000f, OrderDay = (Day)3, OrderTime = 2300 } }, new Npc { Region = (Region)2, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_wren", First = "Wren", Last = "Holloway", Gender = 1f, Skin = new Color32((byte)226, (byte)190, (byte)160, byte.MaxValue), Hair = "Avatar/Hair/lowbun/LowBun", HairCol = new Color(0.65f, 0.5f, 0.3f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/Tucked T-Shirt", TopCol = new Color(0.85f, 0.85f, 0.6f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.15f, 0.18f, 0.25f), Head = "Avatar/Accessories/Head/BucketHat/BucketHat", HeadCol = new Color(0.4f, 0.55f, 0.35f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Calming, Property.Refreshing }, Standards = (CustomerStandard)1, MinSpend = 300f, MaxSpend = 900f, OrderDay = (Day)6, OrderTime = 1500 } }, new Npc { Region = (Region)3, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_vivian", First = "Vivian", Last = "Cole", Gender = 1f, Skin = new Color32((byte)240, (byte)210, (byte)188, byte.MaxValue), Hair = "Avatar/Hair/longslicked/LongSlicked", HairCol = new Color(0.85f, 0.75f, 0.5f), Face = "Avatar/Layers/Face/Face_SmugPout", Top = "Avatar/Layers/Top/V-Neck", TopCol = new Color(0.1f, 0.1f, 0.12f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.08f, 0.08f, 0.1f), Shoes = "Avatar/Accessories/Feet/Flats/Flats", ShoeCol = new Color(0.6f, 0.1f, 0.15f), Neck = "Avatar/Accessories/Neck/GoldChain/GoldChain", NeckCol = new Color(0.9f, 0.75f, 0.35f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Energizing, Property.Euphoric }, Standards = (CustomerStandard)3, MinSpend = 900f, MaxSpend = 2200f, OrderDay = (Day)4, OrderTime = 2200 } }, new Npc { Region = (Region)4, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_reggie", First = "Reggie", Last = "Okafor", Gender = 0f, Skin = new Color32((byte)98, (byte)66, (byte)48, byte.MaxValue), Weight = 0.4f, Hair = "Avatar/Hair/closebuzzcut/CloseBuzzCut", HairCol = new Color(0.04f, 0.03f, 0.03f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.55f, 0.1f, 0.2f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.12f, 0.12f, 0.14f), Chest = "Avatar/Accessories/Chest/CollarJacket/CollarJacket", ChestCol = new Color(0.1f, 0.1f, 0.12f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.BrightEyed, Property.Focused }, Standards = (CustomerStandard)3, MinSpend = 1000f, MaxSpend = 2500f, OrderDay = (Day)3, OrderTime = 2100 } }, new Npc { Region = (Region)5, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_juno", First = "Juno", Last = "Park", Gender = 1f, Skin = new Color32((byte)225, (byte)192, (byte)160, byte.MaxValue), Hair = "Avatar/Hair/doubletopknot/DoubleTopKnot", HairCol = new Color(0.2f, 0.75f, 0.8f), Face = "Avatar/Layers/Face/Face_OpenMouthSmile", Top = "Avatar/Layers/Top/T-Shirt", TopCol = new Color(0.98f, 0.4f, 0.7f), Bottom = "Avatar/Layers/Bottom/Jorts", BottomCol = new Color(0.3f, 0.4f, 0.6f), Shoes = "Avatar/Accessories/Feet/Sneakers/Sneakers", ShoeCol = new Color(0.95f, 0.95f, 0.95f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.ThoughtProvoking, Property.Euphoric }, MinSpend = 500f, MaxSpend = 1300f, OrderDay = (Day)5, OrderTime = 2300 } }, new Npc { Region = (Region)0, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_howard", First = "Howard", Last = "Pryce", Gender = 0f, Skin = new Color32((byte)236, (byte)205, (byte)182, byte.MaxValue), Weight = 0.7f, Hair = "Avatar/Hair/balding/Balding", HairCol = new Color(0.55f, 0.55f, 0.55f), Face = "Avatar/Layers/Face/Face_Neutral", Top = "Avatar/Layers/Top/RolledButtonUp", TopCol = new Color(0.75f, 0.82f, 0.95f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.4f, 0.36f, 0.3f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Calming, Property.Sedating }, Standards = (CustomerStandard)2, MinSpend = 600f, MaxSpend = 1400f, OrderDay = (Day)0, OrderTime = 1900 } }, new Npc { Region = (Region)1, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_nadia", First = "Nadia", Last = "Petrova", Gender = 1f, Skin = new Color32((byte)236, (byte)206, (byte)186, byte.MaxValue), Weight = 0.3f, Hair = "Avatar/Hair/lowbun/LowBun", HairCol = new Color(0.12f, 0.08f, 0.06f), Face = "Avatar/Layers/Face/Face_NeutralPout", Top = "Avatar/Layers/Top/T-Shirt", TopCol = new Color(0.45f, 0.1f, 0.12f), BottomCol = new Color(0.1f, 0.1f, 0.12f), Chest = "Avatar/Accessories/Chest/CollarJacket/CollarJacket", ChestCol = new Color(0.08f, 0.08f, 0.09f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Sedating, Property.Calming }, MinSpend = 500f, MaxSpend = 1300f, OrderDay = (Day)3, OrderTime = 2100 } }, new Npc { Region = (Region)2, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_hank", First = "Hank", Last = "Mullins", Gender = 0f, Skin = new Color32((byte)222, (byte)178, (byte)150, byte.MaxValue), Weight = 0.75f, Hair = "Avatar/Hair/balding/Balding", HairCol = new Color(0.4f, 0.3f, 0.2f), Face = "Avatar/Layers/Face/Face_Agitated", Top = "Avatar/Layers/Top/Overalls", TopCol = new Color(0.2f, 0.3f, 0.5f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.2f, 0.28f, 0.45f), Shoes = "Avatar/Accessories/Feet/CombatBoots/CombatBoots", ShoeCol = new Color(0.3f, 0.2f, 0.12f), Head = "Avatar/Accessories/Head/Beanie/Beanie", HeadCol = new Color(0.55f, 0.1f, 0.08f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Euphoric, Property.Foggy }, Standards = (CustomerStandard)1, MinSpend = 400f, MaxSpend = 1000f, OrderDay = (Day)0, OrderTime = 1800 } }, new Npc { Region = (Region)3, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_rosa", First = "Rosa", Last = "Delgado", Gender = 1f, Skin = new Color32((byte)190, (byte)140, (byte)105, byte.MaxValue), Hair = "Avatar/Hair/longslicked/LongSlicked", HairCol = new Color(0.08f, 0.05f, 0.04f), Face = "Avatar/Layers/Face/Face_SmugPout", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.85f, 0.3f, 0.1f), BottomCol = new Color(0.12f, 0.12f, 0.14f), Neck = "Avatar/Accessories/Neck/GoldChain/GoldChain", Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Spicy, Property.Energizing }, Standards = (CustomerStandard)3, MinSpend = 700f, MaxSpend = 1600f, OrderDay = (Day)5, OrderTime = 2200 } }, new Npc { Region = (Region)4, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_leon", First = "Leon", Last = "Hartley", Gender = 0f, Skin = new Color32((byte)120, (byte)84, (byte)62, byte.MaxValue), Hair = "Avatar/Hair/afro/Afro", HairCol = new Color(0.05f, 0.04f, 0.03f), Face = "Avatar/Layers/Face/Face_Neutral", Top = "Avatar/Layers/Top/V-Neck", TopCol = new Color(0.9f, 0.88f, 0.84f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.3f, 0.28f, 0.22f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.AntiGravity, Property.Euphoric }, MinSpend = 550f, MaxSpend = 1200f, OrderDay = (Day)2, OrderTime = 1900 } }, new Npc { Region = (Region)5, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_dante", First = "Dante", Last = "Brooks", Gender = 0f, Skin = new Color32((byte)110, (byte)76, (byte)56, byte.MaxValue), Weight = 0.45f, Hair = "Avatar/Hair/afro/Afro", HairCol = new Color(0.05f, 0.04f, 0.03f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/FlannelButtonUp", TopCol = new Color(0.25f, 0.35f, 0.6f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.12f, 0.12f, 0.15f), Shoes = "Avatar/Accessories/Feet/CombatBoots/CombatBoots", ShoeCol = new Color(0.2f, 0.13f, 0.08f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Euphoric, Property.Calming }, Standards = (CustomerStandard)1, MinSpend = 300f, MaxSpend = 800f, OrderDay = (Day)4, OrderTime = 2000 } }, new Npc { Region = (Region)0, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_kayla", First = "Kayla", Last = "Wynn", Gender = 1f, Skin = new Color32((byte)238, (byte)205, (byte)180, byte.MaxValue), Hair = "Avatar/Hair/messybob/MessyBob", HairCol = new Color(0.55f, 0.3f, 0.65f), Face = "Avatar/Layers/Face/Face_OpenMouthSmile", Top = "Avatar/Layers/Top/V-Neck", TopCol = new Color(0.1f, 0.1f, 0.12f), Bottom = "Avatar/Layers/Bottom/Jorts", BottomCol = new Color(0.35f, 0.45f, 0.6f), Shoes = "Avatar/Accessories/Feet/Sneakers/Sneakers", ShoeCol = new Color(0.9f, 0.3f, 0.4f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Glowie, Property.Energizing }, Standards = (CustomerStandard)3, MinSpend = 600f, MaxSpend = 1500f, OrderDay = (Day)5, OrderTime = 2200 } }, new Npc { Region = (Region)1, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)0, 0.35f) }, P = new PersonSpec { Id = "an_walt", First = "Walt", Last = "Hennig", Gender = 0f, Skin = new Color32((byte)228, (byte)190, (byte)160, byte.MaxValue), Weight = 0.65f, Hair = "Avatar/Hair/receding/Receding", HairCol = new Color(0.62f, 0.6f, 0.58f), Face = "Avatar/Layers/Face/Face_Neutral", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.55f, 0.45f, 0.3f), Bottom = "Avatar/Layers/Bottom/CargoPants", BottomCol = new Color(0.25f, 0.22f, 0.18f), Head = "Avatar/Accessories/Head/FlatCap/FlatCap", HeadCol = new Color(0.3f, 0.25f, 0.2f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.ThoughtProvoking, Property.Sedating }, Standards = (CustomerStandard)3, MinSpend = 700f, MaxSpend = 1800f, OrderDay = (Day)6, OrderTime = 1600 } }, new Npc { Region = (Region)2, Drugs = new(DrugType, float)[2] { ((DrugType)2, 0.85f), ((DrugType)1, 0.35f) }, P = new PersonSpec { Id = "an_tasha", First = "Tasha", Last = "Lin", Gender = 1f, Skin = new Color32((byte)222, (byte)186, (byte)150, byte.MaxValue), Hair = "Avatar/Hair/fringeponytail/FringePonyTail", HairCol = new Color(0.08f, 0.06f, 0.05f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/Tucked T-Shirt", TopCol = new Color(0.95f, 0.85f, 0.4f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.2f, 0.25f, 0.4f), Head = "Avatar/Accessories/Head/BucketHat/BucketHat", HeadCol = new Color(0.2f, 0.45f, 0.25f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Munchies, Property.Focused }, MinSpend = 400f, MaxSpend = 1000f, OrderDay = (Day)1, OrderTime = 1300 } }, new Npc { Region = (Region)3, Drugs = new(DrugType, float)[2] { ((DrugType)4, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_dolores", First = "Dolores", Last = "Finch", Gender = 1f, Skin = new Color32((byte)232, (byte)196, (byte)170, byte.MaxValue), Weight = 0.4f, Hair = "Avatar/Hair/highbun/HighBun", HairCol = new Color(0.55f, 0.18f, 0.1f), Face = "Avatar/Layers/Face/Face_SlightSmile", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.55f, 0.75f, 0.8f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.12f, 0.12f, 0.15f), Shoes = "Avatar/Accessories/Feet/Flats/Flats", ShoeCol = new Color(0.1f, 0.1f, 0.1f), Chest = null, Neck = null, Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Refreshing, Property.Calming }, Standards = (CustomerStandard)2, MinSpend = 200f, MaxSpend = 600f, MinOrders = 3, MaxOrders = 6, OrderDay = (Day)0, OrderTime = 1500, Hello = "Dolores here, from the diner. Vern says you make menthols. Thank goodness." } }, new Npc { Region = (Region)4, Drugs = new(DrugType, float)[2] { ((DrugType)0, 0.85f), ((DrugType)2, 0.35f) }, P = new PersonSpec { Id = "an_buck", First = "Buck", Last = "Tanner", Gender = 0f, Skin = new Color32((byte)200, (byte)150, (byte)115, byte.MaxValue), Weight = 0.8f, Hair = "Avatar/Hair/buzzcut/BuzzCut", HairCol = new Color(0.25f, 0.18f, 0.1f), Face = "Avatar/Layers/Face/Face_Neutral", Top = "Avatar/Layers/Top/T-Shirt", TopCol = new Color(0.85f, 0.85f, 0.8f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.2f, 0.28f, 0.45f), Shoes = "Avatar/Accessories/Feet/CombatBoots/CombatBoots", ShoeCol = new Color(0.3f, 0.2f, 0.12f), Head = "Avatar/Accessories/Head/Cap/Cap", HeadCol = new Color(0.12f, 0.3f, 0.15f), Chest = "Avatar/Accessories/Chest/CollarJacket/CollarJacket", ChestCol = new Color(0.3f, 0.2f, 0.12f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.Calming, Property.Focused }, Standards = (CustomerStandard)1, MinSpend = 200f, MaxSpend = 550f, MinOrders = 4, MaxOrders = 7, OrderDay = (Day)2, OrderTime = 700, Hello = "Buck. I drive a truck. I need a pack of Reds for every two hundred miles. Do the math." } }, new Npc { Region = (Region)5, Drugs = new(DrugType, float)[2] { ((DrugType)1, 0.85f), ((DrugType)4, 0.35f) }, P = new PersonSpec { Id = "an_lyle", First = "Lyle", Last = "Cosgrove", Gender = 0f, Skin = new Color32((byte)236, (byte)204, (byte)182, byte.MaxValue), Weight = 0.55f, Height = 1.03f, Hair = "Avatar/Hair/receding/Receding", HairCol = new Color(0.85f, 0.85f, 0.83f), Face = "Avatar/Layers/Face/Face_SmugPout", Top = "Avatar/Layers/Top/Buttonup", TopCol = new Color(0.92f, 0.92f, 0.9f), Bottom = "Avatar/Layers/Bottom/Jeans", BottomCol = new Color(0.15f, 0.15f, 0.18f), Shoes = "Avatar/Accessories/Feet/DressShoes/DressShoes", ShoeCol = new Color(0.12f, 0.07f, 0.04f), Chest = "Avatar/Accessories/Chest/Blazer/Blazer", ChestCol = new Color(0.12f, 0.16f, 0.3f), Head = "Avatar/Accessories/Head/SmallRoundGlasses/SmallRoundGlasses", HeadCol = new Color(0.7f, 0.55f, 0.2f), Likes = (PropertyBase[])(object)new PropertyBase[2] { Property.ThoughtProvoking, Property.Sedating }, Standards = (CustomerStandard)3, MinSpend = 400f, MaxSpend = 1100f, MinOrders = 2, MaxOrders = 4, OrderDay = (Day)6, OrderTime = 1400, Hello = "Lyle Cosgrove. Retired. I'm told you roll a decent cigar. I'll be the judge of that." } } }; } internal static class Spots { private static readonly Dictionary<Region, Vector3[]> Known = new Dictionary<Region, Vector3[]> { { (Region)0, (Vector3[])(object)new Vector3[11] { new Vector3(-79.15f, -3.9f, 131.81f), new Vector3(-47.28f, -5f, 164.27f), new Vector3(-25.58f, -4f, 158.57f), new Vector3(-22.53f, -3.9f, 145.91f), new Vector3(-3.47f, -4.01f, 118.9f), new Vector3(-30.81f, 0f, 112.72f), new Vector3(-55.75f, 0.1f, 104.31f), new Vector3(-35.23f, 0f, 84.66f), new Vector3(-45.14f, 0.1f, 74.2f), new Vector3(-29.19f, 0f, 35.77f), new Vector3(-25.55f, -3.91f, 124.32f) } }, { (Region)1, (Vector3[])(object)new Vector3[8] { new Vector3(-75.17f, -2.5f, 40.53f), new Vector3(-136.78f, -5.3f, 19.92f), new Vector3(-136.83f, -3.9f, 41.51f), new Vector3(-110.38f, -4f, 54.85f), new Vector3(-62.17f, -2.5f, 41.87f), new Vector3(-143.37f, -3.9f, 114.33f), new Vector3(-142.2f, -3.3f, 106.21f), new Vector3(-85.14f, -5.4f, 66.74f) } }, { (Region)2, (Vector3[])(object)new Vector3[8] { new Vector3(-10.1f, 0f, 88.49f), new Vector3(8.14f, 0.1f, 92.95f), new Vector3(46.65f, 0f, 101.49f), new Vector3(46.02f, 0.09f, 67.18f), new Vector3(-11.74f, 0.05f, 34.57f), new Vector3(-11.27f, -4.45f, -2.32f), new Vector3(0.93f, 0f, -5.28f), new Vector3(-32.73f, -2.4f, 16.76f) } }, { (Region)3, (Vector3[])(object)new Vector3[4] { new Vector3(-73.26f, -2.4f, -49.61f), new Vector3(-97.3f, -2.5f, -37.24f), new Vector3(-54.58f, -2.4f, -85.19f), new Vector3(-10.37f, 0f, -115.58f) } }, { (Region)4, (Vector3[])(object)new Vector3[7] { new Vector3(83.45f, 4f, -122.29f), new Vector3(80.31f, 0f, -21.03f), new Vector3(111.12f, 4f, -112.47f), new Vector3(19.55f, 0f, -83.37f), new Vector3(47.39f, 0f, -4.88f), new Vector3(75.66f, 4f, -77.89f), new Vector3(39.76f, 0f, -42.2f) } }, { (Region)5, (Vector3[])(object)new Vector3[6] { new Vector3(80f, 0f, 36.59f), new Vector3(123.68f, 0.1f, 22.84f), new Vector3(108.4f, 0f, 69.49f), new Vector3(71.71f, 0.09f, 24.63f), new Vector3(81.23f, 0.09f, 67.03f), new Vector3(136.11f, 0f, 31.1f) } } }; public static Vector3[] For(Region region, int index) { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_0056: Unknown result type (might be due to invalid IL or missing references) //IL_006b: Unknown result type (might be due to invalid IL or missing references) //IL_0070: Unknown result type (might be due to invalid IL or missing references) //IL_008c: Unknown result type (might be due to invalid IL or missing references) //IL_0091: Unknown result type (might be due to invalid IL or missing references) //IL_0093: Unknown result type (might be due to invalid IL or missing references) //IL_0098: Unknown result type (might be due to invalid IL or missing references) if (!Known.TryGetValue(region, out var value) || value.Length == 0) { value = Known[(Region)1]; } int num = value.Length; int num2 = index / 6; int num3 = num2 * num / 5 % num; int num4 = ((num2 % 2 == 0) ? 1 : (num - 1)); float num5 = (float)index * 2.39996f; Vector3 val = new Vector3(Mathf.Cos(num5), 0f, Mathf.Sin(num5)) * (0.9f + (float)(index % 3) * 0.3f); Vector3[] array = (Vector3[])(object)new Vector3[6]; for (int i = 0; i < 6; i++) { array[i] = value[(num3 + i * num4) % num] + val; } return array; } } }