Ejemplo n.º 1
0
        public override Job JobOnThing(Pawn pawn, Thing thing)
        {
            var job = base.JobOnThing(pawn, thing);

            if (job == null)
            {
                return(null);
            }
            if ((job.def != JobDefOf.DoBill) || job.targetQueueB[0].Thing.def.isUnfinishedThing)
            {
                return(job);
            }
            return(AcEnhancedHauling.SmartBill(pawn, job));
        }
Ejemplo n.º 2
0
        public override Job JobOnThing(Pawn pawn, Thing t)
        {
            var job = base.JobOnThing(pawn, t);

            if (job == null)
            {
                return(null);
            }
            if (job.def != JobDefOf.HaulToContainer)
            {
                return(job);
            }
            return(AcEnhancedHauling.SmartBuild(pawn, job));
        }