CorsixTH / CorsixTH

Open source clone of Theme Hospital
Other
4.01k stars 362 forks source link

[Bug] Handymen leave staffroom without full rest #2642

Open ARGAMX opened 3 days ago

ARGAMX commented 3 days ago

Describe the issue

On manual grab and put to staffroom Handymen leave room without full rest.

Screenshot 2024-09-27 at 22 29 49

Steps to Reproduce

  1. Load save game attached to this ticket
  2. There 2 Handymen in staffroom.
  3. First on the sofa, second is already standup and leaving.
  4. They leaving staffroom without full rest.
  5. After they leave the staffroom put them back in staffroom.
  6. Observe that they will leave the staffroom without full rest.

Expected Behaviour

Handyman should rest to the full in staffroom before leave as in original game.

Save Game

handymen_leave_staffroom_before_full_rest.sav.zip

CorsixTH Version

0.68.0 Beta 1

Operating System

MacOS Sonoma 14.5

lewri commented 3 days ago

Naughty, they're answering handyman calls while in the staff room.

On call:
plant-watering@50,52
Busy:   busy
Last room:      pharmacy@51,71
Cleaning: 0.333 Watering: 0.333 Repairing: 0.333
-----------------------------------
Clicked on:
<LocalisedString> Current value:humanoid (P. BURCLIFFE) - class: Handyman
Warmth: 0.364   Happiness: 1.000   Fatigue: 0.238  Thirst: 0.000  Toilet_Need: 0.000   Health: 1.000   Service Quality: 0.931
Actions: [walk - going to 50:59   must_happen, walk - going to 49:52, use_object - plant, call_checkpoint, answer_call]
-----------------------------------
-----------------------------------
On call: no
Busy:   busy
Last room:      gp@55,75
Cleaning: 0.333 Watering: 0.333 Repairing: 0.333
-----------------------------------
Clicked on:
<LocalisedString> Current value:humanoid (E. BANLIN) - class: Handyman
Warmth: 0.366   Happiness: 1.000   Fatigue: 0.275  Thirst: 0.000  Toilet_Need: 0.000   Health: 0.860   Service Quality: 0.927
Actions: [use_object - sofa   must_happen, answer_call]

Edit: However, this save is coming from 0.67 (I'm not expecting 0.68.0 to be any different though)

-----------------------------------
Savegame changed from 180 (v0.67) to 191 (v0.68.0 Beta 1). The save was created using 180 (v0.67).
-----------------------------------
lewri commented 3 days ago

I think... the meander action created while resting on handymen tricks them into thinking they can take jobs. No not that