School & Work Friend Choices

SCREENSHOTS
Downloaded 382 times 27 Thanks 6 Favourited 2,026 Views
 Say Thanks!
Update Logs

Background
Maxis did a poor job, pun intended, with bringing school or work friend home. TwoJeffs (Simbology), an old legend, made a hack that gives player a choice whether to bring a friend home from school, just befriend them, or reject them. I expanded on their work and made a version for work friend, but after getting frustrated with how the game kept bringing up the same old Sim, I took action and learned a little bit about array...

This mod sat in use by myself for a few months, waiting for the day I eventually upgraded the work friend version. The reworked school\work friend mechanism now sorts for eligible Sims and randomly assigns them to be presented as a list of school\work friends, the beauty of array object, and the player has a choice between rejecting them all, befriending them all, or pick 1 to befriend or bring. Still not perfect, but now the school\work friend mechanism is far more truly random and respecting the player's choices.


Features
  • Multiple choices of school\work friends
  • Presented Sims are randomly selected through a series of straightforward but long test.
  • Presented Sims can be befriended in batch, befriended invididually, brought home individually, or rejected entirely.
  • STR and LTR boosts are furthur increased by Charisma. (Take that, Maxis! )
  • The chance of bringing any friend home depends on the factor of: outgoingness, reputation, and the "Hospitality" Aspiration benefit.
  • 5 Charisma is almost guarantee to bring any friend home.
  • The number of presented Sims is increased linearly by Charisma.
  • The number of presented Sims is also increased with the "Hospitality" Aspiration benefit and high outgoingness.
  • The maximum number of presented Sims is 6. (Configurable but hard-capped by the code to 10 )
  • Presented Sims are selected through a number of factors.
  • The primary idea is to present Sims less known to the bringer, so those with high LTR are less likely to be selected.
  • Kids going to the same school types are more likely to be selected, same with Sims on similar job levels.
  • Sims within the same range of reputation are more likely to be selected.
  • The minimum chance of being selected is 10%, so a Best Friend can be presented once in a while.

Mod is configurable chiefly by editing BCON: 2013, the Booleans, which control the types of Sims selected and if STR\LTR\rep. should be accounted for. Other BCONs are straight-up mathematic stuffs, so be advised.

Other changes are complete suppression of hobby chance card in _Work.package as well as the slightly modified Semi-Global Tunings in _SGTunings.package. The SG tunings have increased likelihood of chance card appearing and longer hours allowed for work friends.


Issues
This mod was made with all expansion packs, and due to certain BHAVs, it is advised to have at least Pets and Bon Voyage installed.

The earliest release of _Work module had an unfinished code that let anyone, on another career or unemployed, or even a pet or a toddler, to be selected. Please get Update 1.

A very rare glitch may occur with the pop-up dialog being seemingly skipped, and a random choice is chosen.

Please report any other bugs in the comment section.


Conflicts
This mod adds to or modifies the School Semi-Global group (0x7FBE051B) in the following instances:


This mod adds to or modifies the Job Semi-Global group (0x7F8F4EB6) in the following instances:



Credits:
TwoJeffs (Simbology) for the original School Bus hack, as well as many other works.

heyoniina for Finnish translation.
Other Download Recommendations:
More downloads by Big Woe: See more