[1.1] Job queue clearing between queued jobs

Started by Horologium, March 05, 2020, 10:03:24 PM

Previous topic - Next topic

Horologium

I am running into an odd issue. No errors in logs, but if I queue X jobs to a pawn (nothing specific) and that pawn finishes the first job:
-IF the next queued job is less priority than another work assignment (i.e. cooking is at 1 and they can cook but their next queue is hauling a stack of steel with hauling at any priority less) the colonist will empty their work queue and go back to working on the higher priority job

Tynan

Can you give some specific concrete steps to reproduce the issue?
Tynan Sylvester - @TynanSylvester - Tynan's Blog

UltimateTobi

I noticed this as well; colonists won't necessarily finish queued orders. I think they evaluate their priorities after every done task. Although this behaviour doesn't apply for tasks done at any work station.

Steps to reproduce:
1. Place down some walls.
2. have a pawn with Construction on 2 and Cleaning on 1 (or any other Work that can be done at the time, say Cooking).
3. Order this colonist to build every wall section via shift-click.
4. Most likely he'll/she'll finish the first section and then return to his/her highest priority task, instead of finishing the queue.
Your generic Steam user.

Horologium

#3
I am sorry for not posting more information, I got called away and was not able to finish.

You can replicate the issue with UltimateTobi's steps, however in essence any jobs can be used as long as the next queued job is less priority than at least one of there other jobs.

I have been able to notice this the most using any job followed by queuing hauling jobs.

1. Have the colonist start any job. I usually did something like constructing a wall or power conduit. This first job does not need to be higher priority in fact; but at least one job does in order to replicate the issue. (i.e. construction may be lower but cooking is higher).

2. Queue the job to haul at least 1 item to a stockpile. Stockpile settings do not matter, as long as hauling is lower than another one of your jobs as mentioned above. Additional items can be queued if you want, but the whole queue empties so is not necessary as far as I know.

3. When the pawn finishes the first job, they may complete the first queued item before the queue empties, in any case this is the point where the pawn will go to any job they are assigned to that is higher than the priority of their hauling work.

For instance, I had a pawn building a pool table, and was queued to haul three stone chunks with construction at 2 and hauling at 4.

He finished the table, then began constructing a steel vent, the queued work being emptied. I then queued the hauling jobs again, but after he finished the vent he began hunting as hunting was at 1.

This doesn't seem to affect specific colonists, as I tried changing work orders around to see if it was and all of my colonists had this issue. I have double checked the logs, but there are no red or yellow messages.

Hope this helps!

Mulford

We've looked into this and it appears to be related to how construction jobs are queued generally. When queueing a prioritization to work on a blueprint you are in fact queueing the specific job of hauling resources to that blueprint, not end-to-end construction. Admittedly that can be confusing behaviour but we will lock this for now.