Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!

Apartment Mods

SCREENSHOTS
7,745 Downloads 220 Thanks  Thanks 42 Favourited 18,537 Views
Uploaded: 10th Nov 2017 at 8:30 PM
Updated: 25th Sep 2022 at 11:34 AM
Apartments - Auto STR-LTR Check Fix: This is a fix which corrects a Maxis mistake in the "Apartments - STR/LTR Check" BHAV introduced by Apartment Life. This code seems to be used by the game in certain Test BHAVs to determine whether visitors to your apartment can perform certain interactions autonomously. However, Maxis made a mistake in the code which leads to the problem where visitors can never perform those interactions autonomously even though they are supposed to be able to.

The interactions I have found that are affected by this oversight are "Take Shower", "Take Bath" and "Sleep".

Now, I'll tell you what Maxis tried to do exactly with this "Apartments - STR/LTR Check" BHAV. As far as I understand, this check is specifically done to determine whether invited Apartment neighbours can take a shower, bath or sleep in your apartment. Normally, in non-apartment residential lots, only those visitors who have been "Invited to Stay" can autonomously perform those interactions. The reason Maxis made a separate BHAV to check apartment neighbours who visit your apartment is because apartment neighbours are not technically considered visitors by the game. They are residents of the lot, not visitors. The only other sim type that is like that are dormies in university dorms, who are also not considered visitors, despite being unplayed. Dormies are already automatically allowed to take a shower, bath or sleep in dorms, there is no special code needed for that, because dormies cannot be invited into the dorm, they already live there. Apartment neighbours are special, because in apartment lots, there are individual apartments that are owned by specific families. If apartment neighbours were allowed to autonomously take a shower, bath or sleep in your apartment, then they could do that even if your sim had a low relationship with them.

The "Apartments - STR/LTR Check" BHAV makes it so that if a playable sim inside your apartment has a STR>=25 and LTR>=15 relationship with an apartment neighbour who is currently visiting your apartment, then that neighbour is allowed to use your shower or bath or sleep. In addition to this, Maxis actually made it so that even non-apartment neighbour visitors (those sims who live on other lots that you invite over to your apartment) also have to pass this exact same "Apartments - STR/LTR Check". This seems to be some kind of streamlining by Maxis, because non-apartment neighbour visitors can only use showers and baths and sleep if they have been "Invited to Stay" (as I have said above), and in order to "Invite to Stay" a visitor, you need a relationship that is higher than STR>=25 and LTR>=15. In other words, non-apartment neighbour visitors are already supposed to pass this check automatically if they have been invited to stay. So, what happens in an unmodded game? The code fails each time, and returns False, preventing your visitors (of any kind) from being able to perform those interactions, despite having STR>=25 and LTR>=15 (with apartment neighbour visitors), and despite being "Invited to Stay" (for non-apartment neighbour visitors).

Keep in mind that despite the fact that I talked about the "Take a Shower" and "Take a Bath" interactions in this explanation, it may not be just those interactions that are affected. Any interaction that uses the "Apartments - STR/LTR Check" will be affected by this mistake. This mod fixes the mistake.

From what I can see, any interaction that has to pass the "Invited to Stay?" check, also needs to pass the "Apartments - STR/LTR Check" on apartment lots.
Resources:
Apartments - STR/LTR Check/0x7FD46CD0/0x00000670

Apartment Door Lock Fix: There is an issue on apartment lots which prevents landlords who are invited to spend time in the currently played household's apartment from leaving the apartment. This mod fixes this issue.
Resources:
Apartment - Allow Inside?/0x7FD0DEBA/0x00002096

Apartment Neighbour Mod: This mod does quite a few things related to apartment lots:
- Vampires now pay their rent at 19:00, rather than at noon.
- Vampires will now sleep in their apartments during daytime, and will be awake at night. You can visit them if you want, and may see them outside in the communal areas at night.
- Werewolves are now always awake on apartment lots.
- Sims who are part of a date/outing won't be pushed to go to their apartments when it's time for them to sleep.
- There is an issue which prevents the game from unsetting apartment neighbours' sleep-state when the game pushes them to leave their room. This is why you may see apartment neighbours not turning on lights in rooms they go through and other sleep-state related anomalies. This is fixed. In addition, there is another issue which makes the game set an apartment neighbour's sleep-state to "asleep" when the game pushes them into their apartment, even if there is currently a playable sim visiting that apartment. This is also fixed.
Resources:
Apartment - Activate Disabled Resident/0x7FD46CD0/0x0000065C
Sim - Should Be Asleep?/0x7F5B142F/0x00001017
Main - Should Sim Pay Rent/0x7F5B142F/0x0000100D
Main - Handle Neighbors/0x7F5B142F/0x0000101A
Main - Should Sim Go Back To Room?/0x7F5B142F/0x0000101D
Interaction - Go to Bed/0x7F5B142F/0x00001024

In order to unrar these mods, you need the latest version of 7zip or WinRar.