uni_admin.qsrc 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. # uni_admin
  2. !!This is the file containing the university administration office.
  3. !!It is important to include an option to enroll in university, and therefore set the variable regarding the choice of study.
  4. !!The following variables will be set in this file.
  5. !! university['prep_enrolled'] is set to 1 if the player enrolls in the university preparation program.
  6. !! university['student'] is set to 1 if the player enrolls in a university program.
  7. !! $university['enrolled_in'] is set to the name of the university program the player enrolls in. There is the following programs: teaching_studies
  8. !! university['enrolled_in_semester'] is set to the semester the player enrolls in starting at 1 for the first semester and ending with 8 for the last.
  9. if $ARGS[0] = 'start':
  10. $sexloc = 'uni_admin'
  11. $location_type = 'public_indoors'
  12. cla & *clr
  13. minut += 5
  14. $menu_loc = 'uni_admin'
  15. $menu_arg = 'start'
  16. $loc = 'uni_admin'
  17. $loc_arg = 'start'
  18. menu_off = 0
  19. gs 'stat'
  20. gs 'themes', 'indoors'
  21. '<center><b><font color="maroon">University Administration Building</font></b></center>'
  22. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/uni_admin.jpg"></center>'
  23. 'The main lobby is large with several pillars spread across the room. At each end of the room is a large set of stairs that go up to the next level, with several hallways branching off in all directions standing opposite you.'
  24. if university['diploma'] > 0:
  25. 'You have graduated from the university.'
  26. elseif university['expelled_for_missing_exam'] = 0 and university['expelled'] = 1:
  27. 'You''ve been expelled from the university for failing your exams.'
  28. elseif university['expelled_for_missing_exam'] = 1:
  29. 'You''ve been expelled from the university for skipping your exams.'
  30. elseif func('uniutil', 'student', 'expelled_for_other_reason'):
  31. 'You''ve been expelled from the university for reasons unrelated to your exam results.'
  32. elseif university['student'] = 0:
  33. if university['enrolled_in_semester'] = 0:
  34. 'The enrollment period for new students is from May to August. All new students will start their classes in the week that includes September 1st.'
  35. end
  36. if university['prep_enrolled'] = 1 and month = 8:
  37. 'You''ve enrolled in the preparatory classes.'
  38. elseif university['prep_enrolled'] = 1:
  39. 'You''ve enrolled in the preparatory classes. They will start in August.'
  40. else
  41. 'You can take preparatory classes at the university on weekdays for 15,000<b>₽</b>.'
  42. end
  43. 'Admission exams for the university are held in August.'
  44. end
  45. act 'Leave':
  46. minut += 2
  47. gt 'uni_grounds', 'main'
  48. end
  49. if university['prep_enrolled'] = 1 and university['entrance_exam_passed'] = 0 and month = 8:
  50. act 'Attend preparatory class (1:00)': gt 'uni_admin', 'take_prep'
  51. end
  52. !!if graduated school with good grade or
  53. if university['entrance_exam_passed'] = 0 and university['prep_enrolled'] = 1 and month = 8:
  54. act 'Take the entrance exam (1:00)': gt 'uni_admin', 'take_test'
  55. end
  56. if (university['entrance_exam_passed'] = 1 or university['prep_enrolled'] = 0) and university['student'] = 0 and university['diploma'] = 0 and age >= 17 and (mid($start_type,1,2) ! 'sg' or SchoolAtestat = 1) and month < 9 and month > 4 and university['exam_week'] = 0:
  57. act 'Enroll at the university': gt 'uni_admin', 'enrollment'
  58. end
  59. if university['enrolled_in_semester'] > 0 and university['enrolled_in_semester'] = university['semester_passed'] and university['semeter_passed'] < 8:
  60. act 'Register for your next semester': gt 'uni_admin', 'enrollment_semester'
  61. end
  62. !!the if below should only show up if Sveta tried to enroll and didn''t or couldn''t pay for the classes before
  63. if university['entrance_information'] = 1 and university['prep_enrolled'] = 0 and university['student'] = 0 and month < 9: gs 'uni_admin', 'prep_pay'
  64. end
  65. if $ARGS[0] = 'enrollment':
  66. $sexloc = 'uni_admin'
  67. cla & *clr
  68. minut += 15
  69. gs 'stat'
  70. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  71. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment1.jpg"></center>'
  72. 'You enter the enrollment office, where there are several desks with women working behind them and a fair number of people around your age waiting in a side room. You inform them that you wish to enroll at the university and they take your name down before asking you to take a seat in the waiting room until your name is called. You walk into the other room and nod at the other prospective students before taking a seat.'
  73. act 'Wait your turn':
  74. cla & *clr
  75. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  76. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
  77. 'You wait until until your name is called by one of the women, who leads you down a side hall to one of the offices. You take a seat and introduce yourself, and after a brief discussion the woman takes your information and enters it into the computer.'
  78. if class['school_grade_average'] >= 70 or university['entrance_exam_passed'] = 1:
  79. minut += 15
  80. 'She looks over your information and fills in some data. Several minutes later, she turns to you and smiles, telling you that you''re eligible to enroll at the university. She gives you a lot of paperwork and you spend some time filling it all out. Once done, she asks you to stand up so she can take your picture before telling you about the different degrees as she works on your ID card, giving you time to decide which one you want to choose.'
  81. act 'Teaching degree':
  82. cla
  83. 'You inform her you wish to acquire a teaching degree and she hands you a packet of information about the classes you will be attending and about dorm life. She then inquires if you will be signing up for any elective classes at this time.'
  84. act 'Not right now':
  85. cla
  86. 'You shake your head and tell her you don''t intend to sign up for any elective classes right now. She nods and makes a few more notes before handing over your finished paperwork, welcoming you to Saint Petersburg University. You get up and leave, looking forward to when you can come back and start your classes.'
  87. act 'Leave': gt 'uni_admin', 'start'
  88. end
  89. act 'Enroll':
  90. !!This sets the variables such that the player is enrolled in the first semester of the teaching program.
  91. university['prep_counter'] = 0
  92. university['prep_enrolled'] = 0
  93. university['student'] = 1
  94. $university['enrolled_in']= 'teaching_studies'
  95. university['enrolled_in_semester'] = 1
  96. gs 'homes_properties', 'give_access', 'university_dorm'
  97. !!This creates the classes for the first semester of the teaching program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  98. gs 'grades', 'createclass', 'uni_teaching_studies_semester_1', 'general education 101', 3, 2, 'no', 'no', 1, 12
  99. gs 'grades', 'createclass', 'uni_teaching_studies_semester_1', 'teaching methods 101', 3, 2, 'no', 'no', 1, 12
  100. gs 'grades', 'createclass', 'uni_teaching_studies_semester_1', 'learning theories 101', 3, 2, 'no', 'no', 1, 12
  101. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_1', 'general education 101', 35
  102. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_1', 'teaching methods 101', 35
  103. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_1', 'learning theories 101', 35
  104. cla
  105. 'You tell her you would like to pursue a teaching degree. She smiles and nods, then finishes filling out some more paperwork about the courses you can expect to take. She hands over your ID, along with all of your paperwork, stating that you''re officially enrolled as a student at Saint Petersburg University and reminding you that classes will start in the week that includes September 1st.'
  106. if (day - week) >= 27 and month = 8:
  107. university['semester_week'] = 1
  108. *nl
  109. 'She tells you that you''ve enrolled at the last minute, and that classes have already started.'
  110. end
  111. 'She informs you that the university offers several elective classes that can broaden your education.'
  112. act 'Select elective classes': gt 'uni_admin', 'select_electives'
  113. act 'Leave': gt 'uni_admin', 'start'
  114. end
  115. end
  116. act 'Nursing degree':
  117. cla
  118. 'You inform her you wish to acquire a nursing degree and she hands you a packet of information about the classes you will be attending and about dorm life. She then inquires if you will be signing up for any elective classes at this time.'
  119. act 'Not right now':
  120. cla
  121. 'You shake your head and tell her you don''t intend to sign up for any elective classes right now. She nods and makes a few more notes before handing over your finished paperwork, welcoming you to Saint Petersburg University. You get up and leave, looking forward to when you can come back and start your classes.'
  122. act 'Leave': gt 'uni_admin', 'start'
  123. end
  124. act 'Enroll':
  125. !!This sets the variables such that the player is enrolled in the first semester of the nursing program.
  126. university['prep_counter'] = 0
  127. university['prep_enrolled'] = 0
  128. university['student'] = 1
  129. $university['enrolled_in']= 'nursing'
  130. university['enrolled_in_semester'] = 1
  131. gs 'homes_properties', 'give_access', 'university_dorm'
  132. !!This creates the classes for the first semester of the nursing program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  133. gs 'grades', 'createclass', 'uni_nursing_semester_1', 'patient care 101', 3, 2, 'no', 'no', 1, 12
  134. gs 'grades', 'createclass', 'uni_nursing_semester_1', 'anatomy and physiology 101', 3, 2, 'no', 'no', 1, 12
  135. gs 'grades', 'createclass', 'uni_nursing_semester_1', 'examination and treatment 101', 3, 2, 'no', 'no', 1, 12
  136. gs 'grades', 'grade_award', 'uni_nursing_semester_1', 'patient care 101', 35
  137. gs 'grades', 'grade_award', 'uni_nursing_semester_1', 'anatomy and physiology 101', 35
  138. gs 'grades', 'grade_award', 'uni_nursing_semester_1', 'examination and treatment 101', 35
  139. cla
  140. 'You tell her you would like to pursue a nursing degree. She smiles and nods, then finishes filling out some more paperwork about the courses you can expect to take. She hands over your ID, along with all of your paperwork, stating that you''re officially enrolled as a student at Saint Petersburg University and reminding you that classes will start in the week that includes September 1st.'
  141. if (day - week) >= 27 and month = 8:
  142. university['semester_week'] = 1
  143. *nl
  144. 'She tells you that you''ve enrolled at the last minute, and that classes have already started.'
  145. end
  146. 'She informs you that the university offers several elective classes that can broaden your education.'
  147. act 'Select elective classes': gt 'uni_admin', 'select_electives'
  148. act 'Leave': gt 'uni_admin', 'start'
  149. end
  150. end
  151. else
  152. university['entrance_information'] = 1
  153. minut += 5
  154. 'She looks over the information and fills in some data. Several minutes later, she turns to you and frowns, telling you that you''re not eligible to enroll at the university since your grades from secondary school weren''t good enough. She informs you that with so many students applying, they can only take those with better grades, but you can still get in if you take the preparatory classes and pass them with a high enough grade.'
  155. 'The classes cost 15,000 <b>₽</b>.'
  156. if money < 15000 and karta < 15000:
  157. act 'You don''t have enough money':
  158. cla
  159. 'You tell her you can''t afford to pay for the classes and she nods in understanding, telling you to come back and sign up later if you get the money. You thank her for the information and leave.'
  160. act 'Leave': gt 'uni_admin', 'start'
  161. end
  162. else
  163. act 'You don''t want to sign up':
  164. cla
  165. 'You shake your head and thank her, telling her you will think about it. She smiles at you and tells you she understands before you leave.'
  166. act 'Leave class':gt 'uni_admin', 'start'
  167. end
  168. end
  169. gs 'uni_admin', 'prep_pay'
  170. end
  171. end
  172. end
  173. if $ARGS[0] = 'enrollment_semester':
  174. $sexloc = 'uni_admin'
  175. cla & *clr
  176. minut += 15
  177. gs 'stat'
  178. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  179. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment1.jpg"></center>'
  180. 'You enter the enrollment office, where there are several desks with women working behind them and a fair number of people around your age waiting in a side room. You inform them that you wish to register for your next semester.'
  181. act 'Wait your turn':
  182. cla & *clr
  183. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  184. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
  185. 'You wait until until your name is called by one of the women, who leads you down a side hall to one of the offices. You take a seat and introduce yourself, and after a brief discussion the woman takes your information and enters it into the computer.'
  186. if $university['enrolled_in']= 'teaching_studies':
  187. minut += 15
  188. 'She looks over your information and fills in some data. Several minutes later she turns to you and smiles, telling you that you since you passed your last semester you can register for the '+trim(MID(' first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth', (university['enrolled_in_semester']+1)*8,7))+' of the Teaching Studies Program. She gives you the paperwork and you spend some time filling it all out.'
  189. act 'Enroll':
  190. !!This sets the variables such that the player is enrolled in next semester of the teaching program.
  191. university['enrolled_in_semester'] += 1
  192. if university['enrolled_in_semester'] = 2:
  193. !!This creates the classes for the second semester of the teaching program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  194. gs 'grades', 'createclass', 'uni_teaching_studies_semester_2', 'general education 102', 3, 2, 'no', 'no', 1, 12
  195. gs 'grades', 'createclass', 'uni_teaching_studies_semester_2', 'teaching methods 102', 3, 2, 'no', 'no', 1, 12
  196. gs 'grades', 'createclass', 'uni_teaching_studies_semester_2', 'psychology of a student 101', 3, 2, 'no', 'no', 1, 12
  197. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_2', 'general education 102', (class['uni_teaching_studies_semester_1_general education 101_grade']/3+10)
  198. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_2', 'teaching methods 102', (class['uni_teaching_studies_semester_1_teaching methods 101_grade']/3+10)
  199. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_2', 'psychology of a student 101', 35
  200. elseif university['enrolled_in_semester'] = 3:
  201. !!This creates the classes for the third semester of the teaching program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  202. gs 'grades', 'createclass', 'uni_teaching_studies_semester_3', 'general education 201', 3, 2, 'no', 'no', 1, 12
  203. gs 'grades', 'createclass', 'uni_teaching_studies_semester_3', 'assessment 201', 3, 2, 'no', 'no', 1, 12
  204. gs 'grades', 'createclass', 'uni_teaching_studies_semester_3', 'learning theories 201', 3, 2, 'no', 'no', 1, 12
  205. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_3', 'general education 201', ((class['uni_teaching_studies_semester_1_general education 101_grade'] + class['uni_teaching_studies_semester_2_general education 102_grade'])/6+10)
  206. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_3', 'learning theories 201', (class['uni_teaching_studies_semester_1_learning theories 101_grade']/3+10)
  207. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_3', 'assessment 201', 35
  208. elseif university['enrolled_in_semester'] = 4:
  209. !!This creates the classes for the fourth semester of the teaching program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  210. gs 'grades', 'createclass', 'uni_teaching_studies_semester_4', 'general education 202', 3, 2, 'no', 'no', 1, 12
  211. gs 'grades', 'createclass', 'uni_teaching_studies_semester_4', 'learning theories 202', 3, 2, 'no', 'no', 1, 12
  212. gs 'grades', 'createclass', 'uni_teaching_studies_semester_4', 'psychology of a student 201', 3, 2, 'no', 'no', 1, 12
  213. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_4', 'general education 202', ((class['uni_teaching_studies_semester_1_general education 101_grade'] + class['uni_teaching_studies_semester_2_general education 102_grade'] + class['uni_teaching_studies_semester_3_general education 201_grade'])/9+10)
  214. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_4', 'learning theories 202', ((class['uni_teaching_studies_semester_1_learning theories 101_grade'] + class['uni_teaching_studies_semester_3_learning theories 201_grade'])/6+10)
  215. gs 'grades', 'grade_award', 'uni_teaching_studies_semester_4', 'psychology of a student 201', (class['uni_teaching_studies_semester_2_psychology of a student 101_grade']/3+10)
  216. end
  217. cla
  218. 'You tell her you would like to continue pursuing a teaching degree. She smiles and nods, then finishes filling out some more paperwork about the courses you can expect to take.'
  219. if (day - week) >= 27 and month = 8:
  220. university['semester_week'] = 1
  221. *nl
  222. 'She tells you that you''ve enrolled at the last minute, and that classes have already started.'
  223. end
  224. if university['enrolled_in_semester'] mod 2 = 1:
  225. act 'Leave without taking any electives': gt 'uni_admin', 'start'
  226. else
  227. act 'Leave': gt 'uni_admin', 'start'
  228. end
  229. end
  230. end
  231. if $university['enrolled_in']= 'nursing':
  232. minut += 15
  233. 'She looks over your information and fills in some data. Several minutes later she turns to you and smiles, telling you that you since you passed your last semester you can register for the '+trim(MID(' first, second, third, fourth, fifth, sixth, seventh, eighth, ninth, tenth', (university['enrolled_in_semester']+1)*8,7))+' of the Nursing Program. She gives you the paperwork and you spend some time filling it all out.'
  234. act 'Enroll':
  235. !!This sets the variables such that the player is enrolled in next semester of the nursing program.
  236. university['enrolled_in_semester'] += 1
  237. if university['enrolled_in_semester'] = 2:
  238. !!This creates the classes for the second semester of the nursing program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  239. gs 'grades', 'createclass', 'uni_nursing_semester_2', 'patient care 102', 3, 2, 'no', 'no', 1, 12
  240. gs 'grades', 'createclass', 'uni_nursing_semester_2', 'anatomy and physiology 102', 3, 2, 'no', 'no', 1, 12
  241. gs 'grades', 'createclass', 'uni_nursing_semester_2', 'examination and treatment 102', 3, 2, 'no', 'no', 1, 12
  242. gs 'grades', 'grade_award', 'uni_nursing_semester_2', 'patient care 102', (class['uni_nursing_semester_1_patient_care 101_grade']/3+10)
  243. gs 'grades', 'grade_award', 'uni_nursing_semester_2', 'anatomy and physiology 102', (class['uni_nursing_semester_1_anatomy_and_physiology 101_grade']/3+10)
  244. gs 'grades', 'grade_award', 'uni_nursing_semester_2', 'examination and treatment 102', (class['uni_nursing_semester_1_examination_and_treatment 101_grade']/3+10)
  245. elseif university['enrolled_in_semester'] = 3:
  246. !!This creates the classes for the third semester of the nursing program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  247. gs 'grades', 'createclass', 'uni_nursing_semester_3', 'patient care 201', 3, 2, 'no', 'no', 1, 12
  248. gs 'grades', 'createclass', 'uni_nursing_semester_3', 'anatomy and physiology 201', 3, 2, 'no', 'no', 1, 12
  249. gs 'grades', 'createclass', 'uni_nursing_semester_3', 'dosages and pharmaceuticals 101', 3, 2, 'no', 'no', 1, 12
  250. gs 'grades', 'grade_award', 'uni_nursing_semester_3', 'patient care 201', ((class['uni_nursing_semester_1_patient_care 101_grade'] + class['uni_nursing_semester_2_patient_care 102_grade'])/6+10)
  251. gs 'grades', 'grade_award', 'uni_nursing_semester_3', 'anatomy and physiology 201', ((class['uni_nursing_semester_1_anatomy_and_physiology 101_grade'] + class['uni_nursing_semester_2_anatomy_and_physiology 102_grade'])/6+10)
  252. gs 'grades', 'grade_award', 'uni_nursing_semester_3', 'dosages and pharmaceuticals 101', 35
  253. elseif university['enrolled_in_semester'] = 4:
  254. !!This creates the classes for the fourth semester of the nursing program to be used by the grade system, and gives the player a starting grade value (which is a failing grade, the player has to study if they want to pass)
  255. gs 'grades', 'createclass', 'uni_nursing_semester_4', 'patient care 202', 3, 2, 'no', 'no', 1, 12
  256. gs 'grades', 'createclass', 'uni_nursing_semester_4', 'anatomy and physiology 202', 3, 2, 'no', 'no', 1, 12
  257. gs 'grades', 'createclass', 'uni_nursing_semester_4', 'dosages and pharmaceuticals 102', 3, 2, 'no', 'no', 1, 12
  258. gs 'grades', 'grade_award', 'uni_nursing_semester_4', 'patient care 202', ((class['uni_nursing_semester_1_patient_care 101_grade'] + class['uni_nursing_semester_2_patient_care 102_grade'] + class['uni_nursing_semester_3_patient_care 201_grade'])/9+10)
  259. gs 'grades', 'grade_award', 'uni_nursing_semester_4', 'anatomy and physiology 202', ((class['uni_nursing_semester_1_anatomy_and_physiology 101_grade'] + class['uni_nursing_semester_2_anatomy_and_physiology 102_grade'] + class['uni_nursing_semester_3_anatomy_and_physiology 201_grade'])/9+10)
  260. gs 'grades', 'grade_award', 'uni_nursing_semester_4', 'dosages and pharmaceuticals 102', (class['uni_nursing_semester_3_dosages_and_pharmaceuticals 101_grade']/3+10)
  261. end
  262. cla
  263. 'You tell her you would like to continue pursuing a nursing degree. She smiles and nods, then finishes filling out some more paperwork about the courses you can expect to take.'
  264. if (day - week) >= 27 and month = 8:
  265. university['semester_week'] = 1
  266. *nl
  267. 'She tells you that you''ve enrolled at the last minute, and that classes have already started.'
  268. end
  269. if university['enrolled_in_semester'] mod 2 = 1:
  270. act 'Leave without taking any electives': gt 'uni_admin', 'start'
  271. else
  272. act 'Leave': gt 'uni_admin', 'start'
  273. end
  274. end
  275. end
  276. end
  277. end
  278. if $ARGS[0] = 'select_electives':
  279. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  280. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
  281. 'She gives you a list of all the current elective classes and asks if you would be interested in any of them.'
  282. if $university['elective_semester_1_1'] = '':
  283. act 'Read about the computer class':
  284. cla & *clr
  285. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  286. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
  287. 'You read about the computer class, which seems to be a basic class that teaches you how to use a computer, the functions of some of the more basic programs and how to troubleshoot the OS if something goes wrong. It seems like a fairly useful class.'
  288. act 'Enroll in the computer class':
  289. cla
  290. 'You decide to enrol in the computer class for the first and second semester of this year.'
  291. $university['elective_semester_1_1'] = 'Computers 101'
  292. $university['elective_semester_2_1'] = 'Computers 102'
  293. act 'Consider other elective classes': gt 'uni_admin', 'select_electives'
  294. end
  295. act 'Don''t enroll in the computer class': gt 'uni_admin', 'select_electives'
  296. end
  297. end
  298. if $university['elective_semester_1_2'] = '':
  299. act 'Read about the art class':
  300. cla & *clr
  301. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  302. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
  303. 'This class is about learning how to draw. It will start off with the basics before moving onto the more advanced art studies by the end of the second semester. It might be fun to take part in such a relaxed class.'
  304. act 'Enroll in the art class':
  305. cla
  306. 'You decide to enroll in the art class for the first and second semester of this year.'
  307. $university['elective_semester_1_2'] = 'Art 101'
  308. $university['elective_semester_2_2'] = 'Art 102'
  309. act 'Consider other elective classes': gt 'uni_admin', 'select_electives'
  310. end
  311. act 'Don''t enroll in the art class': gt 'uni_admin', 'select_electives'
  312. end
  313. end
  314. if $university['elective_semester_1_3'] = '':
  315. act 'Read about the psychology class':
  316. cla & *clr
  317. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  318. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
  319. 'This class is about learning psychology to better understand how and why people think they way they do. It will start off with the basics before moving onto the more advanced behavior studies by the end of the second semester. It might be fun to take part in such a relaxed class.'
  320. act 'Enroll in the psychology class':
  321. cla
  322. 'You decide to enroll in the psychology class for the first and second semester of this year.'
  323. $university['elective_semester_1_3'] = 'Psychology 101'
  324. $university['elective_semester_2_3'] = 'Psychology 102'
  325. act 'Consider other elective classes': gt 'uni_admin', 'select_electives'
  326. end
  327. act 'Don''t enroll in the psychology class': gt 'uni_admin', 'select_electives'
  328. end
  329. end
  330. act 'Don''t enroll in any more elective classes': gt 'uni_admin', 'start'
  331. end
  332. if $ARGS[0] = 'prep_pay':
  333. if money >= 15000:
  334. act 'Pay for the preparatory classes (15,000<b>₽</b>) (Cash)':
  335. cla & *clr
  336. minut += 10
  337. money -= 15000
  338. gs 'stat'
  339. university['prep_enrolled'] = 1
  340. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  341. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/payment.jpg"></center>'
  342. 'You pay 15,000<b>₽</b> for the preparatory classes. They are held every weekday until <b>21:00</b>.'
  343. act 'Leave':gt 'uni_admin', 'start'
  344. end
  345. end
  346. if karta >= 15000:
  347. act 'Pay for the preparatory classes (15,000<b>₽</b>) (Card)':
  348. cla & *clr
  349. minut += 10
  350. karta -= 15000
  351. gs 'stat'
  352. university['prep_enrolled'] = 1
  353. '<center><b><font color="maroon">Enrollment Office</font></b></center>'
  354. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/payment.jpg"></center>'
  355. 'You pay 15,000<b>₽</b> for the preparatory classes. They are held every weekday until <b>21:00</b>.'
  356. act 'Leave':gt 'uni_admin', 'start'
  357. end
  358. end
  359. end
  360. if $ARGS[0] = 'take_prep':
  361. $sexloc = 'uni_admin'
  362. cla & *clr
  363. minut += 60
  364. university['prep_counter'] += 1
  365. gs 'exp_gain', 'intel', 1 + (mentats_dose - rand(0,mentats_dose))
  366. gs 'stat'
  367. '<center><b><font color="maroon">Preparatory Class</font></b></center>'
  368. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/prepcourse1.jpg"></center>'
  369. 'You attend the preparatory class for an hour. You pay close attention to what is being said and take notes for the entrance examination later on.'
  370. act 'Leave class': gt 'uni_admin', 'start'
  371. end
  372. if $ARGS[0] = 'take_test':
  373. $sexloc = 'uni_admin'
  374. cla & *clr
  375. minut += 60
  376. gs 'exp_gain', 'intel', 1 + (mentats_dose - rand(0,mentats_dose))
  377. gs 'stat'
  378. '<center><b><font color="maroon">Entrance Exam</font></b></center>'
  379. '<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/prepcourse1.jpg"></center>'
  380. 'You enter the exam room and take your seat. A professor comes out and talks about the different parts of the exam you will be taking and what is required to pass. Once he''s finished, he passes out the papers and starts the clock. You have one hour to complete the test.'
  381. if pcs_intel +university['prep_counter'] >= 100:
  382. university['entrance_exam_passed'] = 1
  383. 'You completed the entrance examination and passed with a perfect score.'
  384. elseif pcs_intel + university['prep_counter'] >= 80:
  385. university['entrance_exam_passed'] = 1
  386. 'You completed the entrance examination and passed.'
  387. else
  388. university['entrance_exam_passed'] = -1
  389. 'You completed the entrance exam, but failed to pass.'
  390. end
  391. act 'Leave the exam room': gt 'uni_admin', 'start'
  392. end
  393. --- uni_admin ---------------------------------