Mod description
What this mod adds
Description:
When characters are working late shifts, it can be beneficial for them to go to sleep after 8am. This mod is my solution to that issue.
A new autonomous action was created.
There are a few other various conditions for this action.
Nap rules have also been slightly modified to add some variability to length, prevent nap chaining back to back, etc.
***Intended to compliment mod Get Up To Pee (and Other Needs)*** -> https://steamcommunity.com/sharedfiles/filedetails/?id=3741354202
Specifics:
[code]
Score Based Autonomy:
Within ReliefNeed_Nap:
Added Context Requirement RecentActionHistorySince NapOnBed 2h = FALSE
Removed TimeOfDay context requirement altogether. A “Nap” is just about how deeply into sleeping & the bed ya get, time of day is irrelevant and paras should be able to nap whenever.
Score Modifiers Added:
+3 for TimeBeforeNextWorkday > 6h
-1 for TimeBeforeNextWorkday < 6h
-2 for TimeBeforeNextWorkday < 2h
-1 for RecentActionHistorySince NapOnBed since 5h
-2 for RecentActionHistorySince SleepInBed since 10h
+1 for HasPersonalityTrait Lifestyle_CleaningHabits_Sloppy
+1 for HasPersonalityTrait Lifestyle_SleepingHabits_LateOwl
Created Autonomous Action:
ReliefNeed_Sleep_Daytime
Score 3
Score Modifiers:
-1 multiplied by NeedScore Sleep
+3 added if TimeBeforeNextWorkday <= 16hrs
+1 added if HasPersonalityTrait Lifestyle_CleaningHabits_Neat (neat Paras would be more likely to keep track of their schedule)
+2 added if HasPersonalityTrait Lifestyle_SleepingHabits_LateOwl (evening jobs would be easier to regulate for night owl Paras)
Always Choose This Rule If Requirements Are Met = TRUE
• Context Requirements:
◦ Need Sleep <= 4
◦ Time of Day 8:09am-4:20pm
◦ HasLivedAtLotForTime > 12h (no autonomous crashing at neighbor’s houses)
◦ TimeBeforeNextWorkday > 3h
Autonomy Rules
Removed time of day context requirement for Stop_BecauseLowNeedSleep_Sleep, Stop_BecauseLowNeedSleep_Nap and ReliefNeed_Nap
Actions:
All Actions:
NapOnBed
Changed End Condition from fixed duration of 1h to the following, which allows for both shorter and longer naps by ~30m, and a sleep based end condition that should make the timing sometimes land between 33m and 90m. Paras will either nap till sleep need is 6 & for at least 33m OR they will get up after 90 minutes attempting to bring their sleep need to 6.
RequirementsAreFulfilled:
• RequirementsOneMustBeTrue
◦ NeedValue Sleep >= 6
◦ HasBeenDoingCurrentActionForTime 90m
Minimum Duration in Minutes 33
[/code]
Discussion
Comments
No wiki comments yet · be the first.