mod_addedflavour_A69_Events.qsrc 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693
  1. # mod_addedflavour_A69_Events
  2. if $ARGS[0] = 'A69-JuniorCupArrivalEv-1':
  3. *clr & cla
  4. menu_off = 1
  5. minut += rand(1,2)
  6. gs 'mod_addedflavour_A19_Functions' , 'config'
  7. gs 'mod_addedflavour_A69_Functions' , 'config'
  8. gs 'mod_addedflavour_Volleyball' , 'SetupTournament'
  9. gs 'mod_addedflavour_Volleyball' , 'SetupLeagues'
  10. gs 'stat'
  11. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  12. *nl
  13. if hour = 15:
  14. '<font color="<<$npc_fontcolor[''A69'']>>">"You finally got here then <<$pcs_firstname>>! We did say the bus left at 3pm; not to be here at any time including 3pm... Anyway, glad you are here now and as you are the last one we will get moving soon."</font>'
  15. act 'Leave for the Junior Cup' : gt 'mod_addedflavour_A69_Events' , 'A69-JuniorCupArrivalEv-2' , 'Late'
  16. else
  17. '<font color="<<$npc_fontcolor[''A69'']>>">"Good to see you here ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '; we are still waiting on one or two people but we will get moving soon."</font>'
  18. act 'Wait on the Bus' : gt 'mod_addedflavour_A69_Events' , 'A69-JuniorCupArrivalEv-2'
  19. end
  20. end
  21. if $ARGS[0] = 'A69-JuniorCupArrivalEv-2':
  22. *clr & cla
  23. minut += ((1020 - ((hour * 60) + minut)) + rand(5,20))
  24. gs 'stat'
  25. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Volleyball/TeamBus.jpg"></center>'
  26. *nl
  27. if $ARGS[1] = 'Late':
  28. 'You rush onto the Bus and sit in the first available seat you come across. The Bus gets moving as soon as you have sat down and within moments you are seeing the Community Centre disappear out of view'
  29. else
  30. 'You get on the Bus and find a good seat for you to set yourself up in and get comfortable for the long journey into the City. You see more and more people pile on as you wait before everyone is accounted for and the Coach tells the Driver to depart.'
  31. end
  32. *nl
  33. 'The journey goes on for over an hour but the time passes briskly allowing you to think on about the Event itself. You don''t have all the information yet but you understand that you will be facing at least Seven other teams in a tournament and that the competition will be over the weekend, but you are sure that Mr Nikolaevich will tell you more when you arrive.'
  34. act 'Arrive at Hotel' : gt 'mod_addedflavour_A69_Events' , 'A69-JuniorCupArrivalEv-3'
  35. end
  36. if $ARGS[0] = 'A69-JuniorCupArrivalEv-3':
  37. *clr & cla
  38. minut += rand(10,15)
  39. gs 'stat'
  40. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Volleyball/Hotel.jpg"></center>'
  41. *nl
  42. 'Before long your Bus has arrived at the Hotel and pulled in outside for you all to start filing off. Once everyone is ready your Coach guides you all into the Main Hall for a quick talk about the rules.'
  43. act 'Listen to Coach' : gt 'mod_addedflavour_A69_Events' , 'A69-JuniorCupArrivalEv-4'
  44. end
  45. if $ARGS[0] = 'A69-JuniorCupArrivalEv-4':
  46. *clr & cla
  47. minut += rand(3,5)
  48. gs 'stat'
  49. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  50. *nl
  51. '<font color="<<$npc_fontcolor[''A69'']>>">"Right everyone; bring it in and listen. First things first, the rules for the Hotel. Each Team has been given the use of a wing of the hotel which is exclusively for them for which we have been given the Western Wing of the Ground Floor. A Wing basically contains a Room with Ensuite for each Team Member and the coach with Team Members pairing up to share, with a Common Room at the end which will act as the hub for all of our free time outside of our respective rooms. During the event all Teams will be restricted to their Wing alone, the only exception being the Main Hall where any Team can collect items or gather for Games at the Stadium.'
  52. *nl
  53. '<font color="<<$npc_fontcolor[''A69'']>>">"As for the Event itself we are in one of two leagues of four teams which we will play out tomorrow with each team playing each other; then the top two of each league will play in a knockout Tournament on Sunday to decide the Winner. If you want more information then you can find it here. Right now though you all have free run of our Wing of the Hotel, just remember there is a 9pm curfew as you all need to assemble here at 8am tomorrow morning.'
  54. *nl
  55. '<font color="<<$npc_fontcolor[''A69'']>>">"Oh and before I forget, you will find your name on the door of your assigned room. It is all pre-determined and you share with who I say you share with.'
  56. act 'Go find your Room' : gt 'mod_addedflavour_A69_Events' , 'A69-JuniorCupArrivalEv-5'
  57. end
  58. if $ARGS[0] = 'A69-JuniorCupArrivalEv-5':
  59. *clr & cla
  60. minut += rand(1,2)
  61. gs 'stat'
  62. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelBedroom.jpg"></center>'
  63. *nl
  64. 'You reach the corridor and find you have been assigned Room 107. Walking straight in you are greeted with a well laid out room with all your amenties covered for. You are quite happy with how it turned out as it could have been a shithole after all but once you get off the initial high you zone in on the second bed.'
  65. *nl
  66. '<i>Oh yeah... I am sharing with someone. Oh Shit... I hope to god it is not Christina...</i>'
  67. *nl
  68. 'With typical karmic timing you hear the door opening behind you.'
  69. *nl
  70. '<i>Please don''t be Christina. Please don''t be Christina...</i>'
  71. act 'Greet your Room Share' : gt 'mod_addedflavour_A69_Events' , 'A69-JuniorCupArrivalEv-6'
  72. end
  73. if $ARGS[0] = 'A69-JuniorCupArrivalEv-6':
  74. *clr & cla
  75. modVar_AF_EventProgress['A19-ConfidenceEv'] = 1
  76. gs 'stat'
  77. '<center><b><font color="<<$npc_fontcolor[''A19'']>>">Avelina Starov</font></b></center>'
  78. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big19.jpg"></center>'
  79. *nl
  80. 'The door opens and to your elated surprise it is not Christina; but instead it is Lina!'
  81. *nl
  82. '"Oh hi Lina, I didn''t expect to be sharing with you; if I was to guess I would have figured you would have gone with Christina"'
  83. *nl
  84. '<font color="<<$npc_fontcolor[''A19'']>>">"Yes, well, I expected so as well but it seems that Mr Nikolaevich has decided to separate us... he has put Lariska with her instead..."</font>'
  85. *nl
  86. '"... well no worry! I''m glad I get to share with you. Barely think I''ve ever had the chance to spend any time with you anyway."'
  87. *nl
  88. '<font color="<<$npc_fontcolor[''A19'']>>">"... well anyway, I''ll get unpacked..."</font>'
  89. *nl
  90. '"... Ok, I guess I''ll do the same."'
  91. act 'Go about your day' : gs 'mod_addedflavour_A69_Functions' , 'CupHotelSetup' , 'start' & gt 'mod_addedflavour_city_hotel_Bedr' , 'start' , 1
  92. end
  93. if $ARGS[0] = 'A69-EventGather':
  94. *clr & cla
  95. menu_off = 1
  96. minut += (60 - minut)
  97. minut += rand(1,2)
  98. gs 'stat'
  99. '<center><b>Hotel Entry Hall</b></center>'
  100. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/hotel/HotelEntryway.jpg"></center>'
  101. *nl
  102. 'You mill around waiting as the rest of your Team all appear as well. With everyone in place you Coach brings you all to his attention...'
  103. if week = 6:
  104. act 'Listen' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-1'
  105. elseif week = 7:
  106. act 'Listen' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-1'
  107. end
  108. end
  109. if $ARGS[0] = 'A69-Saturday-1':
  110. *clr & cla
  111. menu_off = 1
  112. minut += rand(1,2)
  113. gs 'stat'
  114. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  115. *nl
  116. if $ARGS[1] = 'Late':
  117. '<font color="<<$npc_fontcolor[''A69'']>>">"<<$pcs_firstname>>! Did you forget the time we were to turn up here? Well you are here now so let''s continue..."</font>'
  118. *nl
  119. end
  120. '<font color="<<$npc_fontcolor[''A69'']>>">"Now; soon we will all be going to the Stadium for the League Matches. To remind you: We are in League A and will have one match with each other team in the league over the course of the day. They have a court setup for each League so all we need to worry about is that we will have a match then the other in League will have theirs, giving us a rest. Then at the end of the day we will know if we have progressed to the Knockout Tournament tomorrow."</font>'
  121. *nl
  122. '<font color="<<$npc_fontcolor[''A69'']>>">"Whatever happens though, just enjoy yourselves out there. Play well of course! But do enjoy it; we are lucky to even make it to the Junior Cup."</font>'
  123. *nl
  124. '<font color="<<$npc_fontcolor[''A69'']>>">"Anyway, let''s all get on the Bus"</font>'
  125. act 'Get on the Bus' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-2'
  126. end
  127. if $ARGS[0] = 'A69-Saturday-2':
  128. *clr & cla
  129. minut += rand(3,5)
  130. gs 'stat'
  131. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Volleyball/TeamBus.jpg"></center>'
  132. *nl
  133. 'You all pile on and within minutes you are off to the stadium with the other Teams shortly behind you.'
  134. act 'Arrive' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-3'
  135. end
  136. if $ARGS[0] = 'A69-Saturday-3':
  137. *clr & cla
  138. minut += rand(10,15)
  139. gs 'stat'
  140. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  141. *nl
  142. 'It doesn''t take long to get to the venue and once there your Coach gets your attention once more...'
  143. *nl
  144. '<font color="<<$npc_fontcolor[''A69'']>>">"Welcome everyone to the Gazprom Arena!..."</font>'
  145. *nl
  146. '<font color="<<$npc_fontcolor[''A69'']>>">"...''s smaller adjacent Volleyball Stadium... Now, let''s get inside..."</font>'
  147. *nl
  148. 'With the completion of your Coach''s rousing speech you all head into the Stadium proper.'
  149. act 'Head-In' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-4'
  150. end
  151. if $ARGS[0] = 'A69-Saturday-4':
  152. *clr & cla
  153. minut += (540 - ((hour * 60) + minut))
  154. modVar_AF_EventProgress['A69-LeagueMatches'] = 1
  155. gs 'stat'
  156. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront.jpg"></center>'
  157. *nl
  158. 'Your Team manages to spend the remaining time getting comfortable until finally you are heading to your first match...'
  159. act 'Play Volleyball!' : gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueA_Games[0] , $modArr_AF_VLeagueA_Games[1] & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
  160. end
  161. if $ARGS[0] = 'A69-Saturday-5':
  162. *clr & cla
  163. minut += rand(3,6)
  164. KILLVAR '$modVar_AF_Row'
  165. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueA_Games[0]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueA_Games[1]>>'
  166. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[0])] += 1
  167. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[0])] += modVar_AF_MatchPointsA
  168. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[0])] += modVar_AF_MatchPointsB
  169. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[1])] += 1
  170. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[1])] += modVar_AF_MatchPointsB
  171. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[1])] += modVar_AF_MatchPointsA
  172. modVar_AF_EventProgress['A69-LeagueMatches'] = 2
  173. gs 'stat'
  174. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront.jpg"></center>'
  175. *nl
  176. 'With the game over you head to the Rest Area to get your energy back and check out the other games'
  177. act 'Prepare for next match' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-6' , 'NextMatch'
  178. end
  179. if $ARGS[0] = 'A69-Saturday-6':
  180. *clr & cla
  181. if $ARGS[1] = 'NextMatch':
  182. minut += (660 - ((hour * 60) + minut))
  183. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueA_Games[2] , $modArr_AF_VLeagueA_Games[3] , 'Simulate'
  184. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[2])] += 1
  185. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[2])] += modVar_AF_MatchPointsA
  186. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[2])] += modVar_AF_MatchPointsB
  187. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[3])] += 1
  188. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[3])] += modVar_AF_MatchPointsB
  189. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[3])] += modVar_AF_MatchPointsA
  190. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueA_Games[2]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueA_Games[3]>>'
  191. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueB_Games[0] , $modArr_AF_VLeagueB_Games[1] , 'Simulate'
  192. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[0])] += 1
  193. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[0])] += modVar_AF_MatchPointsA
  194. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[0])] += modVar_AF_MatchPointsB
  195. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[1])] += 1
  196. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[1])] += modVar_AF_MatchPointsB
  197. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[1])] += modVar_AF_MatchPointsA
  198. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueB_Games[0]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueB_Games[1]>>'
  199. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueB_Games[2] , $modArr_AF_VLeagueB_Games[3] , 'Simulate'
  200. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[2])] += 1
  201. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[2])] += modVar_AF_MatchPointsA
  202. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[2])] += modVar_AF_MatchPointsB
  203. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[3])] += 1
  204. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[3])] += modVar_AF_MatchPointsB
  205. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[3])] += modVar_AF_MatchPointsA
  206. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueB_Games[2]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueB_Games[3]>>'
  207. pcs_mood += 5
  208. pcs_health += 10
  209. pcs_hydra += 30
  210. end
  211. gs 'stat'
  212. '<b>Games Played:</b>'
  213. *nl
  214. '<<$modVar_AF_Row[0]>>'
  215. '<<$modVar_AF_Row[1]>>'
  216. '<<$modVar_AF_Row[2]>>'
  217. '<<$modVar_AF_Row[3]>>'
  218. *nl
  219. 'During the down time you get something to drink and mill around with your Team-mates. Soon enough it is time for the next match!'
  220. act 'Check Tournament Information' : $loc = 'mod_addedflavour_A69_Events' & $loc_arg = 'A69-Saturday-6' & gt 'mod_addedflavour_A69_Functions' , 'TournamentInformation'
  221. act 'Play Volleyball!' : gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueA_Games[4] , $modArr_AF_VLeagueA_Games[5] & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
  222. end
  223. if $ARGS[0] = 'A69-Saturday-7':
  224. *clr & cla
  225. minut += rand(3,6)
  226. KILLVAR '$modVar_AF_Row'
  227. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueA_Games[4]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueA_Games[5]>>'
  228. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[4])] += 1
  229. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[4])] += modVar_AF_MatchPointsA
  230. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[4])] += modVar_AF_MatchPointsB
  231. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[5])] += 1
  232. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[5])] += modVar_AF_MatchPointsB
  233. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[5])] += modVar_AF_MatchPointsA
  234. modVar_AF_EventProgress['A69-LeagueMatches'] = 3
  235. gs 'stat'
  236. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront.jpg"></center>'
  237. *nl
  238. 'With the game over you head to the Rest Area to get your energy back and check out the other games'
  239. act 'Prepare for next match' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-8' , 'NextMatch'
  240. end
  241. if $ARGS[0] = 'A69-Saturday-8':
  242. *clr & cla
  243. if $ARGS[1] = 'NextMatch':
  244. minut += (780 - ((hour * 60) + minut))
  245. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueA_Games[6] , $modArr_AF_VLeagueA_Games[7] , 'Simulate'
  246. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[6])] += 1
  247. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[6])] += modVar_AF_MatchPointsA
  248. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[6])] += modVar_AF_MatchPointsB
  249. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[7])] += 1
  250. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[7])] += modVar_AF_MatchPointsB
  251. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[7])] += modVar_AF_MatchPointsA
  252. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueA_Games[6]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueA_Games[7]>>'
  253. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueB_Games[4] , $modArr_AF_VLeagueB_Games[5] , 'Simulate'
  254. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[4])] += 1
  255. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[4])] += modVar_AF_MatchPointsA
  256. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[4])] += modVar_AF_MatchPointsB
  257. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[5])] += 1
  258. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[5])] += modVar_AF_MatchPointsB
  259. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[5])] += modVar_AF_MatchPointsA
  260. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueB_Games[4]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueB_Games[5]>>'
  261. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueB_Games[6] , $modArr_AF_VLeagueB_Games[7] , 'Simulate'
  262. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[6])] += 1
  263. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[6])] += modVar_AF_MatchPointsA
  264. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[6])] += modVar_AF_MatchPointsB
  265. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[7])] += 1
  266. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[7])] += modVar_AF_MatchPointsB
  267. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[7])] += modVar_AF_MatchPointsA
  268. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueB_Games[6]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueB_Games[7]>>'
  269. pcs_mood += 5
  270. pcs_health += 10
  271. pcs_hydra += 30
  272. end
  273. gs 'stat'
  274. '<b>Games Played:</b>'
  275. *nl
  276. '<<$modVar_AF_Row[0]>>'
  277. '<<$modVar_AF_Row[1]>>'
  278. '<<$modVar_AF_Row[2]>>'
  279. '<<$modVar_AF_Row[3]>>'
  280. *nl
  281. 'During the down time you get something to drink and mill around with your Team-mates. Soon enough it is time for the next match!'
  282. act 'Check Tournament Information' : $loc = 'mod_addedflavour_A69_Events' & $loc_arg = 'A69-Saturday-8' & gt 'mod_addedflavour_A69_Functions' , 'TournamentInformation'
  283. act 'Play Volleyball!' : gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueA_Games[8] , $modArr_AF_VLeagueA_Games[9] & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
  284. end
  285. if $ARGS[0] = 'A69-Saturday-9':
  286. *clr & cla
  287. minut += rand(3,6)
  288. KILLVAR '$modVar_AF_Row'
  289. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueA_Games[8]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueA_Games[9]>>'
  290. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[8])] += 1
  291. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[8])] += modVar_AF_MatchPointsA
  292. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[8])] += modVar_AF_MatchPointsB
  293. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[9])] += 1
  294. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[9])] += modVar_AF_MatchPointsB
  295. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[9])] += modVar_AF_MatchPointsA
  296. modVar_AF_EventProgress['A69-LeagueMatches'] = 4
  297. gs 'stat'
  298. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront.jpg"></center>'
  299. *nl
  300. 'With the game over you head to the Rest Area to get your energy back and check out the other games'
  301. act 'Check Results' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-10' , 'NextMatch'
  302. end
  303. if $ARGS[0] = 'A69-Saturday-10':
  304. *clr & cla
  305. if $ARGS[1] = 'NextMatch':
  306. minut += (900 - ((hour * 60) + minut))
  307. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueA_Games[10] , $modArr_AF_VLeagueA_Games[11] , 'Simulate'
  308. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[10])] += 1
  309. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[10])] += modVar_AF_MatchPointsA
  310. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[10])] += modVar_AF_MatchPointsB
  311. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueA_Wins[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[11])] += 1
  312. modArr_AF_VLeagueA_PointsFor[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[11])] += modVar_AF_MatchPointsB
  313. modArr_AF_VLeagueA_PointsAgainst[arrpos('$modArr_AF_VLeagueA_TeamName',$modArr_AF_VLeagueA_Games[11])] += modVar_AF_MatchPointsA
  314. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueA_Games[10]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueA_Games[11]>>'
  315. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueB_Games[8] , $modArr_AF_VLeagueB_Games[9] , 'Simulate'
  316. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[8])] += 1
  317. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[8])] += modVar_AF_MatchPointsA
  318. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[8])] += modVar_AF_MatchPointsB
  319. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[9])] += 1
  320. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[9])] += modVar_AF_MatchPointsB
  321. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[9])] += modVar_AF_MatchPointsA
  322. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueB_Games[8]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueB_Games[9]>>'
  323. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_VLeagueB_Games[10] , $modArr_AF_VLeagueB_Games[11] , 'Simulate'
  324. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[10])] += 1
  325. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[10])] += modVar_AF_MatchPointsA
  326. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[10])] += modVar_AF_MatchPointsB
  327. if modVar_AF_MatchPointsB > modVar_AF_MatchPointsA : modArr_AF_VLeagueB_Wins[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[11])] += 1
  328. modArr_AF_VLeagueB_PointsFor[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[11])] += modVar_AF_MatchPointsB
  329. modArr_AF_VLeagueB_PointsAgainst[arrpos('$modArr_AF_VLeagueB_TeamName',$modArr_AF_VLeagueB_Games[11])] += modVar_AF_MatchPointsA
  330. $modVar_AF_Row[] = '<<$modArr_AF_VLeagueB_Games[10]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_VLeagueB_Games[11]>>'
  331. pcs_mood += 5
  332. pcs_health += 10
  333. pcs_hydra += 30
  334. end
  335. gs 'stat'
  336. '<b>Games Played:</b>'
  337. *nl
  338. '<<$modVar_AF_Row[0]>>'
  339. '<<$modVar_AF_Row[1]>>'
  340. '<<$modVar_AF_Row[2]>>'
  341. '<<$modVar_AF_Row[3]>>'
  342. *nl
  343. 'During the down time you get something to drink and mill around with your Team-mates. Soon enough all the matches are completed and it is time to check the results!'
  344. act 'Check Results!' : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-11'
  345. end
  346. if $ARGS[0] = 'A69-Saturday-11':
  347. *clr & cla
  348. minut += rand(3,6)
  349. gs 'mod_addedflavour_Volleyball' , 'SortLeagues'
  350. if arrpos('$modArr_AF_VLeagueA_TeamName','Pavlovsk Falcons') = 0:
  351. $modVar_AF_TempStr = '1st'
  352. modVar_AF_Temp = 1
  353. elseif arrpos('$modArr_AF_VLeagueA_TeamName','Pavlovsk Falcons') = 1:
  354. $modVar_AF_TempStr = '2nd'
  355. modVar_AF_Temp = 1
  356. elseif arrpos('$modArr_AF_VLeagueA_TeamName','Pavlovsk Falcons') = 2:
  357. $modVar_AF_TempStr = '3rd'
  358. modVar_AF_Temp = 2
  359. elseif arrpos('$modArr_AF_VLeagueA_TeamName','Pavlovsk Falcons') = 3:
  360. $modVar_AF_TempStr = '4th'
  361. modVar_AF_Temp = 2
  362. end
  363. gs 'stat'
  364. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  365. *nl
  366. '<font color="<<$npc_fontcolor[''A69'']>>">"Well, with all the games completed it turns out that we came <<$modVar_AF_TempStr>> in our league!"</font>'
  367. *nl
  368. if modVar_AF_Temp = 1:
  369. '<font color="<<$npc_fontcolor[''A69'']>>">"That means we have qualified for the Knockout Tournament Tomorrow! It also means we will be heading back to the Hotel and staying another night so let''s head back."</font>'
  370. act 'Head Back to the Hotel':
  371. *clr & cla
  372. minut += rand(10,15)
  373. gs 'stat'
  374. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Volleyball/TeamBus.jpg"></center>'
  375. *nl
  376. 'You head back to the Hotel with the rest of your Team in high spirits after your success...'
  377. act 'Reach the Hotel' : gt 'mod_addedflavour_city_hotel_Hall' , 'start'
  378. end
  379. elseif modVar_AF_Temp = 2:
  380. '<font color="<<$npc_fontcolor[''A69'']>>">"Unfortunately that means we have not qualified for the Knockout Tournament so for us the Cup is over. Anyone is welcome to stay in the city of come back with us to Pavlovsk."</font>'
  381. act 'Stay in the City' : gt 'mod_addedflavour_city_vstadium' , 'start'
  382. act 'Head back to Pavlovsk' : minut += rand(65,80) & gt 'pav_residential'
  383. end
  384. end
  385. if $ARGS[0] = 'A69-Sunday-1':
  386. *clr & cla
  387. menu_off = 1
  388. minut += rand(1,2)
  389. KILLVAR '$modArr_AF_Knockout_Games'
  390. if arrpos('$modArr_AF_VLeagueA_TeamName','Pavlovsk Falcons') = 0:
  391. $modArr_AF_Knockout_Games[] = $modArr_AF_VLeagueB_TeamName[1]
  392. $modArr_AF_Knockout_Games[] = $modArr_AF_VLeagueB_TeamName[0]
  393. $modArr_AF_Knockout_Games[] = $modArr_AF_VLeagueA_TeamName[1]
  394. elseif arrpos('$modArr_AF_VLeagueA_TeamName','Pavlovsk Falcons') = 1:
  395. $modArr_AF_Knockout_Games[] = $modArr_AF_VLeagueB_TeamName[0]
  396. $modArr_AF_Knockout_Games[] = $modArr_AF_VLeagueB_TeamName[1]
  397. $modArr_AF_Knockout_Games[] = $modArr_AF_VLeagueA_TeamName[0]
  398. end
  399. gs 'stat'
  400. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  401. *nl
  402. if $ARGS[1] = 'Late':
  403. '<font color="<<$npc_fontcolor[''A69'']>>">"<<$pcs_firstname>>! 8am! I said 8am! Anyway..."</font>'
  404. *nl
  405. end
  406. '<font color="<<$npc_fontcolor[''A69'']>>">"Now; the first match is us up against <<$modArr_AF_Knockout_Games[0]>>. Then the other match which is <<$modArr_AF_Knockout_Games[1]>> versus <<$modArr_AF_Knockout_Games[2]>>."</font>'
  407. *nl
  408. '<font color="<<$npc_fontcolor[''A69'']>>">"So lets get to the stadium, do our best, and come out of all this with our heads held high. We have already done very well to get this far after all. And Remember, they''ll be some time before the first match to <b>collect your thoughts</b> if you need to."</font>'
  409. act 'Get on the Bus' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-2'
  410. end
  411. if $ARGS[0] = 'A69-Sunday-2':
  412. *clr & cla
  413. minut += rand(3,5)
  414. gs 'stat'
  415. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Volleyball/TeamBus.jpg"></center>'
  416. *nl
  417. 'You all pile on and within minutes you are off to the stadium with the other three Teams shortly behind you.'
  418. act 'Arrive' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-3'
  419. end
  420. if $ARGS[0] = 'A69-Sunday-3':
  421. *clr & cla
  422. minut += rand(10,15)
  423. gs 'stat'
  424. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/locations/city/island/stadium/StadiumFront.jpg"></center>'
  425. *nl
  426. 'It doesn''t take long to get to the venue and soon enough your Coach is guiding you into the Rest Area.'
  427. act 'Head-In' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-4'
  428. end
  429. if $ARGS[0] = 'A69-Sunday-4':
  430. *clr & cla
  431. minut += (540 - ((hour * 60) + minut))
  432. modVar_AF_EventProgress['A69-KnockoutMatches'] = 1
  433. gs 'stat'
  434. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  435. *nl
  436. 'Your Team manages to spend the remaining time getting comfortable until finally you are heading to your first match...'
  437. *nl
  438. '<font color="<<$npc_fontcolor[''A69'']>>">"Seriously though everyone; you are fantastic for getting this far, fantastic trying so hard and fantastic for what you are about to do. Don''t forget that and you will achieve something here today!"</font>'
  439. act 'Play Volleyball!' : gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , 'Pavlovsk Falcons' , $modArr_AF_Knockout_Games[0] & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
  440. end
  441. if $ARGS[0] = 'A69-Sunday-5':
  442. *clr & cla
  443. minut += rand(10,15)
  444. pcs_hydra += 30
  445. modVar_AF_EventProgress['A69-KnockoutMatches'] = 2
  446. gs 'stat'
  447. '<b>Games Played:</b>'
  448. *nl
  449. 'Pavlovsk Falcons <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_Knockout_Games[0]>>'
  450. if modVar_AF_MatchPointsA < modVar_AF_MatchPointsB:
  451. $modArr_AF_Knockout_Games[] = $modArr_AF_Knockout_Games[0]
  452. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_Knockout_Games[1] , $modArr_AF_Knockout_Games[2] , 'Simulate'
  453. '<<$modArr_AF_Knockout_Games[1]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_Knockout_Games[2]>>'
  454. if modVar_AF_MatchPointsA < modVar_AF_MatchPointsB : $modArr_AF_Knockout_Games[] = $modArr_AF_Knockout_Games[2]
  455. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : $modArr_AF_Knockout_Games[] = $modArr_AF_Knockout_Games[1]
  456. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_Knockout_Games[3] , $modArr_AF_Knockout_Games[4] , 'Simulate'
  457. '<<$modArr_AF_Knockout_Games[3]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_Knockout_Games[4]>>'
  458. *nl
  459. if modVar_AF_MatchPointsA < modVar_AF_MatchPointsB : '<center><b><<$modArr_AF_Knockout_Games[4]>> wins the Junior Cup</b></center>'
  460. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : '<center><b><<$modArr_AF_Knockout_Games[3]>> wins the Junior Cup</b></center>'
  461. act 'Talk to your Coach' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-6'
  462. elseif modVar_AF_MatchPointsA > modVar_AF_MatchPointsB:
  463. gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , $modArr_AF_Knockout_Games[1] , $modArr_AF_Knockout_Games[2] , 'Simulate'
  464. '<<$modArr_AF_Knockout_Games[1]>> <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_Knockout_Games[2]>>'
  465. if modVar_AF_MatchPointsA < modVar_AF_MatchPointsB : $modArr_AF_Knockout_Games[] = $modArr_AF_Knockout_Games[2]
  466. if modVar_AF_MatchPointsA > modVar_AF_MatchPointsB : $modArr_AF_Knockout_Games[] = $modArr_AF_Knockout_Games[1]
  467. $modVar_AF_Music = 'VolleyballFinal'
  468. act 'Play Volleyball!' : gs 'mod_addedflavour_Volleyball' , 'MatchSetup' , 'Tournament' , 'Pavlovsk Falcons' , $modArr_AF_Knockout_Games[3] & gt 'mod_addedflavour_Volleyball' , 'MatchBuildup'
  469. end
  470. end
  471. if $ARGS[0] = 'A69-Sunday-6':
  472. *clr & cla
  473. minut += rand(1,2)
  474. modVar_AF_EventProgress['A69-KnockoutMatches'] = 3
  475. gs 'stat'
  476. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  477. *nl
  478. '<font color="<<$npc_fontcolor[''A69'']>>">"Well, we unfortunately didn''t win. Still, you all should be very proud of your achievements here; you are part of the very few that even make it this far into a competition and for that you should be pleased with yourselves. Anyway, any of you are welcome to stay here in the city or come back with us on the Bus to Pavlovsk."</font>'
  479. act 'Stay in the City' : gt 'mod_addedflavour_city_vstadium' , 'start'
  480. act 'Head back to Pavlovsk' : minut += rand(65,80) & gt 'pav_residential'
  481. end
  482. if $ARGS[0] = 'A69-Sunday-7':
  483. *clr & cla
  484. minut += rand(3,6)
  485. modVar_AF_EventProgress['A69-KnockoutMatches'] = 3
  486. gs 'stat'
  487. '<b>Games Played:</b>'
  488. *nl
  489. 'Pavlovsk Falcons <b><<modVar_AF_MatchPointsA>></b> - <b><<modVar_AF_MatchPointsB>></b> <<$modArr_AF_Knockout_Games[3]>>'
  490. if modVar_AF_MatchPointsA < modVar_AF_MatchPointsB:
  491. *nl
  492. '<center><b><<$modArr_AF_Knockout_Games[3]>> wins the Junior Cup</b></center>'
  493. act 'Talk to your Coach' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-6'
  494. elseif modVar_AF_MatchPointsA > modVar_AF_MatchPointsB:
  495. *nl
  496. '<center><b>Pavlovsk Falcons wins the Junior Cup</b></center>'
  497. act 'Talk to your Coach' : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-8'
  498. end
  499. end
  500. if $ARGS[0] = 'A69-Sunday-8':
  501. *clr & cla
  502. minut += rand(1,2)
  503. modVar_AF_EventProgress['A69-KnockoutMatches'] = 3
  504. modVar_AF_EventOpen['A69-JuniorCupWinners'] = 1
  505. gs 'stat'
  506. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="' + iif(version_minor >= 8 and version_revision >= 2 and version_patch >= 2,'images/characters/shared/photos/','images/pc/npc_headshots/') + '/big69.jpg"></center>'
  507. *nl
  508. '<font color="<<$npc_fontcolor[''A69'']>>">"Fantastic Job Everyone!!! You are the 2017 winners of the Junior Cup!!!"</font>'
  509. *nl
  510. '<font color="<<$npc_fontcolor[''A69'']>>">"Now before you all go mad we have a bus driver quite looking forward to getting home so you can celebrate on the bus or I will understand if you want to stay here in the city!"</font>'
  511. act 'Stay in the City' : gt 'mod_addedflavour_city_vstadium' , 'start'
  512. act 'Head back to Pavlovsk' : minut += rand(65,80) & gt 'pav_residential'
  513. end
  514. if $ARGS[0] = 'A69-HotelSex-1':
  515. *clr & cla
  516. menu_off = 1
  517. minut += rand(1,2)
  518. gs 'stat'
  519. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-1' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  520. *nl
  521. 'After making sure you weren''t seen you open his Hotel Door and run in before he even has a chance to refuse you. Landing square on his bed wakes him up well enough but he is still a bit groggy...'
  522. *nl
  523. '<font color="<<$npc_fontcolor[''A69'']>>">"<<$pcs_nickname>>! What... what are you doing in here? What time is... Wait! No-one saw you did they?"</font>'
  524. act 'Respond' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-2'
  525. end
  526. if $ARGS[0] = 'A69-HotelSex-2':
  527. *clr & cla
  528. minut += rand(1,2)
  529. gs 'stat'
  530. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-2' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  531. *nl
  532. '"Of course no-one saw me; they are all in their curfew that you imposed! The curfew you imposed for this very reason I am sure..."'
  533. *nl
  534. '<font color="<<$npc_fontcolor[''A69'']>>">"I did it so you all could get some sleep for the early start tomorrow!"</font>'
  535. *nl
  536. '"Sure you did! It couldn''t possible be to allow what I am about to do now..."'
  537. *nl
  538. '<font color="<<$npc_fontcolor[''A69'']>>">"... what are you about do... oh..."</font>'
  539. act 'Suck him off' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-3'
  540. end
  541. if $ARGS[0] = 'A69-HotelSex-3':
  542. *clr & cla
  543. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_BlowJob_Give'
  544. gs 'stat'
  545. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-3' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  546. *nl
  547. 'While retaining you overall control of the situation you pull away the duvet and put his cock straight into your mouth. You suck hard and enthusiastically in order to rouse it quickly to its peak.'
  548. *nl
  549. '<font color="<<$npc_fontcolor[''A69'']>>">"Oh ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + ', we have to be quiet but don''t you stop..."</font>'
  550. act 'Remove your clothes' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-4'
  551. end
  552. if $ARGS[0] = 'A69-HotelSex-4':
  553. *clr & cla
  554. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_BlowJob_Give'
  555. gs 'stat'
  556. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-4' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  557. *nl
  558. 'All the while keeping his hardening shaft lodged between your eager lips, you start removing your clothes. Then the feeling hits you and you know you need to get naked as soon as possible.'
  559. act 'Get more of his attention' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-5'
  560. end
  561. if $ARGS[0] = 'A69-HotelSex-5':
  562. *clr & cla
  563. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_VagPlay_Recv'
  564. gs 'stat'
  565. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-5' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  566. *nl
  567. 'There is no denying his desire now, he wants you and shows it with his hands preparing you for what is to come.'
  568. *nl
  569. '<font color="<<$npc_fontcolor[''A69'']>>">"I don''t how I could ever deny you. I want you now. I want your body on my cock until I blow."</font>'
  570. act 'Get more of his attention' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-6'
  571. end
  572. if $ARGS[0] = 'A69-HotelSex-6':
  573. *clr & cla
  574. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_VagPlay_Recv'
  575. gs 'stat'
  576. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-6' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  577. *nl
  578. 'In one swift movement you release his cock from your oral grasp and swing a leg over, kissing his glands with your vaginal lips.'
  579. *nl
  580. '"I don''t know. I''m not sure you are really interested in me. It took a lot of convincing to get this far..."'
  581. *nl
  582. 'You can see the moment in his eyes where he understands you are waiting for him to act and meets it by grabbing your ass and pulling you down on his hard shaft.'
  583. act 'Get some fucking' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-7'
  584. end
  585. if $ARGS[0] = 'A69-HotelSex-7':
  586. *clr & cla
  587. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_VagSex'
  588. gs 'stat'
  589. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-7' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  590. *nl
  591. 'You ride his cock hard; enjoying the feel of it as it surges up into you before retreating to do so again. The whole act is amplified by the awareness that you could be caught at any time...'
  592. act 'Let him take control' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-8'
  593. end
  594. if $ARGS[0] = 'A69-HotelSex-8':
  595. *clr & cla
  596. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_VagSex'
  597. gs 'stat'
  598. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-8' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  599. *nl
  600. 'Just as you are losing yourself to the moment he pulls you over and lays you down on the bed, not allowing any time for his cock to be outside of your enticing pussy.'
  601. *nl
  602. 'He hammers into you hard causing your whole body to shake with every thrust. All he can think about is the act of fucking you with all his might.'
  603. act 'Change Position' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-9'
  604. end
  605. if $ARGS[0] = 'A69-HotelSex-9':
  606. *clr & cla
  607. gs 'mod_addedflavour_Functions' , 'pcs_reticence' , 'Player_VagSex'
  608. gs 'stat'
  609. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-9' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  610. *nl
  611. 'You could feel how close he was to reaching his peak when he pulled out to turn you over onto your front, obviously wanting to get more time out of your body. Not that you are complaining; with every thrust you are surging to your own pleasurable peak...'
  612. act 'Cum Hard' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-10'
  613. end
  614. if $ARGS[0] = 'A69-HotelSex-10':
  615. *clr & cla
  616. $orgasm_or = 'yes'
  617. gs 'arousal' , 'vaginal' , 5
  618. gs 'arousal', 'end'
  619. gs 'stat'
  620. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-10' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  621. *nl
  622. 'There is only so long you can take being pounded into until your own orgasm explodes onto the scene, and sure it does!'
  623. *nl
  624. 'You do your best to contain your own audible elation while your body shakes with primal delight! The feeling of which is triggering the oncoming of his own so he pulls out and lays you down to greet it...'
  625. act 'Take his cum' : gt 'mod_addedflavour_A69_Events' , 'A69-HotelSex-11'
  626. end
  627. if $ARGS[0] = 'A69-HotelSex-11':
  628. *clr & cla
  629. minut += rand(1,3)
  630. gs 'boyStat', 'A69'
  631. sexpartkno = 1
  632. spafinloc = 12
  633. gs 'Cum_Manage'
  634. gs 'stat'
  635. '<center><video style="<<$modVar_AF_VideoRestrictions>>" autoplay loop src="mod/addedflavour/images/characters/pavlovsk/school/teacher/Mikhail/A69-HotelSex-11' + iif(modVar_AF_QSPVer = 1,'.mp4','.webm') + '"></video></center>'
  636. *nl
  637. 'You lay back, drowning in your own satisfaction, as he rains his cum into your waiting mouth.'
  638. *nl
  639. '<font color="<<$npc_fontcolor[''A69'']>>">"Damn ' + iif(rand(1,2) = 1,'<<$pcs_nickname>>','<<$pcs_firstname>>') + '; that was amazing. Don''t get me wrong I am damn glad we didn''t get caught but that was mind-blowing. Quickly now, you need to get back to your room!"</font>'
  640. *nl
  641. 'You regain your composure quickly and head back to your room to get to sleep...'
  642. act 'Get back to your room' : gt 'mod_addedflavour_city_hotel_Bedr' , 'start' , 1
  643. end
  644. if $ARGS[0] = 'A69-TeamResearch':
  645. *clr & cla
  646. minut += rand(175,190)
  647. modArr_AF_VBallT_PlayerSkill[arrpos('$modArr_AF_VBallT_PlayerName','<<$pcs_firstname>> <<$pcs_lastname>>')] += ((100 - modArr_AF_VBallT_PlayerSkill[arrpos('$modArr_AF_VBallT_PlayerName','<<$pcs_firstname>> <<$pcs_lastname>>')]) / 2)
  648. modVar_AF_EventLock['A69-JuniorCupResearch'] = daystart
  649. gs 'stat'
  650. '<center><img style="<<$modVar_AF_ImageRestrictions>>" src="mod/addedflavour/images/shared/Volleyball/Research.jpg"></center>'
  651. *nl
  652. 'You spend a considerable amount of time studying your opponents; getting to know their skill levels, how they play and how best to position yourself to exploit it...'
  653. act 'Return' : gt $loc, $loc_arg
  654. end
  655. --- mod_addedflavour_A69_Events ---------------------------------