public override void SetBody()
        {
            GUILayout.Label("now scene.name : " + Lilly.scene.name);

            PresetUtill.SetButtonList();

            GUI.enabled = true;
            //if (GUILayout.Button("mod reflash")) modreflash();
        }
Exemplo n.º 2
0
        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));
            }
        }