Autonomous Casual Romance - Version 1.10.1 (11/19/08)
Requires NL or Higher
By twojeffs

More detailed information about ACR can be found in the ACR FAQ.

IMPORTANT NOTES/GETTING STARTED:

1.	If you are installing for the first time, the mod will automatically configure itself after you load a lot. This will take a few sim minutes to complete (the game must be unpaused). You can also manually configure the mod by spawning an adjuster (click on the active sim and select adjust...casual romance…spawn adjuster) and run setup neighborhood from the tokens...hood menu. The mod will not completely work as designed until this setup occurs.
2.	If you wish to uninstall the hack completely you should run uninstall from neighborhood on the adjuster before deleting the mod files from your downloads folder.
3.	For teens and elders to be able to perform any casual interactions autonomously you must have an adjuster object present somewhere on the lot.

COMPATIBILITY NOTES:

1.	This mod contains some of the global game code relating to jealousy in order to enable the per sim jealousy settings. This is the only part of the mod that affects both casual and Maxis interactions.
a.	This mod will most likely conflict with a global no jealousy hack. It does conflict with Lizzlove’s no jealousy at all hack.
b.	It does not conflict with any other hacks/mods by me or Pescado. Pescado’s romance mod is highly recommended as well as my teen/adult attraction fix.
c.	It is fully compatible with the Inteenimator and Jenflower’s woohoo teens.
2.	The vast majority of this mod is self-contained and uses private code that affects only the interactions included within the mod. Each one of the interactions included is a complete and separate clone of the Maxis interaction. Casual woohoo, for example, will not be affected by any hack that modifies normal woohoo (say a risky woohoo mod for example). The reverse is also true; any setting you change will only affect Casual interactions and not the regular Maxis ones.  The one exception to this is the way jealousy is handled.

MAJOR FEATURES:

1.	Casual Interactions: All romantic bed and hot tub interactions, along with some of the regular flirts and kisses are available to sims much earlier in their relationship than standard Maxis interactions.
a.	How early they will be successful depends on several factors. Below are the major ones, but there are others.
·	The aspiration of the sims involved and their current relationship levels.
·	The chemistry between the two sims.
·	The gender preference of the sims.
b.	If you want to see how another sim feels about the selected sim, click on the target sim and select casual…will I woohoo?. You will get one of four comments as well as the total casual score (anything over 50 will be successful). It will also show the attraction score. This score is the standard Maxis chemistry: 0 or higher is good. The four comments you can get are:
§	Eww, not even if you were the last sim…
·	You might want to think about targeting someone else.
§	I think I’d have to pass…
·	This sim will probably accept once they get to know each other better.
§	You could probably talk me into that.
·	Casual woohoo would be successful, but not by much.
§	I’m game. Where’s the bed?
·	This sim really likes the other sim.
2.	Autonomous Casual Interactions: Sims can autonomously choose casual interactions –  flirt, kiss or woohoo (including trying for baby) – with another sim.
a.	All autonomous behavior is controlled through a custom memory token that is included in the mod (see tokens below). Sims without a token will not perform any autonomous casual interactions. A sim with a token will not initiate any casual interactions with any sim who does not have a token.
i.	Only playable sims, townies, and a few service NPCs are given tokens by default. Servos and most NPCs are not. They can be given tokens manually using the adjuster (sim must be on the lot to do it).
b.	For teens and elders only, autonomy is also dependent on an adjuster object being present on the lot. If there is no adjuster on the lot, teens and elders will not be able to perform any autonomous casual interactions.
i.	This is due to a Maxis limitation in the way they coded the ‘plug-in’ social interactions that this mod uses.
c.	Autonomous woohoo/try for baby is currently available in beds, in a photo booth, in a hot tub and on a sofa. Sims’ choice of a venue for autonomous casual woohoo is affected by some conditions:
Ø	For residential lots, the sims will first attempt to use a bed they ‘own’. If they have never relaxed or slept in any beds on the lot, or they ‘own’ a single bed, the mod will then attempt to find any available double bed on the lot, and the sims will use that.
Ø	For dorms, sims will first attempt to use the bed in their own room. If they don’t have a double bed, or their door is locked, they will then look for a double bed that is not behind a dorm door.
Ø	Sims who have not had their first kiss will not autonomously choose to woohoo in the photo booth.
Ø	Sims will only choose the sofa if there is little or no chance of being interrupted by children or other sims on the lot. Outdoor benches will only be used at night, and only if it is more than 15 tiles from the mailbox.
d.	Sims will not normally attempt an autonomous casual interaction if another sim is around who will get jealous of them or their target. Some sims will, though:
i.	If the sim they are trying to interact with is The One Sim they will proceed regardless of potential jealousy.
ii.	Chance to proceed is: the average of outgoing and playful minus nice divided by the potentially jealous sim’s token setting for jealousy (if not zero). This gives a possible range of 0-1000 and a random number is used determine success. Odds are capped at a 50% max chance.
1.	Example: My outgoing is 800, playful is 600 & nice is 400. My wife is around and might catch me and her jealousy is set to 2. My odds to proceed anyway are (((1400/2)-400) /2) or 150 out 1000 (15%).
e.	When sims choose to casual woohoo, a check is made to determine if they will try for baby instead. This is a random chance, provided the sims are eligible to get pregnant (determined by the base game code, modified by whatever other mod you have installed such as Inteen or preg for all). The random chance is modified by:
i.	Whether either of the two sims are already pregnant.
ii.	The aspirations of the two sims (romance, pleasure, fortune have negative modifiers; family has a positive; the others are neutral).
iii.	Whether the would-be ‘mother’ (the one who would get pregnant) already has kids. Each child is counted, and the older the kids are the less likely the sim will want to have more. This test counts all sims in the hood who consider the sim being tested to be their parent. Step-kids do not count. Adopted kids do count.
iv.	Casual woohoo also carries a risky pregnancy chance; this chance can be modified with the adjuster. 
3.	Tokens: Sims need to have tokens in order to initiate or receive casual interactions (autonomous or player-directed). 
a.	When you run setup neighborhood, all eligible sims will receive a token. Eligible sims are sims aged teen and above. All player sims will receive tokens, and so will Townies, Downtownies and Dormies. Most NPCs (the most common service NPCs do get them) and servos do not automatically receive tokens, but they can be given them individually.
b.	Tokens are calculated once daily at 8:30pm with the exception of the timer and The One Sim which are calculated hourly. 
i.	Dynamic tokens will recalculate autonomy level, pregnancy odds, preferred dress, and jealousy level, the every day. Dynamic tokens are recommended for most players.
ii.	If you set your tokens as “Static” during the neighborhood setup, only the timer and the One Sim will be recalculated. Static tokens are recommended if you want to tweak variables like jealousy or autonomy for specific gameplay or storytelling purposes.
iii.	If tokens are not correctly set up (eg. because you just added a bunch of custom townies), you will get a message that you need to run token setup.
c.	Twice daily, at 8:30am and 8:30pm, a check is made for any new sims who haven’t received tokens, and tokens will be automatically added to them.
d.	Upon loading a lot, a check will be run to ensure all sims currently on that lot who should have tokens have them. If any are missing or invalid, you will receive a dialog telling you that tokens are not setup properly and to run hood setup again.
4.	The One Sim: Every sim has a preferred partner, designated the “One”. His/her picture will be displayed in the top corner of the dialogue box when you choose “Show My Token Stats” for any given sim. 
a.	The One is recalculated every hour, and is chosen based on STR/LTR scores, attraction score (bolts) and the highest relationship level (crush, love, married). 
b.	The One will be chosen as the woohoo partner if he/she is available, but sims can also choose to do ACR interactions (including woohoo) with sims who are not the One.
c.	There is a special phone call interaction that is only available with The One Sim and that is the Booty Call where the sim will call their One over for woohoo. There are a number of rules that control when sims can do this:
i.	The sim must be on a residential lot and there must be an adjuster present on the lot.
ii.	The sim must have a valid One Sim and must live alone or not live with any potential romantic targets.
iii.	There must be an ACR enabled place to woohoo on the lot.
iv.	It must be a valid time to call and the One must be home, have a phone, etc. These are all the normal phone call rules. If you’re bored at 2am, sorry.
v.	The sim’s timer must be at or below zero. If all these conditions are met, the option will appear on the adjuster under Misc… if you want to manually force it. This  interaction does not appear on the phone pie menu options. 
Autonomous sims must also meet the following rules:
vi.	The sim must not have work/class etc starting soon or have an open business on the lot.
vii.	The sim must have relatively decent levels in energy, hunger, bladder, and hygiene.
viii.	Finally, any one of the following must be true: either low fun, low social, low aspiration level, or timer less than -12.
5.	Pregnancy: The casual romance adjuster includes a number of options with regard to pregnancy.
a.	The Pregnancy Scanner will give info on how long a sim has been pregnant, how many babies are expected, and the identity of the “father”.
b.	Menu options allow changes to be made to try for baby rules and risky pregnancy chances.
c.	The Morning After Pill –  If you have a sim become pregnant with an unwanted pregnancy you can use this to terminate the pregnancy under the following conditions:
i Option will only appear during the first 24 hours the sim is pregnant.
ii The sim must be on their home lot so all related pregnancy crap can be deleted properly.
6.	Jealousy: By default ACR uses it’s own jealousy system. This can be overridden using the adjuster. Each sim will have their own jealousy setting stored on their token. This can be anything from 0-4 and is determined by their aspiration.
a.	0 = no jealousy, 1 = only if married, 2 = engaged/steady or higher, 3 = in love or higher, 4 = crush or higher.
b.	There is a small random chance that a sim will still get jealous even if they wouldn’t normally due to their token setting. Odds of this happening are the highest for the following sims:
i.	The sims relationship level is higher toward an interacting sim than the level between the two interacting sims.
ii.	The sim is grouchy, mean, and in a bad mood.
iii.	If the two interacting sims are married, there is no random spazzing allowed toward them.

Special Thanks to:

J.M. Pescado for a few small bits of code that I pilfered instead of reinventing the wheel.

Rohina for all her help in writing and proofreading the documentation.

Huge thanks to all the active beta testers who’ve helped over the past several months turn this mod into what it is today. I am very proud of the result and a lot of that is because of you guys keeping me going. J

In no particular order:

Ancient Sim, magicmoon, Nec, pcgeekri, jsalemi, Madame Mim, Jordi, witch, syberspunk, rohina, karen, crazi aboutu, Avalikia, neriana, lindaetterlee, cheriem, Scratch, cwieberdink, dizzy,  RabidAngel, Sleepycat, laeshanin, Venusy, Jorenne, DrBeast, webwench, IcemanTO, Valentinegirl, redpepper, Sandilou, redmachine, shade, greeneyedsims, gethane, bootsie, Kyna, SIMplyLisa, SimMoon, stormygsa, edespino, sintrinity, dlmagee, idtaminger, dusty, mimmi, Process Denied, Mojidoji, Ozzucay, marjoree, Nauthiz, Weaver, KevinTMC.