gschool_lessons.qsrc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  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 SchoolSorev = 1: SchoolSorev = 0
  22. 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 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 CloStyle = 2:
  77. grupvalue[4] += 1
  78. '<font color="blue">This uniform follows the school regulation on skirt length but 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 CloStyle = 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. '<font color="red">This uniform makes a mockery of the school uniform regulations.</font>'
  114. end
  115. end
  116. if $ARGS[0] = 'short_break':
  117. killvar '$breaktype'
  118. killvar '$locclass'
  119. menu_off = 1
  120. gs 'stat'
  121. if school_period = 1:
  122. if hour = 6:
  123. minut += 165-minut
  124. elseif hour = 7:
  125. minut += 105-minut
  126. elseif hour = 8 and minut < 45:
  127. minut += 45-minut
  128. elseif hour = 8 and minut < 50:
  129. 'Time to go to your next class.'
  130. else
  131. school_period = 2
  132. gt 'gschool_lessons', 'short_break'
  133. end
  134. elseif school_period = 2:
  135. if hour = 8:
  136. minut += 95-minut
  137. elseif hour = 9 and minut < 35:
  138. minut += 35-minut
  139. elseif hour = 9 and minut < 55:
  140. 'Time to go to your next class.'
  141. else
  142. school_period = 4
  143. gt 'gschool_lessons', 'short_break'
  144. end
  145. elseif school_period = 3:
  146. if $ARGS[1] = '':
  147. if hour = 9 and minut < 55:
  148. minut += 55-minut
  149. 'Time to go to your next class.'
  150. else
  151. school_period = 4
  152. gt 'gschool_lessons', 'short_break'
  153. end
  154. else
  155. if hour = 9 and minut < 46:
  156. minut += 46-minut
  157. end
  158. end
  159. elseif school_period = 4:
  160. if hour = 9:
  161. minut += 100-minut
  162. elseif hour = 10 and minut < 40:
  163. minut += 40-minut
  164. elseif hour = 10 and minut < 45:
  165. 'Time to go to your next class.'
  166. else
  167. school_period = 5
  168. gt 'gschool_lessons', 'short_break'
  169. end
  170. elseif school_period = 5:
  171. if hour = 10:
  172. minut += 90-minut
  173. elseif hour = 11 and minut < 30:
  174. minut += 30-minut
  175. elseif hour = 12 and minut < 25 and minut > 20:
  176. school_period = 6
  177. gt 'gschool_lessons', 'short_break'
  178. elseif (hour = 12 and minut > 25 ) or hour > 12:
  179. school_period = 6
  180. gt 'gschool_lessons', 'short_break'
  181. end
  182. if NikoVolkovQW = 10 and NikoEv = 12: school_lunch = 1 & school_period = 6 & gt 'NikoDreams', 'Classroom Dream'
  183. elseif school_period = 6:
  184. if $ARGS[1] = '':
  185. if hour = 10:
  186. minut += 145-minut
  187. elseif hour = 11:
  188. minut += 85-minut
  189. elseif hour = 12 and minut < 25:
  190. minut += 25-minut
  191. else
  192. school_period = 7
  193. gt 'gschool_lessons', 'short_break'
  194. end
  195. end
  196. elseif school_period = 7:
  197. if hour = 11:
  198. minut += 130-minut
  199. elseif hour = 12:
  200. minut += 70-minut
  201. elseif hour = 13 and minut < 10:
  202. minut += 10-minut
  203. elseif hour = 13 and minut < 15:
  204. 'Time to go to your next class.'
  205. else
  206. school_period = 8
  207. gt 'gschool_lessons', 'short_break'
  208. end
  209. elseif school_period = 8:
  210. if hour = 13: minut += 60-minut
  211. end
  212. gs 'stat'
  213. if school_period = 2:
  214. if $ARGS[1] ! 'nopict':
  215. '<center><b><font color="maroon">School Hallway</font></b></center>'
  216. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  217. nl
  218. gs 'gschool', 'schedule'
  219. end
  220. act 'Time for morning break': gt 'gschool_lessons', 'schedule'
  221. elseif school_period = 5:
  222. if $ARGS[1] ! 'nopict':
  223. '<center><b><font color="maroon">School Hallway</font></b></center>'
  224. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  225. nl
  226. gs 'gschool', 'schedule'
  227. end
  228. act 'Time for lunch break': gt 'gschool_lessons', 'schedule'
  229. elseif (school_period < 8):
  230. if $ARGS[1] ! 'nopict':
  231. '<center><b><font color="maroon">School Hallway</font></b></center>'
  232. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  233. gs 'gschool_gossip', 'gossip'
  234. nl
  235. gs 'gschool', 'schedule'
  236. end
  237. act 'Go to next class': gt 'gschool_lessons', 'schedule'
  238. act 'Skip next class': school_period += 1 & gt 'gschool_lessons', 'skip'
  239. if cheerleadingQW['skipped_ev'] + cheerleadingQW['skipped_g_ev'] > 0:
  240. gs 'gschool_cheerleading', 'skipped_ev'
  241. act 'Continue down the hall': gt 'gschool_lessons', 'short_break'
  242. elseif grupTipe = 3 and nerd_game['invite_day'] < daystart - week:
  243. gt 'nerd_game_night', 'invite', 'short_break'
  244. end
  245. elseif Kuznetsov_punishment = 1:
  246. '<center><b><font color="maroon">School Hallway</font></b></center>'
  247. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  248. act 'Go to Kuznetsov''s classroom': gt 'gschool_lessonsev2','shop_punishment'
  249. act 'Leave the school': gt 'gschool_lessons', 'schedule'
  250. else
  251. gt 'gschool_lessons', 'schedule'
  252. end
  253. end
  254. if $ARGS[0] = 'skip':
  255. *clr & cla
  256. $menu_loc = 'gschool_lessons'
  257. $menu_arg = 'skip'
  258. $location_type = 'public_indoors'
  259. menu_off = 0
  260. killvar '$breaktype'
  261. gs 'stat'
  262. '<center><b><font color="maroon">School Hallway</font></b></center>'
  263. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<rand(0,2)>>.jpg"></center>'
  264. '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.'
  265. act 'Go to girl''s bathroom': missing_class += 1 & gt 'gschool_girls_bathroom', 'start'
  266. act 'Go to boy''s bathroom': missing_class += 1 & gt 'gschool_boys_bathroom', 'start'
  267. !! act 'Go to old school building': gt
  268. end
  269. if $ARGS[0] = 'schedule':
  270. killvar '$breaktype'
  271. gs 'stat'
  272. if school_period = 0:
  273. school_period = 1
  274. if hour >= 8:
  275. if week = 1: gt 'gschool_lessons4', 'math_late'
  276. if week = 2: gt 'gschool_lessons3', 'literature_late'
  277. if week = 3: gt 'gschool_lessons4', 'math_late'
  278. if week = 4: gt 'gschool_lessons3', 'literature_late'
  279. if week = 5: gt 'gschool_lessons4', 'math_late'
  280. else
  281. if hour = 7: minut += 60 - minut
  282. if hour = 6: minut += 120 - minut
  283. if week = 1: gt 'gschool_lessons4', 'math'
  284. if week = 2: gt 'gschool_lessons3', 'literature'
  285. if week = 3: gt 'gschool_lessons4', 'math'
  286. if week = 4: gt 'gschool_lessons3', 'literature'
  287. if week = 5: gt 'gschool_lessons4', 'math'
  288. end
  289. elseif school_period = 1:
  290. school_period = 2
  291. if hour = 8 and minut < 50: minut += 50 - minut
  292. if week = 1: gt 'gschool_lessons1', 'russian'
  293. if week = 2: gt 'gschool_lessons1', 'geography'
  294. if week = 3: gt 'gschool_lessons1', 'russian'
  295. if week = 4: gt 'gschool_lessons1', 'geography'
  296. if week = 5: gt 'gschool_lessons1', 'russian'
  297. elseif school_period = 2:
  298. school_period = 3
  299. gt 'gschool_lunch', 'break'
  300. elseif school_period = 3:
  301. school_period = 4
  302. if hour = 9 and minut < 55: minut += 55 - minut
  303. if week = 1: gt 'gschool_lessons4', 'english'
  304. if week = 2: gt 'gschool_lessons2', 'science'
  305. if week = 3: gt 'gschool_lessons2', 'biology'
  306. if week = 4: gt 'gschool_lessons2', 'science'
  307. if week = 5: gt 'gschool_lessons4', 'english'
  308. elseif school_period = 4:
  309. school_period = 5
  310. if hour = 10 and minut < 45: minut += 45 - minut
  311. if week = 1: gt 'gschool_lessons3', 'art'
  312. if week = 2: gt 'gschool_lessons3', 'shop'
  313. if week = 3: gt 'gschool_lessons1', 'history'
  314. if week = 4: gt 'gschool_lessons3', 'shop'
  315. if week = 5: gt 'gschool_lessons3', 'art'
  316. elseif school_period = 5:
  317. school_period = 6
  318. gt 'gschool_lunch', 'lunch'
  319. elseif school_period = 6:
  320. school_period = 7
  321. if hour = 12 and minut < 25: minut += 25 - minut
  322. if week = 1: gt 'gschool_lessons2', 'biology'
  323. if week = 2: gt 'gschool_lessons2', 'computer'
  324. if week = 3: gt 'gschool_lessons2', 'computer'
  325. if week = 4: gt 'gschool_lessons2', 'computer'
  326. if week = 5: gt 'gschool_lessons1', 'history'
  327. elseif school_period = 7:
  328. school_period = 8
  329. if hour = 13 and minut < 15: minut += 15 - minut
  330. if week = 1: gt 'gschool_lessons4', 'pe'
  331. if week = 2: gt 'gschool_lessons2', 'music'
  332. if week = 3: gt 'gschool_lessons4', 'pe'
  333. if week = 4: gt 'gschool_lessons2', 'music'
  334. if week = 5: gt 'gschool_lessons4', 'pe'
  335. else
  336. school_period = 0
  337. gt 'gschool_grounds', 'main'
  338. end
  339. end
  340. if $ARGS[0] = 'grade_check':
  341. *clr & cla
  342. menu_off = 0
  343. class['grade_check_day'] = daystart
  344. '<center><b><font color="maroon">School Hallway</font></b></center>'
  345. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/grade_results<<rand(1,2)>>.jpg"></center>'
  346. if class['first_grade_check'] = 0:
  347. class['first_grade_check'] = 1
  348. '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.'
  349. else
  350. '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.'
  351. end
  352. *nl
  353. gs 'grades', 'assing_grade_description', 'school'
  354. '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'']>>)'
  355. *nl
  356. '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)'
  357. *nl
  358. gs 'grades', 'grade above', 'school', 90
  359. gs 'grades', 'grade above', 'school', 70
  360. gs 'grades', 'grade above', 'school', 50
  361. gs 'grades', 'grade above', 'school', 40
  362. if class['school_grades_above_90'] = 13:
  363. 'You''re getting top marks in all your classes. You''re one of the best, if not the best student in the entire school.'
  364. elseif class['school_grades_above_90'] > 6 and class['school_grades_above_40'] = 13:
  365. '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.'
  366. elseif class['school_grades_above_90'] > 6:
  367. '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.'
  368. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] = 13:
  369. '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.'
  370. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] > 10 and class['school_grades_above_40'] =13:
  371. '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.'
  372. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] > 10:
  373. '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.'
  374. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] = 13:
  375. '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.'
  376. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] > 10:
  377. '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.'
  378. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] > 6:
  379. '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.'
  380. elseif class['school_grades_above_90'] > 0:
  381. '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.'
  382. elseif class['school_grades_above_70'] = 13:
  383. '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.'
  384. elseif class['school_grades_above_70'] > 6 and class['school_grades_above_40'] =13:
  385. '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.'
  386. elseif class['school_grades_above_70'] > 6 and class['school_grades_above_40'] >10:
  387. '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.'
  388. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] = 13:
  389. '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.'
  390. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] >10:
  391. '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.'
  392. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] >6:
  393. '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.'
  394. elseif class['school_grades_above_70'] > 0:
  395. '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.'
  396. elseif class['school_grades_above_40'] = 13:
  397. '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.'
  398. elseif class['school_grades_above_40'] > 10:
  399. 'Your grades are terrible and you''re in danger of not graduating high school.'
  400. elseif class['school_grades_above_40'] > 6:
  401. '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.'
  402. else
  403. 'You''re failing high school and need to do something about it right now if you want to graduate.'
  404. end
  405. act 'Continue': gt 'gschool_lessons', 'morning'
  406. end
  407. --- gschool_lessons ---------------------------------