[AA] Shuffle rule removes Sleep task at night, Sims don't go to bed
Issue Description:
When the Shuffle rule is added to a getaway, the activity system correctly preserves essential daily tasks such as Have Breakfast, Have Lunch, and Have Dinner — it does not shuffle these out. However, the system does shuffle the Sleep task, even when Sims need to go to bed at night. As a result, the active Sim may be required to stay awake indefinitely while other tasks are shuffled, or the getaway fails to account for the Sim's need for rest.
Expected Behavior:
The Shuffle rule should treat Sleep as a protected essential task, similar to meals (breakfast, lunch, dinner). The system should ensure that a sleep-related task appears on the daily activity list during nighttime hours so Sims can rest and restore their Energy need.
Steps to Reproduce:
- Install Adventure Awaits expansion pack.
- Create or edit a getaway using the Getaway Planner.
- Add the Shuffle rule to the getaway.
- Start the getaway with an active Sim.
- Observe the daily activity task list as the day progresses into evening/nighttime.
- Note whether a Sleep task ever appears.
Actual Result:
- Breakfast, lunch, and dinner tasks are consistently present and not shuffled out.
- The Sleep task is shuffled out and rarely or never appears, even when it is nighttime and the Sim's Energy need is low.
- Sims may be required to perform other activities instead of sleeping, leading to exhaustion and negative moodlets.
- The system does not recognize sleep as an essential need comparable to eating.
Additional Notes:
- The Shuffle rule is described as an activity selection system that chooses different tasks each day, with some tasks being "required" and others "optional" based on the Sim's needs and traits .
- The developers appear to have intentionally protected mealtime tasks from being shuffled out, acknowledging that eating is essential.
- Sleep is equally essential for Sim survival and well-being, yet it was not given the same protected status.
- This may be an oversight in the task prioritization logic — the system was designed to prevent starvation but not sleep deprivation.
Impact:
Moderate to high. Sims participating in getaways with the Shuffle rule may be prevented from sleeping at night, leading to exhaustion, negative moodlets, reduced performance in competition events, and potential passing out. This undermines the intended fun of the pack and forces players to manually override the task system or cancel the Shuffle rule entirely. Sleep should be treated with the same priority as meals.