1
0

gschool_grounds 28 KB

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