Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Faction camp - set Wake up and Sleep if needed time.

Open PavelZhd opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Currently NPCs in faction camp mess up their sleep schedule and thus become inefficient - sleeping during daytime and thus not performing tasks that require daytime while awake at night. And when you want to assemble an away team you can't be sure they are combat ready. Or at least you have to spend a lot of time checking their status in '#' menu.

Solution you would like.

Use faction camp menu to set up time (hour number) when all NPCs assigned to the camp are set to OVERRIDE: Stay awake and another time when this override is replaced by OVERRIDE: Sleep when needed. An NPC added to the faction camp gets assigned override based on which time is closest in the past. When an NPC is drafted to follow player instead - current override is cleared.

Bonus feature - camp job "Night shift" added. If any priority other than 0 is assigned to this job, the overrides based on time are reversed. Most likely it will not set them to set bedtime, but make sure that they are awake at night and sleep sometime when it catches up to them. Useful for guarding so camp is not volnerable during night with everyone sleeping.

Describe alternatives you have considered.

No response

Additional context

No response

PavelZhd avatar May 14 '24 11:05 PavelZhd