private static IEnumerable <Toil> Postfix(IEnumerable <Toil> values, JobDriver_Ingest __instance, Toil chewToil) { LocalTargetInfo food = __instance.job.GetTarget(TargetIndex.A);; foreach (Toil baseToil in values) { if (carryToils.Contains(baseToil)) { carryToils.Remove(baseToil); foreach (Toil toil in HeatMealInjector.Heat(__instance)) { yield return(toil); } } yield return(baseToil); } if (food.Thing.def.IsDrug) { foreach (Toil toil in HeatMealInjector.Heat(__instance)) { yield return(toil); } yield return(Toils_Ingest.FindAdjacentEatSurface(TargetIndex.B, TargetIndex.A)); } yield break; }