private void HeroineCare() { List <Maid> maids = GameMain.Instance.CharacterMgr.GetStockMaidList(); foreach (var maid in maids) { PersonalUtill.SetPersonalCare(maid); } }
public string[] ContractNames; //= new string[] { "radio1", "radio2", "radio3" }; //public bool rndHeroine = true; //public int selGridHeroine = 0; //public string[] HeroineNames;//= new string[] { "radio1", "radio2", "radio3" }; public override void ActionsStart() { MyLog.LogMessage("GUIMaidEdit.ActionsStart"); //base.Start(); PersonalNames = PersonalUtill.GetPersonalData().Select((x) => x.uniqueName).ToArray(); ContractNames = new string[] { "Random", "Exclusive", "Free" }; // HeroineNames = new string[] { "Random", "Original", "Transfer" }; // Contract.Exclusive., Contract.Trainee // Original = 0, // Sub = 1, // Transfer = 2 }
private void AddStockMaid() { if (configEntryUtill["AddStockMaid"]) { MyLog.LogMessage("GUIMaidEdit.AddStockMaid"); } Maid maid = GameMain.Instance.CharacterMgr.AddStockMaid(); if (rndPersonal) { selGridPersonal = PersonalUtill.SetPersonalRandom(maid); } else { PersonalUtill.SetPersonal(maid, selGridPersonal); } switch (selGridContract) { case 1: maid.status.contract = Contract.Exclusive; break; case 2: maid.status.contract = Contract.Free; break; default: maid.status.contract = MyUtill.RandomEnum(Contract.Trainee); break; } if (_SetMaidStatusOnOff.Value) { CheatUtill.SetMaidAll(maid); } #if PresetUtill PresetUtill.RandPreset(maid); #endif if (configEntryUtill["AddStockMaid"]) { MyLog.LogMessage("GUIMaidEdit.AddStockMaid", MyUtill.GetMaidFullName(maid)); } }