gschool_grounds 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  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 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. gs 'underwear', 'remove'
  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 hour >= 14 and hour <= 15 and dimaRevenge = 3 and dimaRevChoice = 5 or dimaRevChoice = 3:
  124. gt 'dimaRevenge', dimaRevenge
  125. elseif hour >= 14 and hour <= 15 and dimaRevenge = 4 and dimaRevChoice = 4:
  126. gt 'dimaRevenge', dimaRevenge, 'after'
  127. elseif hour >= 14 and hour <= 15 and dimaRevenge = 5 and dimaRevChoice = 0:
  128. gt 'dimaRevenge', dimaRevenge
  129. elseif hour >= 14 and hour <= 15 and dimaRevenge = 5 and dimaRevChoice = 2:
  130. gt 'dimaRevenge', dimaRevenge, 'after'
  131. elseif 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:
  132. 'You can see <a href="exec:gt ''NikoEv'', ''Niko Dates''">Nikolai Volkov</a> smoking outside of the school.'
  133. elseif week <= 5 and hour >= 14 and hour <= 15 and NikoVolkovQW = 10 and NikoEv >= 17 and NikoEv <= 20 and NikoDate_Day ! daystart:
  134. '<a href="exec:gt ''NikoEv2'', ''Events''">Nikolai Volkov</a> is smoking outside of the school.'
  135. end
  136. if week = 1 and NikoIntro = 0 and hour >= 14 and hour <= 15:
  137. gt 'NikoEv', 'Intro'
  138. elseif week <= 5 and hour >= 14 and hour < 15 and NikoVolkovQW = 5 and NikoEv = 6 and NikoDate = 0 and NikoDate_Day ! daystart:
  139. gt 'NikoDates', 'After School'
  140. elseif week <= 5 and hour >= 14 and hour < 15 and NikoVolkovQW = 5 and NikoEv = 8 and NikoDate = 0 and NikoDate_Day ! daystart:
  141. gt 'NikoDates', 'After School 2'
  142. elseif week <= 5 and hour >= 14 and hour < 15 and NikoVolkovQW = 10 and NikoEv = 22 and NikoDate_Day ! daystart:
  143. gt 'NikoEv2', 'Recovery'
  144. end
  145. if hour >= 14 and pav_slut >= 75 and SchoolGossip > 0 and afterschoolday ! daystart:gt 'gschool_sex', 'suck'
  146. if week = 1 and kanikuli = 0 and arthakQW = 10 and apmeetday ! daystart and hour >= 14:gt 'artgar'
  147. if hour = 14 and week < 6 and kanikuli = 0:
  148. if ivan_afterschool = 1:
  149. act 'Meet Ivan after school': gt 'gschool_sex', 'afterschool'
  150. end
  151. if LinaSlut > 0:
  152. if rand(1,10) < 3:'You see Lina, Dan and Vasily leaving the school together.'
  153. end
  154. if Enable_tablemap = 0:
  155. 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.'
  156. if JuliaMilLernQW >= 1:'<a href="exec:minut += 1 & gt ''JuliaMilGo''">Julia Milova</a> is sitting somewhere on the school courtyard, reading a book.'
  157. if NatBelLernQW >= 1:'<a href="exec:minut += 1 & gt ''NatBelGo''">Natasha Belova</a> is standing in a corner.'
  158. 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.'
  159. 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.'
  160. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  161. '<a href="exec:minut += 15 & gt ''dimaGoHome2''">Dimka Nosov</a> is deep in thought, as he leans against a lamp post.'
  162. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  163. '<a href="exec:minut += 15 & gt ''dimaRudeEv''">Dimka Nosov</a> is deep in thought, as he leans against a lamp post.'
  164. end
  165. 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.'
  166. if week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  167. 'You can see <a href="exec:gt ''FedorEv'', ''Strela Chat''">Fedor</a> sitting in the corner of the schoolyard by himself.'
  168. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  169. 'You can see <a href="exec:gt ''FedorEv2'', ''Fedor Breakup''">Fedor</a> standing by himself with a troubled look on his face.'
  170. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10:
  171. 'You can see <a href="exec:gt ''FedorEv'', ''Start''">Fedor</a> with his backpack around his arm, standing by himself.'
  172. end
  173. else
  174. !display friends in table if switch is on.
  175. st_count=0 & $show_table=''
  176. if LariskaHomeIn > 0:gs'show_table','<a href="exec:minut += 1 & GT ''LariskaGo''">Lariska Gruzdev</a>.','5'
  177. if JuliaMilLernQW >= 1:gs'show_table','<a href="exec:minut += 1 & gt ''JuliaMilGo''">Julia Milov</a>.','5'
  178. if NatBelLernQW >= 1:gs'show_table','<a href="exec:minut += 1 & gt ''NatBelGo''">Natasha Belova</a>.','5'
  179. if artemLernQW >= 1 and artemVitokQW ! 2:gs'show_table','<a href="exec:minut += 15 & gt ''artemEv'', ''start''">Artem Chebotarev</a>.','5'
  180. if katjaMeynoldday ! daystart and meynoldQW >= 2:gs'show_table','<a href="exec:minut += 15 & gt ''katjaEv''">Katja Meynold</a>.','5'
  181. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:
  182. gs'show_table','<a href="exec:minut += 15 & gt ''dimaGoHome2''">Dimka Nosov</a>','5'
  183. elseif DimaRudeQW > 0 and dimarudeday ! daystart and DimaRudeBlock = 0:
  184. gs'show_table','<a href="exec:minut += 15 & gt ''dimaRudeEv''">Dimka Nosov</a>','5'
  185. end
  186. if IgorLoverQW > 0 and igorkruglovday ! daystart and IdorBlock = 0:gs'show_table','<a href="exec:minut += 15 & gt ''igorhome'', ''entrance''">Igor Kruglov</a>.','5'
  187. if week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and kotovVSkozlov = 1:
  188. gs'show_table','<a href="exec:gt ''FedorEv'', ''Strela Chat''">','5'
  189. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10 and fedorkozqw = 2 and FedorLuv < -4:
  190. gs'show_table','<a href="exec:gt ''FedorEv2'', ''Fedor Breakup''">','5'
  191. elseif week <= 5 and hour >= 14 and hour < 15 and fedorKozlovQW >= 10:
  192. gs'show_table','<a href="exec:gt ''FedorEv'', ''Start''">Fedor</a>','5'
  193. end
  194. if st_count > 0 :
  195. 'Near school yard, you see:'
  196. '<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  197. end
  198. end
  199. if albinaCarday ! daystart:
  200. 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.'
  201. end
  202. ! meynold`s events
  203. if minut >= 0 and minut <= 15 and vicky_afterschool ! daystart: gs 'mey_vika_events', 'near_school'
  204. if mey_vika['mey_vika_qw'] = 35 or mey_vika['mey_vika_qw'] = 36 and minut < 30:
  205. act 'go to class to Tamara Mikhailovna':
  206. if mey_vika['mey_vika_qw'] = 36: gt 'mey_tamara_events', 'rebuke'
  207. gt 'mey_tamara_events', 'learning0'
  208. end
  209. end
  210. end
  211. if strelaDay ! daystart and strelaQW = 1 and hour = 14:
  212. cls
  213. gs 'stat'
  214. '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!"'
  215. act 'Go and see what Fedor needs':gt 'strela'
  216. exit
  217. end
  218. end
  219. !Outside school sports field
  220. if $ARGS[0] = 'sports':
  221. $loc = 'gschool_grounds'
  222. $location_type = 'public_outdoors'
  223. $metka = 'sports'
  224. cls
  225. gs 'stat'
  226. if month > 2 and month < 9:
  227. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/field.jpg"></center>'
  228. else
  229. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/fieldwinter.jpg"></center>'
  230. end
  231. 'There is a football field and around it is a track, often before and after school kids use the field and track.'
  232. act 'Leave the sports field':gt 'gschool_grounds', 'main'
  233. if schoolrunday ! daystart and $clothingworntype = 'exercise':
  234. act 'Go for a run (1 hour)':
  235. cls
  236. minut += 60
  237. schoolrunday = daystart
  238. fat -= rand(2, 7)
  239. run_exp += rand(0, 2)
  240. pcs_sweat += 20
  241. gs 'stat'
  242. if month > 2 and month < 9:
  243. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/runsummer.jpg"></center>'
  244. else
  245. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school//grounds/runwinter.jpg"></center>'
  246. end
  247. 'You spend a hour on the track going for a run.'
  248. act 'Continue': gt 'gschool_grounds', 'sports'
  249. end
  250. end
  251. if hour >= 9 and hour < 18 and StoryLine > 0 and SchoolAtestat = 0 and kanikuli = 0:
  252. '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.'
  253. end
  254. if week = 6 and schoolSorev = 2 and hour = 10:
  255. '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.'
  256. act 'Participate in the 400m sprint event':gt 'gschool_grounds', 'SchoolRun2'
  257. end
  258. if week = 6 and schoolSorev = 1 and hour = 10:
  259. '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.'
  260. act 'Participate in the 400m sprint race':gt 'gschool_grounds', 'SchoolRun'
  261. end
  262. gs 'family'
  263. end
  264. !!School building
  265. if $ARGS[0] = 'bulding':
  266. $loc = 'gschool_grounds'
  267. $metka = 'bulding'
  268. $location_type = 'public_indoors'
  269. if night_mode = 1:
  270. fcolor = rgb(255, 255, 255)
  271. bcolor = rgb(0, 0, 0)
  272. lcolor = rgb(106, 90, 205)
  273. else
  274. fcolor = rgb(0, 0, 0)
  275. bcolor = rgb(255, 255, 255)
  276. lcolor = rgb(106, 90, 205)
  277. end
  278. cls
  279. gs 'stat'
  280. '<center><b><font color="maroon">Inside School</font></b></center>'
  281. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  282. 'The hallways of the school building are painted with a cheap green paint, which you think may be toxic. Budget cuts.'
  283. act 'Return to town':gt 'pavResidential'
  284. if dimaRevenge = 1:
  285. '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.
  286. "I know what you did, bitch. Did you really thing I wouldn''t figure out it was you that wiped my harddrive."
  287. 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."
  288. His words fill you with dread as you make your way to class.'
  289. elseif dimaRevenge = 4:
  290. gt 'dimaRevenge', dimaRevenge, 'before'
  291. elseif dimaRevenge = 5:
  292. gt 'dimaRevenge', dimaRevenge, 'before'
  293. end
  294. if zverSlutQW = 1 and week = 1 and lariskaQwestDay < daystart and lariskaQwestDay ! 0 and zverRageQW = 2:
  295. zverSlutQW = 2
  296. if KotovZverHelp ! 1:
  297. $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.'
  298. if lariskaHelp > 0:
  299. '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.'
  300. end
  301. else
  302. if LinaSlut > 0:$text_end = ' and Lina'
  303. '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.'
  304. end
  305. if lariskaHelp > 0:LariskaHomeIn = 1
  306. $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.'
  307. elseif zverSlutQW = 0 and week = 1 and lariskaQwestDay < daystart and lariskaQwestDay ! 0 and zverRageQW = 2:
  308. $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.'
  309. npc_rel['A18'] = 0
  310. ''
  311. $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.'
  312. if lariskaHelp > 0:
  313. $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.'
  314. $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.'
  315. end
  316. 'Christina Zvereva approaches you:'
  317. '"What do you want, bitch? Have you recovered from your ass-kicking yet? At least you understand your place now.<<$text_end>>"'
  318. lariskaQwestDay += 99999
  319. end
  320. act 'Continue':
  321. !one line late from 1.2.4, timerange check by illume
  322. if hour = 9: late = 1
  323. if hour = 7:
  324. minut += 120 & gs 'stat'
  325. elseif hour = 8:
  326. minut += 60 & gs 'stat'
  327. end
  328. minut += 60 - minut
  329. gs 'stat'
  330. BeInSchool += 1
  331. if RAND(0,1) = 0:
  332. gt 'gschool_lessons', 'morning'
  333. else
  334. gt 'gschool_events', 'teacher_greet'
  335. end
  336. end
  337. end
  338. if $ARGS[0] = 'KristinaFight':
  339. $location_type = 'event_outdoors'
  340. cls
  341. gs 'stat'
  342. zverRageQW = 2
  343. '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!"'
  344. gs 'boyStat', 'A18'
  345. !!stats
  346. strenV = 85
  347. speedV = 75
  348. agilV = 75
  349. reactV = 75
  350. vitalV = 95
  351. intelV = 45
  352. willV = 45
  353. !Skills
  354. magikV = 95
  355. boxingV = 35
  356. shootV = 95
  357. !Parameters
  358. healthV = vitalV*10 + strenV*5
  359. mannaV = intelV*10 + magikV*10
  360. willpowerV = willV*10
  361. BonusAtakV = 0
  362. BonusDefV = 0
  363. !Action Programme
  364. program = 0
  365. ZverevaFight = 1
  366. if spellavtoklon = 1:klon = 3
  367. if spellbefshild = 1:defence = 500
  368. round = 0
  369. act 'fight':gt 'fight','start'
  370. end
  371. if $ARGS[0] = 'SchoolRun':
  372. $location_type = 'event_outdoors'
  373. cls
  374. minut += 30
  375. gs 'stat'
  376. '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.'
  377. act 'Go to the start':
  378. cls
  379. minut += 30
  380. schoolSorev = 0
  381. kolsorev += 1
  382. gs 'stat'
  383. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  384. '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.'
  385. wait 725
  386. 'On your marks...'
  387. wait 725
  388. 'Get set...'
  389. wait 725
  390. 'Go!'
  391. wait 725
  392. begresult = pcs_run + speed + pcs_vital + rand(1, 20) - salo/2 - rand(1, 20)
  393. if begresult <= 0:
  394. '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.'
  395. elseif begresult < 10:
  396. 'You struggle to keep up with the other girls, and finish in last place.'
  397. elseif begresult < 20:
  398. 'You run as fast as you can, but only manage to finish second to last.'
  399. elseif begresult < 30:
  400. 'You run as fast as you can, but only manage to take 6th place.'
  401. elseif begresult < 40:
  402. 'You run as fast as you can, but only manage to take 5th place.'
  403. elseif begresult < 50:
  404. 'You run as fast as you can, but only manage to take 4th place.'
  405. elseif begresult < 60:
  406. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  407. elseif begresult < 70:
  408. '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.'
  409. else
  410. swinbeg += 1
  411. pcs_dom += 1
  412. '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.'
  413. end
  414. run_exp += 1
  415. fat -= 10
  416. if swinbeg = 3 and LocalRun = 0:
  417. LocalRun = 1
  418. if razradbeg < 1:
  419. '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.'
  420. razradbeg = 1
  421. else
  422. '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.'
  423. end
  424. end
  425. gs 'stat'
  426. act 'Return to town':gt 'gschool_grounds', 'main'
  427. end
  428. end
  429. if $ARGS[0] = 'SchoolRun2':
  430. cls
  431. minut += 30
  432. gs 'stat'
  433. '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.'
  434. if swinbeggor = 0:
  435. 'Getting ready at the start is Christina Zvereva, one of the girls in your class. She scoffs at you, "You''ll never beat me!"'
  436. elseif swinbeggor = 1:
  437. '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!"'
  438. elseif swinbeggor = 2:
  439. '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!"'
  440. end
  441. act 'Go to the start':
  442. cls
  443. kolsorev += 1
  444. minut += 30
  445. schoolSorev = 0
  446. gs 'stat'
  447. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/grounds/begsor.jpg"></center>'
  448. '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.'
  449. wait 725
  450. 'On your marks...'
  451. wait 725
  452. 'Get set...'
  453. wait 725
  454. 'Go!'
  455. wait 725
  456. begresult = pcs_run + speed + pcs_vital + rand(1, 20) - salo/2 - rand(1, 20)
  457. if begresult <= 0:
  458. '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.'
  459. elseif begresult < 70:
  460. 'You struggle to keep up with the other girls, and finish in last place.'
  461. elseif begresult < 80:
  462. 'You run as fast as you can, but only manage to finish second to last.'
  463. elseif begresult < 90:
  464. 'You run as fast as you can, but only manage to take 6th place.'
  465. elseif begresult < 100:
  466. 'You run as fast as you can, but only manage to take 5th place.'
  467. elseif begresult < 110:
  468. 'You run as fast as you can, but only manage to take 4th place.'
  469. elseif begresult < 120:
  470. 'You run as fast as you can, and manage to take 3rd place. Mr. Pavlovich, the P.E. teacher at your school, congratulates you.'
  471. elseif begresult < 130:
  472. '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.'
  473. else
  474. swinbeggor += 1
  475. pcs_dom += 1
  476. '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.'
  477. end
  478. run_exp += 1
  479. fat -= 10
  480. if swinbeggor = 3 and LocalRun = 1:
  481. LocalRun = 2
  482. npc_rel['A18'] = 0
  483. zverevaQW = 1
  484. if razradbeg < 2:
  485. 'You have won the competition three more times and mr. Pavlovich awards you the second tier sports trophy in running.'
  486. razradbeg = 2
  487. else
  488. 'You have won the competition three more times and mr. Pavlovich awards you another trophy.'
  489. end
  490. '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.'
  491. elseif swinbeggor = 2 and begresult >= 130:
  492. npc_rel['A18'] = 0
  493. '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.'
  494. elseif swinbeggor = 1 and begresult >= 130:
  495. npc_rel['A18'] = 0
  496. '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!"'
  497. end
  498. gs 'stat'
  499. act 'Leave':gt 'gschool_grounds', 'main'
  500. end
  501. end
  502. if $ARGS[0] = 'change_room':
  503. $metka = 'change_room'
  504. $loc = 'gschool_grounds'
  505. $location_type = 'bathroom'
  506. $locM = 'gschool_grounds'
  507. $metkaM = 'change_room'
  508. cls
  509. minut += 5
  510. gs 'stat'
  511. act 'Leave the school building':
  512. if $clothingworntype = 'nude':
  513. msg'<b><font color = red>You need to get dressed.</font></b>'
  514. gt 'gschool_grounds', 'change_room'
  515. else
  516. gt 'gschool_grounds', 'main'
  517. end
  518. end
  519. act 'Go to sports field':
  520. if $clothingworntype = 'nude':
  521. msg'<b><font color = red>You need to get dressed.</font></b>'
  522. gt 'gschool_grounds', 'change_room'
  523. else
  524. gt 'gschool_grounds', 'sports'
  525. end
  526. end
  527. 'You can <a href="exec:GT ''clothing_QV'',''list''">change your outfit</a> by the lockers here.'
  528. if (hour = 18 and minut >= 30) or hour > 18:
  529. 'The school is closing for the night and you have to leave so you don''t get stuck here all night.'
  530. exit
  531. end
  532. act 'Look in the mirror': gt 'mirror', 'start'
  533. if pcs_hairbsh = 0: act 'Brush your hair': gt 'mirror', 'brush'
  534. if (cumloc[6] = 1 or cumloc[7] = 1):
  535. act 'Wipe the cum off your clothes (0:10)':
  536. cla
  537. *clr
  538. cumspclnt = 6
  539. gs 'cum_cleanup'
  540. minut += 10
  541. '<center><img <<$set_imgh>> src="images/pc/body/cum/cumclothes/cumclothes12.jpg"></center>'
  542. 'You remove traces of cum from your clothes.'
  543. act 'Leave':gt 'gschool_grounds', 'change_room'
  544. end
  545. end
  546. dynamic $tampon
  547. dynamic $quickwash
  548. dynamic $basin
  549. if pirsA + pirsB + pirsC + pirsD + pirsE + pirsF + pirsN + pirsG + pirsGL > 0:'<a href="exec:dynamic $pirManage">Manage Piercings</a>'
  550. end
  551. --- gschool_grounds ---------------------------------