public bool TryStartParty()
        {
            Pawn    pawn = PartyUtility.FindRandomPartyOrganizer(Faction.OfPlayer, this.map);
            bool    result;
            IntVec3 intVec;

            if (pawn == null)
            {
                result = false;
            }
            else if (!RCellFinder.TryFindPartySpot(pawn, out intVec))
            {
                result = false;
            }
            else
            {
                LordMaker.MakeNewLord(pawn.Faction, new LordJob_Joinable_Party(intVec, pawn), this.map, null);
                Find.LetterStack.ReceiveLetter("LetterLabelNewParty".Translate(), "LetterNewParty".Translate(new object[]
                {
                    pawn.LabelShort
                }), LetterDefOf.PositiveEvent, new TargetInfo(intVec, this.map, false), null, null);
                this.lastLordStartTick = Find.TickManager.TicksGame;
                this.startPartyASAP    = false;
                result = true;
            }
            return(result);
        }
        public bool TryStartParty()
        {
            Pawn pawn = PartyUtility.FindRandomPartyOrganizer(Faction.OfPlayer, map);

            if (pawn == null)
            {
                return(false);
            }
            if (!RCellFinder.TryFindPartySpot(pawn, out IntVec3 result))
            {
                return(false);
            }
            LordMaker.MakeNewLord(pawn.Faction, new LordJob_Joinable_Party(result, pawn), map);
            Find.LetterStack.ReceiveLetter("LetterLabelNewParty".Translate(), "LetterNewParty".Translate(pawn.LabelShort, pawn), LetterDefOf.PositiveEvent, new TargetInfo(result, map));
            lastLordStartTick = Find.TickManager.TicksGame;
            startPartyASAP    = false;
            return(true);
        }