Toilets – Patch
Bug fixes for Toilets by lukeh_ro. Loads alongside Toilets and patches issues without modifying the original.
Bug fixes:
– Fixes the eat / toilet / wash infinite loop at 100% toilet need. A survivor with maxed-out toilet need would get yanked off the toilet by another desperate need (usually hunger) before the use completed, the need would never reset, and they’d cycle between toilet and food forever. The patch reduces toilet need on every exit path: full credit for a complete sit, partial credit for a legitimate interrupt (combat, fire), near-zero credit if the activity is cancelled at the very start, so the fix isn’t exploitable as a free relief on cancel.
– Toilet need no longer overrides eating or your direct orders. At 100% need a survivor would drop everything for the toilet – including walking off from food while starving, or abandoning a meal you ordered half-finished. Toilet need now sits just below the desperate survival priorities (eating, resting) and below your own commands, so it still sends an idle survivor to the toilet but never overrides a starving survivor’s meal or an order you gave.
– Survivors no longer pick a bush over a nearby toilet. A crash inside the toilet-search code could abort the search before it reached the indoor toilet, sending the survivor straight to the bush even when an owned toilet was right there.
– Pants no longer disappear after toilet use in the bush-fallback flow (reported by Blades-on-Wings 2024-05). The original code unequipped the survivor’s pants before setting up the re-equip safety net, so an interrupt at the wrong moment could leave them without pants.
– Survivors at desperate need with no reachable toilet now correctly run to the nearest bush instead of crashing the game. Previously the game tried to send them to a toilet that didn’t exist.
– Fixes a possible game crash when toilet ownership is reassigned to another survivor while the toilet is in the middle of being used.
– Tightens an internal default for the toilet-use cooldown timer (cosmetic – an upstream typo placed the default value in the wrong table).
Additions:
– Spanish (es-ES) localization covering all of Toilets’s in-game text (the Latrine and Toilet buildings, the use-toilet and need-toilet activities, the toilet-need survivor stat, and the Toilet room role), not just the parts this patch changes.
Requires Toilets (which itself requires Water) and SAD_CommonLib.
Version: 1.06-002
Required items:
Click the title to search on this site.
Toilets — Steam Workshop
Water - Patch — Steam Workshop
Revisions:
Old revisions of this mod are available below. Click the link to download.