public static void GenerateNewGearFor(Pawn pawn, int mapTile) { // All default, except kindDef, faction and forceAddFreeWarmLayerIfNeeded var request = new PawnGenerationRequest(pawn.kindDef, pawn.Faction, PawnGenerationContext.NonPlayer, mapTile, false, false, false, false, true, false, 1, true, true, true, false, false, false, false, false, 0, null, 0.7f, null, null, null); PawnGenerator.RedressPawn(pawn, request); }