Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
The code responsible for loading a character's schedule makes 3 exceptions for those who are married with a profession. Those 3 NPCs are Maru, Harvey, and Penny. Penny's job relies on the schedule of 2 other NPCs: Jas and Vincent. Normally, Penny lectures on Tuesdays, Wednesdays, and Fridays, unless it is the 9th, the 23rd, or it is raining. This is incorporated into her non-married schedule, however when she is married, the code neglects to check for these cases:
if (isMarried()) { ... if (base.Name == "Penny") { switch (dayName) { case "Tue": case "Wed": case "Fri": goto IL_0205; } } ... } ... IL_0205: if (TryLoadSchedule("marriageJob")) { return true; }
The code snippet above is the original code snippet responsible for the bug. As you can see, for Penny, if she is married, and it is either "Tue", "Wed", or "Fri", it will "goto IL_205", which loads her job schedule, with no check for the cases mentioned previously. This mod uses a Harmony patch Postfix to essentially add an additional check for rain, if its the 9th, or if its the 23rd, and if so, clears her schedule causing her to spend the day at home.