[1.1.2589 rev740] Bug? Only one pawn can unload animal at a time

Started by LWM, March 30, 2020, 11:44:05 PM

Previous topic - Next topic

LWM

Only one pawn can unload an animal at a time.  (This is in large part, as far as I can tell, due to the fact the reservation system does not handle un-spawned Things).

Currently, this leads to situations where one pawn unloads something from an alpaca, and the player selects a different pawn and prioritizes unloading the next thing from the alpaca, and the first pawn's Job is canceled and they drop what they were carrying!  On the ground.  Usually in the rain.

However, game flow will be more natural if, after each pawn takes an item from the pack animal's pack, they release the reservation on the animal.  Adding a quick this.pawn.ClearReservationsForJob(driver.pawn.CurJob); (or equivalent) to the beginning of JobDriver_UnloadInventory's 3rd toil would accomplish this.

I'm not sure where you are drawing the line for "bug," but this is an easy change.

(I've also put this in my "Minor Changes" mod, if it doesn't get changed and anyone wants)

--LWM

ison