mod_addedflavour_LocationTriggers.qsrc 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648
  1. # mod_addedflavour_LocationTriggers
  2. if $ARGS[0] = 'PatchworkDolls':
  3. if doll_staff = 1 and know_Viola = 1 and npc_rel['A205'] >= 40 and hotcat >= (8 - (5 - difficulty)) and menu_off = 0:
  4. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 1
  5. if modVar_AF_Inhib['Result'] = 1 and modVar_AF_EventLock['A205-ShopSexEv'] ! daystart and $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] ! 'dolls':
  6. *nl
  7. '<b><a href="exec: gt ''mod_addedflavour_A205_Events'',''A205-ShopSexEv-1'' ">Viola</a> seems to be giving you a sultry look</b>'
  8. elseif modVar_AF_EventLock['A205-ShopSexEv'] ! daystart:
  9. *nl
  10. '<b>Viola seems to be giving you a sultry look</b>'
  11. end
  12. elseif doll_staff = 0 and know_Savva = 1 and npc_rel['A204'] >= 40 and hotcat >= (8 - (5 - difficulty)) and menu_off = 0 and pcs_vag ! 0 and $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] ! 'dolls':
  13. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 1
  14. if modVar_AF_Inhib['Result'] = 1 and modVar_AF_EventLock['A204-ShopSexEv'] ! daystart:
  15. *nl
  16. '<b><a href="exec: gt ''mod_addedflavour_A204_Events'',''A204-ShopSexEv-1'' ">Savva</a> seems to be giving you a sultry look</b>'
  17. elseif modVar_AF_EventLock['A204-ShopSexEv'] ! daystart:
  18. *nl
  19. '<b>Savva seems to be giving you a sultry look</b>'
  20. end
  21. end
  22. if Storyline ! 1 and modVar_AF_EventLock['A144-FirstMeet'] ! daystart and modVar_AF_EventTriggered['A204-ShopSexEv'] > 0 and modVar_AF_EventTriggered['A205-ShopSexEv'] > 0 and week <= 5:
  23. modVar_AF_EventLock['A144-FirstMeet'] = daystart
  24. if rand(1,(difficulty + 1)) = 1:
  25. *nl
  26. if modVar_AF_EventTriggered['A144-FirstMeet'] = 0 and modVar_AF_EventOpen['A144-UniversityEv'] = 0:
  27. 'You see <a href="exec: gs ''mod_addedflavour_A144_Events'' , ''A144-FirstMeetEv-X1'' ">Someone</a> working in the shop'
  28. elseif modVar_AF_EventOpen['A144-UniversityEv'] = 0:
  29. 'You see <a href="exec: gs ''mod_addedflavour_A144_Events'' , ''A144-FirstMeetEv-X1'' ">Anushka</a> is here working part-time'
  30. end
  31. end
  32. end
  33. !---
  34. if modVar_AF_EventOpen['A144-UniversityEv'] = 1 : gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'dolls'
  35. if modVar_AF_EventOpen['A144-UniversityEv'] = 1 : gs 'mod_addedflavour_charsche' , 'chkschedule'
  36. if $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] = 'dolls' and $charsche_character_CurActDesc[arrpos('charsche_charlist',144)] = 'Sex':
  37. if doll_staff = 0 : gt 'mod_addedflavour_A144_Events' , 'A144-SavvaSexEv-X1'
  38. if doll_staff = 1 : gt 'mod_addedflavour_A144_Events' , 'A144-ViolaSexEv-X1'
  39. end
  40. if $charsche_character_CurActLoc[arrpos('charsche_charlist',144)] = 'dolls' and $charsche_character_CurActDesc[arrpos('charsche_charlist',144)] = 'Working' and modVar_AF_EventLock['A144-DollsSexEv'] ! daystart:
  41. modVar_AF_EventLock['A144-DollsSexEv'] = daystart
  42. modVar_AF_Rand = rand(1,3)
  43. if modVar_AF_Rand = 1 and doll_staff = 0 : gt 'mod_addedflavour_A144_Events' , 'A144-SavvaSexEv-1'
  44. if modVar_AF_Rand = 2: gt 'mod_addedflavour_A144_Events' , 'A144-ThreesomeEv-1'
  45. end
  46. end
  47. if $ARGS[0] = 'GrandparentsYard':
  48. modVar_AF_Rand = rand(1,(1 + difficulty))
  49. if mira_guest = 0 and $clothingworntype = 'nude' and ((hour >= 6 and hour < 12) or (hour >= 17 and hour < 20)) and modVar_AF_Rand = 1 and modVar_AF_EventLock['A32-BathroomSexEv'] ! daystart and modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-2']:
  50. if modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-1']:
  51. modVar_AF_EventLock['A32-BathroomSexEv'] = daystart
  52. modVar_AF_Temp = 9 - difficulty
  53. gs 'mod_addedflavour_A32_Functions' , 'AddProgress' , 'A32-BathroomSexEv' , modVar_AF_Temp , modVar_AF_EventGates['A32-BathroomSexEv-1']
  54. *nl
  55. '<b>While oblivious in your nudity you cannot help but think that someone is watching</b>'
  56. end
  57. end
  58. end
  59. if $ARGS[0] = 'GrandparentsBathroom':
  60. modVar_AF_Rand = rand(1,((10 - hotcat) + difficulty)) - (5 - difficulty)
  61. if mira_guest = 0 and $clothingworntype = 'nude' and (hour >= 6 and hour < 20) and modVar_AF_Rand <= 1 and modVar_AF_EventLock['A32-BathroomSexEv'] ! daystart and modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-2']:
  62. modVar_AF_EventLock['A32-BathroomSexEv'] = daystart
  63. if modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-1']:
  64. *nl
  65. '<b>There is a noise outside but it is probably one of the many animals in the area</b>'
  66. modVar_AF_Temp = 5 - difficulty
  67. gs 'mod_addedflavour_A32_Functions' , 'AddProgress' , 'A32-BathroomSexEv' , modVar_AF_Temp , modVar_AF_EventGates['A32-BathroomSexEv-1']
  68. elseif modVar_AF_EventProgress['A32-BathroomSexEv'] = modVar_AF_EventGates['A32-BathroomSexEv-1']:
  69. *nl
  70. '<b>There is a <a href="exec: menu_off = 1 & gt ''mod_addedflavour_A32_Events'',''A32-BathroomSexEv-X1'' ">noise</a> outside but it is probably a stray animal in the yard</b>'
  71. elseif modVar_AF_EventProgress['A32-BathroomSexEv'] < modVar_AF_EventGates['A32-BathroomSexEv-2']:
  72. *nl
  73. '<b>You hear a <a href="exec: menu_off = 1 & gt ''mod_addedflavour_A32_Events'',''A32-BathroomSexEv-X1'' ">sound</a> indicating your mystery voyuer is peeping again; that or it really is just a stray animal...</b>'
  74. end
  75. elseif mira_guest = 0 and $clothingworntype = 'nude' and ((hour >= 6 and hour < 12) or (hour >= 17 and hour < 20)) and modVar_AF_Rand <= 1 and modVar_AF_EventLock['A32-BathroomSexEv'] ! daystart and modVar_AF_EventProgress['A32-BathroomSexEv'] >= modVar_AF_EventGates['A32-BathroomSexEv-2']:
  76. modVar_AF_EventLock['A32-BathroomSexEv'] = daystart
  77. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'chkpossible' , 1
  78. if modVar_AF_Inhib['Result'] = 1:
  79. *nl
  80. '<b>You hear a <a href="exec: menu_off = 1 & gt ''mod_addedflavour_A32_Events'' , ''A32-BathroomSexEv-1'' ">sound</a> indicating your voyuer is about again</b>'
  81. else
  82. *nl
  83. '<b>You hear a <a href="exec: menu_off = 1 & gt ''mod_addedflavour_A32_Events'',''A32-BathroomSexEv-X1'' ">sound</a> indicating your mystery voyuer is peeping again; that or a stray animal again</b>'
  84. end
  85. end
  86. end
  87. if $ARGS[0] = 'PavCorridor':
  88. if modVar_AF_EventOpen['A29-NightOutEv'] = 1 and week = 6 and (hour >= 12 and hour < 15) and ($clothingworntype ! 'exercise' and strpos($clothingworntype,'gm_') = 0 and strpos($clothingworntype,'uniform') = 0 and strpos($clothingworntype,'school') = 0) and indorf ! 1 and npc_rel['A29'] >= 90:
  89. *nl
  90. '<b>Get ready for a <a href="exec: gs ''mod_addedflavour_A29_Functions'',''A29-NightOutEv-Config'' ">Night Out</a> in the city with your <<$npc_nickname[''A29'']>></b>'
  91. elseif modVar_AF_EventOpen['A29-NightOutEv'] = 1 and week = 6 and (hour >= 12 and hour < 15) and indorf ! 1 and npc_rel['A29'] >= 90:
  92. *nl
  93. '<b>If you were wearing some nice clothes you could go out to the city with your <<$npc_nickname[''A29'']>></b>'
  94. end
  95. !---
  96. if (hour >= 21 and hour <= 23) and modVar_AF_EventProgress['A33-SibSexEv'] > 0 and modVar_AF_EventLock['A33-SibSexEv'] ! daystart and indorf = 0:
  97. modVar_AF_EventLock['A33-SibSexEv'] = daystart
  98. modVar_AF_Rand = rand(1,(0 + difficulty))
  99. if modVar_AF_Rand = 1 : modVar_AF_EventOpen['A33-SibSexEv'] = 1
  100. end
  101. if modVar_AF_EventOpen['A33-SibSexEv'] >= 1 and (rand(1,(0 + difficulty)) = 1 or modVar_AF_EventOpen['A33-SibSexEv'] = 2) and modVar_AF_EventLock['A33-SibSexEv'] ! daystart and (hour >= 21 and hour <= 23):
  102. *nl
  103. '<b>There seems to be something going on in the room you share with your Sister</b>'
  104. end
  105. !---
  106. if modVar_AF_DeliveryJob['State'] = 2 : gs 'mod_addedflavour_pav_depot' , 'CheckJobsRemaining'
  107. !---
  108. if modVar_AF_EventProgress['A33-SibThreesomeEv-SisInv'] ! 0 and modVar_AF_EventProgress['A33-SibThreesomeEv-BroInv'] ! 0 and week = 7 and hour <= 11:
  109. *nl
  110. '<b>Don''t forget the Picnic with your Siblings that you organised for today!</b>'
  111. end
  112. !---
  113. if (CloStyle2 = 4 or Enable_sforma = 1) and (kanikuli = 0 and SchoolAtestat = 0) and week <= 5 and hour = 7 and minut >= 30:
  114. act '<b>Run to School</b>':
  115. *clr & cla
  116. minut += rand(5,10)
  117. gs 'stat'
  118. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/pc/activities/runninglate' + iif(modVar_AF_QSPVer = 1,'.gif','.webp') + '"></center>'
  119. *nl
  120. 'Realising you are running late you quickly head out the door and run the rest of the way to school, only giving any interruption a passing glance...'
  121. act 'Reach the School' : gt 'gschool_grounds', 'main'
  122. end
  123. end
  124. !---
  125. gs 'mod_addedflavour_Football' , 'FindGameweek'
  126. gs 'mod_addedflavour_Football' , 'RunGameweek'
  127. if modVar_AF_EventProgress['Football'] = 2 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and hour < 15:
  128. *nl
  129. gs 'mod_addedflavour_Football' , 'ChkMatch' , 'League 2'
  130. '<b>You have a <<$modVar_AF_TempStr>> Match with the Pavlovsk High Football Team today! <<$modVar_AF_FBall_TravelMessage>></b>'
  131. end
  132. end
  133. if $ARGS[0] = 'PavBedroom1':
  134. if modVar_AF_EventOpen['A33-SibSexEv'] >= 1 and (hour >= 21 and hour <= 23):
  135. modVar_AF_EventOpen['A33-SibSexEv'] = 0
  136. gs 'mod_addedflavour_A33_Functions' , 'ChooseSibAct'
  137. gt 'mod_addedflavour_A33_Events' , $modVar_AF_TempStr
  138. end
  139. end
  140. if $ARGS[0] = 'PavComplex':
  141. if modVar_AF_EventProgress['A33-SibThreesomeEv-SisInv'] ! 0 and modVar_AF_EventProgress['A33-SibThreesomeEv-BroInv'] ! 0 and hour = 11 and week = 7:
  142. *nl
  143. '<b>You see your <a href="exec: menu_off = 1 & gt ''mod_addedflavour_A33_Events'' , ''A33-SibThreesomeEv-1'' ">Sister</a> waiting to meet you for the picnic</b>'
  144. end
  145. end
  146. if $ARGS[0] = 'PavBathroom':
  147. if ((daystart <= 300 and rand(daystart,300) = 300) and modVar_AF_EventLock['Amended'] = 0) or (daystart > 300 and modVar_AF_EventLock['Amended'] = 0):
  148. *clr & cla
  149. modVar_AF_EventLock['Amended'] = 1
  150. gs 'stat'
  151. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/pavlovsk/resident/apartment/home/idontknow' + iif(modVar_AF_QSPVer = 1,'.gif','.webp') + '"></center>'
  152. *nl
  153. '<center>Wait... what''s that feeling... What the Hell!! IS THAT WHAT I THINK IT IS!!!</center>'
  154. *nl
  155. '<center>WTF!!! This game has a variable to track this... AHH!!! SHIT!!! MUST. GET. TO. TOILET....</center>'
  156. *nl
  157. '<center><b>FFFFFUUUUUUCCCCCCCKKKKK!!!!!!</b></center>'
  158. act 'Shit Fuck Fuck Shit Fuck Shit' :
  159. *clr & cla
  160. gs 'stat'
  161. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/pavlovsk/resident/apartment/home/idontknoweither' + iif(modVar_AF_QSPVer = 1,'.gif','.webp') + '"></center>'
  162. *nl
  163. '<center><b>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!</b></center>'
  164. *nl
  165. '<center><i>*Bowel Evacuation Noises*</i></center>'
  166. *nl
  167. '<center><i>*More Bowel Evacuation Noises*</i></center>'
  168. *nl
  169. '<center><i>*Yet More Bowel Evacuation Noises*</i></center>'
  170. act 'Never have to do that again for the rest of your life' : gt $loc, $loc_arg
  171. end
  172. end
  173. end
  174. if $ARGS[0] = 'ExhibitionistShop':
  175. *nl
  176. if modVar_AF_EventOpen['KSY-ShopMessage-1'] = 1:
  177. '<b><font color="maroon">Kseniya</font> welcomes you to her store</b>'
  178. *nl
  179. '<font color="maroon">"Don''t forget, I''m often at the park on Sunday''s if you want to have more fun!"</font>'
  180. else
  181. '<b><a href="exec: modVar_AF_EventOpen[''KSY-ShopMessage-1''] = 1 & gt ''exhibitionistshop'' , ''start'' ">Kseniya</a> welcomes you to her store</b>'
  182. end
  183. modVar_AF_EventOpen['KSY-ShopMessage-1'] = 0
  184. end
  185. if $ARGS[0] = 'CityResidential':
  186. gs 'mod_addedflavour_charsche' , 'chkschedule'
  187. end
  188. if $ARGS[0] = 'CityAptBedroom':
  189. gs 'mod_addedflavour_charsche' , 'chkschedule'
  190. if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
  191. if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
  192. if $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting' and modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  193. *nl
  194. '<b>Your <<$npc_nickname[''A29'']>> is in here getting <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-Clothed'' ">changed</a></b>'
  195. elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting' and modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  196. *nl
  197. '<b>Your <<$npc_nickname[''A29'']>> finishing up getting her clothes on</b>'
  198. elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Sleeping':
  199. *nl
  200. '<b>Your <<$npc_nickname[''A29'']>> is sleeping in your bed</b>'
  201. end
  202. end
  203. end
  204. if $ARGS[0] = 'CityAptBalcony':
  205. gs 'mod_addedflavour_charsche' , 'chkschedule'
  206. if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
  207. if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $menu_loc:
  208. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  209. *nl
  210. '<b>Your <<$npc_nickname[''A29'']>> is <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-Sunbathing'' ">sunbathing</a> on the balcony</b>'
  211. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  212. *nl
  213. '<b>Your <<$npc_nickname[''A29'']>> is sunbathing on the balcony</b>'
  214. end
  215. end
  216. end
  217. if $ARGS[0] = 'CityAptCorridor':
  218. gs 'mod_addedflavour_charsche' , 'chkschedule'
  219. if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
  220. if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
  221. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  222. *nl
  223. '<b>Your <<$npc_nickname[''A29'']>> is <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-Wafting'' ">wafting</a> around in the hall</b>'
  224. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  225. *nl
  226. '<b>Your <<$npc_nickname[''A29'']>> is wafting around in the hall</b>'
  227. end
  228. end
  229. end
  230. if $ARGS[0] = 'CityAptKitchen':
  231. gs 'mod_addedflavour_charsche' , 'chkschedule'
  232. if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
  233. if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
  234. if $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Cleaning':
  235. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  236. *nl
  237. '<b>Your <<$npc_nickname[''A29'']>> is <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-KitchenClean'' ">cleaning</a> the dishes</b>'
  238. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  239. *nl
  240. '<b>Your <<$npc_nickname[''A29'']>> is cleaning the dishes</b>'
  241. end
  242. elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting':
  243. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  244. *nl
  245. '<b>Your <<$npc_nickname[''A29'']>> is idly <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-KitchenIdle'' ">looking</a> out of the window</b>'
  246. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  247. *nl
  248. '<b>Your <<$npc_nickname[''A29'']>> is idly looking out of the window</b>'
  249. end
  250. end
  251. end
  252. end
  253. if $ARGS[0] = 'CityAptSittingRoom':
  254. gs 'mod_addedflavour_charsche' , 'chkschedule'
  255. if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
  256. if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
  257. if $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Resting':
  258. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  259. *nl
  260. '<b>Your <<$npc_nickname[''A29'']>> is <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-SittinRoomIdle'' ">sitting</a> on the sofa</b>'
  261. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  262. *nl
  263. '<b>Your <<$npc_nickname[''A29'']>> is sitting on the sofa</b>'
  264. end
  265. elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Masturbating':
  266. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  267. gt 'mod_addedflavour_A29_Events' , 'A29-AptStayEv-SittinRoomMasturbating'
  268. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  269. *nl
  270. '<b>Your <<$npc_nickname[''A29'']>> is pleasuring herself</b>'
  271. end
  272. elseif $charsche_character_CurActDesc[arrpos('charsche_charlist',29)] = 'Lounging':
  273. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  274. *nl
  275. '<b>Your <<$npc_nickname[''A29'']>> is <a href="exec: gt ''mod_addedflavour_A29_Events'',''A29-AptStayEv-SittinRoomLounging'' ">lounging</a> on the sofa</b>'
  276. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  277. *nl
  278. '<b>Your <<$npc_nickname[''A29'']>> is lounging on the sofa</b>'
  279. end
  280. end
  281. end
  282. end
  283. if $ARGS[0] = 'CityAptBathroom':
  284. gs 'mod_addedflavour_charsche' , 'chkschedule'
  285. if (hour * 60) + minut > modVar_AF_EventLock['A29-AptStayEv-Interacted'] : modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0
  286. if $charsche_character_CurActLoc[arrpos('charsche_charlist',29)] = $loc:
  287. if modVar_AF_EventLock['A29-AptStayEv-Interacted'] = 0:
  288. gt 'mod_addedflavour_A29_Events' , 'A29-AptStayEv-Bathing'
  289. elseif modVar_AF_EventLock['A29-AptStayEv-Interacted'] >= 1:
  290. *nl
  291. '<b>Your <<$npc_nickname[''A29'']>> is drying herself after a shower</b>'
  292. end
  293. end
  294. end
  295. if $ARGS[0] = 'GrandparentsHome':
  296. if menu_off = 0 and modVar_AF_EventOpen['A29-WorkOutEv'] = 1 and (hour >= 9 and hour < 18) and modVar_AF_EventLock['A29-WorkOutEv'] ! daystart and indorf = 1 and meadow >= 0 and sunWeather = 1 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and npc_rel['A29'] >= 50:
  297. act 'Go for a Run with your <<$npc_nickname[''A29'']>> (0:30)' : gt 'mod_addedflavour_A29_Events' , 'A29-GadWorkoutEv-1'
  298. end
  299. if menu_off = 0 and modVar_AF_EventOpen['A29-WorkOutEv'] = 1 and (hour >= 9 and hour < 18) and modVar_AF_EventLock['A29-YogaEv'] ! daystart and indorf = 1 and bookYog = 1 and meadow > 0 and sunWeather = 1 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and npc_rel['A29'] >= 50:
  300. act 'Take your Mother to the Meadow' : gt 'mod_addedflavour_A29_Events' , 'A29-YogaEv-1'
  301. end
  302. if menu_off = 0 and modVar_AF_EventOpen['A29-WorkOutEv'] = 1 and (hour >= 9 and hour < 18) and modVar_AF_EventLock['A29-WorkOutEv'] ! daystart and indorf = 1 and sunWeather = 1 and ($clothingworntype ! 'exercise' or $shoeworntype ! 'trainers') and npc_rel['A29'] >= 50:
  303. *nl
  304. '<b>If you had some gym clothes on you could probably convince your <<$npc_nickname[''A29'']>> to work out with you</b>'
  305. end
  306. !---
  307. if pcs_sleep >= 50 and modVar_AF_EventOpen['GadCat-SleepEv'] = (daystart - 1):
  308. if rand(1,4) = 1:
  309. *clr & cla
  310. modVar_AF_EventOpen['GadCat-SleepEv'] = 0
  311. pcs_mood += 20
  312. if $loc_arg = '' : $loc_arg = 'main'
  313. gs 'stat'
  314. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/gadukino/Grandparents/bonifacebed<<rand(1,2)>>.jpg"></center>'
  315. *nl
  316. 'As you are waking up you find you are not alone on the bed. Curled up next to you is Boniface!'
  317. *nl
  318. '<i>It''s nice to see him so comfortable with me, he''s a cute cat really...</i>'
  319. act 'Carry on' : gt $loc , $loc_arg
  320. else
  321. modVar_AF_EventOpen['GadCat-SleepEv'] = 0
  322. end
  323. end
  324. if pcs_sleep < 50:
  325. modVar_AF_EventOpen['GadCat-SleepEv'] = daystart
  326. else
  327. modVar_AF_EventOpen['GadCat-SleepEv'] = 0
  328. end
  329. end
  330. if $ARGS[0] = 'GadukinoMeadow':
  331. if modVar_AF_EventOpen['A29-PregRedemption'] = 1 and indorf = 1 and (hour >= 9 and hour < 18) and sunWeather = 1 and rand(1,(1 + difficulty)) = 1 and modVar_AF_EventLock['A29-PregRedemption'] ! daystart:
  332. *nl
  333. '<b>You see your <a href="exec: gt ''mod_addedflavour_A29_Events'' , ''A29-PregRedemptionEv-1'' "><<$npc_nickname[''A29'']>></a> here doing Yoga on her own</b>'
  334. end
  335. end
  336. if $ARGS[0] = 'GadukinoCentre':
  337. if modVar_AF_LocBlock['GrandparentsYard'] = 1:
  338. *nl
  339. '<b>You can see that your Parent''s car is parked by your Grandparent''s house</b>'
  340. end
  341. end
  342. if $ARGS[0] = 'CityMallWorkshop':
  343. if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  344. if modVar_AF_SFLA_AptRProg['BaRm'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['BaRmCost']:
  345. act 'Buy materials to upgrade Shared Apt Bathroom (<<modVar_AF_SFLA_AptRProg[''BaRmCost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['BaRmCost'] & modVar_AF_SFLA_AptRProg['BaRm'] += 1 & gt 'shopdacha'
  346. end
  347. if modVar_AF_SFLA_AptRProg['Bedr1'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr1Cost']:
  348. act 'Buy materials to upgrade Kazumi''s Bedroom (<<modVar_AF_SFLA_AptRProg[''Bedr1Cost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr1Cost'] & modVar_AF_SFLA_AptRProg['Bedr1'] += 1 & gt 'shopdacha'
  349. end
  350. if modVar_AF_SFLA_AptRProg['Bedr2'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr2Cost']:
  351. act 'Buy materials to upgrade Elizabeth''s Bedroom (<<modVar_AF_SFLA_AptRProg[''Bedr2Cost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr2Cost'] & modVar_AF_SFLA_AptRProg['Bedr2'] += 1 & gt 'shopdacha'
  352. end
  353. if modVar_AF_SFLA_AptRProg['Bedr3'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr3Cost']:
  354. act 'Buy materials to upgrade Janina''s Bedroom (<<modVar_AF_SFLA_AptRProg[''Bedr3Cost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr3Cost'] & modVar_AF_SFLA_AptRProg['Bedr3'] += 1 & gt 'shopdacha'
  355. end
  356. if modVar_AF_SFLA_AptRProg['Bedr4'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['Bedr4Cost']:
  357. act 'Buy materials to upgrade your Bedroom in Shared Apt (<<modVar_AF_SFLA_AptRProg[''Bedr4Cost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['Bedr4Cost'] & modVar_AF_SFLA_AptRProg['Bedr4'] += 1 & gt 'shopdacha'
  358. end
  359. if modVar_AF_SFLA_AptRProg['Kit'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['KitCost']:
  360. act 'Buy materials to upgrade Shared Apt Kitchen (<<modVar_AF_SFLA_AptRProg[''KitCost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['KitCost'] & modVar_AF_SFLA_AptRProg['Kit'] += 1 & gt 'shopdacha'
  361. end
  362. if modVar_AF_SFLA_AptRProg['Sitr'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['SitrCost']:
  363. act 'Buy materials to upgrade Shared Apt Living Room (<<modVar_AF_SFLA_AptRProg[''SitrCost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['SitrCost'] & modVar_AF_SFLA_AptRProg['Sitr'] += 1 & gt 'shopdacha'
  364. end
  365. if modVar_AF_SFLA_AptRProg['SpRm'] = 1 and Karta >= modVar_AF_SFLA_AptRProg['SpRmCost']:
  366. act 'Buy materials to upgrade Shared Apt Spare Room (<<modVar_AF_SFLA_AptRProg[''SpRmCost'']>> <b>₽</b>)' : Karta -= modVar_AF_SFLA_AptRProg['SpRmCost'] & modVar_AF_SFLA_AptRProg['SpRm'] += 1 & gt 'shopdacha'
  367. end
  368. end
  369. end
  370. if $ARGS[0] = 'CityLibrary':
  371. if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  372. gs 'mod_addedflavour_charsche' , 'chkschedule'
  373. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'city_library'
  374. modVar_AF_Rand = rand(1,25)
  375. if modVar_AF_Rand = 1:
  376. *nl
  377. 'You unwittingly overhear a conversation going on at the front desk between a <font color="maroon">Librarian</font> and a <font color="olive">Random Man</font>...'
  378. *nl
  379. '<font color="olive">"Hi, I don''t suppose you happen to have a book I am looking for on Living with a Small Penis?"</font>'
  380. '<font color="maroon">"Sorry, I don''t think it is in yet..."</font>'
  381. '<font color="olive">"Yes, that''s the one!!"</font>'
  382. *nl
  383. '<i>I think it is time to leave...</i>'
  384. end
  385. end
  386. end
  387. if $ARGS[0] = 'CityIsland':
  388. if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  389. gs 'mod_addedflavour_charsche' , 'chkschedule'
  390. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'city_island'
  391. end
  392. end
  393. if $ARGS[0] = 'CityUniversity':
  394. if student > 0 and modVar_AF_EventProgress['SFLA-AptLive'] = 0:
  395. *nl
  396. '<b>A <a href="exec: gt ''mod_addedflavour_SFLA_Events'' , ''SFLA-AptLive-Notice'' ">Notice</a> has been put up on a number of Bulletin Boards</b>'
  397. end
  398. !---
  399. if student > 0 and npc_rel['A144'] >= 50 and modVar_AF_EventProgress['SFLA-AptLive'] = 3 and (kanikuli = 7 or (kanikuli = 0 and SchoolAtestat = 1)) and modVar_AF_EventOpen['A144-UniversityEv'] = 0 and ((month >= 9 and month <= 11) or (month >= 2 and month <= 4)):
  400. *nl
  401. '<b>You see <a href="exec: gt ''mod_addedflavour_A144_Events'' , ''A144-UniversityEv-Meet'' ">Someone</a> you recognise walking the University Grounds</b>'
  402. elseif student > 0 and npc_rel['A144'] >= 50 and modVar_AF_EventProgress['SFLA-AptLive'] = 3 and Storyline ! 1 and modVar_AF_EventOpen['A144-UniversityEv'] = 0 and rand(1,(12 - (5 - difficulty))) = 1 and ((month >= 9 and month <= 11) or (month >= 2 and month <= 4)):
  403. *nl
  404. '<b>You see <a href="exec: gt ''mod_addedflavour_A144_Events'' , ''A144-UniversityEv-Meet'' ">Someone</a> you recognise walking the University Grounds</b>'
  405. end
  406. !---
  407. if modVar_AF_EventProgress['Football'] = 0:
  408. '<b>There is a <a href="exec: gt ''mod_addedflavour_Football'' , ''Advert'' ">Poster</a> advertising Women''s Football here</b>'
  409. end
  410. end
  411. if $ARGS[0] = 'CityCentre':
  412. if modVar_AF_EventProgress['SFLA-AptLive'] = 1 and (hour >= 8 and hour <= 20):
  413. act 'Find the Shared Apartment' : gt 'mod_addedflavour_SFLA_Events' , 'SFLA-JoinAptEv-1'
  414. elseif modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  415. act '<b>GO HOME</b> (Student apartment)' : minut += 5 & gt 'mod_addedflavour_SFLA_Sitr' , 'start'
  416. end
  417. if modVar_AF_EventProgress['SFLA-AptLive'] = 3 : gs 'mod_addedflavour_charsche' , 'chkschedule'
  418. end
  419. if $ARGS[0] = 'CityNightClub':
  420. if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  421. gs 'mod_addedflavour_charsche' , 'chkschedule'
  422. if menu_off = 0:
  423. act 'Go Dancing (0:15)' : gt 'mod_addedflavour_SFLA_Events' , 'dancing' , 0
  424. end
  425. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'club'
  426. end
  427. end
  428. if $ARGS[0] = 'CityMallPrecinct':
  429. if hour < 21:
  430. *p ' '
  431. *p '<a href="exec: minut += 3 & gt ''mod_addedflavour_photoshop'',''start''"><img src="mod/addedflavour/images/locations/city/citycenter/mall/photoshop.png"></a>'
  432. *p ' '
  433. *p '<a href="exec: minut += 3 & gt ''mod_addedflavour_shop_maternity'',''start''"><img src="mod/addedflavour/images/locations/city/citycenter/mall/maternity.png"></a>'
  434. end
  435. !---
  436. if modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  437. gs 'mod_addedflavour_charsche' , 'chkschedule'
  438. if sound = 0:
  439. gs 'mod_addedflavour_SFLA_Functions' , 'soundgen'
  440. end
  441. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'torgcentr'
  442. if arrsize('modArr_AF_SFLA_SharedActPeopleArray') > 0:
  443. act 'Shop with flatmates (0:20)' : gt 'mod_addedflavour_SFLA_Events' , 'SFLA-ShoppingEv'
  444. end
  445. end
  446. end
  447. if $ARGS[0] = 'PavlovskPark':
  448. gs 'mod_addedflavour_KSY_Functions' , 'ParkEvents'
  449. end
  450. if $ARGS[0] = 'CityPark':
  451. gs 'mod_addedflavour_KSY_Functions' , 'ParkEvents'
  452. !---
  453. if menu_off = 0 and $loc_arg ! 'exit' and modVar_AF_EventProgress['SFLA-AptLive'] = 3:
  454. gs 'mod_addedflavour_charsche' , 'chkschedule'
  455. gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'city_park'
  456. end
  457. end
  458. if $ARGS[0] = 'CityPhotoAgency':
  459. gs 'mod_addedflavour_charsche' , 'chkschedule'
  460. if $loc_arg = 'studio':
  461. if modVar_AF_EventOpen['A144-UniversityEv'] = 1 : gs 'mod_addedflavour_SFLA_Functions' , 'SFLA-PeoplePresent-Display' , 'foto'
  462. end
  463. end
  464. if $ARGS[0] = 'CityUniversityDorms':
  465. gs 'mod_addedflavour_charsche' , 'chkschedule'
  466. if modVar_AF_EventOpen['A144-UniversityEv'] = 1:
  467. if menu_off = 0 and $loc = 'dorm':
  468. act 'Knock on Anushka''s Door' : gt 'mod_addedflavour_A144_Events' , 'A144-DormEv-X1'
  469. elseif modVar_AF_EventOpen['A144-UniversityEv'] = 1 and hour >= 8 and hour < 22 and student = 0:
  470. act 'I''m here to visit Anushka':
  471. *clr & cla
  472. if $charsche_character_CurActLoc[arrpos('$charsche_charlist',144)] = 'dorm':
  473. 'You say that you''re here to visit Anushka. The janitor checks the books and says "Oh the new girl, of course head on in"'
  474. act 'Enter':gt 'dorm', 'korr'
  475. else
  476. 'You say that you''re here to visit Anushka. The janitor checks the books and says "I''m sorry but she isn''t in the building at the moment"'
  477. act 'Leave':gt 'dorm', 'start'
  478. end
  479. end
  480. end
  481. end
  482. if modVar_AF_EventOpen['A4-IgoraInteract'] = 1:
  483. if $charsche_character_CurActDesc[arrpos('charsche_charlist',4)] ! 'Sex' : modVar_AF_LocBlock['A4-Dorm'] = 0
  484. if menu_off = 0 and $loc = 'dorm' and modVar_AF_LocBlock['A4-Dorm'] = 0:
  485. act 'Knock on Igora''s Door' : gt 'mod_addedflavour_A4_Events' , 'A4-DormEv-X1'
  486. end
  487. elseif modVar_AF_EventOpen['A4-KnowIgor'] = 1 and hour >= 8 and hour < 22 and modVar_AF_EventLock['A4-PreConfidentEv'] ! daystart and modVar_AF_EventProgress['A4-PreConfidentEv'] < 3 and $loc = 'dorm':
  488. modVar_AF_Rand = rand(1,500)
  489. modVar_AF_EventLock['A4-PreConfidentEv'] = daystart
  490. if modVar_AF_Rand >= 200:
  491. act 'Knock on Igora''s Door' : modVar_AF_EventProgress['A4-PreConfidentEv'] += 1 & gt 'mod_addedflavour_A4_Events' , 'A4-PreConfidentEv-<<modVar_AF_EventProgress[''A4-PreConfidentEv'']>>'
  492. else
  493. act 'Knock on Igora''s Door':
  494. *clr & cla
  495. minut += rand(1,3)
  496. gs 'stat'
  497. *nl
  498. 'Unfortunately there is no answer at the door, maybe you can try another day...'
  499. act 'Leave' : gt 'dorm', 'korr'
  500. end
  501. end
  502. end
  503. end
  504. if $ARGS[0] = 'PavSchool':
  505. if Storyline = 1 and (kanikuli = 0 and SchoolAtestat = 0) and modVar_AF_BlockEvents['A130'] ! 2:
  506. if hour = 7 and minut <= 45 and $loc = 'gschool_grounds' and $loc_arg = 'main' : gs 'mod_addedflavour_A130_Functions' , 'RegistrationEvent'
  507. if hour = 14 and $loc = 'gschool_grounds' and $loc_arg = 'main': gs 'mod_addedflavour_A130_Functions' , 'ClubEvent'
  508. end
  509. !---
  510. if modVar_AF_EventProgress['Football'] = 0 and $loc_arg = 'sports':
  511. *nl
  512. '<b>There is a <a href="exec: gt ''mod_addedflavour_Football'' , ''Advert'' ">Poster</a> advertising Women''s Football here</b>'
  513. elseif modVar_AF_EventProgress['Football'] = 1 and $loc_arg = 'sports' and (hour >= 14 and hour < 16) and week <= 5 and SchoolAtestat = 0:
  514. *nl
  515. '<b>Find the Football Coach to try and <a href="exec: gt ''mod_addedflavour_Football'' , ''Join-L2'' ">Join up</a></b>'
  516. act 'Find Football Coach' : gt 'mod_addedflavour_Football' , 'Join-L2'
  517. end
  518. if (modVar_AF_EventProgress['Football'] = 1 or modVar_AF_EventProgress['Football'] = 2) and $loc_arg = 'sports' and (hour >= 14 and hour < 16) and week <= 5 and SchoolAtestat = 0 and ftbll_lvl <= 50 and $clothingworntype = 'exercise':
  519. act 'Put some Football Training in' : gt 'mod_addedflavour_Football' , 'Training'
  520. end
  521. if modVar_AF_EventProgress['Football'] = 2 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and hour = 14:
  522. gs 'mod_addedflavour_Football' , 'ChkMatch' , 'League 2'
  523. if $modVar_AF_TempStr = 'Home':
  524. act '<b>Prepare for your Match</b>' : gt 'mod_addedflavour_Football' , 'MatchStart' , 'Locker'
  525. end
  526. end
  527. !---
  528. if hour = 14 and week < 6 and kanikuli = 0 and $menu_arg = 'main' and (npc_rel['A142'] >= 80 or modVar_AF_EventProgress['A142-Relationship'] >= 1) and modVar_AF_EventProgress['Football'] = 2 and modVar_AF_EventLock['A142-MeetEv'] ! daystart : '<a href="exec: gt ''mod_addedflavour_A142_Functions'' , ''A142-SchoolTalk'' ">Zinaida Alkaev</a> is here, looking through her bag before returning home.'
  529. end
  530. if $ARGS[0] = 'PavResidential':
  531. if (kanikuli = 0 and SchoolAtestat = 0) and modVar_AF_BlockEvents['A130'] ! 2 and modVar_AF_EventOpen['A130-SubmissiveSexEv'] = 1:
  532. iif(modVar_AF_EventLock['A130-SubmissiveSexEv'] ! daystart and week <= 5 and hour = 17,'<a href="exec: gt ''mod_addedflavour_A130_Events'' , ''A130-TutorEv-1'' ">Ilya Yenotin</a>','Ilya Yenotin') + ', one of your teachers, lives in one of the more standard houses in town.'
  533. end
  534. end
  535. if $ARGS[0] = 'PavCommCentre':
  536. if pcs_stam > 20 and $clothingworntype = 'exercise' and $shoeworntype = 'trainers' and hour < 18 and volleysostav > 0:
  537. act 'Play a Practice Volleyball Match (1:00)' : gs 'mod_addedflavour_Volleyball' , 'SetupPractice' , 'Pavlovsk Falcons A' , 'Pavlovsk Falcons B' & gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Practice' , 'Pavlovsk Falcons A' , 'Pavlovsk Falcons B' & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
  538. else
  539. *nl
  540. '<b>Volleyball Practice Matches are organised with members of the Pavlovsk Falcons Volleyball team ONLY</b>'
  541. end
  542. !---
  543. if month = 5 and volleysostav > 0:
  544. *nl
  545. if volsesongame >= 20 and volsesonwin > volsesonloss:
  546. '<b>Notice - The Pavlovsk Falcons have qualified for the Junior Cup (Bus leaves at 3pm on the First Friday of June)</b>'
  547. elseif volsesongame >= 20:
  548. '<b>Notice - The Junior Cup is in June but the Pavlovsk Falcons needs to win <<volsesonloss - volsesonwin>> game' + iif(volsesonloss - volsesonwin = 1,'','s') + ' in order to qualify</b>'
  549. else
  550. '<b>Notice - The Junior Cup is in June but the Pavlovsk Falcons needs to play <<20 - volsesongame>> game' + iif(20 - volsesongame = 1,'','s') + ' in order to qualify</b>'
  551. end
  552. elseif month = 6 and week = 5 and day <= 7:
  553. if volsesongame >= 20 and volsesonwin > volsesonloss:
  554. if hour < 14:
  555. *nl
  556. '<b>The Bus to take your team to the Junior Cup leaves at 3pm</b>'
  557. elseif hour = 14 or hour = 15:
  558. '<b>The <a href="exec: gt ''mod_addedflavour_A69_Events'' , ''A69-JuniorCupArrivalEv-1'' ">Bus</a> is filling up with people to leave to the Junior Cup</b>'
  559. end
  560. elseif volsesongame > 0:
  561. '<b>Your Team did not qualify for the Junior Cup</b>'
  562. end
  563. elseif modVar_AF_EventOpen['A69-JuniorCupWinners'] = 1:
  564. *nl
  565. '<center><b><u>Trophy Cabinet</u></b></center>'
  566. '<center><b>----The St Petersburg Region Volleyball Junior Cup - 2017 Winners - "Pavlovsk Falcons"----</b></center>'
  567. end
  568. end
  569. if $ARGS[0] = 'PavTrainHall':
  570. if modVar_AF_EventProgress['Football'] = 2 and week = 7 and modVar_AF_FBall_GameweekPlayed = modVar_AF_FBall_Gameweek - 1 and hour = 12:
  571. gs 'mod_addedflavour_Football' , 'ChkMatch' , 'League 2'
  572. if $modVar_AF_TempStr = 'Away' and Trainpass_day >= daystart:
  573. act '<b>Travel to your Match</b>' : gt 'mod_addedflavour_Football' , 'MatchStart' , 'Train'
  574. elseif $modVar_AF_TempStr = 'Away' and Money >= 50:
  575. act '<b>Travel to your Match (50₽)</b>' : money -= 50 & gt 'mod_addedflavour_Football' , 'MatchStart' , 'Train'
  576. else
  577. *nl
  578. '<b>This is the time you would be travelling to your Football Match but you need 50₽ for a Train Ticket</b>'
  579. end
  580. end
  581. end
  582. if $ARGS[0] = 'CityBarbeque':
  583. if modVar_AF_EventTriggered['A4-DaySex'] > 0 and modVar_AF_EventLock['A4-DormSexEv'] ! daystart and week >= 6:
  584. act 'Suggest visiting Igora' : gt 'mod_addedflavour_A4_Events' , 'A4-Threesome-1'
  585. elseif $location_type = 'event' and LCEugenefirst = 1 and modVar_AF_EventProgress['A4-PreConfidentEv'] >= 3 and modVar_AF_EventOpen['A4-IgoraInteract'] = 0 and modVar_AF_EventLock['A4-PreConfidentEv'] ! daystart:
  586. act 'Talk about Igora' : gt 'mod_addedflavour_A4_Events' , 'A4-PreConfidentEv-4'
  587. end
  588. end
  589. if $ARGS[0] = 'PavPoliceStation':
  590. if $menu_arg = 'station_inside':
  591. if modVar_AF_EventProgress['HunterState'] = 1 and difficulty >= 3 and modVar_AF_EventTriggered['HunterGrabbed'] >= 1:
  592. act 'Talk about Rapist' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 3
  593. elseif modVar_AF_EventProgress['HunterState'] = 1:
  594. if difficulty <= 2:
  595. if modVar_AF_EventTriggered['HunterGrabbed'] >= 1:
  596. act 'Talk about Rapist' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 3
  597. else
  598. act 'Talk about Stalker' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 1
  599. end
  600. else
  601. act 'Talk about Stalker' : gt 'mod_addedflavour_Hunter' , 'Police_Talk' , 2
  602. end
  603. end
  604. end
  605. end
  606. if $ARGS[0] = 'CityIndustrial':
  607. if $loc_arg = 'redlight' and menu_off = 0 and modVar_AF_EventProgress['A142-Relationship'] = 4 and hour >= 21:
  608. act 'Find a Burly Bloke' : gt 'mod_addedflavour_A142_Events' , 'A142-DimkaEv-X1'
  609. end
  610. end
  611. --- mod_addedflavour_LocationTriggers ---------------------------------