public override string GetReport() { IntVec3 destLoc = pawn.jobs.curJob.targetB.Loc; Thing hauledThing = null; if (pawn.carryHands.CarriedThing != null) { hauledThing = pawn.carryHands.CarriedThing; } else { hauledThing = TargetThingA; } string destName = null; SlotGroup destGroup = StoreUtility.ContainingSlotGroup(destLoc); if (destGroup != null) { destName = destGroup.parent.SlotYielderLabel(); } string repString; if (destName != null) { repString = "ReportHaulingTo".Translate(hauledThing.Label, destName); } else { repString = "ReportHauling".Translate(hauledThing.Label); } return(repString); }