katja_procedural.qsrc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. # katja_procedural
  2. !2022/08/02
  3. !!This files governs Katja''s procedural actions that are called form many places.
  4. !! The model used for Katja''s porn scene was originally the porn actress Faye Reagan, lately Red Fox/Michelle H have also been used for a lot of content. But several other have also been used.
  5. !! The following variables are part of her story line (the name in the parenthesis is the old name of that variable):
  6. !! katjaQW['QWstage'] = 1 You have agreed to hang out with Katja afer school. (meynoldQW = 1)
  7. !! katjaQW['QWstage'] = 2 You have been to Katja''s house and you can go there to hang out with her. (meynoldQW = 2)
  8. !! katjaQW['QWstage'] = 3 You have kissed Katja and she might be interested in more. (katjaFirstKiss = 1 and KatjaOTN)
  9. !! npc_sex['A14'] = 1 You have had at least one sexual experince with Katja.
  10. !! katjaQW['QWstage'] = 4 Katja have asked you to helpe have sex with a boy.
  11. !! katjaQW['QWstage'] = 5 You have agreed to help Katja have sex with a boy.
  12. !! katjaQW['QWstage'] = 6 You have talked with Katja about her first experience with a boy.
  13. !! katjaQW['QWstage'] = 7 You have told Katja about the boys in the park.
  14. !! katjaQW['liberated'] is set to one after some time if the player have not started Katja''s quest. It means she will start to be sexually active with out having the player character help her.
  15. !! katjaQW['first_time_in_nightclub'] is set to 1 if you have sex with Katja during a threesome at the night club before you start her storyline, and 2 if you make her come during that scene. Used trigger a different introduction to her storyline.
  16. !! katjaQW['boy_block'] is set to 1 if you tell Katja that you have no interest in boys when she ask about you sex experience whit boy.
  17. !! katjaQW['relationship_count_start'] is set to daystart when you have had sex with Katja and the yearstart is more than on (that is in the second year). It starts a countdown of 6 to 12 months before Katja will ask you about your relationship.
  18. !! katjaQW['relationship_talk'] = 1 you have had a discussion about your relationship.
  19. !! katjaQW['couple'] is set to 1 when you agree to be a couple.
  20. !! katjaQW['faithful'] is sent to 1 if you are a couple and agree not to have sex with others (unless you both participate)
  21. !! katjaQW['cheat_warning'] is set the first time Katja confronts the player because the caught them cheating and to 2 after the player have been caught so many times that Katja warns them that she will also starts to sleep around.
  22. !! katjaQW['sex_clossedness'] 0 mean no restriction on sex scenes with Katja, 1 mean only scenes with Katja and the player character are available, 2 mean that the player character wont have sex with Katja
  23. !! katjaQW['anal_quest'] =1 Katja has asked you to help her have anal sex with a boy.
  24. !! katjaQW['anal_quest'] =2 You have agreed to help Katja have anal sex with a boy.
  25. !! katjaQW['anal_quest'] =3 Katja has had anal sex with a boy and you discussed it afterwards.
  26. !! katjaQW['pantiesQWstage'] The stages of the side quest of getting Katja to go commando to school. 1 to 3 are just temporary counts,
  27. !! 4 means you have gotten Katja to take off her panties when you ask her, and 5 means that she won''t wear panties to school anymore.
  28. !! If you want to check if Katja is not wearing panties at school use katjaQW['pantiesQWstage'] >= 5. (katjaTanga, katja_tanga_end)
  29. !! katjaQW['school_kiss'] Increases the first two times you kiss at school. Used to trigger the kissing competition in the park. (flag_start_parc)
  30. !! katjaQW['slut'] a number that increases as Katja becomes more and more sexually liberated, and allows her to be willing to do more sexual stuff. (katjaSlut)
  31. !! katjaQW['dom'] a number that tells if Katja is dominant or submissive. 0 is neutral, a negative means she is submissive and a positive means she is dominant. In general the absolute value needs to be above 30 before you will see any effect. (katjaDom but not a 1 to 1 translation since that variable was all over the place.)
  32. !! katjaQW['simultanous_boys'] the number of boys Katja have been with at the same time, Is not really set before the number is 2.
  33. !! katjaQW['simultanous_girls'] the number of girls Katja have been with at the same time including the player character, so it is not really set before the number is 2.
  34. !! katjaQW['horny'] a measure of Katja''s arousal. Grows until she have an orgasm and will determine how willing she is at the moment to have sex.
  35. !! katjaQw['drinks'] a measure of how drunk Katja is. 0 means sober, 8 quit drunk and 12 that she can barely stand.
  36. !! katjaQW['under_influnece_of_cocaine'] if positive it means that her inhibition is still affected by the cocaine she used.
  37. !! katjaQW['coke_stage'] = 0 Katja have never tried cocaine, and would need to be convinced by a difficult willpower check to try, the circumstances can make the check harder or easier,
  38. !! katjaQW['coke_stage'] = 1 Katja have tried cocaine at least once, but is still reluctant. Still need to be convinced by a willpower check try again, but not as difficult as the first time.
  39. !! katjaQW['coke_stage'] = 2 Katja have tried cocaine several times and is getting less reluctant to use it. Still need to be convinced by a willpower check try again, but easier and can at times be removed if the circumstances are right.
  40. !! katjaQW['coke_stage'] = 3 Katja have tried cocaine several times and is getting comfortable with using it. Does in general not need a willpower check to use it if offered, and might take it if offered even if the player character don''t unless forced not to by a willpower check.
  41. !! katjaQW['coke_stage'] = 4 Katja is starting to get into using cocaine. Does not need a willpower check to be convinced to take it, might ask the player character or other for it in the right situation (in general before or at a party), and would usually need a willpower check to be convinced to not use it. Might try to convince the player character to also take it.
  42. !! katjaQW['coke_stage'] = 5 Katja is getting even more into it. She will start to sometimes buy it herself and offer it to the Player characters in the right situations (at a party or such) and will need convincing to not take it herself. Still only a party user but might now take it at a party without the player being there.
  43. !! katjaQW['coke_stage'] = 6 Katja is starting to get addicted. She will almost always have some and will now start suggesting you are taking it more often, for example just hanging out an normal afternoon/evening and need willpower checks to be convinced not to take even if the Player character done''t take any. Still only takes some without the player being present at parties together with others.
  44. !! katjaQW['coke_stage'] = 7 Katja is addicted. Will take several times a week even with out the player characters presence. It will start to slowly affect her every day life. But will still be able to function more or less normally.
  45. !! katjaQW['coke_stage'] = 8 Katja is very addicted. Will take every day, and unless the player character provides she will start doing stuff to earn money for that takes time away from studying which will harm her education. She might not turn up to class because she was out all night trying to precure money for it, and will often not be found since she is trying to earn money for it, might prostitutes herself for the money.
  46. !! katjaQW['coke_stage'] = -1 Katja have been true a cold turkey/rehab and wont touch cocaine for the fear of getting addicted again.
  47. !! katjaQW['coke_point'] A a variable used to change the katjaQW['coke_stage'].
  48. !! katjaQW['financial_strain'] A variable that is used to check if Katja is using more money on drugs thatn she have, so that she will start doing things to earn those money.
  49. !! katjaQW['park_sex'] a measure of what experience Katja has had with random guys in the park. 0 means she has not had sex with anybody in the park,
  50. !! 1 means that she has had sex with one guy at a time (either alone, in a threesome with the player character or while the player had sex with another guy next to them)
  51. !! 2 means she has had a threesome with 2 guys you met in the park, and 3 means she has paticipated in an orgy with guys from the park. (katjaSex)
  52. !! katjaQW['masturbates'] = 1 Katja has started masturbating at night if she get too horny. (KatjaMastr)
  53. !! The following 3 variables functions as pcs_throat, pcs_vag and pcs_ass does for the player character. So whenever Katja has sex with a guy or a dildo is used on her you should add code to change them as is done for the player character in arousal.
  54. !! npc_throat['A14'] The capacity for Katja to take a dick (or dildo) down her throat. (KatjaThroat)
  55. !! npc_vag['A14'] The capacity for Katja to take a dick (or dildo) in the vagina.
  56. !! npc_ass['A14'] The capacity for Katja to take a dick (or dildo) in her ass. (KatjaAnus)
  57. !! katjaQW['pussy_sex'] = 1 Katja have had pussy sex with guy where the player character wasn''t present.
  58. !! katjaQW['anal_sex'] = 1 Katja have had anal sex with guy where the player character wasn''t present.
  59. !! katjaQW['deepthroat'] Number of time Katja have deepthroated
  60. !! katjaQW['dp'] the number of times Katja have been double penetrated.
  61. !! katjaQW['strapon_bj'] = 1 Katja has given a BJ to your strap-on.
  62. !! katjaQW['strapon_vag'] = 1 You have fucked Katja''s pussy with your strap-on.
  63. !! katjaQW['strapon_ass'] = 1 You have fucked Katja''s ass with your strap-on.
  64. !! katjaQW['fisted_vag'] = 1 You have fisted Katja''s vagina.
  65. !! katjaQW['ivan_pussy'] = 1 Katja has taken Ivan''s cock in her pussy.
  66. !! katjaQW['ivan_anal'] = 1 Katja has taken Ivan''s cock in her ass.
  67. !! katjaQW['marcus_pussy'] = 1 Katja has taken Marcus''s cock in her pussy.
  68. !! katjaQW['marcus_anal'] = 1 Katja has taken Marcus''s cock in her ass.
  69. !! katjaQW['marcus_disco'] = 1 Katja and the player character have had a threesome with Marcus at the community center disco.
  70. !! katjaQW['lazar_pussy'] = 1 Katja has taken Lazar''s cock in her pussy.
  71. !! katjaQW['lazar_anal'] = 1 Katja has taken Lazar''s cock in her ass.
  72. !! katjaQW['lazar_pussy_talk'] = 1 Katja and the player character have talked about having sex with Lazar.
  73. !! katjaQW['lazar_anal_talk'] = 1 Katja and the player character have talked about having anal sex with Lazar.
  74. !! katjaQW['Lazar_Ivan_4some'] 1 means the had a foursome but no double penetration, 2 means that the player character recieved a double penetration during the first foursome and have not talked about it yet, and 3 is if the player character have recieved a double penetration and they have talked about the first foursome.
  75. !! katjaQW['Marcus_day'] is set to daystart if you or Katja ask to have a threesome with Marcus. Such that the question will only be asked once per day.
  76. !! katjaQW['Lazar_day'] is set to daystart if you or Katja ask to have a threesome with Lazar. Such that the question will only be asked once per day.
  77. !! katjaQW['birth_control_start_day'] This is set to the daystart value from the day Katja''s birth control will be effective if the player tells her to use it. Should be used to check if Katja can become pregnant by if katjaQW['birth_control_start_day'] ! 0 and katjaQW['birth_control_start_day'] < daystart to make sure is protected.
  78. !! KatjaQW['orgasm_day'] Is set to be equal to daystart when Katja gain an orgasm (It is not set all places). (KatjaOrgasm)
  79. !! katjaQW['take_of_panties_day'] is set to daystart if you get katja to take of her panties during school break.
  80. !! katjaQW['afterschool_hangout_day'] Is set to be equal daystart when you choose to hang out with Katja after school. (katjaMeynoldday)
  81. !! katjaQW['no_panties_day'] Is set to daystart if you show Katja that you are not wearing panties.
  82. !! katjaQW['no_panties_day_disco'] Is set to daystart if you show Katja that you are not wearing panties at the pav disco. (tangaday)
  83. !! katjaQW['knows_masterbation'] = 1 You have told Katja how you masturbate (KatjaKnowMastr =1)
  84. !! katjaQW['knows_self_fisting'] = 1 You have told Katja how you stuck your fist into your pussy
  85. !! katjaQW['knows_self_fisting_anal'] = 1 You have told Katja how you stuck your fist into your ass
  86. !! katjaQW['knows_BJ'] = 1 You have told Katja that you have given a guy a blow-job (KatjaKnowBJ =1)
  87. !! katjaQW['knows_sex'] = 1 You have told Katja that you have had virginal sex with a guy (KatjaKnowSex =1)
  88. !! katjaQW['knows_anal'] = 1 You have told Katja that you have had anal sex with a guy (KatjaKnowAnal =1)
  89. !! katjaQW['knows_cuni'] = 1 You have told Katja that have gone down on another girl (KatjaKnowKuni =1)
  90. !! katjaQW['know_Pirced_tongue'] = 1 katja have noticed your tongue piercing (KatjaKnowPirsA =1)
  91. !! katjaQW['school_sex'] = 1 Katja have taken you to a storage room at school to have sex. (katschoolsex)
  92. !! katjaQW['disco_Foto'] =1 somebody have takien a picture of Katja''s exposed breast at the disco. Right now to only use of this variable is so that another foto wont be taken. (katja_disco_Foto)
  93. !! katjaQW['drunk_help'] is set to 1 when Katja walks you home from the disco because you are to drunk. Will be reset to 0 after you talk to her about it at school. (meynoldQW = 3)
  94. !! katjaQW['no_panties_at_disco'] is set if Katja shows you at the disco that she is not vearing panties. Will be reset to 0 at night. (katja_disco_end)
  95. !! KatjaQW['sex_in_the_park_comment'] temposry varibale which is set during sex with guys in the park to make sure she give the right comment before she says goodbuy. Will be rest to 0 when going home after sex. (KatjaOhrenet)
  96. !! katjaQW['know_katja_uni'] = 1 Katja has told you she is going to uni to study teaching.
  97. !! katjaQW['know_going_to_teaching_degree'] =1 you have told Katja that you are going to the university to study in the teaching program.
  98. !! katjaQW['meet_uni_class'] = 1 You have meet Katja in you uni class.
  99. if $ARGS[0] = 'hourly':
  100. !! Modifies Katja''s state each hour, mainly reducing drugs and alcohol levels
  101. gs 'katja_meynold_schedule'
  102. if katjaQw['drinks'] > 0:
  103. if (locat['katja'] > 0 and locat['katja'] < 4) or (locat['katja'] > 19 and locat['katja'] < 24):
  104. katjaQw['drinks'] -= 2
  105. if katjaQw['drinks'] < 0: katjaQw['drinks'] = 0
  106. else
  107. katjaQw['drinks'] -= rand(0,1)
  108. end
  109. end
  110. if katjaQW['under_influnece_of_cocaine'] > 0: katjaQW['under_influnece_of_cocaine'] -= 1
  111. if katjaQW['nightclub_private_room_boy'] = 1 and katjaQW['disco_loc'] ! 7: katjaQW['nightclub_private_room_boy'] = 0 & gs 'katja_procdural', 'sex_set', 1
  112. end
  113. if $ARGS[0] = 'cikl':
  114. !!Modifying Katja''s arousal level.
  115. if katjaQW['QWstage'] > 2:
  116. if katjaQW['horny'] >= 0: katjaQW['horny'] += (katjaQW['slut'] - rand(1,50))/10
  117. if katjaQW['horny'] < 0:katjaQW['horny'] = 0
  118. if katjaQW['horny'] >= 100:
  119. if rand(0,2) = 0 and week < 6:
  120. katjaQW['horny'] = max(katjaQW['slut']/2,50)
  121. if katjaQW['masturbates'] = 0: katjaQW['masturbates'] = 1
  122. else
  123. katjaQW['horny'] = 100
  124. end
  125. end
  126. else
  127. !! During the uni year, Katja might start masturbate even if the player have not started her quest.
  128. if yearstart > 1 and katjaQW['masturbates'] = 0 and rand(0,50) = 50: katjaQW['masturbates'] = 1 & katjaQW['slut'] += 5
  129. end
  130. !! Start the countdown for Katja''s relationship talk
  131. if yearstart > 1 and npc_sex['A14'] > 0 and katjaQW['relationship_count_start'] = 0: katjaQW['relationship_count_start'] = daystart
  132. !! If the player have not gotten to the point where they have sex with Katja by the start of the second year of uni, she will then start to be sexually active without the player. (Does not prevent the player from starting her storyline, but it might be at a later stage in the stroryline, since Katja is now more experienced.
  133. if yearstart > 2 and npc_sex['A14'] = 0 and katjaQW['liberated'] = 0:
  134. katjaQW['liberated'] = 1
  135. if katjaQW['masturbates'] = 0: katjaQW['masturbates'] = 1
  136. end
  137. !! Set some variables related to her sexual experience that is not taking care in all the acts.
  138. if (katjaQW['QWstage'] >= 6 or katjaQW['anal_quest'] >= 3) and katjaQW['simultanous_boys'] = 0: katjaQW['simultanous_boys'] = 1
  139. if npc_sex['A14'] >= 1 and katjaQW['simultanous_girls'] = 0: katjaQW['simultanous_girls'] = 1
  140. !! Katja learning about you sexual experience from other sources because you are a slut.
  141. if fame['pav_slut'] >= 150 and stat['bj'] > 0 and katjaQW['knows_BJ'] ! 1: katjaQW['knows_BJ'] = 1
  142. if fame['pav_slut'] >= 250 or preg > 0 and stat['vaginal'] > 0 and katjaQW['knows_sex'] ! 1: katjaQW['knows_sex'] = 1
  143. !!Resetting if Katja have shown you that she is not wearing panties at the disco. The reason to not use a daystart variable, is the if you show it very late Friday it might prevent you from seeing it Saturday (daystart can change during the event)
  144. if katjaQW['no_panties_at_disco'] > 0: katjaQW['no_panties_at_disco'] = 0
  145. !! Setting the sex stat for Katja if she went to a private room at the nightclub and the player character did not spy on her.
  146. if katjaQW['nightclub_private_room_boy'] = 1:
  147. katjaQW['nightclub_private_room_boy'] = 0
  148. if rand(0,katjaQw['slut']/25) > 0: gs 'katja_procdural', 'sex_set', 1
  149. end
  150. !!Out commented Katja becoming pregnant until more content for a pregnant Katja is done
  151. !!if katjaPreg = 0 and month >= 2 and year > 2016: katjaPreg = 1
  152. !! Degeneration of katja slut if it is high
  153. if katjaQW['slut'] > 100:
  154. katjaQW['slut'] -= 1
  155. elseif katjaQW['slut'] > 80:
  156. if week mod 2 = 0: katjaQW['slut'] -= 1
  157. elseif katjaQW['slut'] > 50:
  158. if week = 1: katjaQW['slut'] -= 1
  159. end
  160. !! Changing of preferences as Katja becomes more slutty
  161. if katjaQW['slut'] > 50 and katjaQW['preference_change'] = 0:
  162. katjaQW['preference_change'] = 1
  163. npc_preference['A<<npctemp>>_clothes_thinnes'] = 0
  164. npc_preference['A<<npctemp>>_short_skirt'] = 1
  165. elseif katjaQW['slut'] > 100 and katjaQW['preference_change'] = 1:
  166. katjaQW['preference_change'] = 2
  167. npc_preference['A<<npctemp>>_clothes_thinnes'] = 1
  168. end
  169. !! Check if she did drugs with others
  170. if katjaQW['coke_stage'] >= 5:
  171. if locat['katja_save2'] = 53 and katjaQW['disco_arrival'] + 600 > totminut or katjaQW['disco_met'] + 600 > totminut:
  172. if rand(0,katjaQW['coke_stage']) >= 5: gs 'katja_procdural', 'take_cocaine', 1, 1
  173. elseif katjaQw['alone_with_other_day'] = daystart -1
  174. if rand(2,katjaQW['coke_stage']) >= 5: gs 'katja_procdural', 'take_cocaine', 1, 1
  175. end
  176. end
  177. !! Taking care of her cocaine tolerance/addiction
  178. if katjaQW['coke_stage'] = 1 and katjaQW['coke_point'] > 3:
  179. katjaQW['coke_stage'] = 2
  180. elseif katjaQW['coke_stage'] = 2 and katjaQW['coke_point'] > 8:
  181. katjaQW['coke_stage'] = 3
  182. elseif katjaQW['coke_stage'] = 3 and katjaQW['coke_point'] > 15:
  183. katjaQW['coke_stage'] = 4
  184. elseif katjaQW['coke_stage'] = 4:
  185. if katjaQW['coke_point'] > 25:
  186. katjaQW['coke_stage'] = 5
  187. elseif katjaQW['coke_point'] < 8:
  188. katjaQW['coke_stage'] = 3
  189. end
  190. elseif katjaQW['coke_stage'] = 5:
  191. if katjaQW['coke_point'] > 35:
  192. katjaQW['coke_stage'] = 6
  193. elseif katjaQW['coke_point'] < 25:
  194. katjaQW['coke_stage'] = 5
  195. end
  196. elseif katjaQW['coke_stage'] = 6:
  197. if katjaQW['coke_point'] > 50:
  198. katjaQW['coke_stage'] = 7
  199. elseif katjaQW['coke_point'] < 35:
  200. katjaQW['coke_stage'] = 5
  201. end
  202. elseif katjaQW['coke_stage'] = 7:
  203. if katjaQW['coke_day'] + 1 < daystart and rand(0,3)= 0: gs 'katja_procdural', 'take_cocaine', 1, 1
  204. if katjaQW['coke_point'] > 70:
  205. katjaQW['coke_stage'] = 8
  206. elseif katjaQW['coke_point'] < 45:
  207. katjaQW['coke_stage'] = 6
  208. end
  209. elseif katjaQW['coke_stage'] = 8:
  210. if katjaQW['coke_day'] + 1 < daystart: katjaQW['financial_strain'] += rand(0,1) & gs 'katja_procdural', 'take_cocaine', 1, 1
  211. if katjaQW['coke_point'] < 55: katjaQW['coke_stage'] = 7
  212. end
  213. if katjaQW['coke_day'] + 7 < daystart and katjaQW['coke_day_lapse'] = 1: katjaQW['coke_day_lapse'] = 0 & katjaQW['coke_point'] -= 1
  214. if katjaQW['coke_point'] < 0: katjaQW['coke_point'] = 0
  215. end
  216. if $ARGS[0] = 'face_color':
  217. !! To print the colour of her face, for the player to get an idea of her arousal
  218. if katjaQW['QWstage'] > 2:
  219. if katjaQW['horny'] < 20:
  220. 'Katja looks calm and stoic.'
  221. elseif katjaQW['horny'] < 40:
  222. 'Katja looks at you with a naughty twinkle in her eyes.'
  223. elseif katjaQW['horny'] < 60:
  224. 'Katja looks at you, a faint blush on her cheeks as she smiles at you mischievously.'
  225. elseif katjaQW['horny'] < 80:
  226. 'Katja is blushing fairly obviously and looks at you longingly.'
  227. else
  228. 'Katja''s face is flushed bright red and her chest is heaving from her heavy breathing. She''s idly rubbing her thighs against one another.'
  229. end
  230. else
  231. 'Katja looks at you with a smile.'
  232. end
  233. end
  234. if $ARGS[0] = 'makeup':
  235. !! Routine for Katja to apply makeup to the player character
  236. 'Katja looks at you with a smile. "<<$pcs_nickname>>, I bet you would look great with a little make-up on you! What do you say?"'
  237. $temp_loc = $ARGS[1]
  238. $temp_loc_arg = $ARGS[2]
  239. act 'Let her put makeup on you':
  240. *clr & cla
  241. pcs_hairbsh = 1
  242. minut += 10
  243. gs 'stat'
  244. '<center><b><font color="maroon"><<$npc_firstname[''A14'']>> <<$npc_lastname[''A14'']>></font></b></center>'
  245. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big14.jpg"></center>'
  246. 'Katja happily grins as she quickly straightens your hair. "What do you want? A light touch-up, some normal make-up or shall I just shovel it on?"'
  247. act 'Light touch-up':
  248. cla
  249. pcs_makeup = 2
  250. 'Katja subtly applies some neutral tones, with a light application of makeup to bring out your natural beauty.'
  251. if katjaQW['QWstage'] > 2:katjaQW['horny'] += 5*(1 + npc_sex['A14']) & 'Katja suddenly becomes aware that she is staring into your eyes and blushes.'
  252. act 'Thank Katja for the makeup': gt $temp_loc, $temp_loc_arg
  253. end
  254. act 'Normal make-up':
  255. cla
  256. pcs_makeup = 3
  257. 'Katja applies some mildly vibrate tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  258. if katjaQW['QWstage'] > 2:katjaQW['horny'] += 5*(1 + npc_sex['A14']) & 'Katja suddenly becomes aware that she is staring into your eyes and blushes.'
  259. act 'Thank Katja for the makeup': gt $temp_loc, $temp_loc_arg
  260. end
  261. act 'Heavy make-up':
  262. cla
  263. pcs_makeup = 4
  264. 'Katja applies some deeper, richer shades of makeup that are thick enough to cover most imperfections while drawing attention to your eyes and lips.'
  265. if katjaQW['QWstage'] > 2:katjaQW['horny'] += 5*(1 + npc_sex['A14']) & 'Katja suddenly becomes aware that she is staring into your eyes and blushes.'
  266. act 'Thank Katja for the makeup': gt $temp_loc, $temp_loc_arg
  267. end
  268. act 'You really don''t need it': gt $temp_loc, $temp_loc_arg
  269. end
  270. end
  271. if $ARGS[0] = 'willing_to_be_naughty':
  272. !! A version of katjaQW['slut'] modified for drug and alcohol use to make her more willing to do stuff when drunk and/or high
  273. temp = KatjaQW['slut']
  274. if katjaQW['under_influnece_of_cocaine'] > 0: temp += 10/katjaQW['coke_stage']
  275. temp += katjaQW['drinks']
  276. RESULT = temp
  277. end
  278. if $ARGS[0] = 'take_cocaine':
  279. !! Use if Katja takes cocaine. The extra argument is set to 1 if you only want the effect on her tolerance/addiction. Use it if she takes cocaine in a without the player character being present. The second extra argument is only used by the cikl argument in this file, such that Katja taking drugs counts for the day that just passed and not the day starting.
  280. if katjaQW['coke_stage'] = 0:
  281. katjaQW['slut'] += 10
  282. katjaQW['coke_stage'] = 1
  283. elseif katjaQW['coke_stage'] = 1:
  284. katjaQW['slut'] += 2
  285. elseif katjaQW['coke_stage'] = 2:
  286. katjaQW['slut'] += rand(1,2)
  287. elseif katjaQW['coke_stage'] = 3:
  288. katjaQW['slut'] += rand(0,1)
  289. end
  290. if katjaQW['coke_stage'] = -1 and rand(0,1) = 0: katjaQW['coke_stage'] = 4
  291. if $ARGS[1] = 0:
  292. katjaQW['under_influnece_of_cocaine'] += 2
  293. if katjaQW['coke_stage'] > 0:
  294. katjaQW['horny'] += 4*(11-katjaQW['coke_stage'])
  295. else
  296. katjaQW['horny'] += 40
  297. end
  298. end
  299. if katjaQW['coke_stage'] < 3:
  300. katjaQW['coke_point'] += 1
  301. elseif katjaQW['coke_stage'] < 6:
  302. if katjaQW['coke_day'] + 7 > daystart - ARGS[2]: katjaQW['coke_point'] += 1
  303. elseif katjaQW['coke_stage'] < 8:
  304. if katjaQW['coke_day'] + 2 > daystart - ARGS[2]: katjaQW['coke_point'] += 1
  305. elseif katjaQW['coke_stage'] = 8:
  306. if katjaQW['coke_day'] = daystart - ARGS[2]: katjaQW['coke_point'] += 1
  307. end
  308. katjaQW['coke_day'] = daystart - ARGS[2]
  309. katjaQW['coke_day_lapse'] = 1
  310. end
  311. if $ARGS[0] = 'sex_set':
  312. !! Test to see if Katja have sex with somebody whiteout the player presents, and updates Katja''s stat accordingly. ARGS[1] is the number of boys Katja is with and ARGS[2] the number of girls.
  313. if AGS[1] > 0:
  314. !! Katja was in a situation with one or more boys where she might have had sex if some of them.
  315. if katjaQW['simultanous_boys'] = 0 and rand(0,4) <= katjaQW['slut']/25:
  316. !! Katja have never had sex with a boy before
  317. if npc_vag['A14'] = 0 and npc_ass['A14'] = 0:
  318. if rand(0,4) = 0:
  319. npc_ass['A14'] += 2
  320. katjaQW['anal_sex'] = 1
  321. else
  322. npc_vag['A14'] += 2
  323. katjaQW['pussy_sex'] = 1
  324. end
  325. else
  326. if npc_vag['A14'] > 0 and rand(0,3) > 0:
  327. if katjaQW['pussy_sex'] = 0: katjaQW['pussy_sex'] = 1
  328. if npc_vag['A14'] < rand(5,10):
  329. npc_vag['A14'] += 2
  330. elseif npc_vag['A14'] < rand(10,20)
  331. npc_vag['A14'] += 1
  332. end
  333. else
  334. if rand(0,5) = 0:
  335. npc_vag['A14'] += 2
  336. katjaQW['pussy_sex'] = 1
  337. end
  338. end
  339. if npc_ass['A14'] > 0 and rand(0,3) > 0:
  340. if katjaQW['anal_sex'] = 0: katjaQW['anal_sex'] = 1
  341. if npc_ass['A14'] < rand(5,10):
  342. npc_ass['A14'] += 2
  343. elseif npc_ass['A14'] < rand(10,20)
  344. npc_ass['A14'] += 1
  345. end
  346. else
  347. if rand(0,7) = 0:
  348. npc_ass['A14'] += 2
  349. katjaQW['anal_sex'] = 1
  350. end
  351. end
  352. end
  353. if npc_throat['A14'] > 0 and rand(0,7) > 0:
  354. if npc_throat['A14'] < rand(8,22): npc_throat['A14'] += 1
  355. else
  356. if rand(0,3) = 0: npc_throat['A14'] += 1
  357. end
  358. !! It this case Katja will have sex with at most 2 of the boys present
  359. katjaQW['simultanous_boys'] = rand(1,min(2,ARGS[1]))
  360. katjaQW['slut'] += katjaQW['simultanous_boys']*5
  361. elseif rand(0,2) <= katjaQW['slut']/50:
  362. !! Katja have had sex with one or more boys before
  363. if npc_vag['A14'] > 0 and rand(0,3) > 0:
  364. if katjaQW['pussy_sex'] = 0: katjaQW['pussy_sex'] = 1
  365. if npc_vag['A14'] < rand(5,10):
  366. npc_vag['A14'] += 2
  367. elseif npc_vag['A14'] < rand(10,20)
  368. npc_vag['A14'] += 1
  369. end
  370. else
  371. if rand(0,5) = 0:
  372. npc_vag['A14'] += 2
  373. katjaQW['pussy_sex'] = 1
  374. end
  375. end
  376. if npc_ass['A14'] > 0 and rand(0,3) > 0:
  377. if katjaQW['anal_sex'] = 0: katjaQW['anal_sex'] = 1
  378. if npc_ass['A14'] < rand(5,10):
  379. npc_ass['A14'] += 2
  380. elseif npc_ass['A14'] < rand(10,20)
  381. npc_ass['A14'] += 1
  382. end
  383. else
  384. if rand(0,7) = 0:
  385. npc_ass['A14'] += 2
  386. katjaQW['anal_sex'] = 1
  387. end
  388. end
  389. if npc_throat['A14'] > 0 and rand(0,7) > 0:
  390. if npc_throat['A14'] < rand(8,22): npc_throat['A14'] += 1
  391. else
  392. if rand(0,3) = 0: npc_throat['A14'] += 1
  393. end
  394. !! In this case she can have sex with all the boys present
  395. katjaQW['simultanous_boys'] += max(0,rand(0,ARGS[1] - katjaQW['simultanous_boys']))
  396. katjaQW['slut'] += min(katjaQW['simultanous_boys'],ARGS[1])*3
  397. end
  398. end
  399. if AGS[2] > 0:
  400. !! Katja was in a situation with one or more girls where she might have had sex if some of them.
  401. if katjaQW['simultanous_girls'] = 0 and rand(0,3) <= katjaQW['slut']/33:
  402. !! Katja have never had sex with a girl before
  403. if npc_vag['A14'] > 0 and rand(0,5) > 0:
  404. npc_vag['A14'] += 1
  405. else
  406. if rand(0,9) = 0: npc_vag['A14'] += 1
  407. end
  408. if npc_ass['A14'] > 0 and rand(0,7) > 0:
  409. npc_ass['A14'] += 1
  410. else
  411. if rand(0,14) = 0: npc_ass['A14'] += 1
  412. end
  413. if npc_throat['A14'] > 0 and rand(0,2) = 0:
  414. npc_throat['A14'] += 1
  415. else
  416. if rand(0,6) = 0: npc_throat['A14'] += 1
  417. end
  418. !! It this case Katja will have sex with at most 3 of the girls present
  419. katjaQW['simultanous_girls'] = rand(1,min(3,ARGS[1]))
  420. katjaQW['slut'] += katjaQW['simultanous_girls']*4
  421. elseif rand(0,1) <= katjaQW['slut']/50:
  422. !! Katja have had sex with one or more girls before
  423. if npc_vag['A14'] > 0 and rand(0,5) > 0:
  424. npc_vag['A14'] += 1
  425. else
  426. if rand(0,9) = 0: npc_vag['A14'] += 1
  427. end
  428. if npc_ass['A14'] > 0 and rand(0,7) > 0:
  429. npc_ass['A14'] += 1
  430. else
  431. if rand(0,14) = 0: npc_ass['A14'] += 1
  432. end
  433. if npc_throat['A14'] > 0 and rand(0,2) = 0:
  434. npc_throat['A14'] += 1
  435. else
  436. if rand(0,6) = 0: npc_throat['A14'] += 1
  437. end
  438. !! In this case she can have sex with all the girls present
  439. katjaQW['simultanous_girls'] += max(0,rand(0,ARGS[1] - katjaQW['simultanous_girls']))
  440. katjaQW['slut'] += min(katjaQW['simultanous_gitls'],ARGS[1])*2
  441. end
  442. end
  443. end
  444. --- katja_procedural ---------------------------------