Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I guess that's a separate logic-path from the opportunistic cleaning? Either way, she is technically incapable of cleaning so she probably shouldn't be doing what she's doing.
I was wondering if it would be possible to add an option that would keep pawns from doing work in rooms where other pawns are currently sleeping?
As to avoid the disturbed sleep debuff from pawns just randomly cleaning or re-planting pots while other pawns try to get some rest.
I had it for awhile now, actually. I wanted to redo "wandering" to make it dramatically shorter and do something to pathing to avoid inappropriate routes.
Could as well adress all other jobs, when they're in "bedrooms".
if (lookForOtherJobs && actor.IsHashIntervalTick(211))
{
actor.jobs.CheckForJobOverride();
return;
}
So every so often, the pawn checks to see what they should be doing, and then decides they should be lying in bed....which triggers the cleaning.
You might use some of the logic from Toils_LayDown.cs to check if the pawn is in bed already before allowing opportunistic cleaning?