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)); } }