1
0

gschool_lessons.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  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. '<center><b><font color="maroon">School Hallway</font></b></center>'
  41. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  42. '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 who you wave to.'
  43. gs 'gschool_gossip', 'morning'
  44. *nl
  45. gs 'gschool_lessons', 'uniform_check'
  46. gs 'gschool_schedule'
  47. act 'Go to first period': school_period = 0 & gt 'gschool_lessons', 'schedule'
  48. act 'Skip first period': school_period = 1 & gt 'gschool_lessons', 'skip'
  49. act 'Use water cooler': $breaktype = 'first' & gt 'gschool_break', 'watercooler'
  50. act 'Go to the girls restroom': $breaktype = 'first' & gt 'gschool_break', 'girls_restroom'
  51. act 'Go to the boys restroom': $breaktype = 'first' & gt 'gschool_break', 'boys_restroom'
  52. if week = 1 and class['grade_check_day'] ! daystart:
  53. act 'Check your grades': gt 'gschool_lessons', 'grade_check'
  54. end
  55. end
  56. else
  57. '<center><b><font color="maroon">School Hallway</font></b></center>'
  58. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  59. '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.'
  60. act 'Go to first period': school_period = 0 & gt 'gschool_lessons', 'schedule'
  61. act 'Skip first period': school_period = 1 & gt 'gschool_lessons', 'skip'
  62. end
  63. end
  64. if $ARGS[0] = 'uniform_check':
  65. if PCloInhibit <= 10:
  66. grupvalue[3] += 1
  67. grupvalue[5] += 1
  68. grupvalue[1] -= 1
  69. grupvalue[2] -= 1
  70. '<font color="blue">This uniform is very conservative.</font>'
  71. elseif PCloSkirt < 5 and PCloThinness < 5 and PCloBra = 0:
  72. if PCloQuality >= 4:
  73. grupvalue[1] += 1
  74. grupvalue[2] += 1
  75. '<font color="blue">This uniform complies with the regulations and is of good quality.</font>'
  76. else
  77. '<font color="blue">This uniform complies with the school regulations on skirt length.</font>'
  78. end
  79. elseif PCloSkirt = 5 and PCloThinness < 5 and PCloBra = 0:
  80. if PCloQuality >= 4:
  81. grupvalue[1] += 1
  82. grupvalue[2] += 1
  83. grupvalue[4] += 1
  84. '<font color="blue">This uniform slightly breaches the school regulations on skirt length and is of good quality.</font>'
  85. else
  86. grupvalue[4] += 1
  87. '<font color="blue">This uniform slightly breaches the school regulations on skirt length.</font>'
  88. end
  89. else
  90. grupvalue[1] -= 1
  91. grupvalue[2] -= 1
  92. grupvalue[3] -= 1
  93. grupvalue[5] -= 1
  94. demerit += 5
  95. gs 'fame', 'pav', 'sex', 1
  96. '<font color="red">This uniform makes a mockery of the school uniform regulations.</font>'
  97. end
  98. end
  99. if $ARGS[0] = 'short_break':
  100. killvar '$breaktype'
  101. killvar '$locclass'
  102. menu_off = 1
  103. gs 'stat'
  104. if school_period = 1:
  105. if hour = 6:
  106. minut += 165-minut
  107. elseif hour = 7:
  108. minut += 105-minut
  109. elseif hour = 8 and minut < 45:
  110. minut += 45-minut
  111. elseif hour = 8 and minut < 50:
  112. 'Time to go to your next class.'
  113. else
  114. school_period = 2
  115. gt 'gschool_lessons', 'short_break'
  116. end
  117. elseif school_period = 2:
  118. if hour = 8:
  119. minut += 95-minut
  120. elseif hour = 9 and minut < 35:
  121. minut += 35-minut
  122. elseif hour = 9 and minut < 55:
  123. 'Time to go to your next class.'
  124. else
  125. school_period = 4
  126. gt 'gschool_lessons', 'short_break'
  127. end
  128. elseif school_period = 3:
  129. if $ARGS[1] = '':
  130. if hour = 9 and minut < 55:
  131. minut += 55-minut
  132. 'Time to go to your next class.'
  133. else
  134. school_period = 4
  135. gt 'gschool_lessons', 'short_break'
  136. end
  137. else
  138. if hour = 9 and minut < 46:
  139. minut += 46-minut
  140. end
  141. end
  142. elseif school_period = 4:
  143. if hour = 9:
  144. minut += 100-minut
  145. elseif hour = 10 and minut < 40:
  146. minut += 40-minut
  147. elseif hour = 10 and minut < 45:
  148. 'Time to go to your next class.'
  149. else
  150. school_period = 5
  151. gt 'gschool_lessons', 'short_break'
  152. end
  153. elseif school_period = 5:
  154. if hour = 10:
  155. minut += 90-minut
  156. elseif hour = 11 and minut < 30:
  157. minut += 30-minut
  158. elseif hour = 12 and minut < 25 and minut > 20:
  159. school_period = 6
  160. gt 'gschool_lessons', 'short_break'
  161. elseif (hour = 12 and minut > 25 ) or hour > 12:
  162. school_period = 6
  163. gt 'gschool_lessons', 'short_break'
  164. end
  165. if NikoVolkovQW = 10 and NikoEv = 12: school_lunch = 1 & school_period = 6 & gt 'NikoDreams', 'Classroom Dream'
  166. elseif school_period = 6:
  167. if $ARGS[1] = '':
  168. if hour = 10:
  169. minut += 145-minut
  170. elseif hour = 11:
  171. minut += 85-minut
  172. elseif hour = 12 and minut < 25:
  173. minut += 25-minut
  174. else
  175. school_period = 7
  176. gt 'gschool_lessons', 'short_break'
  177. end
  178. end
  179. elseif school_period = 7:
  180. if hour = 11:
  181. minut += 130-minut
  182. elseif hour = 12:
  183. minut += 70-minut
  184. elseif hour = 13 and minut < 10:
  185. minut += 10-minut
  186. elseif hour = 13 and minut < 15:
  187. 'Time to go to your next class.'
  188. else
  189. school_period = 8
  190. gt 'gschool_lessons', 'short_break'
  191. end
  192. elseif school_period = 8:
  193. if hour = 13: minut += 60-minut
  194. end
  195. gs 'stat'
  196. if school_period = 2:
  197. if $ARGS[1] ! 'nopict':
  198. '<center><b><font color="maroon">School Hallway</font></b></center>'
  199. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  200. nl
  201. gs 'gschool_schedule'
  202. end
  203. act 'Time for morning break': gt 'gschool_lessons', 'schedule'
  204. elseif school_period = 5:
  205. if $ARGS[1] ! 'nopict':
  206. '<center><b><font color="maroon">School Hallway</font></b></center>'
  207. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  208. nl
  209. gs 'gschool_schedule'
  210. end
  211. act 'Time for lunch break': gt 'gschool_lessons', 'schedule'
  212. elseif (school_period < 8):
  213. if $ARGS[1] ! 'nopict':
  214. '<center><b><font color="maroon">School Hallway</font></b></center>'
  215. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  216. gs 'gschool_gossip', 'gossip'
  217. nl
  218. gs 'gschool_schedule'
  219. end
  220. if christinaphotos > 4: gt 'gschool_events', 'christinaphotos'
  221. act 'Go to next class': gt 'gschool_lessons', 'schedule'
  222. act 'Skip next class': school_period += 1 & gt 'gschool_lessons', 'skip'
  223. if cheerleadingQW['skipped_ev'] + cheerleadingQW['skipped_g_ev'] > 0:
  224. gs 'gschool_cheerleading', 'skipped_ev'
  225. act 'Continue down the hall': gt 'gschool_lessons', 'short_break'
  226. elseif grupTipe = 3 and nerd_game['invite_day'] < daystart - week:
  227. gt 'nerd_game_night', 'invite', 'short_break'
  228. end
  229. elseif Kuznetsov_punishment = 1:
  230. '<center><b><font color="maroon">School Hallway</font></b></center>'
  231. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/gschool_hall0<<Rand(0,2)>>.jpg"></center>'
  232. act 'Go to Kuznetsov''s classroom': gt 'gschool_lessonsev2','shop_punishment'
  233. act 'Leave the school': gt 'gschool_lessons', 'schedule'
  234. else
  235. gt 'gschool_lessons', 'schedule'
  236. end
  237. end
  238. if $ARGS[0] = 'skip':
  239. *clr & cla
  240. $menu_loc = 'gschool_lessons'
  241. $menu_arg = 'skip'
  242. $location_type = 'public_indoors'
  243. menu_off = 0
  244. killvar '$breaktype'
  245. gs 'stat'
  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. '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.'
  249. act 'Go to girl''s bathroom': missing_class += 1 & gt 'gschool_girls_bathroom', 'start'
  250. act 'Go to boy''s bathroom': missing_class += 1 & gt 'gschool_boys_bathroom', 'start'
  251. !! act 'Go to old school building': gt
  252. end
  253. if $ARGS[0] = 'schedule':
  254. killvar '$breaktype'
  255. gs 'stat'
  256. if school_period = 0:
  257. school_period = 1
  258. if hour >= 8:
  259. if week = 1: gt 'gschool_lessons4', 'math_late'
  260. if week = 2: gt 'gschool_lessons3', 'literature_late'
  261. if week = 3: gt 'gschool_lessons4', 'math_late'
  262. if week = 4: gt 'gschool_lessons3', 'literature_late'
  263. if week = 5: gt 'gschool_lessons4', 'math_late'
  264. else
  265. if hour = 7: minut += 60 - minut
  266. if hour = 6: minut += 120 - minut
  267. if week = 1: gt 'gschool_lessons4', 'math'
  268. if week = 2: gt 'gschool_lessons3', 'literature'
  269. if week = 3: gt 'gschool_lessons4', 'math'
  270. if week = 4: gt 'gschool_lessons3', 'literature'
  271. if week = 5: gt 'gschool_lessons4', 'math'
  272. end
  273. elseif school_period = 1:
  274. school_period = 2
  275. if hour = 8 and minut < 50: minut += 50 - minut
  276. if week = 1: gt 'gschool_lessons1', 'russian'
  277. if week = 2: gt 'gschool_lessons1', 'geography'
  278. if week = 3: gt 'gschool_lessons1', 'russian'
  279. if week = 4: gt 'gschool_lessons1', 'geography'
  280. if week = 5: gt 'gschool_lessons1', 'russian'
  281. elseif school_period = 2:
  282. school_period = 3
  283. gt 'gschool_lunch', 'break'
  284. elseif school_period = 3:
  285. school_period = 4
  286. if hour = 9 and minut < 55: minut += 55 - minut
  287. if week = 1: gt 'gschool_lessons4', 'english'
  288. if week = 2: gt 'gschool_lessons2', 'science'
  289. if week = 3: gt 'gschool_lessons2', 'biology'
  290. if week = 4: gt 'gschool_lessons2', 'science'
  291. if week = 5: gt 'gschool_lessons4', 'english'
  292. elseif school_period = 4:
  293. school_period = 5
  294. if hour = 10 and minut < 45: minut += 45 - minut
  295. if week = 1: gt 'gschool_lessons3', 'art'
  296. if week = 2: gt 'gschool_lessons3', 'shop'
  297. if week = 3: gt 'gschool_lessons1', 'history'
  298. if week = 4: gt 'gschool_lessons3', 'shop'
  299. if week = 5: gt 'gschool_lessons3', 'art'
  300. elseif school_period = 5:
  301. school_period = 6
  302. gt 'gschool_lunch', 'lunch'
  303. elseif school_period = 6:
  304. school_period = 7
  305. if hour = 12 and minut < 25: minut += 25 - minut
  306. if week = 1: gt 'gschool_lessons2', 'biology'
  307. if week = 2: gt 'gschool_lessons2', 'computer'
  308. if week = 3: gt 'gschool_lessons2', 'computer'
  309. if week = 4: gt 'gschool_lessons2', 'computer'
  310. if week = 5: gt 'gschool_lessons1', 'history'
  311. elseif school_period = 7:
  312. school_period = 8
  313. if hour = 13 and minut < 15: minut += 15 - minut
  314. if week = 1: gt 'gschool_lessons4', 'pe'
  315. if week = 2: gt 'gschool_lessons2', 'music'
  316. if week = 3: gt 'gschool_lessons4', 'pe'
  317. if week = 4: gt 'gschool_lessons2', 'music'
  318. if week = 5: gt 'gschool_lessons4', 'pe'
  319. else
  320. school_period = 0
  321. gt 'gschool_grounds', 'main'
  322. end
  323. end
  324. if $ARGS[0] = 'grade_check':
  325. *clr & cla
  326. menu_off = 0
  327. class['grade_check_day'] = daystart
  328. '<center><b><font color="maroon">School Hallway</font></b></center>'
  329. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/school/building/grade_results<<rand(1,2)>>.jpg"></center>'
  330. if class['first_grade_check'] = 0:
  331. class['first_grade_check'] = 1
  332. '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.'
  333. else
  334. '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.'
  335. end
  336. *nl
  337. gs 'grades', 'assing_grade_description', 'school'
  338. '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'']>>)'
  339. *nl
  340. '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)'
  341. *nl
  342. gs 'grades', 'grade above', 'school', 90
  343. gs 'grades', 'grade above', 'school', 70
  344. gs 'grades', 'grade above', 'school', 50
  345. gs 'grades', 'grade above', 'school', 40
  346. if class['school_grades_above_90'] = 13:
  347. 'You''re getting top marks in all your classes. You''re one of the best, if not the best student in the entire school.'
  348. elseif class['school_grades_above_90'] > 6 and class['school_grades_above_40'] = 13:
  349. '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.'
  350. elseif class['school_grades_above_90'] > 6:
  351. '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.'
  352. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] = 13:
  353. '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.'
  354. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] > 10 and class['school_grades_above_40'] =13:
  355. '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.'
  356. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_70'] > 10:
  357. '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.'
  358. elseif class['school_grades_above_90'] > 0 and class['school_grades_above_40'] > 6:
  359. '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.'
  360. elseif class['school_grades_above_90'] > 0:
  361. '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.'
  362. elseif class['school_grades_above_70'] = 13:
  363. '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.'
  364. elseif class['school_grades_above_70'] > 6 and class['school_grades_above_40'] =13:
  365. '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.'
  366. elseif class['school_grades_above_70'] > 6 and class['school_grades_above_40'] >10:
  367. '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.'
  368. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] = 13:
  369. '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.'
  370. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] >10:
  371. '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.'
  372. elseif class['school_grades_above_70'] > 0 and class['school_grades_above_40'] >6:
  373. '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.'
  374. elseif class['school_grades_above_70'] > 0:
  375. '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.'
  376. elseif class['school_grades_above_40'] = 13:
  377. '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.'
  378. elseif class['school_grades_above_40'] > 10:
  379. 'Your grades are terrible and you''re in danger of not graduating high school.'
  380. elseif class['school_grades_above_40'] > 6:
  381. '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.'
  382. else
  383. 'You''re failing high school and need to do something about it right now if you want to graduate.'
  384. end
  385. act 'Continue': gt 'gschool_lessons', 'morning'
  386. end
  387. --- gschool_lessons ---------------------------------