Project Hospital

Project Hospital

View Stats:
The long way to the toilet
I noticed that the employees always go to toilets that are always closest as the crow flies.
Therefore, the people run to the ground floor, then to the neighboring building there again to the third floor. And of course all the way back. I would like to note that they pass four toilets.
Can you fix that please?


Best regards
< >
Showing 1-13 of 13 comments
Bartesam May 7, 2020 @ 11:57am 
+1
katiem May 7, 2020 @ 12:09pm 
lol i put a water cooler in my doctors office once, on the other side of the wall was radiology.

the radiologist would walk down 4 corridors, though 4 doors, across a lobby, through 2 more doors, down 2 more corridors and then barge into my doctors office while i was seeing a patient just to taste my water

..even though he must have walked past two dozen water coolers and vending machines
and multiple common rooms with coffee machines
Last edited by katiem; May 7, 2020 @ 12:10pm
Fading Qualia May 7, 2020 @ 1:53pm 
???

That is still happening for you all? I thought that was fixed in patch 23. The update notes say:

- Improved pathfinding (object selection using closest path distance, some optimizations)"

katiem May 7, 2020 @ 5:10pm 
mine was a long while ago :) doesnt seem as bad anymore.
eightiesboi May 7, 2020 @ 5:14pm 
I put a washroom in my On-Call office for my doctors but I didn't zone it as a restroom. I was happily surprised when the doctor used it anyway instead of going to "zoned" restroom. Clearly my docs are only going as far as they have to to get to a toilet. Lol

Does that work for more items? If I have an item out of zone, will it work? If so, is zoning always necessary? Any downsides to not zoning my restrooms or waiting areas or corridors?
Last edited by eightiesboi; May 7, 2020 @ 5:16pm
katiem May 7, 2020 @ 5:16pm 
Originally posted by eightiesboi:
I haven't noticed this; in fact, I put a washroom in my On-Call office for my doctors but I didn't zone it as a restroom. I was happily surprised when the doctor used it anyway instead of going to "zoned" restroom.

Does that work for more items? If I have an item out of zone, will it work? If so, is zoning always necessary? Any downsides to not zoning my restrooms or waiting areas or corridors?
janitors won't clean them

but yeah for sure objects are used outside zones, vending machines, water coolers, toilets etc
eightiesboi May 7, 2020 @ 5:16pm 
@~kt, do Janitors not clean the on-call rooms?

Update: They do, and they do clean non-zoned restrooms.
Last edited by eightiesboi; May 7, 2020 @ 5:50pm
eightiesboi May 7, 2020 @ 5:26pm 
Okay, just after writing the last, I watched the phenomenon occur noted by the OP. My nurse went to the toilet in the on-call room instead of the one zoned for staff only near the nurses station. Only 1 doctor and 1 nurse on the floor, no reservations at the staff toilet. Ignoring walls and doors, the on-call one *is* closer, but when you take into account walls and doors, the nurses station toilet is closer.
katiem May 7, 2020 @ 5:55pm 
Originally posted by eightiesboi:
@~kt, do Janitors not clean the on-call rooms?

Update: They do, and they do clean non-zoned restrooms.
what i mean is janitors prioritize zoned rooms first, then if they have time and nothing else to do they'll move onto low priority (non-zoned) areas

on call rooms count as zoned so yes ofc :)
Last edited by katiem; May 7, 2020 @ 5:56pm
eightiesboi May 7, 2020 @ 6:00pm 
Thanks ~kt... :)
eightiesboi May 8, 2020 @ 5:44pm 
That's a perfect illustration of the problem. I think it's clear that when the person needs to fulfill a need, they look for the nearest item that fills that need in a straight line from their position. Then they reserve that item, taking it out of service from every other person. Then they run the pathfinding routine.

While that is certainly more efficient from a coding perspective, from the standpoint of the player it's unintuitive. I wonder if it would be possible to have the routine run twice or three times, finding the two or three closest (as the crow flies) items, and then compare the distance after pathfinding.
Delta Crawler May 9, 2020 @ 11:03pm 
Originally posted by ~kt:
https://steamcommunity.com/sharedfiles/filedetails/?id=2089695431

-_-
Very nice and simple example. Thanks ~ kt
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: May 7, 2020 @ 11:47am
Posts: 13