Selaa lähdekoodia

Merge remote-tracking branch 'Vengeance_11/master'

Kevin_Smarts 11 kuukautta sitten
vanhempi
säilyke
c134e08d00
1 muutettua tiedostoa jossa 49 lisäystä ja 13 poistoa
  1. 49 13
      locations/uni_admin.qsrc

+ 49 - 13
locations/uni_admin.qsrc

@@ -1,12 +1,12 @@
 # uni_admin
 
-!!This is the file containing the university administartion office.
+!!This is the file containing the university administration office.
 !!It is important to include an option to enroll in university, and therefore set the variable regarding the choice of study.
 
 !!The following variables will be set in this file.
 !! university['prep_enrolled'] is set to 1 if the player enrolls in the university preparation program. 
 !! university['student'] is set to 1 if the player enrolls in a university program.
-!! $university['enrolled_in'] is set to the name of the university program the player enrols in. There is the following progams: teaching_studies
+!! $university['enrolled_in'] is set to the name of the university program the player enrolls in. There is the following programs: teaching_studies
 !! 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.
 
 
@@ -76,7 +76,7 @@ if $ARGS[0] = 'enrollment':
 	gs 'stat'
 	'<center><b><font color="maroon">Enrollment Office</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment1.jpg"></center>'
-	'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 enrol at the university. They take down your name and ask you to wait 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.'
+	'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. They take down your name and ask you to wait 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.'
 	act 'Wait your turn':
 		cla & *clr
 		'<center><b><font color="maroon">Enrollment office</font></b></center>'
@@ -84,7 +84,7 @@ if $ARGS[0] = 'enrollment':
 		'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.'
 		if class['school_grade_average'] >= 70 or university['entrance_exam_passed'] = 1:
 			minut += 15
-			'She looks over your information, including that the classes for all new students will start in the week that includes September 1st, and fills in some data. Several minutes later, she turns to you and smiles, telling you that you are eligible to enrol 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. As she works on your university ID card she tells you about the different degrees, giving you time to decide which one you want to choose.'
+			'She looks over your information, including that the classes for all new students will start in the week that includes September 1st, and fills in some data. Several minutes later, she turns to you and smiles, telling you that you are 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. As she works on your university ID card she tells you about the different degrees, giving you time to decide which one you want to choose.'
 			act 'Teaching degree':
 				cla
 				'You inform her you wish to acquire a teaching degree. 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.'
@@ -93,7 +93,7 @@ if $ARGS[0] = 'enrollment':
 					'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.'
 					act 'Leave':gt 'uni_admin', 'start'
 				end
-				act 'Enrol':
+				act 'Enroll':
 					!!This sets the variables such that the player is enrolled in the first semester of the teaching program.
 					university['prep_counter'] = 0
 					university['prep_enrolled'] = 0
@@ -117,15 +117,15 @@ if $ARGS[0] = 'enrollment':
 						*nl
 						'She tells you that you enrolled at the last minute, and the classes have already started this week.'
 					end
+					'She informs you that the University offers several elective classes, that will broaden your education.'
+					act 'Select elective classes': gt 'uni_admin', 'select_electives'
 					act 'Leave':gt 'uni_admin', 'start'
-                    !!Once we have the framework working, I will start working on some elective classes and add them here.
-					!!act 'Take some elective classes':
 				end
 			end
 		else
 			university['entrance_information'] = 1
 			minut += 5
-			'She looks over the information, filling in some data. Several minutes later she turns to you and frowns, telling you that you''re not eligible to enrol at the university at this time. Your grades from secondary school were not 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. You do have to pay for them though.'
+			'She looks over the information, filling in some data. Several minutes later she turns to you and frowns, telling you that you''re not eligible to enroll at the university at this time. Your grades from secondary school were not 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. You do have to pay for them though.'
 			act 'You don''t want to sign up':
 				cla
 				'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.'
@@ -157,7 +157,7 @@ if $ARGS[0] = 'enrollment_semester':
 		if $university['enrolled_in']= 'teaching_studies':
 			minut += 15
 			'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 in 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.'
-			act 'Enrol':
+			act 'Enroll':
 				!!This sets the variables such that the player is enrolled in next semester of the teaching program.
 				university['enrolled_in_semester'] += 1
 				if university['enrolled_in_semester'] = 2:
@@ -192,14 +192,50 @@ if $ARGS[0] = 'enrollment_semester':
 					*nl
 					'She tells you that you enrolled at the last minute, and the classes have already started this week.'
 				end
-				act 'Leave':gt 'uni_admin', 'start'
-                    !!Once we have the framework working, I will start working on some elective classes and add them here.
-					!!act 'Take some elective classes':
-			end
+				act 'Leave with out taking any electives': gt 'uni_admin', 'start'
+ 			end
 		end
 	end
 end
 
+if $ARGS[0] = 'select_electives':
+	'<center><b><font color="maroon">Enrollment office</font></b></center>'
+	'<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
+	'She gives you a paper showing all the current elective classes. Asking if you would be interested in any of them.'
+	if $university['elective_semester_1_1'] = '':
+		act 'Read about Computer class elective':
+			cla & *clr
+			'<center><b><font color="maroon">Enrollment office</font></b></center>'
+			'<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
+			'You read about the computer class, it seems to be a basic class that teaches you how to use a computer. Some of the more basic common programs, how to trouble shoot the OS if something goes wrong, all and all it seems like a fairly useful class with how much computers are involved in every day life.'
+			act 'Enroll in Computers 101 and 102':
+				cla
+				'You decide to enroll in Computers 101 and 102, for the first and second semester of this year.'
+				$university['elective_semester_1_1'] = 'Computers 101'
+				$university['elective_semester_2_1'] = 'Computers 102'
+				act 'Consider other elective classes': gt 'uni_admin', 'select_electives'
+			end
+		end
+		act 'Don''t enroll in Computer elective right now': gt 'uni_admin', 'select_electives'
+	end
+	if $university['elective_semester_1_2'] = '':
+		act 'Read about Art class elective':
+			cla & *clr
+			'<center><b><font color="maroon">Enrollment office</font></b></center>'
+			'<center><img <<$set_imgh>> src="images/locations/city/island/university/admin/enrollment2.jpg"></center>'
+			'The class is about learning how to draw, it will start off with the basics and move onto the more advance art studies by the end of the second semester. It might be fun to just take a class for the fun of it.'
+			act 'Enroll in Art 101 and 102':
+				cla
+				'You decide to enroll in Art 101 and 102, for the first and second semester of this year.'
+				$university['elective_semester_1_2'] = 'Art 101'
+				$university['elective_semester_2_2'] = 'Art 102'
+				act 'Consider other elective classes': gt 'uni_admin', 'select_electives'
+			end
+		end
+		act 'Don''t enroll in Art elective right now': gt 'uni_admin', 'select_electives'
+	end
+	act 'Don''t enroll in anymore elective classes': gt 'uni_admin', 'start'
+end
 
 if $ARGS[0] = 'prep_pay':
 	if money >= 15000: