private void ml_form_garrison_detachment_consequence(MenuCallbackArgs args, PatrolData dat) { List <InquiryElement> inq = MenuUtils.AssemblePatrolSizes(dat); InformationManager.ShowMultiSelectionInquiry(new MultiSelectionInquiryData(new TextObject("{=ml.patrol.size.select}Select Size").ToString(), new TextObject("{=ml.patrol.size.select.desc}Select the size of the patrol you want.").ToString(), inq, true, 1, "Name and purchase", "Cancel", delegate(List <InquiryElement> selection) { if (selection != null) { if (selection.Count != 0) { InformationManager.ShowTextInquiry(new TextInquiryData(new TextObject("{=ml.name.patrol}Select your patrol's name: ", null).ToString(), string.Empty, true, false, GameTexts.FindText("str_done", null).ToString(), null, delegate(string str) { TownPatrolData newPatrol = SpawnTownPatrol(str, selection[0].Title.ToLower(), dat, true); this._mlTownPatrols[Settlement.CurrentSettlement.StringId].Add(newPatrol); InformationManager.HideInquiry(); }, null, false, null, "", Settlement.CurrentSettlement.Name.ToString() + " " + dat.name)); } } }, delegate(List <InquiryElement> selection) { InformationManager.HideInquiry(); })); }