Strange pawn pathfinding for consuming a meal?

Started by Zoppa, September 10, 2016, 06:45:45 PM

Previous topic - Next topic

Zoppa

Since the beginning of my game, I noticed a lot of "interrupted sleep" debuffs on my colonists. After a short observation, I noticed that colonists were using the tables in other colonists rooms to have a meal.

At first, I though this was just because the rooms being used were right across the fridge/kitchen. So I reversed the rooms and put the doors on the other side. Then I created a common/rec room closer to the fridge. But strangely, this didn't help. I even started barring of the bedrooms even more (see screenshot), but to no avail :(

It almost looks like some colonists are 'bound' to certain tables?! Whereas I would assume they'd choose the closest table available? I.e. in the screenshot: I would assume Snap to run to the red marked area, but instead he runs a huge detour to a seemingly random bedroom pretty far away. Is he still thinking the bedroom is closer and ignores the detour to reach it?

Anyone seen similar behaviour? Am I missing something here or does this qualify as a bug?

[attachment deleted by admin - too old]

Aatxe360

Looks like they have chosen the closest table even if it takes longer to get there.

Zeneth

This doesn't really relate to the thread, but do you have a pet turtle for all of your colonists?

Zoppa

Quote from: Zeneth on September 10, 2016, 07:10:02 PM
This doesn't really relate to the thread, but do you have a pet turtle for all of your colonists?

Euhm, kind of yeah...I had (or still have) a couple of adult turtles that recently had some baby turtles...7 or so minus the one eaten by a random timber wolf ^^




It seems that they indeed choose the closest table, regardless of the path to it...sounds more like a bug then...

Serenity

Finding the closest table "as the crow flies" is faster to calculate than finding and comparing the paths to every possible table. So this might have been done on purpose.

There is also the issue of pawns not locking their doors when sleeping. So their tables aren't off limits. There was a mod that did this, but that had its own issues with shared bedrooms and pets in rooms.

buttflexspireling

  I don't have any experience pathfinding to tables but I did have a lone starting colonist have trouble switching between hauling and dropping off starting supplies at an indoor supply depot. I could understand if the situation was for housing inmates in an abandoned mine. Even so, it quickly became apparent that I was going to have to micro-manage the scenario.
  The darned trouble was that he would haul supplies to the designated spot and construct the home in between hauling jobs. Please bear in mind that the distance travelled consisted of half the map legend itself. My colonist had no prisons in abandoned mines and didn't have a farm set-up.

Grishnerf

and just a tip: dont build tables in sleeping rooms. you disturb their sleep when other pawns eat in their rooms.
Born in Toxic Fallout
Drop-Pod Escape Artist

Zoppa

From a coding/performance perspective that might make -sense-, but that doesn't make it less annoying though. Imagine a pawn running around a mountain to grab some wood because it happended to be 1 cell closer "as the crow flies" than the pile of wood that was actually already in the same room as the pawn.

So it comes down to restructuring my base so that the closest table actually has the closest path...but that won't stop them from entering random rooms whenever they get hungry and happen to be closer to a bedroom than the common room.

No tables in bedrooms...I was literally just thinking that :) Would that have any disadvantages towards rooms stats?

Serenity

There are other ways to make rooms prettier. And if you have a common dining room it allows your pawns to socialize.

Tables are good in prisons though.

Grishnerf

the room-stats will lose only a little Beauty if you remobe the tables and chair.
wooden objects like tables and chairs give alot of Beauty.
a well crafted woodenchair has around the same Beauty value as a mediocre stone-statue.

you can replace the Beauty with a flower pot out of marble.
statues i also wont use in sleeping rooms, cause some pawns like to watch art while others sleeping ^^
Born in Toxic Fallout
Drop-Pod Escape Artist

Serenity

Pawns should lock their doors when they are sleeping in their assigned bed, except for when it is a shared bedroom. The exception being for their bonded pet and if a double bed, the other occupant.

Zoppa

I'm moving my pawns to new (larger) bedrooms anyway, so no tables and an extra flower seems a reasonable approach to check out.

Yeah, locking the doors when sleeping would make sense...but indeed that might become tricky with the animals. Although they pretty much keep the same sleeping schedule anyway, might as well lock the animals in for the night.

Thanks for the feedback everyone :)

Jinxi

I always built a second fridge next to the dining-room with only meals in it. The pawns have to pass the common table to get the meal and they always eat only at that table. Except when they are traveling and eating the meals they are carry. Then they are looking for either the next table (even if it´s in the prison), or eat while standing.

Pets can also disturb the sleep, if they use the bedroom without being bound to the owner of the room.

zandadoum

I'd never put common area stuff like tables into a bedroom.

But nonetheless, make sure those tables are not set as gathering spot.

ShadowTani

This is why I always make sure the dining room is just next to kitchen and meal buffet room, with the bedrooms further away. It's no problem having tables in your room (with gathering spot disabled) if you make sure of this.