Even there are a lot of No-Privacy Hacks out already, this one is a bit different...
There are mainly two types out - the one is door based, the most others stop the shoo behaviour.
Intention is to share a bathroom with the family (household) or good friends. But of course strangers haven't to enter. Also not wanted are disliked Sims, even they are relatives. The only group that ignores all are the toddlers - As in real life they don't know anything about privacy
The best one (imho) I found was the already abandoned hack by LizzLove - it is a mix of both and relates the door closing as well as the shoo behaviour. Even it works as it should it is a bit a brute hack - a return true or false in the first line of code. Nevertheless it helped me nicely to determine the two mainly involved globals. So credits go to Lizz.
What I was looking for was a somekind smarter behaviour, without disturbing already existing door hacks. I cannot promise this is reached competely, so I ask for your feedback.
I changed two routines (package includes only these two - more aren't necessary)
1.) Privacy Set ? - A semiglobal from group 0x7FD0DEBA, instance 0x201C (doorglobals)
2.) Privacy - Ignore Person ? - A global from group 7FD46CD0, instance 0x138
So if you find conflicts with existing hacks, using the hack scanner, decide yourself which one you want to use
Mainly the routines work as original, except some additions I made to determine, which Sims should be allowed to share the bathroom.
I didn't touch the original same gender check (dorms etc.) - As Lizz needed 4 Routines to cancel out, I could minimize two only 2 essentials, which perform the descriped checks instead of simply be cancelled out.
Added are the following checks:
Ignore Sim if- same gender & friends
- same family & friends
- best friends
- freetime friends forever
- Toddlers ignore all of course
I tested it out and it seems to work well. Should be compatible with all Expansion Packs.
Should you get errors please append error logs.
What I am not sure about is if it also "works" for bedrooms - this wasn't intended.Now I am sure it is limited only to bathrooms - at least a shower/toilet or a (normal or shower-)tub has to be in the room. Hot tubs are not count.
HistoryInitial release - 2008/09/21
Update for Toddlers - 2008/09/21
Update - Test for bathroom now included - if not a bathroom, the normal privacy behaviour is performed! - 2008/09/21