katja_procedural.qsrc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514
  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_procedural', '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. katjaQW['slut'] += 20
  136. if katjaQW['masturbates'] = 0: katjaQW['masturbates'] = 1
  137. end
  138. !! Set some variables related to her sexual experience that is not taking care in all the acts.
  139. if (katjaQW['QWstage'] >= 6 or katjaQW['anal_quest'] >= 3) and katjaQW['simultanous_boys'] = 0: katjaQW['simultanous_boys'] = 1
  140. if npc_sex['A14'] >= 1 and katjaQW['simultanous_girls'] = 0: katjaQW['simultanous_girls'] = 1
  141. !! Katja learning about you sexual experience from other sources because you are a slut.
  142. if fame['pav_slut'] >= 150 and stat['bj'] > 0 and katjaQW['knows_BJ'] ! 1: katjaQW['knows_BJ'] = 1
  143. if fame['pav_slut'] >= 250 or preg > 0 and stat['vaginal'] > 0 and katjaQW['knows_sex'] ! 1: katjaQW['knows_sex'] = 1
  144. !!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)
  145. if katjaQW['no_panties_at_disco'] > 0: katjaQW['no_panties_at_disco'] = 0
  146. !! 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.
  147. if katjaQW['nightclub_private_room_boy'] = 1:
  148. katjaQW['nightclub_private_room_boy'] = 0
  149. if rand(0,katjaQw['slut']/25) > 0: gs 'katja_procedural', 'sex_set', 1
  150. end
  151. !!Out commented Katja becoming pregnant until more content for a pregnant Katja is done
  152. !!if katjaPreg = 0 and month >= 2 and year > 2016: katjaPreg = 1
  153. !! Degeneration of katja slut if it is high
  154. if katjaQW['slut'] > 100:
  155. katjaQW['slut'] -= 1
  156. elseif katjaQW['slut'] > 80:
  157. if week mod 2 = 0: katjaQW['slut'] -= 1
  158. elseif katjaQW['slut'] > 50:
  159. if week = 1: katjaQW['slut'] -= 1
  160. end
  161. !! Changing of preferences as Katja becomes more slutty
  162. if katjaQW['slut'] > 50 and katjaQW['preference_change'] = 0:
  163. katjaQW['preference_change'] = 1
  164. npc_preference['A<<npctemp>>_clothes_thinnes'] = 0
  165. npc_preference['A<<npctemp>>_short_skirt'] = 1
  166. elseif katjaQW['slut'] > 100 and katjaQW['preference_change'] = 1:
  167. katjaQW['preference_change'] = 2
  168. npc_preference['A<<npctemp>>_clothes_thinnes'] = 1
  169. end
  170. !! Check if she did drugs with others
  171. if katjaQW['coke_stage'] >= 5:
  172. if locat['katja_save2'] = 53 and katjaQW['disco_arrival'] + 600 > totminut or katjaQW['disco_met'] + 600 > totminut:
  173. if rand(0,katjaQW['coke_stage']) >= 5: gs 'katja_procedural', 'take_cocaine', 1, 1
  174. elseif katjaQw['alone_with_other_day'] = daystart -1
  175. if rand(2,katjaQW['coke_stage']) >= 5: gs 'katja_procedural', 'take_cocaine', 1, 1
  176. end
  177. end
  178. !! Taking care of her cocaine tolerance/addiction
  179. if katjaQW['coke_stage'] = 1 and katjaQW['coke_point'] > 3:
  180. katjaQW['coke_stage'] = 2
  181. elseif katjaQW['coke_stage'] = 2 and katjaQW['coke_point'] > 8:
  182. katjaQW['coke_stage'] = 3
  183. elseif katjaQW['coke_stage'] = 3 and katjaQW['coke_point'] > 15:
  184. katjaQW['coke_stage'] = 4
  185. elseif katjaQW['coke_stage'] = 4:
  186. if katjaQW['coke_point'] > 25:
  187. katjaQW['coke_stage'] = 5
  188. elseif katjaQW['coke_point'] < 8:
  189. katjaQW['coke_stage'] = 3
  190. end
  191. elseif katjaQW['coke_stage'] = 5:
  192. if katjaQW['coke_point'] > 35:
  193. katjaQW['coke_stage'] = 6
  194. elseif katjaQW['coke_point'] < 25:
  195. katjaQW['coke_stage'] = 5
  196. end
  197. elseif katjaQW['coke_stage'] = 6:
  198. if katjaQW['coke_point'] > 50:
  199. katjaQW['coke_stage'] = 7
  200. elseif katjaQW['coke_point'] < 35:
  201. katjaQW['coke_stage'] = 5
  202. end
  203. elseif katjaQW['coke_stage'] = 7:
  204. if katjaQW['coke_day'] + 1 < daystart and rand(0,3)= 0: gs 'katja_procedural', 'take_cocaine', 1, 1
  205. if katjaQW['coke_point'] > 70:
  206. katjaQW['coke_stage'] = 8
  207. elseif katjaQW['coke_point'] < 45:
  208. katjaQW['coke_stage'] = 6
  209. end
  210. elseif katjaQW['coke_stage'] = 8:
  211. if katjaQW['coke_day'] + 1 < daystart: katjaQW['financial_strain'] += rand(0,1) & gs 'katja_procedural', 'take_cocaine', 1, 1
  212. if katjaQW['coke_point'] < 55: katjaQW['coke_stage'] = 7
  213. end
  214. if katjaQW['coke_day'] + 7 < daystart and katjaQW['coke_day_lapse'] = 1: katjaQW['coke_day_lapse'] = 0 & katjaQW['coke_point'] -= 1
  215. if katjaQW['coke_point'] < 0: katjaQW['coke_point'] = 0
  216. end
  217. if $ARGS[0] = 'face_color':
  218. !! To print the colour of her face, for the player to get an idea of her arousal
  219. if katjaQW['QWstage'] > 2:
  220. if katjaQW['horny'] < 20:
  221. 'Katja looks calm and stoic.'
  222. elseif katjaQW['horny'] < 40:
  223. 'Katja looks at you with a naughty twinkle in her eyes.'
  224. elseif katjaQW['horny'] < 60:
  225. 'Katja looks at you, a faint blush on her cheeks as she smiles at you mischievously.'
  226. elseif katjaQW['horny'] < 80:
  227. 'Katja is blushing fairly obviously and looks at you longingly.'
  228. else
  229. '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.'
  230. end
  231. else
  232. 'Katja looks at you with a smile.'
  233. end
  234. end
  235. if $ARGS[0] = 'makeup':
  236. !! Routine for Katja to apply makeup to the player character
  237. '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?"'
  238. $temp_loc = $ARGS[1]
  239. $temp_loc_arg = $ARGS[2]
  240. act 'Let her put makeup on you':
  241. *clr & cla
  242. pcs_hairbsh = 1
  243. minut += 10
  244. gs 'stat'
  245. '<center><b><font color="maroon"><<$npc_firstname[''A14'']>> <<$npc_lastname[''A14'']>></font></b></center>'
  246. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big14.jpg"></center>'
  247. '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?"'
  248. act 'Light touch-up':
  249. cla
  250. pcs_makeup = 2
  251. 'Katja subtly applies some neutral tones, with a light application of makeup to bring out your natural beauty.'
  252. if katjaQW['QWstage'] > 2:katjaQW['horny'] += 5*(1 + npc_sex['A14']) & 'Katja suddenly becomes aware that she is staring into your eyes and blushes.'
  253. act 'Thank Katja for the makeup': gt $temp_loc, $temp_loc_arg
  254. end
  255. act 'Normal make-up':
  256. cla
  257. pcs_makeup = 3
  258. 'Katja applies some mildly vibrate tones and colors of makeup to cover your minor imperfections and enhance your best features.'
  259. if katjaQW['QWstage'] > 2:katjaQW['horny'] += 5*(1 + npc_sex['A14']) & 'Katja suddenly becomes aware that she is staring into your eyes and blushes.'
  260. act 'Thank Katja for the makeup': gt $temp_loc, $temp_loc_arg
  261. end
  262. act 'Heavy make-up':
  263. cla
  264. pcs_makeup = 4
  265. 'Katja applies some deeper, richer shades of makeup that are thick enough to cover most imperfections while drawing attention to your eyes and lips.'
  266. if katjaQW['QWstage'] > 2:katjaQW['horny'] += 5*(1 + npc_sex['A14']) & 'Katja suddenly becomes aware that she is staring into your eyes and blushes.'
  267. act 'Thank Katja for the makeup': gt $temp_loc, $temp_loc_arg
  268. end
  269. act 'You really don''t need it': gt $temp_loc, $temp_loc_arg
  270. end
  271. end
  272. if $ARGS[0] = 'willing_to_be_naughty':
  273. !! A version of katjaQW['slut'] modified for drug and alcohol use to make her more willing to do stuff when drunk and/or high
  274. temp = KatjaQW['slut']
  275. if katjaQW['under_influnece_of_cocaine'] > 0: temp += 10/katjaQW['coke_stage']
  276. temp += katjaQW['drinks']
  277. RESULT = temp
  278. end
  279. if $ARGS[0] = 'take_cocaine':
  280. !! 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.
  281. if katjaQW['coke_stage'] = 0:
  282. katjaQW['slut'] += 10
  283. katjaQW['coke_stage'] = 1
  284. elseif katjaQW['coke_stage'] = 1:
  285. katjaQW['slut'] += 2
  286. elseif katjaQW['coke_stage'] = 2:
  287. katjaQW['slut'] += rand(1,2)
  288. elseif katjaQW['coke_stage'] = 3:
  289. katjaQW['slut'] += rand(0,1)
  290. end
  291. if katjaQW['coke_stage'] = -1 and rand(0,1) = 0: katjaQW['coke_stage'] = 4
  292. if $ARGS[1] = 0:
  293. katjaQW['under_influnece_of_cocaine'] += 2
  294. if katjaQW['coke_stage'] > 0:
  295. katjaQW['horny'] += 4*(11-katjaQW['coke_stage'])
  296. else
  297. katjaQW['horny'] += 40
  298. end
  299. end
  300. if katjaQW['coke_stage'] < 3:
  301. katjaQW['coke_point'] += 1
  302. elseif katjaQW['coke_stage'] < 6:
  303. if katjaQW['coke_day'] + 7 > daystart - ARGS[2]: katjaQW['coke_point'] += 1
  304. elseif katjaQW['coke_stage'] < 8:
  305. if katjaQW['coke_day'] + 2 > daystart - ARGS[2]: katjaQW['coke_point'] += 1
  306. elseif katjaQW['coke_stage'] = 8:
  307. if katjaQW['coke_day'] = daystart - ARGS[2]: katjaQW['coke_point'] += 1
  308. end
  309. katjaQW['coke_day'] = daystart - ARGS[2]
  310. katjaQW['coke_day_lapse'] = 1
  311. end
  312. if $ARGS[0] = 'sex_set':
  313. !! 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.
  314. if AGS[1] > 0:
  315. !! Katja was in a situation with one or more boys where she might have had sex if some of them.
  316. if katjaQW['simultanous_boys'] = 0 and rand(0,4) <= katjaQW['slut']/25:
  317. !! Katja have never had sex with a boy before
  318. if npc_vag['A14'] = 0 and npc_ass['A14'] = 0:
  319. if rand(0,4) = 0:
  320. npc_ass['A14'] += 2
  321. katjaQW['anal_sex'] = 1
  322. else
  323. npc_vag['A14'] += 2
  324. katjaQW['pussy_sex'] = 1
  325. end
  326. else
  327. if npc_vag['A14'] > 0 and rand(0,3) > 0:
  328. if katjaQW['pussy_sex'] = 0: katjaQW['pussy_sex'] = 1
  329. if npc_vag['A14'] < rand(5,10):
  330. npc_vag['A14'] += 2
  331. elseif npc_vag['A14'] < rand(10,20)
  332. npc_vag['A14'] += 1
  333. end
  334. else
  335. if rand(0,5) = 0:
  336. npc_vag['A14'] += 2
  337. katjaQW['pussy_sex'] = 1
  338. end
  339. end
  340. if npc_ass['A14'] > 0 and rand(0,3) > 0:
  341. if katjaQW['anal_sex'] = 0: katjaQW['anal_sex'] = 1
  342. if npc_ass['A14'] < rand(5,10):
  343. npc_ass['A14'] += 2
  344. elseif npc_ass['A14'] < rand(10,20)
  345. npc_ass['A14'] += 1
  346. end
  347. else
  348. if rand(0,7) = 0:
  349. npc_ass['A14'] += 2
  350. katjaQW['anal_sex'] = 1
  351. end
  352. end
  353. end
  354. if npc_throat['A14'] > 0 and rand(0,7) > 0:
  355. if npc_throat['A14'] < rand(8,22): npc_throat['A14'] += 1
  356. else
  357. if rand(0,3) = 0: npc_throat['A14'] += 1
  358. end
  359. !! It this case Katja will have sex with at most 2 of the boys present
  360. katjaQW['simultanous_boys'] = rand(1,min(2,ARGS[1]))
  361. katjaQW['slut'] += katjaQW['simultanous_boys']*5
  362. elseif rand(0,2) <= katjaQW['slut']/50:
  363. !! Katja have had sex with one or more boys before
  364. if npc_vag['A14'] > 0 and rand(0,3) > 0:
  365. if katjaQW['pussy_sex'] = 0: katjaQW['pussy_sex'] = 1
  366. if npc_vag['A14'] < rand(5,10):
  367. npc_vag['A14'] += 2
  368. elseif npc_vag['A14'] < rand(10,20)
  369. npc_vag['A14'] += 1
  370. end
  371. else
  372. if rand(0,5) = 0:
  373. npc_vag['A14'] += 2
  374. katjaQW['pussy_sex'] = 1
  375. end
  376. end
  377. if npc_ass['A14'] > 0 and rand(0,3) > 0:
  378. if katjaQW['anal_sex'] = 0: katjaQW['anal_sex'] = 1
  379. if npc_ass['A14'] < rand(5,10):
  380. npc_ass['A14'] += 2
  381. elseif npc_ass['A14'] < rand(10,20)
  382. npc_ass['A14'] += 1
  383. end
  384. else
  385. if rand(0,7) = 0:
  386. npc_ass['A14'] += 2
  387. katjaQW['anal_sex'] = 1
  388. end
  389. end
  390. if npc_throat['A14'] > 0 and rand(0,7) > 0:
  391. if npc_throat['A14'] < rand(8,22): npc_throat['A14'] += 1
  392. else
  393. if rand(0,3) = 0: npc_throat['A14'] += 1
  394. end
  395. !! In this case she can have sex with all the boys present
  396. katjaQW['simultanous_boys'] += max(0,rand(0,ARGS[1] - katjaQW['simultanous_boys']))
  397. katjaQW['slut'] += min(katjaQW['simultanous_boys'],ARGS[1])*3
  398. end
  399. end
  400. if AGS[2] > 0:
  401. !! Katja was in a situation with one or more girls where she might have had sex if some of them.
  402. if katjaQW['simultanous_girls'] = 0 and rand(0,3) <= katjaQW['slut']/33:
  403. !! Katja have never had sex with a girl before
  404. if npc_vag['A14'] > 0 and rand(0,5) > 0:
  405. npc_vag['A14'] += 1
  406. else
  407. if rand(0,9) = 0: npc_vag['A14'] += 1
  408. end
  409. if npc_ass['A14'] > 0 and rand(0,7) > 0:
  410. npc_ass['A14'] += 1
  411. else
  412. if rand(0,14) = 0: npc_ass['A14'] += 1
  413. end
  414. if npc_throat['A14'] > 0 and rand(0,2) = 0:
  415. npc_throat['A14'] += 1
  416. else
  417. if rand(0,6) = 0: npc_throat['A14'] += 1
  418. end
  419. !! It this case Katja will have sex with at most 3 of the girls present
  420. katjaQW['simultanous_girls'] = rand(1,min(3,ARGS[1]))
  421. katjaQW['slut'] += katjaQW['simultanous_girls']*4
  422. elseif rand(0,1) <= katjaQW['slut']/50:
  423. !! Katja have had sex with one or more girls before
  424. if npc_vag['A14'] > 0 and rand(0,5) > 0:
  425. npc_vag['A14'] += 1
  426. else
  427. if rand(0,9) = 0: npc_vag['A14'] += 1
  428. end
  429. if npc_ass['A14'] > 0 and rand(0,7) > 0:
  430. npc_ass['A14'] += 1
  431. else
  432. if rand(0,14) = 0: npc_ass['A14'] += 1
  433. end
  434. if npc_throat['A14'] > 0 and rand(0,2) = 0:
  435. npc_throat['A14'] += 1
  436. else
  437. if rand(0,6) = 0: npc_throat['A14'] += 1
  438. end
  439. !! In this case she can have sex with all the girls present
  440. katjaQW['simultanous_girls'] += max(0,rand(0,ARGS[1] - katjaQW['simultanous_girls']))
  441. katjaQW['slut'] += min(katjaQW['simultanous_gitls'],ARGS[1])*2
  442. end
  443. end
  444. end
  445. --- katja_procedural ---------------------------------