gschool_grounds.qsrc 54 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  1. # gschool_grounds
  2. !!2022/09/29 - Alaratt
  3. !Outside school building
  4. if $ARGS[0] = 'main':
  5. CLOSE ALL
  6. $loc = 'gschool_grounds'
  7. $loc_arg = 'main'
  8. $location_type = 'public_outdoors'
  9. $menu_loc = 'gschool_grounds'
  10. $menu_arg = 'main'
  11. menu_off = 0
  12. killvar '$locclass'
  13. *clr & cla
  14. gs 'vicky_meynold_schedule'
  15. gs 'katja_meynold_schedule'
  16. gs 'igor_schedule'
  17. gs 'stat'
  18. '<center><b><font color="maroon">Outside School</font></b></center>'
  19. if month >= 11 or month <= 3:
  20. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/schoolwinter.jpg"></center>'
  21. else
  22. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool.jpg"></center>'
  23. end
  24. '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.'
  25. 'Hidden behind these trees 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 building stands empty and abandoned. It''s a popular spot for students to skip class or hang out outside of school.'
  26. if ((hour = 6 and minut >= 30) or (hour >= 7 and hour < 18)) and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and kanikuli = 0 and suspended['on'] ! 1:
  27. '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.'
  28. end
  29. if day = nyp_day and month = 12 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0:
  30. if hour >= 14 and hour < 17:
  31. 'All of 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 haven''t paid the 1000 <b>₽</b> entry fee yet!"'
  32. if money >= 1000:act 'Go to the party (1,000 <b>₽</b>)':money -= 1000 & gt 'nyp_school', 'start'
  33. end
  34. end
  35. if InvitationToDimkaNYparty = 1 and day = 31 and day = nyp_day: act 'Follow Dimka to the party at his house': killvar 'InvitationToDimkaNYparty' & minut += 30 & gt 'sny', '3'
  36. if hour = 14 and week < 6 and kanikuli = 0:
  37. if NikoDate_Day ! daystart:
  38. if week = 1 and NikoIntro = 0:
  39. gt 'NikoEv', 'Intro'
  40. elseif NikoVolkovQW = 5 and NikoEv = 6 and NikoDate = 0:
  41. gt 'NikoDates', 'after_school'
  42. elseif NikoVolkovQW = 5 and NikoEv = 8 and NikoDate = 0:
  43. gt 'NikoDates', 'after_school2'
  44. elseif NikoVolkovQW = 10 and NikoEv = 22:
  45. gt 'NikoEv2', 'Recovery'
  46. end
  47. end
  48. end
  49. if week < 6 and hour = 14 and kanikuli = 0 and afterschool_day ! daystart and suspended['on'] ! 1 and SchoolAtestat = 0 and SchoolBlock = 0:
  50. afterschool_day = daystart
  51. if rand(0,3) = 0:
  52. $eventtype = 'after_school'
  53. gt 'gschool_events', 'break_events'
  54. else
  55. gt 'gschool_events', 'afterschool_events'
  56. end
  57. end
  58. !! Cheerleading tryouts if Sveta decided to attend
  59. if SchoolAtestat = 0 and kanikuli = 0 and suspended['on'] ! 1:
  60. if hour = 14 and cheerleadingQW['quest_stage'] = 1:
  61. if pregtime < 90: gt 'gschool_cheerleading', 'tryouts'
  62. !! Sveta attends training after school every Tuesday and Thursday.
  63. elseif hour = 14 and cheerleadingQW['day'] ! daystart and (week = 2 or week = 4) and kanikuli = 0 and cheerleadingQW['quest_stage'] > 1 and suspended['on'] ! 1:
  64. if npc_pregtalk['A23'] = 0: gt 'gschool_cheerleading', 'afterschool_practice'
  65. !! A football game is played once every 2nd Friday and the cheerleaders perform out on the field.
  66. 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) and suspended['on'] ! 1:
  67. if npc_pregtalk['A23'] = 0: gt 'gschool_cheerleading', 'afterschool_game'
  68. end
  69. end
  70. if hour <= 8 and kanikuli = 6:
  71. 'Today is graduation day! The school prom is tonight as well.'
  72. act 'Go to your graduation':
  73. *clr & cla
  74. menu_off = 1
  75. hour = 10
  76. minut = 0
  77. SchoolAtestat = 1
  78. kanikuli = 7
  79. gs 'stat'
  80. if func('homes_properties', 'has_access', 'parents_home'):
  81. '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.'
  82. else
  83. '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.'
  84. end
  85. 'Your Principial begins calling your classmates in alphabetical order. Finally it''s your turn.'
  86. if class['school_grade_average'] >= 90:
  87. '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.'
  88. if func('homes_properties', 'has_access', 'parents_home'): 'As you return to your place you see your mother smiling brightly.'
  89. elseif class['school_grade_average'] >= 70:
  90. '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.'
  91. else
  92. 'You go up to the podium. The Principal shakes your hand and gives you your diploma and you return to your place.'
  93. end
  94. act 'Return to town': minut += 2 & gt 'pav_residential'
  95. act 'Go to the prom party':
  96. *clr & cla
  97. minut += 540
  98. pcs_energy += 70
  99. gs 'drugs', 'alcohol', 'vodka', rand(2,3)
  100. gs 'clothing', 'strip_all'
  101. gs 'stat'
  102. 'After the ceremony, everyone gets hammered at the prom party. When you wake up, your mouth is dry and you can taste and smell the alcohol on your breath as you feel a headache coming on. Looking around, you see that you''re somewhere in the town center and that you''re completely naked, with twigs and leaves stuck in your hair. You are a little alarmed when you notice that your clothes are missing.'
  103. 'You''re unable to find your clothes, so you cover yourself with your hands and stick to poorly lit areas as you make your way home. You try as hard as you can, but all you can remember are vague flashbacks of skinny dipping in the town fountain with a group of other students.'
  104. act 'Go home': gs 'homes_properties', 'go_straight_home'
  105. end
  106. end
  107. exit
  108. end
  109. if SchoolAtestat = -1 and week < 6 and hour >= 6 and hour < 14:
  110. act 'Get your diploma':
  111. *clr & cla
  112. menu_off = 1
  113. minut += 20
  114. SchoolAtestat = 1
  115. kanikuli = 7
  116. gs 'stat'
  117. if class['school_grade_average'] >= 70:
  118. 'The Principal hands you your diploma. "Well done, Miss <<$pcs_lastname>>! Good luck in your future!" she says as she shakes your hand.'
  119. else
  120. 'The Principal hands you your diploma. "Good luck in your future!" she says as she shakes your hand.'
  121. end
  122. act 'Return to town': minut += 2 & gt 'pav_residential'
  123. end
  124. end
  125. !! act 'Go to old school building': gt
  126. !! act 'Go to the Principals Office': gt
  127. if week < 6 and hour >= 6 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and kanikuli = 0 and SchoolBlock = 0 and suspended['on'] ! 1:
  128. if PCloStyle2 = 4 or Enable_sforma = 1:
  129. if hour = 6:
  130. if minut < 30:
  131. 'It''s too early for school now.'
  132. else
  133. if NikoEv = 10: gt 'NikoWhore', 'Walk Of Shame'
  134. act 'Wait for class': gt 'gschool_grounds', 'bulding'
  135. end
  136. elseif hour = 7:
  137. if NikoEv = 10:
  138. gt 'NikoWhore', 'Walk Of Shame'
  139. elseif minut <= 45:
  140. act '<b>Go to class</b>': gt 'gschool_grounds', 'bulding'
  141. else
  142. 'You are late for school! You could rush to class or just skip until the second period.'
  143. act '<b>Rush to class</b>': gt 'gschool_grounds', 'bulding'
  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 and so make your way to the bathroom.'
  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 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 you to attend 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. gs 'camera', 'check_location'
  166. act 'Return to town': minut += 2 & gt 'pav_residential'
  167. act 'Go to the sports field': minut += 1 & gt 'gschool_grounds', 'sports'
  168. if mc_inventory['joints'] > 0 and drugVars['weed_high'] = 0: act 'Smoke a joint behind the school building': minut += 10 & gs 'drugs', 'joint' & gt $loc, $loc_arg
  169. if week = 6 and hour = 8 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and detention_set = 1 and SchoolBlock = 0: act 'Go to detention': gt 'gschool_detention', 'start'
  170. if christinaQW['pre_fight'] = 1 and week < 6 and hour = 14 and kanikuli = 0:
  171. act 'Attack Christina':
  172. gt 'Zvereva_events', 'KristinaFight'
  173. end
  174. end
  175. if suspended['on'] ! 1 and kanikuli = 0:
  176. if week < 6 and hour = 14 and dimaRevenge = 5 and dimaRevChoice = 0:
  177. gt 'dimaRevenge', dimaRevenge
  178. elseif week < 6 and hour = 14 and dimaRevenge = 4 and dimaRevChoice = 1:
  179. gt 'dimaRevenge', dimaRevenge
  180. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 1:
  181. gt 'dimaRevenge', 5, 'before'
  182. elseif week < 6 and hour = 7 and dimaRevenge = 6 and dimaRevChoice = 1:
  183. gt 'dimaRevenge', 6, 'before'
  184. elseif week < 6 and hour = 14 and dimaRevenge = 7 and dimaRevChoice = 1:
  185. gt 'dimaRevenge', dimaRevenge
  186. elseif week < 6 and hour = 7 and dimaRevenge = 4 and dimaRevChoice = 2:
  187. gt 'dimaRevenge', dimaRevenge, 'day4jockbefore'
  188. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 2:
  189. gt 'dimaRevenge', dimaRevenge, 'day5jockbefore'
  190. elseif week < 6 and hour = 14 and dimaRevenge = 6 and dimaRevChoice = 2:
  191. gt 'dimaRevenge', 5, 'day5jockafter'
  192. !elseif week < 6 and hour = 11 and dimaRevenge = 4 and dimaRevChoice = 3:
  193. ! gt 'gschool_lessons', 'short_break'
  194. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 3:
  195. gt 'dimaRevenge', dimaRevenge
  196. elseif week < 6 and hour = 14 and dimaRevenge = 4 and dimaRevChoice = 4:
  197. gt 'dimaRevenge', dimaRevenge, 'after'
  198. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 4:
  199. gt 'dimaRevenge', dimaRevenge, 'before'
  200. elseif week < 6 and hour = 14 and dimaRevenge = 6 and dimaRevChoice = 4:
  201. gt 'dimaRevenge', 5, 'after'
  202. elseif week < 6 and hour = 7 and dimaRevenge = 7 and dimaRevChoice = 4 and dimaRevengedaystart >= daystart:
  203. gt 'dimaRevenge', 6
  204. elseif week < 6 and hour = 7 and dimaRevenge = 5 and dimaRevChoice = 5:
  205. gt 'dimaRevenge', dimaRevenge, 'before'
  206. elseif week < 6 and hour = 7 and dimaRevenge = 4 and dimaRevChoice = 5:
  207. gt 'dimaRevenge', 5
  208. elseif week < 6 and hour = 7 and dimaRevenge = 4 and dimaRevChoice = 6:
  209. gt 'dimaRevenge', dimaRevenge
  210. end
  211. end
  212. if hour >= 14 and fame['pav_slut'] >= 250 and SchoolGossip > 0 and afterschoolday ! daystart: gt 'gschool_sex', 'suck'
  213. if hour = 14 and week < 6 and kanikuli = 0 and SchoolAtestat = 0:
  214. if ivan_afterschool = 1: act 'Meet Ivan after school': gt 'gschool_sex', 'afterschool'
  215. if Enable_tablemap = 0:
  216. if anushkaQW['first_visit'] = 0 and meet_after_school = 1: '<a href="exec: gt ''anushka'', ''meet_after_school''">Anushka</a> is leaning against a tree just in front of the school.'
  217. if LariskaQW['story'] >= 5 and cheerleaders_on = 0: 'You see <a href="exec:minut += 1 & gt ''LariskaGo''">Lariska</a> impatiently walks back and fourth across the courtyard, as if she''s waiting for someone.'
  218. if christinaQW['subpath'] >= 4 and cheerleaders_on = 0: '<a href="exec:minut += 1 & gt ''Zvereva_house_events'', ''Chris_walk_home''">Christina Zvereva</a> is walking across the school courtyard, looking irritated.'
  219. if juliaQW['study_unlocked'] >= 1: '<a href="exec:minut += 1 & gt ''JuliaMilHome'', ''julia_go''">Julia</a> is sitting out on the courtyard, reading a book.'
  220. if NatbelQW['QWstage'] > 0: '<a href="exec:minut += 1 & gt ''natbelEv'', ''natbel_go''">Natasha</a> is standing in a corner.'
  221. if artemLernQW >= 1 and artemVitokQW ! 2 and artemQW['artemblok'] = 0 and artemQW['artlie'] ! 2 and artemQW['artembrokenheart'] ! 1: '<a href="exec:minut += 15 & gt ''artem_events'', ''start''">Artem</a> is waiting for you near the school entrance.'
  222. if katjaQW['afterschool_hangout_day'] ! daystart and katjaQW['QWstage'] >= 1 and locat['katja'] = 6: '<a href="exec:minut += 15 & gt ''katjaEv''">Katja</a> is walking across the school courtyard, getting ready to go home.'
  223. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  224. '<a href="exec:minut += 15 & gt ''dimaEv'', ''after_school''">Dimka</a> is deep in thought, as he leans against a lamp post.'
  225. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  226. if rand(0,4) = 0: gt 'dimaEv', 'after_school'
  227. '<a href="exec:minut += 15 & gt ''dimaEv'', ''after_school''">Dimka</a> is deep in thought, as he leans against a lamp post.'
  228. end
  229. if (igor_history = 1 or IgorLoverQW > 0) and igorkruglovday ! daystart and IdorBlock = 0 and locat['igor'] = 6: '<a href="exec:minut += 15 & igorkruglovday = daystart & gt ''igorhome'', ''entrance''">Igor</a> is talking to some of his friends on the courtyard.'
  230. if fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  231. 'You can see <a href="exec: gt ''FedorEv'', ''Strela Chat''">Fedor</a> sitting in the corner of the schoolyard by himself.'
  232. elseif fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  233. 'You can see <a href="exec: gt ''FedorEv2'', ''Fedor Breakup''">Fedor</a> standing by himself with a troubled look on his face.'
  234. elseif fedorKozlovQW >= 10:
  235. 'You can see <a href="exec: gt ''FedorEv'', ''Start''">Fedor</a> standing by himself, his backpack around his arm.'
  236. end
  237. if NikoVolkovQW >= 5 and NikoDate = 1 and NikoNextDate_day <= daystart or NikoEv = 11:
  238. 'You can see <a href="exec:gt ''NikoEv'', ''niko_dates''">Nikolai Volkov</a> smoking outside of the school.'
  239. elseif NikoVolkovQW >= 10 and NikoEv >= 17 and NikoEv <= 20 and NikoDate_Day ! daystart:
  240. '<a href="exec:gt ''NikoEv2'', ''Events''">Nikolai</a> is smoking outside of the school.'
  241. end
  242. else
  243. !display friends in table if switch is on.
  244. st_count=0 & $show_table=''
  245. if anushkaQW['first_visit'] = 0 and meet_after_school = 1: gs 'show_table', '<a href="exec: gt ''anushka'', ''meet_after_school''">Anushka Konstantinov</a>', '5'
  246. if LariskaQW['story'] >= 5 and cheerleaders_on = 0: gs 'show_table', '<a href="exec:minut += 1 & gt ''LariskaGo''">Lariska Gruzdev</a>', '5'
  247. if christinaQW['subpath'] >= 4 and cheerleaders_on = 0: gs 'show_table', '<a href="exec:minut += 1 & gt ''Zvereva_house_events'', ''Chris_walk_home''">Christina Zvereva</a>', '5'
  248. if juliaQW['study_unlocked'] >= 1: gs 'show_table', '<a href="exec:minut += 1 & gt ''JuliaMilHome'', ''julia_go''">Julia Milova</a>', '5'
  249. if NatbelQW['QWstage'] > 0: gs 'show_table', '<a href="exec:minut += 1 & gt ''natbelEv'', ''natbel_go''">Natasha Belova</a>', '5'
  250. if artemLernQW >= 1 and artemVitokQW ! 2 and artemQW['artemblok'] = 0 and artemQW['artlie'] ! 2 and artemQW['artembrokenheart'] ! 1: gs 'show_table', '<a href="exec:minut += 15 & gt ''artem_events'', ''start''">Artem Chebotarev</a>', '5'
  251. if katjaQW['afterschool_hangout_day'] ! daystart and katjaQW['QWstage'] >= 1 and locat['katja'] = 6: gs 'show_table', '<a href="exec:minut += 15 & gt ''katjaEv''">Katja Meynold</a>', '5'
  252. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  253. gs 'show_table', '<a href="exec:minut += 15 & gt ''dimaHome'', ''home''">Dimka Nosov</a>', '5'
  254. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  255. if rand(0,4) = 0: gt 'dimaEv', 'after_school'
  256. gs 'show_table', '<a href="exec:minut += 15 & gt ''dimaEv'', ''after_school''">Dimka Nosov</a>', '5'
  257. end
  258. if (igor_history = 1 or IgorLoverQW > 0) and igorkruglovday ! daystart and IdorBlock = 0 and locat['igor'] = 6: gs 'show_table', '<a href="exec:minut += 15 & igorkruglovday = daystart & gt ''igorhome'', ''entrance''">Igor Kruglov</a>', '5'
  259. if fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  260. gs 'show_table', '<a href="exec: gt ''FedorEv'', ''Strela Chat''">Fedor</a>', '5'
  261. elseif fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  262. gs 'show_table', '<a href="exec: gt ''FedorEv2'', ''Fedor Breakup''">Fedor</a>', '5'
  263. elseif fedorKozlovQW >= 10:
  264. gs 'show_table', '<a href="exec: gt ''FedorEv'', ''Start''">Fedor</a>', '5'
  265. end
  266. if NikoVolkovQW = 5 and NikoDate = 1 and NikoNextDate_day <= daystart or NikoEv = 11:
  267. gs 'show_table', '<a href="exec: gt ''NikoEv'', ''niko_dates''">Nikolai</a>', '5'
  268. elseif NikoVolkovQW = 10 and NikoEv >= 17 and NikoEv <= 20 and NikoDate_Day ! daystart:
  269. gs 'show_table', '<a href="exec: gt ''NikoEv2'', ''Events''">Nikolai</a>', '5'
  270. end
  271. if st_count > 0:
  272. 'Near school yard, you see: '
  273. '<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  274. end
  275. end
  276. if AlbinaQW['albride'] = 0 and AlbinaQW['RideDaystart'] <= daystart and AlbinaQW['Chernov'] > 0 and cheerleaders_on = 0:
  277. '<a href="exec:minut += 15 & gt ''albina_starlets_aftermath''">Albina</a> is waiting behind the wheel of an SUV parked near the school.'
  278. end
  279. ! meynold`s events
  280. if hour = 14 and vicky_afterschool ! daystart: gs 'mey_vika_events', 'near_school'
  281. if mey_vika['mey_vika_qw'] = 35 or mey_vika['mey_vika_qw'] = 36 and minut < 45:
  282. act 'Study with Tamara':
  283. if mey_vika['mey_vika_qw'] = 36: gt 'mey_tamara_events', 'rebuke'
  284. gt 'mey_tamara_events', 'learning0'
  285. end
  286. end
  287. end
  288. if strelaDay ! daystart and strelaQW = 1 and hour = 14:
  289. *clr & cla
  290. 'A Mitsubishi Pajero and a BMW drive up to the school gates and 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, although you''re not close enough to hear what it''s about. Then you notice Fedor leaving the school, his face swollen and bruised, and he waves at you. "<<$pcs_nickname>>! Come here, you''re my witness!"'
  291. act 'Go and see what he needs': gt 'strela'
  292. end
  293. end
  294. !Outside school sports field
  295. if $ARGS[0] = 'sports':
  296. $loc = 'gschool_grounds'
  297. $location_type = 'public_outdoors'
  298. $loc_arg = 'sports'
  299. $menu_loc = 'gschool_grounds'
  300. $menu_arg = 'sports'
  301. menu_off = 0
  302. killvar '$locclass'
  303. *clr & cla
  304. gs 'Zvereva_schedule'
  305. gs 'stat'
  306. if month > 3 and month < 11:
  307. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/field.jpg"></center>'
  308. else
  309. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/fieldwinter.jpg"></center>'
  310. end
  311. 'There is a football field near the school with a large track circling around it. Students often use the field and track before and after school.'
  312. 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')+' on the football field showing off his skills.'
  313. 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.'
  314. act 'Leave the sports field': minut += 1 & gt 'gschool_grounds', 'main'
  315. if $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich':
  316. if pcs_energy >= 5 and pcs_stam >= stammax / 5:
  317. act 'Go for a run (1 hour)':
  318. *clr & cla
  319. menu_off = 1
  320. gs 'exercise', 'tier1', 60, 'run'
  321. if month > 2 and month <= 9:
  322. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/runsummer.jpg"></center>'
  323. else
  324. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/runwinter.jpg"></center>'
  325. end
  326. 'You spend an hour running on the track.'
  327. act 'Continue': gt 'gschool_grounds', 'sports'
  328. end
  329. elseif pcs_stam >= stammax / 5:
  330. act 'Go for a run (1:00)': '<br><font color="red">You are so hungry you cannot face going for a run.</font>'
  331. else
  332. act 'Go for a run (1:00)': '<br><font color="red">You are to exhausted to do this. Recover your stamina before trying to go for a run.</font>'
  333. end
  334. elseif ($clothingworntype ! 'danilovich_outfits' or $shoeworntype ! 'danilovich'):
  335. 'You could go for a run here if you were wearing sports clothes and shoes.'
  336. end
  337. if hour >= 9 and hour < 18 and mid($start_type,1,2) = 'sg' 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.'
  338. if week = 6 and runnerQW['pav_racetype'] = 2 and hour = 10 and SchoolBlock = 0:
  339. *nl
  340. '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.'
  341. if $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich':
  342. act 'Participate in the 400m sprint event': gt 'gschool_grounds', 'SchoolRun2'
  343. else
  344. 'You need to wear exercise clothes to participate.'
  345. end
  346. end
  347. if week = 6 and runnerQW['pav_racetype'] = 1 and hour = 10 and SchoolBlock = 0:
  348. *nl
  349. '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.'
  350. if $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich':
  351. act 'Participate in the 400m sprint race': gt 'gschool_grounds', 'SchoolRun'
  352. else
  353. 'You need to wear exercise clothes to participate.'
  354. end
  355. end
  356. ! Giving football preference, since there''s no indoor option for it.
  357. if temper => 15 and sunWeather = 1 and hour > 8 and hour < 12 and week = 6 and fbpickupDay + 14 <= daystart and bbpickupDay ! daystart:
  358. *nl
  359. '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>.'
  360. elseif temper => 15 and sunWeather = 1 and hour > 8 and hour < 12 and week = 6 and bbpickupDay + 14 <= daystart and fbpickupDay ! daystart:
  361. *nl
  362. '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>.'
  363. end
  364. gs 'brother', 'bro_school_field'
  365. if locat['Christina'] = 16: 'Christina and Lina are here, stretching for the race coming up.'
  366. end
  367. !!School building
  368. if $ARGS[0] = 'bulding':
  369. $loc = 'gschool_grounds'
  370. $loc_arg = 'bulding'
  371. $location_type = 'public_indoors'
  372. $menu_loc = 'gschool_grounds'
  373. $menu_arg = 'bulding'
  374. menu_off = 0
  375. gs 'stat'
  376. if therapistFuckedPussyScene = 1:
  377. gt 'therapist','therapistFucked'
  378. end
  379. '<center><b><font color="maroon">Inside School</font></b></center>'
  380. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  381. 'The hallways of the school building are painted with a cheap green paint, which you think may be toxic. Budget cuts.'
  382. act 'Continue':
  383. if hour = 8: late = 1
  384. gs 'stat'
  385. BeInSchool += 1
  386. gs 'Zvereva_events', 'cikl'
  387. if christinaQW['set_bully'] = 0:
  388. !!this should happen the first time Sveta enters school in a game and never again
  389. gt 'Zvereva_events', 'christina_bu_1'
  390. else
  391. if rand(0,1) = 0 or hour > 7:
  392. gt 'gschool_lessons', 'morning'
  393. else
  394. if rand(0,3) = 0:
  395. gt 'gschool_events', 'teacher_greet'
  396. else
  397. $eventtype = 'before_school'
  398. gt 'gschool_events', 'break_events'
  399. end
  400. end
  401. end
  402. end
  403. act 'Return to town': minut += 2 & gt 'pav_residential'
  404. if dimaRevenge = 1:
  405. menu_off = 1
  406. '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.
  407. "I know what you did, bitch. Did you really thing I wouldn''t figure out it was you that wiped my hard drive?"
  408. 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."
  409. His words fill you with dread as you make your way to class.'
  410. end
  411. if starlets_missed = 1:
  412. menu_off = 1
  413. starlets_missed = 0
  414. starlet_practice_skipped += 1
  415. if starlet_practice_skipped = 1:
  416. gs 'npc_relationship', 'modify', 'A23', -10
  417. 'As you walk down the hallway, you see an annoyed Albina waiting for you, her arms crossed as she glares at you. "Where the fuck were you <<$pcs_nickname>>?! And don''t fucking lie to me!"'
  418. '"Sorry, Albina. I... had a family thing I had to deal with and I didn''t have time to tell you." you meekly reply.'
  419. 'She doesn''t look completely convinced. "Right... Well if you care about your place on the team, then you''ll be at the next training session on time. No excuses."'
  420. 'You nod at her and she gives you a pat on the head before walking away. It looks like you got off lightly this time.'
  421. elseif starlet_practice_skipped = 2:
  422. gs 'npc_relationship', 'modify', 'A23', -20
  423. 'You notice Albina angrily watching you walk down the hallway towards her and she drags you to the side when you reach her.'
  424. '"Skipping training <i>again</i>, <<$pcs_nickname>>?! I thought I told you that you were to be there on time <b>no excuses</b>?! I don''t care about what miserable story you have to defend yourself with. You either commit to the squad or you''re out. This is your final warning <<$pcs_nickname>>, don''t fucking test me!"'
  425. 'You don''t have a chance to speak before she storms off. Maybe it''s best for both of you if you stopped pissing her off?'
  426. else
  427. AlbinaQW['StarletsJoined'] = -1
  428. gs 'npc_relationship', 'set', 'A23', 10
  429. 'You are walking down the hallway and freeze when you clock a furious Albina heading straight for you. You barely have time to react before she grabs your shirt and forcefully slams you into the lockers, silencing the hall as everyone looks at you.'
  430. 'Albina glares directly into your eyes. "ARE YOU DOING THIS TO MOCK ME YOU FUCKING BITCH?! I GAVE YOU ONE. LAST. FUCKING. CHANCE AND YOU THROW IT BACK IN MY FUCKING FACE?!" She tightens her grips as she gets up in your face. "You''re done with the Starlets. If I <i>ever</i> see you anywhere near us, you better hope that I''m in a good fucking mood, bitch!"'
  431. 'She releases you and angrily storms off, shoving other students out of her way. You compose yourself and continue on your way, trying to ignore the stares.'
  432. end
  433. end
  434. if (week = 1 or week = 3 or week = 5) and (christinaQW['fight'] = -1 or christinaQW['submit'] = 1) and christinaQW['subpath'] < 3:
  435. menu_off = 1
  436. if christinaQW['fight'] = -1:
  437. 'Christina approaches you. "Have you recovered from your ass-kicking yet? At least you understand your place now. I''m looking forward to after P.E. class today!"'
  438. '"W-What happens after P.E. class?" you meekly ask.'
  439. 'Without answering, she simply smirks at you and walks away.'
  440. else
  441. 'Christina approaches you. "Hello, pet. I''m looking forward to after P.E. class today!"'
  442. '"W-What happens after P.E. class?" you meekly ask.'
  443. 'Without answering, she simply smirks at you and walks away.'
  444. end
  445. end
  446. end
  447. if $ARGS[0] = 'SchoolRun':
  448. $location_type = 'event_outdoors'
  449. *clr & cla
  450. menu_off = 1
  451. minut += 30
  452. gs 'stat'
  453. '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.'
  454. act 'Go to the start':
  455. *clr & cla
  456. minut += 30
  457. runnerQW['pav_racetype'] = 0
  458. runnerQW['races_ran'] += 1
  459. gs 'stat'
  460. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  461. '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.'
  462. wait 725
  463. 'On your marks...'
  464. wait 725
  465. 'Get set...'
  466. wait 725
  467. 'Go!'
  468. wait 725
  469. runnerQW['bmi_penalty'] = 0
  470. if pcs_bmi > 25:
  471. runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
  472. elseif pcs_bmi < 20:
  473. runnerQW['bmi_penalty'] = ((20 - pcs_bmi)*(20-pcs_bmi))
  474. end
  475. runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
  476. act 'Run': gs 'gschool_grounds', 'SchoolRun_result'
  477. gs 'willpower', 'skill', 'run_lvl', 'hard'
  478. if will_cost <= pcs_willpwr:
  479. act 'Give it your best (<<will_cost>> Willpower)':
  480. runnerQW['result'] += 10
  481. gs 'willpower', 'pay', 'self'
  482. gs 'gschool_grounds', 'SchoolRun_result'
  483. end
  484. else
  485. 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>'
  486. end
  487. end
  488. end
  489. if $ARGS[0] = 'SchoolRun_result':
  490. cla
  491. if runnerQW['result'] < 10:
  492. grupvalue[2] -= 2
  493. '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.'
  494. elseif runnerQW['result'] < 15:
  495. grupvalue[2] -= 1
  496. 'You struggle to keep up with the other girls, and finish in last place.'
  497. elseif runnerQW['result'] < 20:
  498. 'You run as fast as you can, but only manage to finish second to last.'
  499. elseif runnerQW['result'] < 25:
  500. 'You run as fast as you can, but only manage to take 6th place.'
  501. elseif runnerQW['result'] < 30:
  502. grupvalue[2] += 1
  503. 'You run as fast as you can, but only manage to take 5th place.'
  504. elseif runnerQW['result'] < 35:
  505. grupvalue[2] += 1
  506. 'You run as fast as you can, but only manage to take 4th place.'
  507. elseif runnerQW['result'] < 45:
  508. grupvalue[2] += 2
  509. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  510. elseif runnerQW['result'] < 50:
  511. grupvalue[2] += 3
  512. '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.'
  513. else
  514. runnerQW['pav_wins1'] += 1
  515. grupvalue[2] += 5
  516. 'You run as fast as you can, and manage to reach the finish line first. 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.'
  517. end
  518. gs 'exp_gain', 'run', 1
  519. fat -= 2
  520. if runnerQW['pav_wins1'] = 3 and runnerQW['pav_stage'] = 0:
  521. runnerQW['pav_stage'] = 1
  522. if runnerQW['prof_stage'] < 1:
  523. '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.'
  524. runnerQW['prof_stage'] = 1
  525. else
  526. '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.'
  527. end
  528. end
  529. gs 'stat'
  530. if runnerQW['result'] >= 50:
  531. act 'Continue': gt 'gschool_grounds','Family extension'
  532. else
  533. act 'Return to town': gt 'gschool_grounds', 'main'
  534. end
  535. end
  536. if $ARGS[0] = 'SchoolRun2':
  537. $location_type = 'event_outdoors'
  538. *clr & cla
  539. menu_off = 1
  540. minut += 30
  541. gs 'stat'
  542. '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.'
  543. if christinaQW['fight'] = 1 or christinaQW['blackmail'] = 2:
  544. if runnerQW['pav_wins2'] = 0:
  545. 'You find Lina at the starting line with a smile on her face. Seeing you she waves and calls out cheerfully "Good luck, <<$pcs_nickname>>!"'
  546. elseif runnerQW['pav_wins2'] = 1:
  547. 'You find Lina at the starting line with a smile on her face. Seeing you she waves and calls out cheerfully "I am going to get you this time, <<$pcs_nickname>>!"'
  548. elseif runnerQW['pav_wins2'] = 2:
  549. 'You find Lina at the starting line with a smile on her face. Seeing you she waves and calls out cheerfully "Not going to get me a third time, <<$pcs_nickname>>!"'
  550. end
  551. else
  552. if runnerQW['pav_wins2'] = 0:
  553. '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!"'
  554. elseif runnerQW['pav_wins2'] = 1:
  555. '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!"'
  556. elseif runnerQW['pav_wins2'] = 2:
  557. '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!"'
  558. end
  559. end
  560. act 'Go to the start':
  561. *clr & cla
  562. runnerQW['races_ran'] += 1
  563. minut += 30
  564. runnerQW['pav_racetype'] = 0
  565. gs 'stat'
  566. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  567. '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.'
  568. wait 725
  569. 'On your marks...'
  570. wait 725
  571. 'Get set...'
  572. wait 725
  573. 'Go!'
  574. wait 725
  575. runnerQW['bmi_penalty'] = 0
  576. if pcs_bmi > 25:
  577. runnerQW['bmi_penalty'] = ((pcs_bmi - 25)*4)
  578. elseif pcs_bmi < 18:
  579. runnerQW['bmi_penalty'] = ((25 - pcs_bmi)*6)
  580. end
  581. runnerQW['result'] = pcs_run - runnerQW['bmi_penalty']
  582. act 'Run': gs 'gschool_grounds', 'SchoolRun2_result'
  583. gs 'willpower', 'skill', 'run_lvl', 'hard'
  584. if will_cost <= pcs_willpwr:
  585. act 'Give it your best (<<will_cost>> Willpower)':
  586. runnerQW['result'] += 10
  587. gs 'willpower', 'pay', 'self'
  588. gs 'gschool_grounds', 'SchoolRun2_result'
  589. end
  590. else
  591. 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>'
  592. end
  593. end
  594. end
  595. if $ARGS[0] = 'SchoolRun2_result':
  596. cla
  597. if runnerQW['result'] < 10:
  598. grupvalue[2] -= 2
  599. '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.'
  600. elseif runnerQW['result'] < 15:
  601. grupvalue[2] -= 1
  602. 'You struggle to keep up with the other girls, and finish in last place.'
  603. elseif runnerQW['result'] < 20:
  604. 'You run as fast as you can, but only manage to finish second to last.'
  605. elseif runnerQW['result'] < 25:
  606. 'You run as fast as you can, but only manage to take 6th place.'
  607. elseif runnerQW['result'] < 30:
  608. grupvalue[2] += 1
  609. 'You run as fast as you can, but only manage to take 5th place.'
  610. elseif runnerQW['result'] < 35:
  611. grupvalue[2] += 1
  612. 'You run as fast as you can, but only manage to take 4th place.'
  613. elseif runnerQW['result'] < 40:
  614. grupvalue[2] += 2
  615. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  616. elseif runnerQW['result'] < 50:
  617. grupvalue[2] += 3
  618. '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.'
  619. else
  620. runnerQW['pav_wins2'] += 1
  621. grupvalue[2] += 5
  622. 'You run as fast as you can, and manage to reach the finish line first. 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.'
  623. end
  624. gs 'exp_gain', 'run', 1
  625. fat -= 2
  626. if runnerQW['pav_wins2'] = 3 and runnerQW['pav_stage'] = 1:
  627. runnerQW['pav_stage'] = 2
  628. if runnerQW['prof_stage'] < 2:
  629. 'You have won the competition three more times and Mr. Pavlovich awards you the second tier sports trophy in running.'
  630. runnerQW['prof_stage'] = 2
  631. else
  632. 'You have won the competition three more times and Mr. Pavlovich awards you another trophy.'
  633. end
  634. if christinaQW['fight'] = 1 or christinaQW['blackmail'] = 2:
  635. npc_rel['A19'] += 5
  636. 'Lina stands at at the finish line, gasping for breath. Even though you beat her again, she flashes you a bright smile in congratulations.'
  637. else
  638. 'Christina stands nearby glaring at you the whole time, her hands balled into fists. She''s seething with rage, realizing she cannot beat you.'
  639. end
  640. elseif runnerQW['pav_wins2'] = 2 and runnerQW['result'] >= 130:
  641. if christinaQW['fight'] = 1 or christinaQW['blackmail'] = 2:
  642. gs 'npc_relationship', 'modify', 'A19', 'love'
  643. 'Lina stands at at the finish line, gasping for breath. Even though you beat her a second time, she flashes you a bright smile in congratulations.'
  644. else
  645. gs 'npc_relationship', 'modify', 'A18', 'loathe'
  646. '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.'
  647. end
  648. elseif runnerQW['pav_wins2'] = 1 and runnerQW['result'] >= 130:
  649. if christinaQW['fight'] = 1 or christinaQW['blackmail'] = 2:
  650. gs 'npc_relationship', 'modify', 'A19', 'love'
  651. 'Lina stands at at the finish line, gasping for breath. Even though you beat her, she flashes you a bright smile in congratulations.'
  652. else
  653. gs 'npc_relationship', 'modify', 'A18', 'loathe'
  654. '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 toothy grin and continue your victory lap. Through clenched teeth Christina growls at you. "You bitch!"'
  655. end
  656. end
  657. gs 'stat'
  658. if runnerQW['result'] > 50:
  659. act 'Continue': gt 'gschool_grounds','Family extension'
  660. else
  661. act 'Leave': gt 'gschool_grounds', 'main'
  662. end
  663. end
  664. if $ARGS[0] = 'change_room':
  665. $loc_arg = 'change_room'
  666. $loc = 'gschool_grounds'
  667. $location_type = 'bathroom'
  668. $locclass = 'locker'
  669. $locM = 'gschool_grounds'
  670. $locM_arg = 'change_room'
  671. $menu_loc = 'gschool_grounds'
  672. $menu_arg = 'change_room'
  673. menu_off = 0
  674. *clr & cla
  675. gs 'stat'
  676. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/gym/locker/lockerroom.jpg"></center>'
  677. act 'Leave':
  678. if $clothingworntype = 'nude':
  679. msg'<b><font color = red>You need to get dressed first!</font></b>'
  680. gt 'gschool_grounds', 'change_room'
  681. else
  682. minut += 1
  683. gt 'gschool_grounds', 'main'
  684. end
  685. end
  686. act 'Go to the sports field':
  687. if $clothingworntype = 'nude':
  688. msg'<b><font color = red>You need to get dressed first!</font></b>'
  689. gt 'gschool_grounds', 'change_room'
  690. else
  691. minut += 1
  692. gt 'gschool_grounds', 'sports'
  693. end
  694. end
  695. *nl
  696. 'The locker room is accessed through the school gym, and is left unlocked until 18:30 each day for the use of 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 > 0, ', and <a href="exec:dynamic $pirManage">manage your piercings</a>', '.')+''
  697. *nl
  698. if (hour = 18 and minut >= 30) or hour > 18:
  699. 'The school is closing for the night and you have to leave before you get locked in.'
  700. exit
  701. end
  702. act 'Change your outfit':
  703. cla
  704. gt 'wardrobe', 'start'
  705. end
  706. gs 'wardrobe', 'default_sport_options'
  707. dynamic $publicpan, 'no_prost'
  708. act 'Look in the mirror': gt 'mirror', 'start'
  709. if pcs_hairbsh < 1: act 'Brush your hair': gt 'mirror', 'brush'
  710. dynamic $quickwash
  711. dynamic $basin
  712. if mc_inventory['shampoo'] > 0:
  713. dynamic $shower
  714. else
  715. '<font color="red">You''ve run out of shampoo and will have to buy some more before you can wash yourself.</font>'
  716. end
  717. dynamic $tampon
  718. gs 'din_van', 'pblc_pee'
  719. end
  720. if $ARGS[0] = 'Family extension':
  721. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/school_run.jpg"></center>'
  722. if $home['current'] = 'parents_home':
  723. if npc_rel['A34'] > 50:
  724. 'You hear your name and turn to see Kolka. "<<$pcs_nickname>>... <<$pcs_nickname>> you won!" Kolka shouts while running towards you with a huge grin. He crashes into you and gives you a tight hug.'
  725. '"Hey, how''s my favourite brother? Thanks for coming, I wasn''t aware you knew I was running."'
  726. 'Kolka, still grinning, replies "Hey, you didn''t think I spotted you doing all those laps when the school was closed and training at the community center? You''re always out wearing your sports gear and carrying that water bottle, so you''re clearly not just meeting friends!"'
  727. else
  728. 'You hear your name and turn to find Kolka. "<<$pcs_nickname>>, you won! Well done."'
  729. '"Hi Kolka. Thanks for coming, I wasn''t aware you knew I was running."'
  730. '"Yeah, well <<$npc_nickname[''A29'']>> asked me to keep an eye out on what you were doing since you''re always out in your sports gear with that water bottle, so I asked the coach."'
  731. end
  732. minut += 4
  733. gs 'stat'
  734. act 'Continue':
  735. *clr & cla
  736. menu_off = 1
  737. 'At this point, you see your <<$npc_nickname[''A29'']>> and stepfather approaching.'
  738. if npc_rel['A29'] > 50:
  739. 'Your <<$npc_nickname[''A29'']>> approaches you and gives you a hug. "I know we''ve had our differences, but I only want the best for you. I''m so proud of you. Why didn''t you say something?"'
  740. if npc_rel['A33'] > 50:
  741. 'You see Anya coming over behind Kolka. "Go girl! Well done. You should have told me about this during our nightly chats." She comes over and gives you a hug.'
  742. else
  743. 'You see Anya coming over behind Kolka. "Well done <<$pcs_nickname>>. Ummm... Why didn''t you say something, maybe in the evenings before bed? That way we''d get to know each other better?"'
  744. '"Thanks Anya and umm... well you''re always reading and I didn''t want to disturb you... Sorry."'
  745. '"Hey, don''t worry about it. As I said well done, but I''d be interested to hear what''s going on with you so don''t worry about disturbing me."'
  746. '"Okay, thanks Anya... I''ll try." You give her a hug.'
  747. end
  748. 'Your stepfather now joins the conversation. "Come on <<$pcs_nickname>>, get showered and changed and we''ll meet you outside. We''re all going out for dinner to celebrate."'
  749. '"You don''t have to! I know money is tight and I''m already so happy you all took the time to come and support me. It means a lot."'
  750. '"No, I insist. I''ve talked about this with your <<$npc_nickname[''A29'']>> and she agrees. It''s not often we get the chance to do something like this and we think that some quality family time would be good for all of us."'
  751. minut += 4
  752. gs 'stat'
  753. act 'Go for a shower':
  754. *clr & cla
  755. dynamic $showerdin
  756. if deodorant_on = 1: gs 'sweat', 'remove_deo' & 'Your deodorant gets washed away in the shower.'
  757. pcs_hairbsh = 1
  758. '<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
  759. 'After showering and changing, you head out and greet the family.'
  760. minut += 10
  761. gs 'stat'
  762. act 'Go to a restaurant':
  763. gs 'drugs', 'alcohol', 'wine'
  764. frost = 0
  765. pcs_health += 10
  766. pcs_mood += 5
  767. fat += 8
  768. pcs_energy += 60
  769. if pcs_hydra >= 100:
  770. pcs_hydra += 10
  771. else
  772. pcs_hydra += 20
  773. end
  774. cumspclnt = 2
  775. gs 'cum_cleanup'
  776. pcs_breath = 0
  777. *clr & cla
  778. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/restaurant_family.jpg"></center>'
  779. 'At the local Del Parco restaurant, you all spend a few hours enjoying your meal as your family encourage you to continue and improve, but stressing that they are very proud of what you''ve achieved so far.'
  780. 'Your stepfather orders some wine and although your <<$npc_nickname[''A29'']>> gives him a disapproving look, he gives you a glass so you can toast your victory.'
  781. 'At the end of a very enjoyable meal and some quality family time, you thank them again for their kindness and acknowledge that you really appreciate this as you know that money is tight. There''s a big family hug and you all return home.'
  782. minut += 90
  783. gs 'stat'
  784. act 'Go home': minut += 4 & pavhome_enter = 1 & gt 'homes_properties', 'go_home'
  785. end
  786. end
  787. else
  788. '"<<$pcs_nickname>>, you won! Well done!" your <<$npc_nickname[''A29'']>> shouts as she approaches.'
  789. '"Thanks. And thanks for coming too."'
  790. '"I know that we have our differences, but I haven''t stopped caring about you and I asked Kolka to let me know if he saw you around as I kept seeing you heading out in your sports gear with your waterbottle and wondered what you were doing." she replies.'
  791. 'You''re a little lost for words, so your <<$npc_nickname[''A29'']>> continues. "He told me he''s seen you running at the track when the school was closed and training at the community center, so I asked the coach. Anyway I''m so proud of you! Why didn''t you say something?"'
  792. 'When you don''t answer, your <<$npc_nickname[''A29'']>> continues. "Come on, get showered and changed and I''ll meet you outside." Anya and Kolka give you a friendly wave and leave.'
  793. minut += 4
  794. gs 'stat'
  795. act 'Go for a shower':
  796. *clr & cla
  797. dynamic $showerdin
  798. if deodorant_on = 1: gs 'sweat', 'remove_deo' & 'Your deodorant gets washed away in the shower.'
  799. pcs_hairbsh = 1
  800. '<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
  801. 'After showering and changing, you head out and greet your mother. "Thanks for coming. It means a lot to me."'
  802. '"Of course I''d come <<$pcs_nickname>>! I just want the best for you and I''m proud of you and your win. Come on, let''s go out for a bite to eat. I think we need to have a chat."'
  803. '"You don''t have to <<$npc_nickname[''A29'']>>, I''m so glad you came and I know money is tight."'
  804. '"That''s fine, so long as you don''t mind the station cafe. I want to see if we can patch things up between us."'
  805. minut += 10
  806. gs 'stat'
  807. act 'Go to the cafe':
  808. if alko > 0: alko -= 1
  809. frost = 0
  810. pcs_health += 18
  811. pcs_mood += 15
  812. fat += 11
  813. pcs_energy += 70
  814. if pcs_hydra >= 100:
  815. pcs_hydra += 40
  816. else
  817. pcs_hydra += 80
  818. end
  819. cumspclnt = 2
  820. gs 'cum_cleanup'
  821. pcs_breath = 0
  822. *clr & cla
  823. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/sveta_mum_restaurant.jpg"></center>'
  824. if npc_QW['A29'] > 0:
  825. if npc_QW['A29'] = 1: npc_QW['A29'] = 2
  826. 'At the station cafe, your mother selects a corner spot away from the main area so you can keep your chat private.'
  827. 'You both initially have some general small talk during which she again congratulates you on your win and explains that she wants the best for you and will help in any way she can, but you need to meet her half way.'
  828. 'You''re initially unsure how to respond, but after a while in a very low shaky voice, you reply. "I''d love that, but why do you give me such a hard time just because I had sex?"'
  829. 'As your feelings start to come to the surface, you continue. "Yes, I had sex, but it doesn''t make me a bad person! And what gives you the right to immediately treat me like I''m a whore!? I can do the maths, you were 16 when you had Anya! That''s younger than me!"'
  830. *nl
  831. 'Your mother sighs and a tear starts rolling down her cheek as she slowly replies "I know. Maybe I was a bit harsh, but I don''t want you repeating my mistakes. I want you to have the chance to go to university and make a better life for yourself."'
  832. 'You feel bad seeing your mother cry and tell her that you''re careful and will try your best at school. You also reassure her that you are taking precautions.'
  833. 'Your mother responds that she accepts that she may have been a bit harsh and apologises.'
  834. '"Okay <<$npc_nickname[''A29'']>>, I''ll try and yes it would be great to have my <<$npc_nickname[''A29'']>> back!" you reply.'
  835. *nl
  836. 'Your mother gets up and comes over to hug you. "Thanks <<$pcs_nickname>>, that''s all I can ask and I''ll try to be more supportive too. Just please talk to me if you''re worried about anything."'
  837. 'After the meal and chat, you both feel relieved and emotionally drained, but happier.'
  838. else
  839. 'At the station cafe, your mother selects a corner spot away from the main area so you can keep your chat private.'
  840. 'You both initially have some general small talk during which she again congratulates you on your win and explains that she wants the best for you and will help in any way she can, but she doesn''t want you staying out late as you could get into trouble. She continues by saying that she wants you to go to university so that you can make a better life for yourself.'
  841. 'Although you''re a little annoyed that she''s still treating you like a child, you do appreciate her concern. "I know <<$npc_nickname[''A29'']>> and I''m sorry that you get worried when I get back a little late, but you know what time the disco finishes at and that I''ll never be home by midnight unless I leave earlier than my friends. They would laugh at me having to be home early for bedtime!"'
  842. 'Your mother thinks it through for a moment. "Okay, I can accept that. I''m also aware that you''re nearly 18, but that won''t stop me from worrying. Maybe I''ve been a bit harsh in my approach out of habit with Anya but, like I said, I only want the best for you. Can you at least try to meet me half way on this and do your best in school too?"'
  843. 'Unsure how to respond, you sigh. "Okay <<$npc_nickname[''A29'']>>, I''ll try. It''s just that it can get a bit overbearing."'
  844. 'Your mother continues. "Okay, let''s just try to get our relationship back to a good place. Please promise me that you''ll do your best in school too. Also, no matter what please know that you can always talk to me if something is worrying you. Please know that I do love you and want the best for you."'
  845. 'This is the closest you''ve felt to your mother for ages, so you get up and give her a hug. "Thanks <<$npc_nickname[''A29'']>>. I''m glad we had this chat to clear the air. I love you too and it''ll be good to have my <<$npc_nickname[''A29'']>> back." She hugs you back and you both finish your meals with some more relaxed conversation.'
  846. 'After that, you both feel much relieved and emotionally drained, but happier.'
  847. end
  848. npc_rel['A29'] = 50
  849. minut += 60
  850. gs 'stat'
  851. act 'Go home': minut += 4 & pavhome_enter = 1 & gt 'homes_properties', 'go_home'
  852. end
  853. end
  854. end
  855. end
  856. else
  857. if npc_rel['A33'] > 50:
  858. 'You hear your sister shout your name and look around.'
  859. '"Hey <<$pcs_nickname>>, go girl well done!" She comes over and gives you a hug. "This calls for a celebration. Let''s go for a few beers! You can always burn it off later."'
  860. '"Thanks for coming, sis. It means a lot."'
  861. '"I wasn''t going to miss the opportunity and a possible little celebration with my little sis, was I?"'
  862. '"Okay cool. Yeah, I''m up for that. Let me go and shower and change first."'
  863. '"Okay, just don''t be too long or I might just leave without you!"'
  864. minut += 4
  865. gs 'stat'
  866. act 'Go for a shower':
  867. *clr & cla
  868. menu_off = 1
  869. dynamic $showerdin
  870. if deodorant_on = 1: gs 'sweat', 'remove_deo' & 'Your deodorant gets washed away in the shower.'
  871. pcs_hairbsh = 1
  872. minut += 30
  873. gs 'stat'
  874. '<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
  875. 'A few minutes later, you reappear showered and changed and head off to the station cafe.'
  876. act 'Have a drink with Anya':
  877. *clr & cla
  878. gs 'drugs', 'alcohol', 'beer', 4
  879. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/Sis_drink.jpg"></center>'
  880. 'You both have a few beers for the next few hours and spend time catching up. Feeling light headed and more than a little tipsy, you both leave the cafe and share a hug as you promise to meet up regularly and catch up. You know that you can see Anya at the community center on Friday evenings.'
  881. minut += 100
  882. gs 'stat'
  883. act 'Go home': minut += 4 & gt 'homes_properties', 'go_home'
  884. end
  885. end
  886. else
  887. if Boyfriend = 0:
  888. if $lover[0] ! '':
  889. lover_number = 0
  890. elseif $lover[1] ! '':
  891. lover_number = 1
  892. else
  893. lover_number = 2
  894. end
  895. 'You hear <<$lover[lover_number]>> shouting your name and jog over to meet them. You both embrace with a cuddle and a kiss on the cheek.'
  896. '"Hey love, well done."'
  897. '"Thanks. And thanks for coming, it means a lot."'
  898. '"Of course I''d come and support you. Now go and get freshened up and we''ll go out, my treat and you choose."'
  899. 'You both have another cuddle before you head into the changing rooms to get showered and changed.'
  900. minut += 4
  901. act 'Go take your shower':
  902. *clr & cla
  903. dynamic $showerdin
  904. if deodorant_on = 1: gs 'sweat', 'remove_deo' & 'Your deodorant gets washed away in the shower.'
  905. pcs_hairbsh = 1
  906. '<center><video autoplay loop src="images/shared/home/bathroom/dush.mp4"></video></center>'
  907. 'Rejoining <<$lover[lover_number]>>, you both have a passionate embrace as most folks have gone. <<$lover[lover_number]>> then says "Well done again <<$pcs_nickname>>, sorry but I have something I have to do that won''t wait. See you soon."'
  908. minut += 10
  909. gs 'stat'
  910. act 'Go home': minut += 4 & gt 'homes_properties', 'go_home'
  911. end
  912. end
  913. minut += 4
  914. gs 'stat'
  915. act 'Go home': minut += 4 & gt 'homes_properties', 'go_home'
  916. end
  917. end
  918. end
  919. --- gschool_grounds ---------------------------------