#
# affinities are formulas used to determine how much someone like something
# based on their attributes and likes
#
# Affinity values are between 0 and 100
#
# Format:
#
#  aff aff_key rank base attr:weight,attr:weight,... like:weight,like:weight,... goals
#
# The keys must be 4+ characters long!
#
# The weights are multiplied by the person's attributes/opinions. So if the
# formula says will:0.2 alcohol:20 and the person has an willpower attribute of
# 44 and likes alcohol, the formula result will be
# 			44*0.2 + 20*1 = 8.8 + 20 = 28.8.
#
# In general the sum of all weights should add to around 90-100 (mult the attribute
# weights by 100). The base is how much to shift the average by.
#
# The goals can be expressed as +good_health or -good_health. For +goal, if the
# person has the goal, 20 points are added. For -goal, if the person doesn't have \
# the goal 10 points are subtracted.
#
#
# activity affinities
aff outdoors 1 5 rat:0.15,soc:0.15,cour:0.1 outdoors:22,running:10,exploring:10,healthy_diet:5,animals:10 +good_health,+relax,+improve
aff practical_jokes 2 -5 comp:-0.15,soc:0.15,happy:0.15,honor:-0.15 joking:25,attention:10 -
aff self_fun 3 -5 soc:0.20,greed:-0.10,cour:0.15 luxury_clothing:-10,joking:25,complaining:-10,comforts:-10 -
aff working_out 4 -10 will:0.10,fitness:0.30 working_out:25,yoga:10,running:10,swimming:10,physical_work:5 +good_health,+improve
aff swimming 5 -15 will:0.05,fitness:0.20,lewd:0.1,cour:0.05 working_out:20,swimming:30,swim_work:10,attention:5,skimpy_clothing:5 +good_health
aff games 6 10 focus:0.20,rat:0.15,greed:0.10 games:30,gambling:25 +relax
aff parties 7 10 soc:0.30,will:0.10,rat:-0.10 parties:25,hanging:10,onyourown:-10,high_soc:10,drug_use:10 +seduction,+relationship
aff gossips 8 5 soc:0.20,honor:-0.20,lewd:0.05,loyal:-0.1 gossip:35,attention:10 +rival,-relax
aff downtown 9 5 greed:-0.15,cour:0.10 outdoors:10,exploring:10,hanging:10,shopping:25,luxury_clothing:20 -money
aff knowledge 10 -2 intel:0.4,lewd:-0.1,focus:0.1 reading:20,writing:10,exploring:10 +improve,+manage_club
aff socializing 11 8 soc:0.45,comp:0.1,loyal:0.05 hanging:20,small_talk:10,parties:10 +relationship
aff sports_fan 12 0 soc:-0.1,intel:-0.1,male:0.2,female:-0.1 fandom:30,sports:10,gambling:20,physical_work:10 +relax
#
# consumption affinities
aff sweets 20 10 will:-0.25,fitness:-0.25,stre:-0.1,endu:-0.1 junk_food:15,healthy_diet:-15 -good_health
aff drinking 21 10 focus:-0.15,lewd:0.10,will:-0.2,soc:0.05 alcohol:30,drug_use:10,healthy_diet:-10 +relax
aff coffee 22 5 focus:0.20,intel:0.15,will:0.1 caffeine:45,healthy_diet:-5 +improve,-relax
aff dining_out 23 20 soc:0.15,greed:-0.15,will:-0.1 craft_work:15,service_work:10,healthy_diet:15,alcohol:10 -money
aff healthy_living 24 -3 will:0.2 healthy_diet:20,vegan_diet:5,smoking:-15,junk_food:-10,drug_use:-10,working_out:10,yoga:10 +good_health
#
# entertainement affinities
aff shows 40 10 lewd:0.3,greed:-0.1,f_attr:0.3 skimpy_clothing:10,voyeur:20,entertainment_work:5 +manage_club,+relax
aff going_out 41 20 lewd:0.2,soc:0.25 parties:10,casual_sex:10,flirt_g:15,dating:20 +seduction,+relationship
aff sexy_public 42 -12 lewd:0.25,cour:0.1 public_sex:40,public_nudity:15,risk_taking:5 +seduction,-relax
aff nudity 43 -10 lewd:0.25,cour:0.1 attention:10,commando:5,public_nudity:35,skimpy_clothing:10,voyeur:5 -relax,+manage_club
aff hooking 44 -15 honor:-0.1,lewd:0.2,greed:0.2 prostitution:30,sex_work:30,casual_sex:10,risk_taking:10 +money,-offspring,+manage_club
#
# relationship/sex affinities
aff do_sex 50 0 lewd:0.4,soc:0.1,rat:-0.05,endu:0.1 vag_sex:10,kissing:5,oral_r:5,casual_sex:-5 +seduction,+offspring,+relax
aff cheating 51 -20 honor:-0.25,lewd:0.1,loyal:-0.2 cheating:30,marriage:-15,casual_sex:10 +seduction
aff relationships 52 12 lewd:-0.1,loyal:0.25 marriage:20,family:5,children:5,casual_sex:-15,onyourown:-10,cheating:-10 +relationship,+offspring
aff poly_rel 53 -22 lewd:0.2,loyal:-0.1,honor:-0.1 polyamory:50,children:5,family:5,dominant:10 +offspring,-relationship
aff rape 54 -30 lewd:0.2,honor:-0.4,comp:-0.3 rape:50 -
aff children 55 5 comp:0.30,will:0.12,greed:-0.1 children:25,family:13,sex_work:-10 +offspring
aff condoms 56 8 rat:0.1,honor:0.1,cour:-0.1,male:-0.2,female:0.1 sex_work:10,prostitution:10,unprotected_sex:-30,casual_sex:10 -offspring,+seduction
aff rec_cum 57 9 lewd:0.1,comp:0.05,likes_men:0.25 cum_in:25,cum_on_me:15,children:10,unprotected_sex:10 +offspring
aff deviant 58 -20 lewd:0.5,honor:-0.15,comp:-0.15,soc:-0.1 voyeur:20,dominant:10,rough_sex:10,faith:-20 +seduction,-improve
#
# Work-related affinities
aff follows_orders 71 0 will:-0.4,comp:0.05,loyal:0.2 following:25,submissive:10 +relationship,+improve
aff working 72 2 honor:0.3,will:0.2,greed:0.2,intel:0.1 working:20 +improve,-relax,+money
aff spying 73 5 focus:0.3,honor:-0.15,intel:0.15,stealth:0.2 voyeur:20 +manage_club
aff bitching 74 8 will:0.15,honor:-0.15,focus:-0.1,loyal:-0.1 complaining:30,following:-10 +relax,-improve,-money
aff good_work 75 3 will:-0.15,greed:-0.3,focus:0.1,loyal:0.2 following:10,working:10 +improve,-relax,-money
#
# Other affinities
aff crime 90 -15 honor:-0.3,greed:0.3,cour:0.2 drug_use:10,alcohol:5,comforts:5,sharing:-15,risk_taking:5,working:-15 -relax,+money
aff violence 91 -25 honor:-0.15,comp:-0.25,greed:0.1,cour:0.1,fight:0.2,stre:0.1 helping:-0.1 -
aff prudish 92 0 honor:0.4,comp:0.2,lewd:-0.4 faith:20,gambling:-10 +improve