gschool_grounds.qsrc 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759
  1. # gschool_grounds
  2. !Outside school building
  3. if $ARGS[0] = 'main':
  4. CLOSE ALL
  5. $loc = 'gschool_grounds'
  6. $loc_arg = 'main'
  7. $location_type = 'public_outdoors'
  8. $menu_loc = 'gschool_grounds'
  9. $menu_arg = 'main'
  10. menu_off = 0
  11. killvar '$locclass'
  12. *clr & cla
  13. gs 'stat'
  14. '<center><b><font color="maroon">Outside School</font></b></center>'
  15. if month >= 11 or month <= 3:
  16. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/schoolwinter.jpg"></center>'
  17. else
  18. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool.jpg"></center>'
  19. end
  20. 'Pavlovsk''s only school, where all the local children go for their education. Next to the school is the athletic field and a parking lot for the teachers, with a large grove of trees just beyond them.'
  21. 'Past this grove is the old school building, which was supposed to be renovated and used for advance classes after the new one was built, but budget cuts meant the project was cancelled and now the old school building stands empty. Many of the kids use it to skip class or as a place to sneak off to drink or have sex.'
  22. if ((hour = 6 and minut >= 30) or (hour >= 7 and hour < 18)) and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0:
  23. 'With the school open you can go to the <a href="exec: minut += 1 & gt ''gschool_grounds'', ''change_room''">changing rooms</a> by the gym and change your outfit.'
  24. end
  25. if day = nyp_day and month = 12 and StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock = 0:
  26. if hour >= 14 and hour < 17:
  27. 'All the boys and girls are standing near the school. Everyone did their best to look good today, wearing their nicest clothes. Someone calls out to you. "Hey <<$pcs_nickname>>, are you coming to the New Year''s Eve party or not? You didn''t pay the 1000 <b>₽</b> entry fee yet!"'
  28. if money >= 1000:act 'Go to the party (1,000 <b>₽</b>)':money -= 1000 & gt 'nyp_school', 'start'
  29. end
  30. end
  31. if InvitationToDimkaNYparty = 1 and day = 31 and day = nyp_day: act 'Follow Dimka to the New Year''s party at his home': killvar 'InvitationToDimkaNYparty' & minut += 30 & gt 'sny', '3'
  32. if hour = 14 and week < 6 and kanikuli = 0:
  33. gs 'gschool_socialchg', 'group_student_rel_change'
  34. if NikoDate_Day ! daystart:
  35. if week = 1 and NikoIntro = 0:
  36. gt 'NikoEv', 'Intro'
  37. elseif NikoVolkovQW = 5 and NikoEv = 6 and NikoDate = 0:
  38. gt 'NikoDates', 'After School'
  39. elseif NikoVolkovQW = 5 and NikoEv = 8 and NikoDate = 0:
  40. gt 'NikoDates', 'After School 2'
  41. elseif NikoVolkovQW = 10 and NikoEv = 22:
  42. gt 'NikoEv2', 'Recovery'
  43. end
  44. end
  45. end
  46. if week < 6 and hour = 14 and kanikuli = 0 and afterschool_day ! daystart:
  47. afterschool_day = daystart
  48. if rand(0,3) = 0:
  49. $eventtype = 'after_school'
  50. gt 'gschool_events', 'break_events'
  51. else
  52. gt 'gschool_events', 'afterschool_events'
  53. end
  54. end
  55. !! Cheerleading tryouts if Sveta decided to attend
  56. if hour = 14 and cheerleadingQW['quest_stage'] = 1:
  57. if pregtime < 90: gt 'gschool_cheerleading', 'tryouts'
  58. !! Sveta attends training after school every Tuesday and Thursday.
  59. elseif hour = 14 and cheerleadingQW['day'] ! daystart and (week = 2 or week = 4) and kanikuli = 0 and cheerleadingQW['quest_stage'] > 1:
  60. if npc_pregtalk['A23'] = 0: gt 'gschool_cheerleading', 'afterschool_practice'
  61. !! A football game is played once every 2nd Friday and the cheerleaders perform out on the field.
  62. elseif hour = 14 and cheerleadingQW['day'] ! daystart and week = 5 and (daystart - (daystart mod 7)) mod 2 = 1 and kanikuli = 0 and (cheerleadingQW['quest_stage'] >= 3 or cheerleadingQW['backup_game'] = 1):
  63. if npc_pregtalk['A23'] = 0: gt 'gschool_cheerleading', 'afterschool_game'
  64. end
  65. if hour <= 8 and kanikuli = 6:
  66. 'Today is graduation day! The school prom is tonight as well.'
  67. act 'Go to your graduation':
  68. *clr & cla
  69. menu_off = 1
  70. hour = 10
  71. minut = 0
  72. SchoolAtestat = 1
  73. kanikuli = 7
  74. gs 'stat'
  75. if home_owned[2] = 0:
  76. 'Everyone from your year is assembled in the auditorium of the school. Your teachers are standing on a platform in front of several rows of chairs where you and your classmates are sitting. Some parents and siblings are sitting in the back rows. Nobody from your family showed up.'
  77. else
  78. 'Everyone from your year is assembled in the auditorium of the school. Your teachers are standing on a platform in front of several rows of chairs where you and your classmates are sitting. Some parents and siblings are sitting in the back rows. You turn your head and see your mother and your brother sitting among them.'
  79. end
  80. 'Your Principial begins calling your classmates in alphabetical order. Finally it''s your turn.'
  81. if pcs_grades >= 90:
  82. 'You go up to the podium. As the Principal shakes your hand she announces "As every year I''d like to honor our best student of the year. Miss <<$pcs_lastname>> here performed exceptionally well in her studies and I think that deserves some recognition." She starts applauding and the auditorium quickly joins in.'
  83. if home_owned[2] = 1: 'As you return to your place you see your mother smiling brightly.'
  84. elseif pcs_grades >= 70:
  85. 'You go up to the podium. The Principal shakes your hand and gives you your diploma. "Well done, Miss <<$pcs_lastname>>!" she says before you return to your place.'
  86. else
  87. 'You go up to the podium. The Principal shakes your hand and gives you your diploma and you return to your place.'
  88. end
  89. act 'Return to town': minut += 2 & gt 'pav_residential'
  90. act 'Go to the prom party':
  91. *clr & cla
  92. minut += 540
  93. pcs_energy += 70
  94. gs 'drugs', 'alcohol', 'vodka', rand(2,3)
  95. gs 'underwear', 'remove'
  96. gs 'clothing', 'strip'
  97. gs 'stat'
  98. 'After the official graduation, everyone gets hammered at the prom party. You don''t remember much of what happened, only recalling a few flashbacks of going skinny dipping in the town fountain with a group of friends. Your mouth is dry and you can taste beer and what might be a kebab. Looking around, you see that you are somewhere in the town center, all of your clothes are missing and you are completely naked.'
  99. 'As you make your way back home, you try to be discrete and stick to poorly lit areas, but you really don''t remember and somehow have bits of someone''s hedge in your hair.'
  100. act 'Go home': gt 'korrPar'
  101. end
  102. end
  103. exit
  104. end
  105. if SchoolAtestat = -1 and week < 6 and hour >= 6 and hour < 14:
  106. act 'Get your diploma':
  107. *clr & cla
  108. menu_off = 1
  109. minut += 20
  110. SchoolAtestat = 1
  111. kanikuli = 7
  112. gs 'stat'
  113. if pcs_grades >= 70:
  114. 'The Principal hands you your diploma. "Well done, Miss <<$pcs_lastname>>! Good luck in your future!" she says as she shakes your hand.'
  115. else
  116. 'The Principal hands you your diploma. "Good luck in your future!" she says as she shakes your hand.'
  117. end
  118. act 'Return to town': minut += 2 & gt 'pav_residential'
  119. end
  120. end
  121. !! act 'Go to old school building': gt
  122. !! act 'Go to the Principals Office': gt
  123. if week < 6 and hour >= 6 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0 and gm_school_block = 0:
  124. if CloStyle2 = 4 or Enable_sforma = 1:
  125. gs 'gschool_socialchg', 'group_student_rel_change_2'
  126. if hour = 6:
  127. if minut < 30:
  128. 'It''s too early for school now.'
  129. else
  130. if NikoEv = 10: gt 'NikoWhore', 'Walk Of Shame'
  131. act 'Wait for class': gt 'gschool_grounds', 'bulding'
  132. end
  133. elseif hour = 7:
  134. if NikoEv = 10:
  135. gt 'NikoWhore', 'Walk of Shame'
  136. elseif minut <= 45:
  137. act '<b>Go to class</b>': gt 'gschool_grounds', 'bulding'
  138. else
  139. 'You are late for school! You could rush to class or just skip until the second period.'
  140. act '<b>Rush to class</b>':
  141. demerit += 5
  142. gt 'gschool_grounds', 'bulding'
  143. end
  144. act 'Skip class':
  145. *clr & cla
  146. menu_off = 1
  147. '<center><b><font color="maroon">School Hallway</font></b></center>'
  148. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  149. 'You don''t feel like attending all of your classes this morning. Surely no one will miss you if you skip one of your three morning classes.'
  150. act 'Go to girl''s bathroom': gt 'gschool_girls_bathroom', 'start'
  151. act 'Go to boy''s bathroom': gt 'gschool_boys_bathroom', 'start'
  152. end
  153. end
  154. elseif hour = 8:
  155. if NikoEv = 10: gt 'NikoWhore', 'Walk Of Shame'
  156. 'You missed your whole first class. You hope that no one noticed.'
  157. act '<b>Rush to class</b>': demerit += 10 & gt 'gschool_grounds', 'bulding'
  158. elseif hour < 14:
  159. 'It''s too late for school now. You have been marked as absent today.'
  160. end
  161. else
  162. 'You''re not allowed to attend any classes at school if you''re not wearing your school uniform.'
  163. end
  164. end
  165. act 'Return to town': minut += 2 & gt 'pav_residential'
  166. act 'Go to the sports field': minut += 1 & gt 'gschool_grounds', 'sports'
  167. if joint > 0 and jointhigh = 0: act 'Smoke a joint behind the school building': gs 'drugs', 'joint' & gt $loc, $loc_arg
  168. if week = 6 and hour = 8 and StoryLine > 0 and SchoolAtestat = 0 and detention_set = 1 and gm_school_block = 0: act 'Go to detention': gt 'gschool_detention', 'start'
  169. if zverRageQW = 1: gt 'gschool_grounds', 'KristinaFight'
  170. if week < 6 and hour = 14 and dimaRevenge = 5 and dimaRevChoice = 0:
  171. gt 'dimaRevenge', dimaRevenge
  172. elseif week < 6 and hour = 14 and dimaRevenge = 4 and dimaRevChoice = 1:
  173. gt 'dimaRevenge', dimaRevenge
  174. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 1:
  175. gt 'dimaRevenge', 5, 'before'
  176. elseif week < 6 and hour = 7 and dimaRevenge = 6 and dimaRevChoice = 1:
  177. gt 'dimaRevenge', 6, 'before'
  178. elseif week < 6 and hour = 14 and dimaRevenge = 7 and dimaRevChoice = 1:
  179. gt 'dimaRevenge', dimaRevenge
  180. elseif week < 6 and hour = 7 and dimaRevenge = 4 and dimaRevChoice = 2:
  181. gt 'dimaRevenge', dimaRevenge, 'day4jockbefore'
  182. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 2:
  183. gt 'dimaRevenge', dimaRevenge, 'day5jockbefore'
  184. elseif week < 6 and hour = 14 and dimaRevenge = 6 and dimaRevChoice = 2:
  185. gt 'dimaRevenge', 5, 'day5jockafter'
  186. !elseif week < 6 and hour = 11 and dimaRevenge = 4 and dimaRevChoice = 3:
  187. ! gt 'gschool_lessons', 'short_break'
  188. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 3:
  189. gt 'dimaRevenge', dimaRevenge
  190. elseif week < 6 and hour = 14 and dimaRevenge = 4 and dimaRevChoice = 4:
  191. gt 'dimaRevenge', dimaRevenge, 'after'
  192. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 4:
  193. gt 'dimaRevenge', dimaRevenge, 'before'
  194. elseif week < 6 and hour = 14 and dimaRevenge = 6 and dimaRevChoice = 4:
  195. gt 'dimaRevenge', 5, 'after'
  196. elseif week < 6 and hour = 7 and dimaRevenge = 7 and dimaRevChoice = 4 and dimaRevengedaystart >= daystart:
  197. gt 'dimaRevenge', 6
  198. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 5:
  199. gt 'dimaRevenge', dimaRevenge, 'before'
  200. elseif week < 6 and hour = 7 and dimaRevenge = 4 and dimaRevChoice = 5:
  201. gt 'dimaRevenge', 5
  202. elseif week < 6 and hour = 7 and dimaRevenge = 4 and dimaRevChoice = 6:
  203. gt 'dimaRevenge', dimaRevenge
  204. end
  205. if hour >= 14 and pav_slut >= 250 and SchoolGossip > 0 and afterschoolday ! daystart: gt 'gschool_sex', 'suck'
  206. if week = 1 and kanikuli = 0 and arthakQW = 10 and apmeetday ! daystart and hour >= 14: gt 'artgar'
  207. if hour = 14 and week < 6 and kanikuli = 0:
  208. if ivan_afterschool = 1: act 'Meet Ivan after school': gt 'gschool_sex', 'afterschool'
  209. if LinaSlut > 0 and rand(1,10) < 3: 'You see Lina, Dan and Vasily leaving the school together.'
  210. if Enable_tablemap = 0:
  211. if anushkaFirstvisit = 0 and meet_after_school = 1: '<a href="exec: gt ''anushka'', ''meet_after_school''">Anushka Konstantinov</a> is leaning against a tree just in front of the school.'
  212. if LariskaHomeIn > 0 and cheerleaders_on = 0: '<a href="exec:minut += 1 & gt ''LariskaGo''">Lariska Gruzdev</a> impatiently walks back and fourth across the courtyard, as if she''s waiting for someone.'
  213. if JuliaMilLernQW >= 1: '<a href="exec:minut += 1 & gt ''JuliaMilGo''">Julia Milova</a> is sitting somewhere on the school courtyard, reading a book.'
  214. if NatbelQW['QWstage'] > 0: '<a href="exec:minut += 1 & gt ''NatBelGo''">Natasha Belova</a> is standing in a corner.'
  215. if artemLernQW >= 1 and artemVitokQW ! 2 and artemblok = 0 and artlie ! 2 and artembrokenheart ! 1: '<a href="exec:minut += 15 & gt ''artemEv'', ''start''">Artem Chebotarev</a> is waiting for you near the school entrance.'
  216. if npc_QW['A231'] = 1 or npc_QW['A231'] = 3 or npc_QW['A231'] >= 5: '<a href="exec:minut += 1 & gt ''AleksandraGo'', ''Start''"><<$npc_firstname[''A231'']>> <<$npc_lastname[''A231'']>></a> is waiting for you at the end of the school courtyard, listening to music.'
  217. if katjaMeynoldday ! daystart and meynoldQW >= 1: '<a href="exec:minut += 15 & gt ''katjaEv''">Katja Meynold</a> is walking across the school courtyard, getting ready to go home.'
  218. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  219. '<a href="exec:minut += 15 & gt ''dimaEv'', ''after_school''">Dimka Nosov</a> is deep in thought, as he leans against a lamp post.'
  220. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  221. if rand(0,4) = 0: gt 'dimaEv', 'after_school'
  222. '<a href="exec:minut += 15 & gt ''dimaEv'', ''after_school''">Dimka Nosov</a> is deep in thought, as he leans against a lamp post.'
  223. end
  224. if IgorLoverQW > 0 and igorkruglovday ! daystart and IdorBlock = 0: '<a href="exec:minut += 15 & gt ''igorhome'', ''entrance''">Igor Kruglov</a> is talking to some of his friends on the courtyard.'
  225. if fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  226. 'You can see <a href="exec: gt ''FedorEv'', ''Strela Chat''">Fedor</a> sitting in the corner of the schoolyard by himself.'
  227. elseif fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  228. 'You can see <a href="exec: gt ''FedorEv2'', ''Fedor Breakup''">Fedor</a> standing by himself with a troubled look on his face.'
  229. elseif fedorKozlovQW >= 10:
  230. 'You can see <a href="exec: gt ''FedorEv'', ''Start''">Fedor</a> with his backpack around his arm, standing by himself.'
  231. end
  232. if NikoVolkovQW = 5 and NikoDate = 1 and NikoDate_Day ! daystart or NikoEv = 11:
  233. 'You can see <a href="exec:gt ''NikoEv'', ''Niko Dates''">Nikolai Volkov</a> smoking outside of the school.'
  234. elseif NikoVolkovQW = 10 and NikoEv >= 17 and NikoEv <= 20 and NikoDate_Day ! daystart:
  235. '<a href="exec:gt ''NikoEv2'', ''Events''">Nikolai Volkov</a> is smoking outside of the school.'
  236. end
  237. else
  238. !display friends in table if switch is on.
  239. st_count=0 & $show_table=''
  240. if anushkaFirstvisit = 0 and meet_after_school = 1: gs 'show_table', '<a href="exec: gt ''anushka'', ''meet_after_school''">Anushka Konstantinov</a>', '5'
  241. if LariskaHomeIn > 0 and cheerleaders_on = 0: gs 'show_table', '<a href="exec:minut += 1 & gt ''LariskaGo''">Lariska Gruzdev</a>', '5'
  242. if JuliaMilLernQW >= 1: gs 'show_table', '<a href="exec:minut += 1 & gt ''JuliaMilGo''">Julia Milova</a>', '5'
  243. if NatbelQW['QWstage'] > 0: gs 'show_table', '<a href="exec:minut += 1 & gt ''NatBelGo''">Natasha Belova</a>', '5'
  244. if artemLernQW >= 1 and artemVitokQW ! 2 and artemblok = 0 and artlie ! 2 and artembrokenheart ! 1: gs 'show_table', '<a href="exec:minut += 15 & gt ''artemEv'', ''start''">Artem Chebotarev</a>', '5'
  245. if npc_QW['A231'] = 1 or npc_QW['A231'] = 3 or npc_QW['A231'] >= 5: gs 'show_table', '<a href="exec:minut += 1 & gt ''AleksandraGo'', ''Start''"><<$npc_firstname[''A231'']>> <<$npc_lastname[''A231'']>></a>', '5'
  246. if katjaMeynoldday ! daystart and meynoldQW >= 1: gs 'show_table', '<a href="exec:minut += 15 & gt ''katjaEv''">Katja Meynold</a>', '5'
  247. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  248. gs 'show_table', '<a href="exec:minut += 15 & gt ''dimaHome'', ''home''">Dimka Nosov</a>', '5'
  249. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  250. if rand(0,4) = 0: gt 'dimaEv', 'after_school'
  251. gs 'show_table', '<a href="exec:minut += 15 & gt ''dimaEv'', ''after_school''">Dimka Nosov</a>', '5'
  252. end
  253. if IgorLoverQW > 0 and igorkruglovday ! daystart and IdorBlock = 0: gs 'show_table', '<a href="exec:minut += 15 & gt ''igorhome'', ''entrance''">Igor Kruglov</a>', '5'
  254. if fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  255. gs 'show_table', '<a href="exec: gt ''FedorEv'', ''Strela Chat''">Fedor</a>', '5'
  256. elseif fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  257. gs 'show_table', '<a href="exec: gt ''FedorEv2'', ''Fedor Breakup''">Fedor</a>', '5'
  258. elseif fedorKozlovQW >= 10:
  259. gs 'show_table', '<a href="exec: gt ''FedorEv'', ''Start''">Fedor</a>', '5'
  260. end
  261. if NikoVolkovQW = 5 and NikoDate = 1 and NikoDate_Day ! daystart or NikoEv = 11:
  262. gs 'show_table', '<a href="exec: gt ''NikoEv'', ''Niko Dates''">Nikolai</a>', '5'
  263. elseif NikoVolkovQW = 10 and NikoEv >= 17 and NikoEv <= 20 and NikoDate_Day ! daystart:
  264. gs 'show_table', '<a href="exec: gt ''NikoEv2'', ''Events''">Nikolai</a>', '5'
  265. end
  266. if st_count > 0:
  267. 'Near school yard, you see: '
  268. '<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  269. end
  270. end
  271. if AlbinaQW['albride'] = 0 and AlbinaQW['RideDaystart'] <= daystart and AlbinaQW['AlbFatherQW'] >= 1 and AlbinaQW['ParkRally'] > 0 and AlbinaQW['Chernov'] > 0:
  272. '<a href="exec:minut += 15 & gt ''albinaRide''">Albina Barlovskaya</a> is waiting behind the wheel of a large black SUV, parked near the school.'
  273. end
  274. ! meynold`s events
  275. if hour = 14 and vicky_afterschool ! daystart: gs 'mey_vika_events', 'near_school'
  276. if mey_vika['mey_vika_qw'] = 35 or mey_vika['mey_vika_qw'] = 36 and minut < 45:
  277. act 'Study with Tamara Mikhailovna':
  278. if mey_vika['mey_vika_qw'] = 36: gt 'mey_tamara_events', 'rebuke'
  279. gt 'mey_tamara_events', 'learning0'
  280. end
  281. end
  282. end
  283. if strelaDay ! daystart and strelaQW = 1 and hour = 14:
  284. *clr & cla
  285. 'A Mitsubishi Pajero and a BMW drive up to the school gates. Strong, muscular guys in leather jackets and tracksuits get out of the cars. They have come to meet Vitek, Dan and Vasily. You watch them talk about something, though you''re not close enough to hear what it''s about. Then you notice Fedor Kozlov leaving school, his face all swollen and bruised. Fedor waves his hand at you, "<<$pcs_nickname>>! Come here, you''re my witness!"'
  286. act 'Go and see what Fedor needs': gt 'strela'
  287. end
  288. end
  289. !Outside school sports field
  290. if $ARGS[0] = 'sports':
  291. $loc = 'gschool_grounds'
  292. $location_type = 'public_outdoors'
  293. $loc_arg = 'sports'
  294. $menu_loc = 'gschool_grounds'
  295. $menu_arg = 'sports'
  296. menu_off = 0
  297. killvar '$locclass'
  298. *clr & cla
  299. gs 'stat'
  300. if month > 3 and month < 11:
  301. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/field.jpg"></center>'
  302. else
  303. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/fieldwinter.jpg"></center>'
  304. end
  305. 'There is a football field and around it is a track. Kids often use the field and track before and after school.'
  306. if week = 5 and hour >= 16 and hour <= 18: 'As you pass by the sports field you hear lots of cheering and yelling coming from the younger kids on the field. As you approach you see '+iif(socialchg['tLazar_day'] ! daystart, '<a href="exec: gt ''gschool_socialchg1'', ''tLazar''">Lazar</a>', 'Lazar')+' is on the football field showing off his skills.'
  307. if (week = 1 or week = 3) and hour >= 16 and hour <= 18: 'Looking toward what you can barely describe as a running track, you notice '+iif(socialchg['tSvyatoslav_day'] ! daystart, '<a href="exec: gt ''gschool_socialchg1'', ''tSvyatoslav''">Svyatoslav</a>', 'Svyatoslav')+' doing sprints by the football field.'
  308. act 'Leave the sports field': minut += 1 & gt 'gschool_grounds', 'main'
  309. if schoolrunday ! daystart and $clothingworntype = 'exercise' and $shoeworntype = 'trainers':
  310. act 'Go for a run (1 hour)':
  311. *clr & cla
  312. menu_off = 1
  313. minut += 60
  314. schoolrunday = daystart
  315. fat -= rand(2, 7)
  316. run_exp += rand(0, 2)
  317. gs 'sweat', 'add', 20
  318. gs 'stat'
  319. if month > 2 and month < 9:
  320. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/runsummer.jpg"></center>'
  321. else
  322. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/runwinter.jpg"></center>'
  323. end
  324. 'You spend an hour on the track going for a run.'
  325. act 'Continue': gt 'gschool_grounds', 'sports'
  326. end
  327. elseif schoolrunday ! daystart and ($clothingworntype ! 'exercise' or $shoeworntype ! 'trainers'):
  328. 'You could go for a run here if you were wearing sports clothes and shoes.'
  329. end
  330. if hour >= 9 and hour < 18 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0: 'With the school open you can go to the <a href="exec: minut += 1 & gt ''gschool_grounds'', ''change_room''">changing rooms</a> by the gym and change your outfit.'
  331. if week = 6 and gm_school_sorev = 2 and hour = 10 and SchoolBlock = 0:
  332. *nl
  333. 'Athletic students of your school and other schools in the area have gathered at the athletics track near your school. Everyone is getting ready for the running competition.'
  334. if $clothingworntype = 'exercise' and $shoeworntype = 'trainers':
  335. act 'Participate in the 400m sprint event': gt 'gschool_grounds', 'SchoolRun2'
  336. else
  337. 'You need to wear exercise clothes to participate.'
  338. end
  339. end
  340. if week = 6 and gm_school_sorev = 1 and hour = 10 and SchoolBlock = 0:
  341. *nl
  342. 'Athletic students of your school and other schools in the area have gathered at the athletics track near your school. Everyone is getting ready for the running competition.'
  343. if $clothingworntype = 'exercise' and $shoeworntype = 'trainers':
  344. act 'Participate in the 400m sprint race': gt 'gschool_grounds', 'SchoolRun'
  345. else
  346. 'You need to wear exercise clothes to participate.'
  347. end
  348. end
  349. gs 'family'
  350. ! Giving football preference, since there''s no indoor option for it.
  351. if temper => 15 and sunWeather = 1 and hour > 8 and hour < 12 and week = 6 and fbpickupDay + 14 <= daystart and bbpickupDay ! daystart:
  352. *nl
  353. 'As you pass by the sports field you notice that most of the ''jocks'' have gathered around the <a href="exec: gt ''fbgameout'', ''start''">football field</a>.'
  354. elseif temper => 15 and sunWeather = 1 and hour > 8 and hour < 12 and week = 6 and bbpickupDay + 14 <= daystart and fbpickupDay ! daystart:
  355. *nl
  356. 'As you pass by the sports field you notice that most of the ''jocks'' have gathered around the <a href="exec: gt ''bbgameout'', ''start''">basketball court</a>.'
  357. end
  358. end
  359. !!School building
  360. if $ARGS[0] = 'bulding':
  361. $loc = 'gschool_grounds'
  362. $loc_arg = 'bulding'
  363. $location_type = 'public_indoors'
  364. $menu_loc = 'gschool_grounds'
  365. $menu_arg = 'bulding'
  366. menu_off = 0
  367. gs 'stat'
  368. '<center><b><font color="maroon">Inside School</font></b></center>'
  369. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  370. 'The hallways of the school building are painted with a cheap green paint, which you think may be toxic. Budget cuts.'
  371. act 'Continue':
  372. if hour = 8: late = 1
  373. gs 'stat'
  374. BeInSchool += 1
  375. if rand(0,1) = 0:
  376. gt 'gschool_lessons', 'morning'
  377. else
  378. if rand(0,3) = 0:
  379. gt 'gschool_events', 'teacher_greet'
  380. else
  381. $eventtype = 'before_school'
  382. gt 'gschool_events', 'break_events'
  383. end
  384. end
  385. end
  386. act 'Return to town': minut += 2 & gt 'pav_residential'
  387. if dimaRevenge = 1:
  388. menu_off = 1
  389. 'You''re in a good mood today as you enter the school. That changes when Dimka stops you in the hall on the way to class.
  390. "I know what you did, bitch. Did you really thing I wouldn''t figure out it was you that wiped my harddrive."
  391. Before you can deny anything he continues: "I don''t even need that video to ruin your life. Just you wait. Soon the whole school will know what a whore you are."
  392. His words fill you with dread as you make your way to class.'
  393. end
  394. if zverSlutQW = 1 and week = 1 and lariskaQwestDay < daystart and lariskaQwestDay ! 0 and zverRageQW = 2:
  395. menu_off = 1
  396. zverSlutQW = 2
  397. if LariskaQW['VitekHelp'] ! 1:
  398. $npc_notes['A18'] = 'Ever since your fight, Christina has been avoiding you. She''s been humiliated ever since you told the whole school about how she sucked the P.E. teacher''s dick for a place in the running competition, and beat her up when she tried to fight you. Barely a shade of her former self, she stands timidly in a corner, her head still wrapped in gauss. Whenever she opens her mouth, people can see the broken teeth she hasn''t had a chance to get fixed yet.'
  399. if LariskaQW['LariskaHelp'] > 0:
  400. 'Lariska tells you that you crushed Christina''s spirit when she lost that fight to you, and that there''s no fight left in her now. She was even kicked from both the Cheerleading and Track teams. You know not to let your guard down though; Christina is the type of person to hold a grudge, and you expect she''s just biding her time until she finds a good opportunity to get back at you.'
  401. end
  402. else
  403. if LinaSlut > 0:$text_end = ' and Lina'
  404. 'Lariska tells you that Christina will require treatment for several months to fully recover from the beating you gave her, and that she was kicked from both the Cheerleading and Track teams. She also says that Avelina has been hooking up with Vitek lately. You suspect this might have something to do with Christina; Lina would do anything for her. You feel a knot in your stomach; being on Vitek''s bad side could be really bad for you.'
  405. end
  406. if LariskaQW['LariskaHelp'] > 0:LariskaHomeIn = 1
  407. $npc_notes['A13'] = 'Lariska is an athletic girl with a weak personality: she''s very dependent on other people''s opinions of her. Christina used to control her, but ever since you took care of Christina she has been a lot more lively. She has a spark in her eyes, and is almost always in a good mood. Even though Mikhail Nikolayevich sees a lot of potential in her and offered her a spot on the volleyball team, she''s afraid to go pro.'
  408. elseif zverSlutQW = 0 and week = 1 and lariskaQwestDay < daystart and lariskaQwestDay ! 0 and zverRageQW = 2:
  409. menu_off = 1
  410. $npc_notes['A18'] = 'Christina is a tall and strong girl. She''s one of the best athletes your school has to offer. Her leadership skills, combined with her intelligence and tenacity make her a very serious threat to anyone who would challenge her.'
  411. npc_rel['A18'] = 0
  412. *nl
  413. $npc_notes['A13'] = 'Lariska is an athletic girl with a weak personality: she''s very dependent on other people''s opinions of her. Christina controls her every move, and ever since the fight she has been avoiding you. She seems even more down than usual, and often looks sad. Even though Mikhail Nikolayevich sees a lot of potential in her and offered her a spot on the volleyball team, she''s afraid to go pro.'
  414. if LariskaQW['LariskaHelp'] > 0:
  415. $text_end = ' And don''t you worry, I will take care of your girlfriend Lariska as well. I''ll teach her what happens when she sides against me.'
  416. $npc_notes['A13'] = 'Lariska is an athletic girl with a weak personality: she''s very dependent on other people''s opinions of her. Christina used to control her, but ever since you stood up to Christina she has been a lot more lively. Even though Mikhail Nikolayevich saw a lot of potential in her and offered her a spot on the volleyball team, she''s afraid to go pro. Her close ties with Christina Zvereva have put her in a bad light, and she has now been banned from playing for the volleyball team even if she wanted to.'
  417. end
  418. 'Christina approaches you:'
  419. '"What do you want, bitch? Have you recovered from your ass-kicking yet? At least you understand your place now.<<$text_end>>"'
  420. lariskaQwestDay += 99999
  421. end
  422. end
  423. if $ARGS[0] = 'KristinaFight':
  424. *clr & cla
  425. menu_off = 1
  426. zverRageQW = 2
  427. $location_type = 'event_outdoors'
  428. gs 'stat'
  429. '<center><video autoplay loop src="images/characters/pavlovsk/school/girl/christina/school/fight.mp4"></video></center>'
  430. 'As you cross the school yard after school, you are surprised by something heavy slamming into your back. Falling to your hands and knees, you look behind you and see Christina, her face contorted with rage. "You fucking bitch! How dare you spread shit about me? I''ll break your fucking face in!"'
  431. act 'Fight her':
  432. gs 'fight', 'initFight'
  433. gs 'fight_npcdata', 'christina'
  434. gt 'fight', 'start'
  435. end
  436. end
  437. if $ARGS[0] = 'SchoolRun':
  438. $location_type = 'event_outdoors'
  439. *clr & cla
  440. menu_off = 1
  441. minut += 30
  442. gs 'stat'
  443. 'You think you might be able to win, and sign up to participate in the competition. After quickly changing into your running gear you return to the track. The guys are having their race first, and you watch them as you prepare. As expected, Ivan wins. When the guys have finished, it is the girls'' turn.'
  444. act 'Go to the start':
  445. *clr & cla
  446. minut += 30
  447. gm_school_sorev = 0
  448. kolsorev += 1
  449. gs 'stat'
  450. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  451. 'The 400m sprint event for girls is up next. You take off your jacket and go the starting line, mentally preparing yourself for the race.'
  452. wait 725
  453. 'On your marks...'
  454. wait 725
  455. 'Get set...'
  456. wait 725
  457. 'Go!'
  458. wait 725
  459. begminus = 0
  460. if bmi_calc > 25:
  461. begminus = ((bmi_calc - 25)*4)
  462. elseif bmi_calc < 18:
  463. begminus = ((25 - bmi_calc)*6)
  464. end
  465. begresult = pcs_run - begminus
  466. act 'Run': gs 'gschool_grounds', 'SchoolRun_result'
  467. gs 'willpower', 'skill', 'run_lvl', 'hard'
  468. if will_cost <= pcs_willpwr:
  469. act 'Give it your best (<<will_cost>> Willpower)':
  470. begresult += 10
  471. gs 'willpower', 'pay', 'self'
  472. gs 'gschool_grounds', 'SchoolRun_result'
  473. end
  474. else
  475. act 'Give it your best (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  476. end
  477. end
  478. end
  479. if $ARGS[0] = 'SchoolRun_result':
  480. cla
  481. if begresult < 10:
  482. grupvalue[2] -= 2
  483. 'You barely manage to reach the finish line at all. There''s no point in checking where you finished, you already know you were last by quite a large margin.'
  484. elseif begresult < 15:
  485. grupvalue[2] -= 1
  486. 'You struggle to keep up with the other girls, and finish in last place.'
  487. elseif begresult < 20:
  488. 'You run as fast as you can, but only manage to finish second to last.'
  489. elseif begresult < 25:
  490. 'You run as fast as you can, but only manage to take 6th place.'
  491. elseif begresult < 30:
  492. grupvalue[2] += 1
  493. 'You run as fast as you can, but only manage to take 5th place.'
  494. elseif begresult < 35:
  495. grupvalue[2] += 1
  496. 'You run as fast as you can, but only manage to take 4th place.'
  497. elseif begresult < 45:
  498. grupvalue[2] += 2
  499. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  500. elseif begresult < 50:
  501. grupvalue[2] += 3
  502. 'You run as fast as you can, and manage to take 2nd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you on your achievement.'
  503. else
  504. swinbeg += 1
  505. grupvalue[2] += 5
  506. 'You run as fast as you can, and manage to reach the finish line before anyone else. First place! Mr. Pavlovich, the P.E. teacher at your school, congratulates you on winning the competition, as you walk around with your arms raised in triumph.'
  507. end
  508. run_exp += 1
  509. fat -= 2
  510. if swinbeg = 3 and LocalRun = 0:
  511. LocalRun = 1
  512. if razradbeg < 1:
  513. 'You have won the school running competition three times now and Mr. Pavlovich, the P.E. teacher at your school, announces that your success has not gone unnoticed. He smiles and awards you the third tier sports trophy in running, which you proudly accept and show to everyone.'
  514. razradbeg = 1
  515. else
  516. 'You have won the school running competition three times now and Mr. Pavlovich, the P.E. teacher at your school, smiles and awards you a local competition trophy which you proudly accept and show to everyone.'
  517. end
  518. end
  519. gs 'stat'
  520. act 'Return to town': gt 'gschool_grounds', 'main'
  521. end
  522. if $ARGS[0] = 'SchoolRun2':
  523. $location_type = 'event_outdoors'
  524. *clr & cla
  525. menu_off = 1
  526. minut += 30
  527. gs 'stat'
  528. 'You think you might be able to win, and sign up to participate in the competition. After quickly changing into your running gear you return to the track. The guys are having their race first, and you watch them as you prepare. As expected, Ivan Prokhorov wins. When the guys have finished, it is the girls'' turn.'
  529. if swinbeggor = 0:
  530. 'Getting ready at the starting line is Christina, one of the girls in your class. She just scoffs at you. "You''ll never beat me!"'
  531. elseif swinbeggor = 1:
  532. 'Getting ready at the starting line is Christina, one of the girls in your class. She looks at you angrily and says "You beat me once, but never again!"'
  533. elseif swinbeggor = 2:
  534. 'Getting ready at the starting line is Christina, one of the girls in your class. She looks at you with pure hatred. "You again, bitch? You''re going down this time, I promise you!"'
  535. end
  536. act 'Go to the start':
  537. *clr & cla
  538. kolsorev += 1
  539. minut += 30
  540. gm_school_sorev = 0
  541. gs 'stat'
  542. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  543. 'The 400m sprint event for girls is up next. You take off your jacket and go the starting line, mentally preparing yourself for the race.'
  544. wait 725
  545. 'On your marks...'
  546. wait 725
  547. 'Get set...'
  548. wait 725
  549. 'Go!'
  550. wait 725
  551. begminus = 0
  552. if bmi_calc > 25:
  553. begminus = ((bmi_calc - 25)*4)
  554. elseif bmi_calc < 18:
  555. begminus = ((25 - bmi_calc)*6)
  556. end
  557. begresult = pcs_run - begminus
  558. act 'Run': gs 'gschool_grounds', 'SchoolRun2_result'
  559. gs 'willpower', 'skill', 'run_lvl', 'hard'
  560. if will_cost <= pcs_willpwr:
  561. act 'Give it your best (<<will_cost>> Willpower)':
  562. begresult += 10
  563. gs 'willpower', 'pay', 'self'
  564. gs 'gschool_grounds', 'SchoolRun2_result'
  565. end
  566. else
  567. act 'Give it your best (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  568. end
  569. end
  570. end
  571. if $ARGS[0] = 'SchoolRun2_result':
  572. cla
  573. if begresult < 10:
  574. grupvalue[2] -= 2
  575. 'You barely manage to reach the finish line at all. There''s no point in checking where you finished, you already know you were last by quite a large margin.'
  576. elseif begresult < 15:
  577. grupvalue[2] -= 1
  578. 'You struggle to keep up with the other girls, and finish in last place.'
  579. elseif begresult < 20:
  580. 'You run as fast as you can, but only manage to finish second to last.'
  581. elseif begresult < 25:
  582. 'You run as fast as you can, but only manage to take 6th place.'
  583. elseif begresult < 30:
  584. grupvalue[2] += 1
  585. 'You run as fast as you can, but only manage to take 5th place.'
  586. elseif begresult < 35:
  587. grupvalue[2] += 1
  588. 'You run as fast as you can, but only manage to take 4th place.'
  589. elseif begresult < 40:
  590. grupvalue[2] += 2
  591. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  592. elseif begresult < 50:
  593. grupvalue[2] += 3
  594. 'You run as fast as you can, and manage to take 2nd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you on your achievement.'
  595. else
  596. swinbeggor += 1
  597. grupvalue[2] += 5
  598. 'You run as fast as you can, and manage to reach the finish line before anyone else. First place! Mr. Pavlovich, the P.E. teacher at your school, congratulates you on winning the competition yet again while you walk around with your arms raised in triumph.'
  599. end
  600. run_exp += 1
  601. fat -= 2
  602. if swinbeggor = 3 and LocalRun = 1:
  603. LocalRun = 2
  604. npc_rel['A18'] = 0
  605. zverevaQW = 1
  606. if razradbeg < 2:
  607. 'You have won the competition three more times and Mr. Pavlovich awards you the second tier sports trophy in running.'
  608. razradbeg = 2
  609. else
  610. 'You have won the competition three more times and Mr. Pavlovich awards you another trophy.'
  611. end
  612. 'Christina stands nearby glaring at you the whole time, her hands balled into fists. She''s seething with rage, realizing she cannot beat you.'
  613. elseif swinbeggor = 2 and begresult >= 130:
  614. npc_rel['A18'] = 0
  615. 'Christina is gasping for breath at the finish line. She was unable to overtake you, and came second again. Christina avoids your gaze, not wanting to look you in the eye.'
  616. elseif swinbeggor = 1 and begresult >= 130:
  617. npc_rel['A18'] = 0
  618. 'Christina is gasping for breath at the finish line. She was unable to overtake you, and came second yet again. You just flash her a teethy grin and continue your victory lap. Through clenched teeth Christina growls at you. "You bitch!"'
  619. end
  620. gs 'stat'
  621. act 'Leave': gt 'gschool_grounds', 'main'
  622. end
  623. if $ARGS[0] = 'change_room':
  624. $loc_arg = 'change_room'
  625. $loc = 'gschool_grounds'
  626. $location_type = 'bathroom'
  627. $locclass = 'lockeroom'
  628. $locM = 'gschool_grounds'
  629. $locM_arg = 'change_room'
  630. $menu_loc = 'gschool_grounds'
  631. $menu_arg = 'change_room'
  632. menu_off = 0
  633. *clr & cla
  634. gs 'stat'
  635. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/gym/lockerroom.jpg"></center>'
  636. act 'Leave the school building':
  637. if $clothingworntype = 'nude':
  638. msg'<b><font color = red>You need to get dressed.</font></b>'
  639. gt 'gschool_grounds', 'change_room'
  640. else
  641. minut += 1
  642. gt 'gschool_grounds', 'main'
  643. end
  644. end
  645. act 'Go to sports field':
  646. if $clothingworntype = 'nude':
  647. msg'<b><font color = red>You need to get dressed.</font></b>'
  648. gt 'gschool_grounds', 'change_room'
  649. else
  650. minut += 1
  651. gt 'gschool_grounds', 'sports'
  652. end
  653. end
  654. *nl
  655. 'The locker room is accessed through the school gym, and is left unlocked until 18:30 each day, to be utilised by students using the sports ground for training and events outside school hours. The room is cold, damp and filled with lockers, benches, and not much else. You can <a href="exec: gt ''wardrobe'', ''start''">change your outfit</a> by the lockers here'+iif(pirsA + pirsB + pirsC + pirsD + pirsE + pirsF + pirsN + pirsG + pirsGL > 0, ', and <a href="exec:dynamic $pirManage">manage your piercings</a>', '.')+''
  656. *nl
  657. 'You can access your <a href="exec: quick_dress = 1 & gt ''wardrobe'', ''default''">default clothing</a> options directly.'
  658. if (hour = 18 and minut >= 30) or hour > 18:
  659. 'The school is closing for the night and you have to leave so you don''t get stuck here all night.'
  660. exit
  661. end
  662. gs 'wardrobe', 'sports_outfit'
  663. act 'Change your outfit':
  664. cla
  665. gt 'wardrobe', 'start'
  666. end
  667. dynamic $publicpan
  668. act 'Look in the mirror': gt 'mirror', 'start'
  669. if pcs_hairbsh = 0: act 'Brush your hair': gt 'mirror', 'brush'
  670. dynamic $quickwash
  671. dynamic $basin
  672. if shampoo > 0:
  673. dynamic $shower
  674. else
  675. '<font color="red">You''ve run out of shampoo and will have to buy some more before you can wash yourself.</font>'
  676. end
  677. dynamic $tampon
  678. gs 'din_van', 'pblc_pee'
  679. end
  680. --- gschool_grounds ---------------------------------