gschool_grounds 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. # gschool_grounds
  2. !Outside school building
  3. if $ARGS[0] = 'main':
  4. CLOSE ALL
  5. $loc = 'gschool_grounds'
  6. $metka = 'main'
  7. $location_type = 'public_outdoors'
  8. cls
  9. gs 'stat'
  10. '<center><b><font color="maroon">Outside School</font></b></center>'
  11. if month > 2 and month < 9:
  12. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool.jpg"></center>'
  13. else
  14. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/schoolwinter.jpg"></center>'
  15. end
  16. 'Pavlovsk''s only school, all the local children go here for their education. Next to the school is the athletic field, a parking lot for the teachers, just beyond the parking lot is a grove of trees, and past that is the old school building. After the new school was built the old one was supposed to get renovated and used for advance classes but budget cuts meant the project was canceled and now the old school building stands empty. Though many of the kids use it to skip class or as a place to sneak off to drink or have sex.'
  17. if hour >= 9 and hour < 18 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0:
  18. 'With the school open you can go to the <a href="exec:gt ''gschool_grounds'',''change_room''">changing rooms</a> by the gym and change your outfit.'
  19. end
  20. act 'Go to the sports field': gt 'gschool_grounds', 'sports'
  21. !! act 'Go to old school building': gt
  22. !! act 'Go to the Principals Office': gt
  23. if week < 6 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0:
  24. if hour < 7 :
  25. 'It''s too early for school now.'
  26. elseif hour < 10 :
  27. if NikoEv = 10 and $clothingworntype = 'school' or NikoEv = 10 and Enable_sforma = 1:
  28. act '<font color = green><b>Go to school</b></font>':
  29. cla
  30. gt 'NikoDates', 'Walk Of Shame'
  31. end
  32. elseif $clothingworntype = 'school' or Enable_sforma = 1:
  33. act '<font color = green><b>Go to school</b></font>':
  34. cla
  35. gs 'gschool_grounds', 'bulding'
  36. !! gs 'gschool_lessons', 'morning' !This skips all the teacher morning interactions.
  37. end
  38. else
  39. 'You''re not allowed to attend any classes at school if you''re not wearing your school uniform.'
  40. end
  41. elseif hour < 14 :
  42. 'It''s too late for school now. You absent from school today'
  43. end
  44. end
  45. if week = 6 and hour = 8 and StoryLine > 0 and SchoolAtestat = 0 and detention_set = 1:
  46. act 'Go to detention': gt 'gschool_detention', 'start'
  47. end
  48. act 'Return to town':gt 'pavResidential'
  49. if zverRageQW = 1:gt 'gschool_grounds', 'KristinaFight'
  50. if week <= 5 and hour >= 14 and hour <= 15 and NikoVolkovQW = 5 and NikoDate = 1 and NikoDate_Day ! daystart or NikoEv = 11 and NikoDate_Day ! daystart:
  51. 'You can see <a href="exec:gt ''NikoEv'', ''Niko Dates''">Nikolai Volkov</a> smoking outside of the school.'
  52. elseif week <= 5 and hour >= 14 and hour <= 15 and NikoVolkovQW = 10 and NikoEv >= 17 and NikoEv <= 20 and NikoDate_Day ! daystart:
  53. '<a href="exec:gt ''NikoEv2'', ''Events''">Nikolai Volkov</a> is smoking outside of the school.'
  54. end
  55. if week = 1 and NikoIntro = 0 and hour >= 14 and hour <= 15:
  56. gt 'NikoEv', 'Intro'
  57. elseif week <= 5 and hour >= 14 and hour < 15 and NikoVolkovQW = 5 and NikoEv = 6 and NikoDate = 0 and NikoDate_Day ! daystart:
  58. gt 'NikoDates', 'After School'
  59. elseif week <= 5 and hour >= 14 and hour < 15 and NikoVolkovQW = 5 and NikoEv = 8 and NikoDate = 0 and NikoDate_Day ! daystart:
  60. gt 'NikoDates', 'After School 2'
  61. elseif week <= 5 and hour >= 14 and hour < 15 and NikoVolkovQW = 10 and NikoEv = 22 and NikoDate_Day ! daystart:
  62. gt 'NikoEv2', 'Recovery'
  63. end
  64. if day = 31 and month = 12 and age <= 17 and StoryLine = 1 and SchoolAtestat = 0 and SchoolBlock ! 1:
  65. if hour = 14:
  66. '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!"'
  67. if money >= 1000:act 'Go to the party (1,000 <b>₽</b>)':money -= 1000 & gt 'sny', 'start'
  68. end
  69. end
  70. if hour <= 8 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 6:
  71. 'Today is graduation day! The school prom is tonight as well.'
  72. act 'Go to your graduation':
  73. cls
  74. SchoolAtestat = 1
  75. intel_exp += 10
  76. kanikuli = 7
  77. gs 'stat'
  78. 'Everyone from your year is assembled in the classroom. Your teachers have gathered in front of the class, and congratulate all of you on completing high school. As they hand everyone their well-earned diplomas, they wish you luck for the future.'
  79. act 'Return to town':gt 'pavResidential'
  80. act 'Go to the prom party':
  81. cls
  82. minut += 120
  83. alko += 5
  84. cumspclnt = 2
  85. gs 'cum_cleanup'
  86. pcs_breath = 0
  87. tanga = 0
  88. gs 'stat'
  89. gs 'clothing', 'strip'
  90. !gee gee, no normal outlet
  91. '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. When you wake up somewhere in the town center, all of your clothes are missing and you are completely naked.'
  92. act 'Go home':gt 'korrPar'
  93. end
  94. end
  95. end
  96. if hour >= 14 and pav_slut >= 75 and SchoolGossip > 0 and afterschoolday ! daystart:gt 'gschool_sex', 'suck'
  97. if week = 1 and kanikuli = 0 and arthakQW = 10 and apmeetday ! daystart and hour >= 14:gt 'artgar'
  98. if hour = 14 and week < 6 and kanikuli = 0:
  99. if ivan_afterschool = 1:
  100. act 'Meet Ivan after school': gt 'gschool_sex', 'afterschool'
  101. end
  102. if LinaSlut > 0:
  103. if rand(1,10) < 3:'You see Lina, Dan and Vasily leaving the school together.'
  104. end
  105. if Enable_tablemap = 0:
  106. if LariskaHomeIn > 0:'<a href="exec:minut += 1 & GT ''LariskaGo''">Larissa Gruzdev</a> impatiently walks back and fourth across the courtyard, as if she''s waiting for someone.'
  107. if JuliaMilLernQW >= 1:'<a href="exec:minut += 1 & gt ''JuliaMilGo''">Julia Milova</a> is sitting somewhere on the school courtyard, reading a book.'
  108. if NatBelLernQW >= 1:'<a href="exec:minut += 1 & gt ''NatBelGo''">Natasha Belova</a> is standing in a corner.'
  109. if artemLernQW >= 1 and artemVitokQW ! 2:'<a href="exec:minut += 15 & gt ''artemEv'', ''start''">Artem Chebotarev</a> is waiting for you near the school entrance.'
  110. if katjaMeynoldday ! daystart and meynoldQW >= 2:'<a href="exec:minut += 15 & gt ''katjaEv''">Katja Meynold</a> is walking across the school courtyard, getting ready to go home.'
  111. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  112. '<a href="exec:minut += 15 & gt ''dimaGoHome2''">Dimka Nosov</a> is deep in thought, as he leans against a lamp post.'
  113. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  114. '<a href="exec:minut += 15 & gt ''dimaRudeEv''">Dimka Nosov</a> is deep in thought, as he leans against a lamp post.'
  115. end
  116. 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.'
  117. if week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  118. 'You can see <a href="exec:gt ''FedorEv'', ''Strela Chat''">Fedor</a> sitting in the corner of the schoolyard by himself.'
  119. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  120. 'You can see <a href="exec:gt ''FedorEv2'', ''Fedor Breakup''">Fedor</a> standing by himself with a troubled look on his face.'
  121. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10:
  122. 'You can see <a href="exec:gt ''FedorEv'', ''Start''">Fedor</a> with his backpack around his arm, standing by himself.'
  123. end
  124. else
  125. !display friends in table if switch is on.
  126. st_count=0 & $show_table=''
  127. if LariskaHomeIn > 0:gs'show_table','<a href="exec:minut += 1 & GT ''LariskaGo''">Lariska Gruzdev</a>.','5'
  128. if JuliaMilLernQW >= 1:gs'show_table','<a href="exec:minut += 1 & gt ''JuliaMilGo''">Julia Milov</a>.','5'
  129. if NatBelLernQW >= 1:gs'show_table','<a href="exec:minut += 1 & gt ''NatBelGo''">Natasha Belova</a>.','5'
  130. if artemLernQW >= 1 and artemVitokQW ! 2:gs'show_table','<a href="exec:minut += 15 & gt ''artemEv'', ''start''">Artem Chebotarev</a>.','5'
  131. if katjaMeynoldday ! daystart and meynoldQW >= 2:gs'show_table','<a href="exec:minut += 15 & gt ''katjaEv''">Katja Meynold</a>.','5'
  132. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  133. gs'show_table','<a href="exec:minut += 15 & gt ''dimaGoHome2''">Dimka Nosov</a>','5'
  134. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  135. gs'show_table','<a href="exec:minut += 15 & gt ''dimaRudeEv''">Dimka Nosov</a>','5'
  136. end
  137. if IgorLoverQW > 0 and igorkruglovday ! daystart and IdorBlock = 0:gs'show_table','<a href="exec:minut += 15 & gt ''igorhome'', ''entrance''">Igor Kruglov</a>.','5'
  138. if week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  139. gs'show_table','<a href="exec:gt ''FedorEv'', ''Strela Chat''">','5'
  140. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  141. gs'show_table','<a href="exec:gt ''FedorEv2'', ''Fedor Breakup''">','5'
  142. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10:
  143. gs'show_table','<a href="exec:gt ''FedorEv'', ''Start''">Fedor</a>','5'
  144. end
  145. if st_count > 0 :
  146. 'Near school yard, you see:'
  147. '<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  148. end
  149. end
  150. if albinaCarday ! daystart:
  151. if AlbFrend >= 1 and albrideday ! daystart:'<a href="exec:minut += 15 & gt ''albinaRide''">Albina Barlovskaya</a> is waiting behind the wheel of a large black SUV, parked near the school.'
  152. end
  153. ! meynold`s events
  154. if minut >= 0 and minut <= 15: gs 'mey_vika_events', 'near_school'
  155. if mey_vika['mey_vika_qw'] = 35 or mey_vika['mey_vika_qw'] = 36 and minut < 30:
  156. act 'go to class to Tamara Mikhailovna':
  157. if mey_vika['mey_vika_qw'] = 36: gt 'mey_tamara_events', 'rebuke'
  158. gt 'mey_tamara_events', 'learning0'
  159. end
  160. end
  161. end
  162. if strelaDay ! daystart and strelaQW = 1 and hour = 14:
  163. cls
  164. gs 'stat'
  165. '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 came 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!"'
  166. act 'Go and see what Fedor needs':gt 'strela'
  167. exit
  168. end
  169. end
  170. !Outside school sports field
  171. if $ARGS[0] = 'sports':
  172. $loc = 'gschool_grounds'
  173. $location_type = 'public_outdoors'
  174. $metka = 'sports'
  175. cls
  176. gs 'stat'
  177. if month > 2 and month < 9:
  178. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/field.jpg"></center>'
  179. else
  180. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/fieldwinter.jpg"></center>'
  181. end
  182. 'There is a football field and around it is a track, often before and after school kids use the field and track.'
  183. act 'Leave the sports field':gt 'gschool_grounds', 'main'
  184. if schoolrunday ! daystart and $clothingworntype = 'exercise':
  185. act 'Go for a run (1 hour)':
  186. cls
  187. minut += 60
  188. schoolrunday = daystart
  189. fat -= rand(2, 7)
  190. run_exp += rand(0, 2)
  191. pcs_sweat += 20
  192. gs 'stat'
  193. if month > 2 and month < 9:
  194. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/runsummer.jpg"></center>'
  195. else
  196. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/runwinter.jpg"></center>'
  197. end
  198. 'You spend a hour on the track going for a run.'
  199. act 'Continue': gt 'gschool_grounds', 'sports'
  200. end
  201. end
  202. if hour >= 9 and hour < 18 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0:
  203. 'With the school open you can go to the <a href="exec:gt ''gschool_grounds'',''change_room''">changing rooms</a> by the gym and change your outfit.'
  204. end
  205. if week = 6 and schoolSorev = 2 and hour = 10:
  206. '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.'
  207. act 'Participate in the 400m sprint event':gt 'gschool_grounds', 'SchoolRun2'
  208. end
  209. if week = 6 and schoolSorev = 1 and hour = 10:
  210. '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.'
  211. act 'Participate in the 400m sprint race':gt 'gschool_grounds', 'SchoolRun'
  212. end
  213. gs 'family'
  214. end
  215. !!School building
  216. if $ARGS[0] = 'bulding':
  217. $loc = 'gschool_grounds'
  218. $metka = 'bulding'
  219. $location_type = 'public_indoors'
  220. if night_mode = 1:
  221. fcolor = rgb(255, 255, 255)
  222. bcolor = rgb(0, 0, 0)
  223. lcolor = rgb(106, 90, 205)
  224. else
  225. fcolor = rgb(0, 0, 0)
  226. bcolor = rgb(255, 255, 255)
  227. lcolor = rgb(106, 90, 205)
  228. end
  229. cls
  230. gs 'stat'
  231. '<center><b><font color="maroon">Inside School</font></b></center>'
  232. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  233. 'The hallways of the school building are painted with a cheap green paint, which you think may be toxic. Budget cuts.'
  234. act 'Return to town':gt 'pavResidential'
  235. if zverSlutQW = 1 and week = 1 and lariskaQwestDay < daystart and lariskaQwestDay ! 0 and zverRageQW = 2:
  236. zverSlutQW = 2
  237. if KotovZverHelp ! 1:
  238. $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.'
  239. if lariskaHelp > 0:
  240. 'Larissa 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. You know better 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.'
  241. end
  242. else
  243. if LinaSlut > 0:$text_end = ' and Lina'
  244. 'Larissa tells you that Christina will require treatment for several months to fully recover from the beating you gave her, and also that Avelina has been hooking up with Vitek Kotov recently. You suspect this might have something to do with Christina; Lina would do anything for Christina. You feel a knot in your stomach; being on Vitek''s bad side could be really bad for you.'
  245. end
  246. if lariskaHelp > 0:LariskaHomeIn = 1
  247. $npc_notes['A13'] = 'Larissa 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.'
  248. elseif zverSlutQW = 0 and week = 1 and lariskaQwestDay < daystart and lariskaQwestDay ! 0 and zverRageQW = 2:
  249. $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.'
  250. npc_rel['A18'] = 0
  251. ''
  252. $npc_notes['A13'] = 'Larissa 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.'
  253. if lariskaHelp > 0:
  254. $text_end = ' And don''t you worry, I will take care of your girlfriend Larissa as well. I''ll teach her what happens when she sides against me.'
  255. $npc_notes['A13'] = 'Larissa 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.'
  256. end
  257. 'Christina Zvereva approaches you:'
  258. '"What do you want, bitch? Have you recovered from your ass-kicking yet? At least you understand your place now.<<$text_end>>"'
  259. lariskaQwestDay += 99999
  260. end
  261. act 'Continue':
  262. !one line late from 1.2.4, timerange check by illume
  263. if hour = 9: late = 1
  264. if hour = 7:
  265. minut += 120 & gs 'stat'
  266. elseif hour = 8:
  267. minut += 60 & gs 'stat'
  268. end
  269. minut += 60 - minut
  270. gs 'stat'
  271. BeInSchool += 1
  272. if RAND(0,1) = 0:
  273. gt 'gschool_lessons', 'morning'
  274. else
  275. gt 'gschool_events', 'teacher_greet'
  276. end
  277. end
  278. end
  279. if $ARGS[0] = 'KristinaFight':
  280. $location_type = 'event_outdoors'
  281. cls
  282. gs 'stat'
  283. zverRageQW = 2
  284. 'As you cross the school yard after school, you are surprised by a powerful kick in your back. You fall to your hands and knees and rub your sore back for a second, before you turn around and see Christina Zvereva, her face contorted with rage. She yells at you, "You fucking bitch! How dare you spread shit about me like that? I''ll break your fucking face!"'
  285. gs 'boyStat', 18
  286. !!stats
  287. strenV = 85
  288. speedV = 75
  289. agilV = 75
  290. reactV = 75
  291. vitalV = 95
  292. intelV = 45
  293. willV = 45
  294. !Skills
  295. magikV = 95
  296. boxingV = 35
  297. shootV = 95
  298. !Parameters
  299. healthV = vitalV*10 + strenV*5
  300. mannaV = intelV*10 + magikV*10
  301. willpowerV = willV*10
  302. BonusAtakV = 0
  303. BonusDefV = 0
  304. !Action Programme
  305. program = 0
  306. ZverevaFight = 1
  307. if spellavtoklon = 1:klon = 3
  308. if spellbefshild = 1:defence = 500
  309. round = 0
  310. act 'fight':gt 'fight','start'
  311. end
  312. if $ARGS[0] = 'SchoolRun':
  313. $location_type = 'event_outdoors'
  314. cls
  315. minut += 30
  316. gs 'stat'
  317. '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.'
  318. act 'Go to the start':
  319. cls
  320. minut += 30
  321. schoolSorev = 0
  322. kolsorev += 1
  323. gs 'stat'
  324. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  325. '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.'
  326. wait 725
  327. 'On your marks...'
  328. wait 725
  329. 'Get set...'
  330. wait 725
  331. 'Go!'
  332. wait 725
  333. begresult = pcs_run + speed + pcs_vital + rand(1, 20) - salo/2 - rand(1, 20)
  334. if begresult <= 0:
  335. '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.'
  336. elseif begresult < 10:
  337. 'You struggle to keep up with the other girls, and finish in last place.'
  338. elseif begresult < 20:
  339. 'You run as fast as you can, but only manage to finish second to last.'
  340. elseif begresult < 30:
  341. 'You run as fast as you can, but only manage to take 6th place.'
  342. elseif begresult < 40:
  343. 'You run as fast as you can, but only manage to take 5th place.'
  344. elseif begresult < 50:
  345. 'You run as fast as you can, but only manage to take 4th place.'
  346. elseif begresult < 60:
  347. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  348. elseif begresult < 70:
  349. '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.'
  350. else
  351. swinbeg += 1
  352. pcs_dom += 1
  353. '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.'
  354. end
  355. run_exp += 1
  356. fat -= 10
  357. if swinbeg = 3 and LocalRun = 0:
  358. LocalRun = 1
  359. if razradbeg < 1:
  360. '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.'
  361. razradbeg = 1
  362. else
  363. '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.'
  364. end
  365. end
  366. gs 'stat'
  367. act 'Return to town':gt 'gschool_grounds', 'main'
  368. end
  369. end
  370. if $ARGS[0] = 'SchoolRun2':
  371. cls
  372. minut += 30
  373. gs 'stat'
  374. '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.'
  375. if swinbeggor = 0:
  376. 'Getting ready at the start is Christina Zvereva, one of the girls in your class. She scoffs at you, "You''ll never beat me!"'
  377. elseif swinbeggor = 1:
  378. 'Getting ready at the start is Christina Zvereva, one of the girls in your class. She looks at you angrily and says, "You beat me once, but never again!"'
  379. elseif swinbeggor = 2:
  380. 'Getting ready at the start is Christina Zvereva, one of the girls in your class. She looks at you with hatred, "You again, bitch? You''re going down this time, I promise you!"'
  381. end
  382. act 'Go to the start':
  383. cls
  384. kolsorev += 1
  385. minut += 30
  386. schoolSorev = 0
  387. gs 'stat'
  388. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  389. '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.'
  390. wait 725
  391. 'On your marks...'
  392. wait 725
  393. 'Get set...'
  394. wait 725
  395. 'Go!'
  396. wait 725
  397. begresult = pcs_run + speed + pcs_vital + rand(1, 20) - salo/2 - rand(1, 20)
  398. if begresult <= 0:
  399. '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.'
  400. elseif begresult < 70:
  401. 'You struggle to keep up with the other girls, and finish in last place.'
  402. elseif begresult < 80:
  403. 'You run as fast as you can, but only manage to finish second to last.'
  404. elseif begresult < 90:
  405. 'You run as fast as you can, but only manage to take 6th place.'
  406. elseif begresult < 100:
  407. 'You run as fast as you can, but only manage to take 5th place.'
  408. elseif begresult < 110:
  409. 'You run as fast as you can, but only manage to take 4th place.'
  410. elseif begresult < 120:
  411. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  412. elseif begresult < 130:
  413. '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.'
  414. else
  415. swinbeggor += 1
  416. pcs_dom += 1
  417. '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.'
  418. end
  419. run_exp += 1
  420. fat -= 10
  421. if swinbeggor = 3 and LocalRun = 1:
  422. LocalRun = 2
  423. npc_rel['A18'] = 0
  424. zverevaQW = 1
  425. if razradbeg < 2:
  426. 'You have won the competition three more times and mr. Pavlovich awards you the second tier sports trophy in running.'
  427. razradbeg = 2
  428. else
  429. 'You have won the competition three more times and mr. Pavlovich awards you another trophy.'
  430. end
  431. 'Christina Zvereva stands nearby glaring at you the whole time, her hands balled into fists. She''s seething with rage, realizing she cannot beat you.'
  432. elseif swinbeggor = 2 and begresult >= 130:
  433. npc_rel['A18'] = 0
  434. 'Christina Zvereva 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.'
  435. elseif swinbeggor = 1 and begresult >= 130:
  436. npc_rel['A18'] = 0
  437. 'Christina Zvereva 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!"'
  438. end
  439. gs 'stat'
  440. act 'Leave':gt 'gschool_grounds', 'main'
  441. end
  442. end
  443. if $ARGS[0] = 'change_room':
  444. $metkaM = 'change_room'
  445. $locM = 'gschool_grounds'
  446. $metka = 'change_room'
  447. $loc = 'gschool_grounds'
  448. $gt1 = 'gschool_grounds'
  449. $gt2 = 'change_room'
  450. $location_type = 'bathroom'
  451. cls
  452. minut += 5
  453. gs 'stat'
  454. act 'Leave the school building':
  455. if $clothingworntype = 'nude':
  456. msg'<b><font color = red>You need to get dressed.</font></b>'
  457. gt 'gschool_grounds', 'change_room'
  458. else
  459. gt 'gschool_grounds', 'main'
  460. end
  461. end
  462. act 'Go to sports field':
  463. if $clothingworntype = 'nude':
  464. msg'<b><font color = red>You need to get dressed.</font></b>'
  465. gt 'gschool_grounds', 'change_room'
  466. else
  467. gt 'gschool_grounds', 'sports'
  468. end
  469. end
  470. 'You can <a href="exec:GT ''clothing_QV'',''list''">change your outfit</a> by the lockers here.'
  471. if (hour = 18 and minut >= 30) or hour > 18:
  472. 'The school is closing for the night and you have to leave so you don''t get stuck here all night.'
  473. exit
  474. end
  475. act 'Look in the mirror':
  476. cla
  477. gt 'portmirror', 'start'
  478. end
  479. if pcs_hairbsh = 0:
  480. act 'Brush your hair': gt 'portmirror', 'brush'
  481. end
  482. if spdirtyc > 0:
  483. act 'Wipe the cum off your clothes (0:10)':
  484. cla
  485. *clr
  486. cumspclnt = 6
  487. gs 'cum_cleanup'
  488. minut += 10
  489. '<center><img <<$set_imgh>> src="images/pc/body/cum/cumclothes/cumclothes12.jpg"></center>'
  490. 'You remove traces of cum from your clothes.'
  491. act 'Leave':gt 'gschool_grounds', 'change_room'
  492. end
  493. end
  494. dynamic $tampon
  495. dynamic $quickwash
  496. dynamic $basin
  497. if pirsA + pirsB + pirsC + pirsD + pirsE + pirsF + pirsN + pirsG + pirsGL > 0:'<a href="exec:dynamic $pirManage">Manage Piercings</a>'
  498. end
  499. --- gschool_grounds ---------------------------------