Przeglądaj źródła

remove colon after else

rachels 3 lat temu
rodzic
commit
335a08649d

+ 1 - 1
locations/Cheatmenu_din.qsrc

@@ -1445,7 +1445,7 @@ $cheatmenu['documents'] = {
 	if SchoolAtestat = 1:'Already have a School Certificate'
 	if func('uniutil', 'diploma', 'obtained'):
 		'You already have a Diploma'
-	else:
+	else
 		'<a href="exec:gs ''uniutil'', ''diploma'', ''set_obtained'' & dynamic $cheatmenu[''documents'']">Get Diploma</a>'
 	end
 	if secrdiplom = 0:'<a href="exec:secrdiplom = 1 & dynamic $cheatmenu[''documents'']">Get Secretarial Diploma</a>'

+ 2 - 2
locations/city_park.qsrc

@@ -402,7 +402,7 @@ if $ARGS[0] = 'luna':
 						'You are able to hit the target twice, but you miss eight times.'
 					elseif tirand >= 10:
 						'You are only able to hit one target and miss nine times.'
-					else:
+					else
 						'You can''t even hit one target.'
 					end
 
@@ -483,7 +483,7 @@ if $ARGS[0] = 'avtomat2':
 	elseif avtrand >= 75:
 		money += 5
 		'You win 5 <b>₽</b>.'
-	else:
+	else
 		'Unfortunately, you didn''t win anything this time.'
 	end
 

+ 1 - 1
locations/etoexhib.qsrc

@@ -788,7 +788,7 @@ if $ARGS[0] = 'pos19' or $ARGS[0] = '':
 							act 'Exit to Hall':gt 'etoexhib', 'pos19'
 						end
 					end
-				else:
+				else
 					'You are told that you cannot take the job without a diploma from an institute of higher education.'
 					gs 'uniutil', 'fake_diploma', 'set_aware_needed'
 				end

+ 3 - 3
locations/foto_shoot.qsrc

@@ -862,7 +862,7 @@ if $ARGS[0] = 'sportswear':
 		modelpayfin += 300
 		gs 'stat'
 		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/photo/fitness/FSM<<rand(1,4)>>.jpg"></center>'
-	else:
+	else
 		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/photo/fitness/FSV<<rand(1,4)>>.jpg"></center>'
 	end
 	*nl
@@ -891,7 +891,7 @@ if $ARGS[0] = 'sports_underwear':
 		modelpayfin += 325
 		gs 'stat'
 		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/photo/fitness/FUM<<rand(1,4)>>.jpg"></center>'
-	else:
+	else
 		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/photo/fitness/FUV<<rand(1,4)>>.jpg"></center>'
 	end
 	*nl
@@ -918,7 +918,7 @@ if $ARGS[0] = 'fitness_artistic_nude':
 		modelpayfin += 600
 		gs 'stat'
 		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/photo/fitness/FNM<<rand(1,4)>>.jpg"></center>'
-	else:
+	else
 		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/photo/fitness/FNV<<rand(1,4)>>.jpg"></center>'
 	end
 	*nl

+ 2 - 2
locations/gadforestlost.qsrc

@@ -544,14 +544,14 @@ if $ARGS[0] = 'rescue':
 			'They walk up to you and say, "Your grandparents are very worried about you. They asked us to keep an eye out for you. Follow us, you can stay at our camp for the time being until someone can take you back."'
             if $ARGS[2] = 'forest_outskirts':
                 act 'Continue': minut += 45 & gt 'hunter_interactions', 'meet_hunters_after_rescue'
-            else:
+            else
                 act 'Continue': minut += 30 & gt 'hunter_interactions', 'meet_hunters_after_rescue'
             end
 		else
 			'They walk up to you and say, "We heard there may have been a missing girl in the forest. Follow us, you can stay at our camp for the time being until someone can take you back."'
             if $ARGS[2] = 'forest_outskirts':
                 act 'Continue': minut += 45 & gt 'hunter_interactions', 'meet_hunters_after_rescue'
-            else:
+            else
                 act 'Continue': minut += 30 & gt 'hunter_interactions', 'meet_hunters_after_rescue'
             end
 		end

+ 1 - 1
locations/music_delparco.qsrc

@@ -27,7 +27,7 @@ end
 if $ARGS[0] = 'firstdiscussion':	
 	if (week + 2 <= 7): 
 		ml_answerdeadline = week + 2
-	else: 
+	else 
 		ml_answerdeadline = week - 5
 	end
 	

+ 1 - 1
locations/qwBarEncounters.qsrc

@@ -484,7 +484,7 @@ end
 	!			stopboy = 0
 	!			'<<$boydesc[i]>> takes your number and leaves.'
 	!
-	!else: !!! DOESN''T MAKE ANY SENSE HERE - SHOULD BE PLACED AT THE END OF EVENT, WHEN THE GUY ASKS FOR SVETA''S NUMBER !!!
+	!else !!! DOESN''T MAKE ANY SENSE HERE - SHOULD BE PLACED AT THE END OF EVENT, WHEN THE GUY ASKS FOR SVETA''S NUMBER !!!
 	!	'You ignore him, knowing that (if pcs_lover >= 3 - you already have three lovers and probably couldn''t handle more than that; elseif bfa = 1 - your boyfriend would probably go nuts if he found out).'
 
 

+ 1 - 1
locations/sister_party.qsrc

@@ -98,7 +98,7 @@ if $ARGS[0] = 'sister_drink':
 		'With her encouragement, you end up drinking more than you should.'
 		'Suddenly your head is severely spinning...'
 		act 'Pass out': gt 'dinParty', 'sleep'
-	else:
+	else
 		'You gladly drink more, sharing it with your sister.'
 		'Feeling buzzed, you are ready to plunge into the wild debauchery of the party.'
 		act 'Dance topless': gt 'sister_party', 'fun'

+ 1 - 1
locations/tatiana_missions.qsrc

@@ -325,7 +325,7 @@ if $ARGS[0] = 'mission2':
 			end
 			if pfilmNO = 1:
                 act 'Continue': AlexandriaQW = 3 & gt 'tatiana_lab', 'Tatiana'
-			else:
+			else
                 act 'Continue': gt 'tatiana_lab', 'Tatiana'
             end
 		end

+ 3 - 3
locations/unicoursework.qsrc

@@ -7,7 +7,7 @@ if $ARGS[0] = 'start':
 	if func('uniutil', 'student', 'enrolled') and func('uniutil', 'assignment_progress', 'is_not_finished'):
 		if $unicourseworkloc[0] = 'komp':
 			'You should probably do some of your <a href="exec:gt ''unicoursework'', ''do_coursework'', $unicourseworkloc[0], $unicourseworkloc[1]">coursework</a>.'
-		else:
+		else
 			act 'Do some coursework (1:00)':
 				gt 'unicoursework', 'do_coursework', $unicourseworkloc[0], $unicourseworkloc[1]
 			end
@@ -34,7 +34,7 @@ if $ARGS[0] = 'do_coursework':
     if $ARGS[1] = 'komp':
     	'<center><b>Coursework</b></center>'
     	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/kursak.jpg"></center>'
-    else:
+    else
     	'<center><img <<$set_imgh>> src="images/pc/activities/study.jpg"></center>'
     end
 
@@ -50,7 +50,7 @@ if $ARGS[0] = 'do_coursework':
     	'You work on your coursework and have now completed '+func('uniutil', 'assignment_progress', 'get')+' percent.'
     elseif $ARGS[1] = 'bedrPar':
     	'You sit down at your desk and do some of your coursework. You''ve finished '+func('uniutil', 'assignment_progress', 'get')+' percent of it.'
-    else:
+    else
     	'You sit for an hour and do some of your work for class. You''ve finished '+func('uniutil', 'assignment_progress', 'get')+' percent of the work.'
     end
 

+ 13 - 13
locations/uniutil.qsrc

@@ -101,7 +101,7 @@ if $ARGS[0] = 'transfer_legacy_vars':
 			gs 'uniutil', 'assignments_done', 'reset'
 			gs 'uniutil', 'semester_result', 'set_passed'
 			gs 'uniutil', 'passed_semesters', 'set', 0
-		else:
+		else
 			gs 'uniutil', 'semester', 'set', semestr
 			gs 'uniutil', 'attendance', 'set', lektor
 			gs 'uniutil', 'assignment_progress', 'set', kursovik
@@ -141,18 +141,18 @@ if $ARGS[0] = 'check_semester_vs_date':
 		elseif month <= uniexam_m:
 			!! the semester is still in progress
 			RESULT = 0
-		else:
+		else
 			!! expelled
 			RESULT = -1
 		end
-	else:
+	else
 		if unilect_sm > uniexam_m or month <= uniexam_m:
 			!! The semester is still in progress
 			RESULT = 0
 		elseif func('uniutil', 'semester_result', 'is_passed') and (uniexam_m > uniexam_mns or month <= uniexam_mns):
 			!! the semester was passed and the next one is not over
 			RESULT = 1
-		else:
+		else
 			!! expelled
 			RESULT = -1
 		end
@@ -181,7 +181,7 @@ if $ARGS[0] = 'student':
 				gs 'uniutil', 'semester', 'update_year'
 				gs 'uniutil', 'semester_result', 'reset'
 				gs 'uniutil', 'passed_semesters', 'update'
-			else:
+			else
 				!! date indicates semester is still in progress
 				gs 'uniutil', 'semester', 'update_year'
 			end
@@ -199,7 +199,7 @@ if $ARGS[0] = 'student':
 	if $ARGS[1] = 'enroll':
 		gs 'uniutil', 'prepclass', 'unenroll'
 		gs 'uniutil', 'student', 'set_status', 1
-		gs 'uniutil', 'semester', 'set' 1
+		gs 'uniutil', 'semester', 'set', 1
 		gs 'uniutil', 'semester', 'update_year'
 		gs 'uniutil', 'scholarship', 'reset'
 		gs 'uniutil', 'attendance', 'reset'
@@ -223,7 +223,7 @@ if $ARGS[0] = 'student':
 		elseif func('uniutil', 'check_semester_vs_date') < 0:
 			gs 'uniutil', 'student', 'unenroll'
 			gs 'uniutil', 'student', 'set_status', -2
-		else:
+		else
 			gs 'uniutil', 'student', 'unenroll'
 			gs 'uniutil', 'student', 'set_status', -3
 		end
@@ -441,7 +441,7 @@ if $ARGS[0] = 'lecture':
 			RESULT = 9
 		elseif ARGS[2] = 2:
 			RESULT = 2
-		else:
+		else
 			!! Set to impossible month if it is not semester 1 or 2
 			RESULT = 13
 		end
@@ -452,7 +452,7 @@ if $ARGS[0] = 'lecture':
 			RESULT = 11
 		elseif ARGS[2] = 2:
 			RESULT = 4
-		else:
+		else
 			!! Set to impossible month if it is not semester 1 or 2
 			RESULT = 0
 		end
@@ -464,7 +464,7 @@ if $ARGS[0] = 'lecture':
 		if unilect_sm <= unilect_em:
 			!! if semester is in one calendar year
 			RESULT = month >= unilect_sm and month <= unilect_em
-		else:
+		else
 			!! if semester continues through New Years
 			RESULT = month >= unilect_sm or month <= unilect_em
 		end
@@ -507,7 +507,7 @@ if $ARGS[0] = 'exam':
 			RESULT = 12
 		elseif ARGS[2] = 2:
 			RESULT = 5
-		else:
+		else
 			!! Set to impossible month if it is not semester 1 or 2
 			RESULT = 0
 		end
@@ -618,10 +618,10 @@ if $ARGS[0] =  'exam_outcome':
 	if $ARGS[1] = 'passed_honors':
 		gs 'uniutil', 'semester_result', 'set_passed'
 		gs 'uniutil', 'scholarship', 'set', func('uniutil', 'scholarship', 'honors_value')
-	elseif $ARGS[1] = 'passed'
+	elseif $ARGS[1] = 'passed':
 		gs 'uniutil', 'semester_result', 'set_passed'
 		gs 'uniutil', 'scholarship', 'reset'
-	else:
+	else
 		gs 'uniutil', 'semester_result', 'set_failed'
 		gs 'uniutil', 'scholarship', 'reset'
 	end

+ 7 - 7
locations/univer.qsrc

@@ -31,14 +31,14 @@ if $ARGS[0] = 'start':
 		elseif func('uniutil', 'semester_result', 'is_failed'):
 			gs 'uniutil', 'student', 'expel'
 			'You got expelled from the University.'
-		else:
+		else
 			'You are enrolled at the University.'
 		end
-	else:
+	else
 		if func('uniutil', 'prepclass', 'is_enrolled'):
 			'You''ve enrolled in the preparatory classes.'
-		else:
-			'You can take preparatory classes at the University on weekdays for '+func('uniutil', 'prepclass', 'cost')' <b>₽</b>.'
+		else
+			'You can take preparatory classes at the University on weekdays for '+func('uniutil', 'prepclass', 'cost')+' <b>₽</b>.'
 		end
 		'Admission examinations for the University are held in <b>'+func('uniutil', 'entrance_exam', 'print_month')+'</b>.'
 	end
@@ -65,7 +65,7 @@ if $ARGS[0] = 'start':
 						act 'Leave class':gt 'univer', 'start'
 					end
 				end
-			else:
+			else
 				if money >= func('uniutil', 'prepclass', 'cost'):
 					act 'Pay for the preparatory classes ('+func('uniutil', 'prepclass', 'cost')+' <b>₽</b>)':
 						cla
@@ -128,7 +128,7 @@ if $ARGS[0] = 'deans_office':
 
 	if func('uniutil', 'scholarship', 'is_active'):
 		'You are receiving a scholarship of '+func('uniutil', 'scholarship', 'get')+' <b>₽</b> per month from the University this semester because of how you did in the previous one.'
-	else:
+	else
 		'The University is known to award scholarships to students with exceptional performance.'
 	end
 
@@ -312,7 +312,7 @@ if $ARGS[0] = 'exam_room':
 		gs 'uniutil', 'exam_outcome', 'passed_honors'
 		'Despite missing a lot of classes, you still managed to complete all the assignments and somehow still managed to pass with honors.'
 
-	else if pcs_intel >= 100 and func('uniutil', 'attendance', 'is_ok') and func('uniutil', 'assignments_done', 'did_min_num'):
+	elseif pcs_intel >= 100 and func('uniutil', 'attendance', 'is_ok') and func('uniutil', 'assignments_done', 'did_min_num'):
 		gs 'uniutil', 'exam_outcome', 'passed_honors'
 		'You completed all your examinations, passing them with honors.'