gschool_lessons.qsrc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. # gschool_lessons
  2. !2021/05/02
  3. if $ARGS[0] = 'morning':
  4. *clr & cla
  5. $menu_loc = 'gschool_lessons'
  6. $menu_arg = 'morning'
  7. $location_type = 'public_indoors'
  8. killvar '$locclass'
  9. menu_off = 0
  10. if school_check_day ! daystart:
  11. school_check_day = daystart
  12. schoolprogul -= 1
  13. school_lunch = 0
  14. if missing_class > 9:
  15. missing_class -= 9
  16. elseif missing_class > 6:
  17. missing_class -= 6
  18. end
  19. lernSkill += 1
  20. lernHome += 1
  21. if runnerQW['pav_racetype'] = 1: runnerQW['pav_racetype'] = 0
  22. if hour < 8: gs 'gschool_socialchg', 'test'
  23. end
  24. if $breaktype ! 'first':
  25. if detention_set = 1 and week = 1:
  26. detention_set = 2
  27. '<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big134.jpg"></center>'
  28. 'The principal is waiting for you in the hall, and with a simple curl of a finger, she summons you to follow her to her office.'
  29. *nl
  30. gs 'gschool_lessons', 'uniform_check'
  31. act 'Follow': gt 'gschool_office', 'principal'
  32. elseif late = 0 and cheerleadingQW['skipped_ev'] + cheerleadingQW['skipped_g_ev'] > 0:
  33. gs 'gschool_cheerleading', 'skipped_ev'
  34. act 'Continue down the hall': gt 'gschool_lessons', 'morning'
  35. elseif week < 4 and class['first_grade_check'] = 0:
  36. gt 'gschool_lessons', 'grade_check'
  37. elseif (grupTipe = 3 or nerd_game['stage'] > 0 or rand(80,npc_rel['A152']) > 95) and nerd_game['invite_day'] < daystart - week:
  38. gt 'nerd_game_night', 'invite', 'morning'
  39. else
  40. gs 'gschool_gossip', 'morning'
  41. *nl
  42. gs 'gschool_lessons', 'uniform_check'
  43. gs 'gschool', 'schedule'
  44. act 'Go to first period': school_period = 0 & gt 'gschool_lessons', 'schedule'
  45. act 'Skip first period': school_period = 1 & gt 'gschool_lessons', 'skip'
  46. act 'Use water cooler': $breaktype = 'first' & gt 'gschool_break', 'watercooler'
  47. act 'Go to the girls restroom': $breaktype = 'first' & gt 'gschool_break', 'girls_restroom'
  48. act 'Go to the boys restroom': $breaktype = 'first' & gt 'gschool_break', 'boys_restroom'
  49. if week = 1 and class['grade_check_day'] ! daystart:
  50. act 'Check your grades': gt 'gschool_lessons', 'grade_check'
  51. end
  52. end
  53. else
  54. '<center><b><font color="maroon">School Hallway</font></b></center>'
  55. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  56. 'Walking down the halls, you barely notice the poor state of the school anymore, having grown used to it. Approaching your locker, you see several of your classmates and wave at them.'
  57. act 'Go to first period': school_period = 0 & gt 'gschool_lessons', 'schedule'
  58. act 'Skip first period': school_period = 1 & gt 'gschool_lessons', 'skip'
  59. end
  60. end
  61. if $ARGS[0] = 'uniform_check':
  62. if PCloInhibit <= 10:
  63. grupvalue[3] += 1
  64. grupvalue[5] += 1
  65. grupvalue[1] -= 1
  66. grupvalue[2] -= 1
  67. '<font color="blue">This uniform is very conservative.</font>'
  68. elseif PCloSkirt < 5 and PCloThinness < 5 and PCloBra = 0:
  69. if PCloInhibit >= 30 or PCloTopCut = 4:
  70. grupvalue[1] -= 1
  71. grupvalue[2] -= 1
  72. grupvalue[3] -= 1
  73. grupvalue[4] += 1
  74. grupvalue[5] -= 1
  75. '<font color="red">This uniform complies with the regulations but is too risqué.</font>'
  76. elseif PCloStyle = 2:
  77. grupvalue[4] += 1
  78. '<font color="blue">This uniform follows the school regulation on skirt length and is of a style that appeals to Gopniks.</font>'
  79. elseif PCloQuality >= 4:
  80. grupvalue[1] += 1
  81. grupvalue[2] += 1
  82. '<font color="blue">This uniform complies with the regulations and is of good quality.</font>'
  83. else
  84. '<font color="blue">This uniform complies with the school regulations on skirt length.</font>'
  85. end
  86. elseif PCloSkirt = 5 and PCloThinness < 5 and PCloBra = 0:
  87. if PCloInhibit >= 35:
  88. grupvalue[1] -= 1
  89. grupvalue[2] -= 1
  90. grupvalue[3] -= 1
  91. grupvalue[4] += 1
  92. grupvalue[5] -= 1
  93. '<font color="red">This uniform slightly breaches the school regulations and it is too risqué.</font>'
  94. elseif PCloStyle = 2:
  95. grupvalue[4] += 1
  96. '<font color="blue">This uniform slightly breaches the school regulations on skirt length and is of a style that appeals to Gopniks.</font>'
  97. elseif PCloQuality >= 4:
  98. grupvalue[1] += 1
  99. grupvalue[2] += 1
  100. grupvalue[4] += 1
  101. '<font color="blue">This uniform slightly breaches the school regulations on skirt length and is of good quality.</font>'
  102. else
  103. grupvalue[4] += 1
  104. '<font color="blue">This uniform slightly breaches the school regulations on skirt length.</font>'
  105. end
  106. else
  107. grupvalue[1] -= 1
  108. grupvalue[2] -= 1
  109. grupvalue[3] -= 1
  110. grupvalue[5] -= 1
  111. demerit += 5
  112. gs 'fame', 'pav', 'sex', 1
  113. if PCloSkirt > 5:
  114. '<font color="red">This uniform is so short that it makes a mockery of the school uniform regulations.</font>'
  115. else
  116. '<font color="red">This uniform is too thin and that can expose underwear making a mockery of the school uniform regulations.</font>'
  117. end
  118. end
  119. end
  120. if $ARGS[0] = 'short_break':
  121. killvar '$breaktype'
  122. killvar '$locclass'
  123. menu_off = 1
  124. gs 'stat'
  125. if school_period = 1:
  126. if hour = 6:
  127. minut += 165-minut
  128. elseif hour = 7:
  129. minut += 105-minut
  130. elseif hour = 8 and minut < 45:
  131. minut += 45-minut
  132. elseif hour = 8 and minut < 50:
  133. 'Time to go to your next class.'
  134. else
  135. school_period = 2
  136. gt 'gschool_lessons', 'short_break'
  137. end
  138. elseif school_period = 2:
  139. if hour = 8:
  140. minut += 95-minut
  141. elseif hour = 9 and minut < 35:
  142. minut += 35-minut
  143. elseif hour = 9 and minut < 55:
  144. 'Time to go to your next class.'
  145. else
  146. school_period = 4
  147. gt 'gschool_lessons', 'short_break'
  148. end
  149. elseif school_period = 3:
  150. if $ARGS[1] = '':
  151. if hour = 9 and minut < 55:
  152. minut += 55-minut
  153. 'Time to go to your next class.'
  154. else
  155. school_period = 4
  156. gt 'gschool_lessons', 'short_break'
  157. end
  158. else
  159. if hour = 9 and minut < 46:
  160. minut += 46-minut
  161. end
  162. end
  163. elseif school_period = 4:
  164. if hour = 9:
  165. minut += 100-minut
  166. elseif hour = 10 and minut < 40:
  167. minut += 40-minut
  168. elseif hour = 10 and minut < 45:
  169. 'Time to go to your next class.'
  170. else
  171. school_period = 5
  172. gt 'gschool_lessons', 'short_break'
  173. end
  174. elseif school_period = 5:
  175. if hour = 10:
  176. minut += 90-minut
  177. elseif hour = 11 and minut < 30:
  178. minut += 30-minut
  179. elseif hour = 12 and minut < 25 and minut > 20:
  180. school_period = 6
  181. gt 'gschool_lessons', 'short_break'
  182. elseif (hour = 12 and minut > 25 ) or hour > 12:
  183. school_period = 6
  184. gt 'gschool_lessons', 'short_break'
  185. end
  186. if NikoVolkovQW = 10 and NikoEv = 12: school_lunch = 1 & school_period = 6 & gt 'NikoDreams', 'classroom_dream'
  187. elseif school_period = 6:
  188. if $ARGS[1] = '':
  189. if hour = 10:
  190. minut += 145-minut
  191. elseif hour = 11:
  192. minut += 85-minut
  193. elseif hour = 12 and minut < 25:
  194. minut += 25-minut
  195. else
  196. school_period = 7
  197. gt 'gschool_lessons', 'short_break'
  198. end
  199. end
  200. elseif school_period = 7:
  201. if hour = 11:
  202. minut += 130-minut
  203. elseif hour = 12:
  204. minut += 70-minut
  205. elseif hour = 13 and minut < 10:
  206. minut += 10-minut
  207. elseif hour = 13 and minut < 15:
  208. 'Time to go to your next class.'
  209. else
  210. school_period = 8
  211. gt 'gschool_lessons', 'short_break'
  212. end
  213. elseif school_period = 8:
  214. if hour = 13: minut += 60-minut
  215. end
  216. gs 'stat'
  217. if school_period = 2:
  218. if $ARGS[1] ! 'nopict':
  219. '<center><b><font color="maroon">School Hallway</font></b></center>'
  220. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  221. nl
  222. gs 'gschool', 'schedule'
  223. end
  224. act 'Time for morning break': gt 'gschool_lessons', 'schedule'
  225. elseif school_period = 5:
  226. if $ARGS[1] ! 'nopict':
  227. '<center><b><font color="maroon">School Hallway</font></b></center>'
  228. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  229. nl
  230. gs 'gschool', 'schedule'
  231. end
  232. act 'Time for lunch break': gt 'gschool_lessons', 'schedule'
  233. elseif (school_period < 8):
  234. if $ARGS[1] ! 'nopict':
  235. '<center><b><font color="maroon">School Hallway</font></b></center>'
  236. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  237. gs 'gschool_gossip', 'gossip'
  238. nl
  239. gs 'gschool', 'schedule'
  240. end
  241. act 'Go to next class': gt 'gschool_lessons', 'schedule'
  242. act 'Skip next class': school_period += 1 & gt 'gschool_lessons', 'skip'
  243. if cheerleadingQW['skipped_ev'] + cheerleadingQW['skipped_g_ev'] > 0:
  244. gs 'gschool_cheerleading', 'skipped_ev'
  245. act 'Continue down the hall': gt 'gschool_lessons', 'short_break'
  246. elseif (grupTipe = 3 or nerd_game['stage'] > 0 or rand(80,npc_rel['A152']) > 95) and nerd_game['invite_day'] < daystart - week:
  247. gt 'nerd_game_night', 'invite', 'short_break'
  248. end
  249. elseif Kuznetsov_punishment = 1:
  250. '<center><b><font color="maroon">School Hallway</font></b></center>'
  251. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  252. act 'Go to Kuznetsov''s classroom': gt 'gschool_lessonsev2','shop_punishment'
  253. act 'Leave the school': gt 'gschool_lessons', 'schedule'
  254. else
  255. gt 'gschool_lessons', 'schedule'
  256. end
  257. end
  258. if $ARGS[0] = 'skip':
  259. *clr & cla
  260. $menu_loc = 'gschool_lessons'
  261. $menu_arg = 'skip'
  262. $location_type = 'public_indoors'
  263. menu_off = 0
  264. killvar '$breaktype'
  265. gs 'stat'
  266. '<center><b><font color="maroon">School Hallway</font></b></center>'
  267. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  268. '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.'
  269. act 'Go to girl''s bathroom': missing_class += 1 & gt 'gschool_girls_bathroom', 'start'
  270. act 'Go to boy''s bathroom': missing_class += 1 & gt 'gschool_boys_bathroom', 'start'
  271. !! act 'Go to old school building': gt
  272. end
  273. if $ARGS[0] = 'schedule':
  274. killvar '$breaktype'
  275. gs 'stat'
  276. if school_period = 0:
  277. school_period = 1
  278. if hour >= 8:
  279. if week = 1: gt 'gschool_lessons4', 'math_late'
  280. if week = 2: gt 'gschool_lessons3', 'literature_late'
  281. if week = 3: gt 'gschool_lessons4', 'math_late'
  282. if week = 4: gt 'gschool_lessons3', 'literature_late'
  283. if week = 5: gt 'gschool_lessons4', 'math_late'
  284. else
  285. if hour = 7: minut += 60 - minut
  286. if hour = 6: minut += 120 - minut
  287. if week = 1: gt 'gschool_lessons4', 'math'
  288. if week = 2: gt 'gschool_lessons3', 'literature'
  289. if week = 3: gt 'gschool_lessons4', 'math'
  290. if week = 4: gt 'gschool_lessons3', 'literature'
  291. if week = 5: gt 'gschool_lessons4', 'math'
  292. end
  293. elseif school_period = 1:
  294. school_period = 2
  295. if hour = 8 and minut < 50: minut += 50 - minut
  296. if week = 1: gt 'gschool_lessons1', 'russian'
  297. if week = 2: gt 'gschool_lessons1', 'geography'
  298. if week = 3: gt 'gschool_lessons1', 'russian'
  299. if week = 4: gt 'gschool_lessons1', 'geography'
  300. if week = 5: gt 'gschool_lessons1', 'russian'
  301. elseif school_period = 2:
  302. school_period = 3
  303. gt 'gschool_lunch', 'break'
  304. elseif school_period = 3:
  305. school_period = 4
  306. if hour = 9 and minut < 55: minut += 55 - minut
  307. if week = 1: gt 'gschool_lessons4', 'english'
  308. if week = 2: gt 'gschool_lessons2', 'science'
  309. if week = 3: gt 'gschool_lessons2', 'biology'
  310. if week = 4: gt 'gschool_lessons2', 'science'
  311. if week = 5: gt 'gschool_lessons4', 'english'
  312. elseif school_period = 4:
  313. school_period = 5
  314. if hour = 10 and minut < 45: minut += 45 - minut
  315. if week = 1: gt 'gschool_lessons3', 'art'
  316. if week = 2: gt 'gschool_lessons3', 'shop'
  317. if week = 3: gt 'gschool_lessons1', 'history'
  318. if week = 4: gt 'gschool_lessons3', 'shop'
  319. if week = 5: gt 'gschool_lessons3', 'art'
  320. elseif school_period = 5:
  321. school_period = 6
  322. gt 'gschool_lunch', 'lunch'
  323. elseif school_period = 6:
  324. school_period = 7
  325. if hour = 12 and minut < 25: minut += 25 - minut
  326. if week = 1: gt 'gschool_lessons2', 'biology'
  327. if week = 2: gt 'gschool_lessons2', 'computer'
  328. if week = 3: gt 'gschool_lessons2', 'computer'
  329. if week = 4: gt 'gschool_lessons2', 'computer'
  330. if week = 5: gt 'gschool_lessons1', 'history'
  331. elseif school_period = 7:
  332. school_period = 8
  333. if hour = 13 and minut < 15: minut += 15 - minut
  334. if week = 1: gt 'gschool_lessons4', 'pe'
  335. if week = 2: gt 'gschool_lessons2', 'music'
  336. if week = 3: gt 'gschool_lessons4', 'pe'
  337. if week = 4: gt 'gschool_lessons2', 'music'
  338. if week = 5: gt 'gschool_lessons4', 'pe'
  339. else
  340. school_period = 0
  341. gt 'gschool_grounds', 'main'
  342. end
  343. end
  344. if $ARGS[0] = 'grade_check':
  345. *clr & cla
  346. menu_off = 0
  347. class['grade_check_day'] = daystart
  348. '<center><b><font color="maroon">School Hallway</font></b></center>'
  349. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/grade_results<<rand(1,2)>>.jpg"></center>'
  350. if class['first_grade_check'] = 0:
  351. class['first_grade_check'] = 1
  352. 'You walk to the wall where the grades are posted and check your grades. You see that your final grade from last year is still there. Grades are updated every Monday, but you note your grade down in your journal so you can always check it.'
  353. else
  354. 'You walk over to the wall where the grades are posted and check your grades to see what has changed since last week. You note your grade down in your journal so you can check it later.'
  355. end
  356. *nl
  357. gs 'grades', 'assing_grade_description', 'school'
  358. 'Math: <<$class[''school_math_grade'']>> (<<class[''school_math_grade'']>>) Russian: <<$class[''school_rus_grade'']>> (<<class[''school_rus_grade'']>>) Literature: <<$class[''school_lit_grade'']>> (<<class[''school_lit_grade'']>>) Art: <<$class[''school_art_grade'']>> (<<class[''school_art_grade'']>>) Biology: <<$class[''school_bio_grade'']>> (<<class[''school_bio_grade'']>>) English: <<$class[''school_eng_grade'']>> (<<class[''school_eng_grade'']>>) Geography: <<$class[''school_geo_grade'']>> (<<class[''school_geo_grade'']>>) Science: <<$class[''school_sci_grade'']>> (<<class[''school_sci_grade'']>>) History: <<$class[''school_his_grade'']>> (<<class[''school_his_grade'']>>) Shop: <<$class[''school_shop_grade'']>> (<<class[''school_shop_grade'']>>) Computer: <<$class[''school_comp_grade'']>> (<<class[''school_comp_grade'']>>) Music: <<$class[''school_mus_grade'']>> (<<class[''school_mus_grade'']>>) P.E.: <<$class[''school_pe_grade'']>> (<<class[''school_pe_grade'']>>)'
  359. *nl
  360. 'A grade of 1 means "Very Poor" and is generally only used for absence. 2 means "Unsatisfactory" and is also a falling grade. 3 means "Satisfactory" and is a passing grade. 4 means "Good". 5 means "Excellent" and is only given to the best students. (The number in the parenthesis is the variable grade, which is changed by your in-class actions and translated into the actual grade)'
  361. *nl
  362. gs 'grades', 'grade above', 'school', 90
  363. gs 'grades', 'grade above', 'school', 70
  364. gs 'grades', 'grade above', 'school', 50
  365. gs 'grades', 'grade above', 'school', 40
  366. if class['school_grades_above_90'] = 13:
  367. 'You''re getting top marks in all your classes. You''re one of the best, if not the best student in the entire school.'
  368. elseif class['school_grades_above_90'] > 6 and class['school_grades_above_40'] = 13:
  369. 'You''re getting top marks in more than half your classes and aren''t failing any of the others. You''re one of the best students in the school.'
  370. elseif class['school_grades_above_90'] > 6:
  371. 'Even if you''re failing some of your classes, you''re getting top marks in more than half of them and are still one of the best students in the school. You should have no trouble getting into university.'
  372. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] = 13:
  373. 'You''re only getting top marks in a few of your classes, but the rest of your grades are still good. You should have no trouble getting into university.'
  374. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] > 10 and class['school_grades_above_40'] =13:
  375. 'You''re only getting top marks in some of your classes, but only a few of your grades are bad and you''re not failing any classes. You should have no trouble getting into university, but improving your grades wouldn''t hurt.'
  376. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] > 10:
  377. 'You''re only getting top marks in a few of your classes and are failing others. You should improve your grades if you want to get into university.'
  378. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] = 13:
  379. 'You''re only getting top marks in some of your classes and a lot of bad grades, but you''re not failing any classes. You need to improve your bad grades if you want to get into university.'
  380. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] > 10:
  381. 'You''re getting top marks in a few of your classes, but are failing some of the others. You should improve your grades if you want to get into university.'
  382. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] > 6:
  383. 'You''re getting top marks in a few of your classes, but are failing a lot of the others. You should improve your grades if you want to get into university.'
  384. elseif class['school_grades_above_90'] > 0:
  385. 'Even a top mark or two won''t help when you''re failing more than half of your classes. You''ll have to put a lot of work in if you want to go to university.'
  386. elseif class['school_grades_above_70'] = 13:
  387. 'You''re getting good grades in all of your classes, but nothing impressive. You should have no trouble getting into university, but improving your grades wouldn''t hurt.'
  388. elseif class['school_grades_above_70'] > 6 and class['school_grades_above_40'] =13:
  389. 'You''re getting good grades in over half of your classes, but nothing impressive. You''re not failing any classes, but improving your grades wouldn''t hurt.'
  390. elseif class['school_grades_above_70'] > 6 and class['school_grades_above_40'] >10:
  391. 'You''re getting good grades in over half of your classes, but are failing others. You should improve your grades if you want to get into university.'
  392. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] = 13:
  393. 'You''re getting good grades in a few of your classes, but nothing impressive. You''re not failing any classes, but improving your grades wouldn''t hurt.'
  394. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] >10:
  395. 'You''re getting good grades in a few of your classes, but are failing others. You should improve your grades if you want to get into university.'
  396. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] >6:
  397. 'You''re getting good grades in a few of your classes, but are failing a lot of the others. You should improve your grades if you want to get into university.'
  398. elseif class['school_grades_above_70'] > 0:
  399. 'A good grade or two isn''t enough when you''re failing more than half of your classes. It will require a lot of work for you to turn this around.'
  400. elseif class['school_grades_above_40'] = 13:
  401. 'You are not getting any good grades, but at least you are not failing any classes. It will require a lot of work if you want to go to university.'
  402. elseif class['school_grades_above_40'] > 10:
  403. 'Your grades are terrible and you''re in danger of not graduating high school.'
  404. elseif class['school_grades_above_40'] > 6:
  405. 'You''re failing a lot of classes and barely passing the rest. You won''t graduate at this rate unless you get your grades up.'
  406. else
  407. 'You''re failing high school and need to do something about it right now if you want to graduate.'
  408. end
  409. act 'Continue': gt 'gschool_lessons', 'morning'
  410. end
  411. --- gschool_lessons ---------------------------------