Przeglądaj źródła

[fixed] I can't do inequalities.

bgkjdgbizgblzdgbr 1 miesiąc temu
rodzic
commit
71fe0a23da
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6 6
      locations/uni_dorm.qsrc

+ 6 - 6
locations/uni_dorm.qsrc

@@ -169,7 +169,7 @@ if $ARGS[0] = 'second_floor':
 	*clr & cla
 	*clr & cla
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_hall.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_hall.jpg"></center>'
 	'Before you is the usual dorm hallway with the dilapidated walls of the second floor. You can hear music and loud talking from drunk students escaping from some rooms.'
 	'Before you is the usual dorm hallway with the dilapidated walls of the second floor. You can hear music and loud talking from drunk students escaping from some rooms.'
-	if totminut < uni_dorm['event_minut']:
+	if totminut > uni_dorm['event_minut']:
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 		else
 		else
@@ -250,7 +250,7 @@ if $ARGS[0] = 'second_floor':
 	if artemQW['knows_dorm_room_number'] > 0 and yearstart > 1:
 	if artemQW['knows_dorm_room_number'] > 0 and yearstart > 1:
 		act 'Artem''s room':
 		act 'Artem''s room':
 			*clr & cla 
 			*clr & cla 
-			if temp = artem: 
+			if locat['A2'] = 'dorm_room': 
 !!need code for when Artem is home
 !!need code for when Artem is home
 !!list of places he is at times
 !!list of places he is at times
 !!coffee hole week = 2 and nerd_game['fixed_uni_day'] = 0 and hour >= 18
 !!coffee hole week = 2 and nerd_game['fixed_uni_day'] = 0 and hour >= 18
@@ -290,7 +290,7 @@ if $ARGS[0] = 'sixth_floor':
 	*clr & cla
 	*clr & cla
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_hall.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_hall.jpg"></center>'
 	'Before you is the usual dorm hallway with the dilapidated walls of the sixth floor. You can hear music and loud talking from drunk students escaping from some rooms.'
 	'Before you is the usual dorm hallway with the dilapidated walls of the sixth floor. You can hear music and loud talking from drunk students escaping from some rooms.'
-	if totminut < uni_dorm['event_minut']:
+	if totminut > uni_dorm['event_minut']:
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 		else
 		else
@@ -363,7 +363,7 @@ if $ARGS[0] = 'seventh_floor':
 	*clr & cla
 	*clr & cla
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_hall.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/island/university/dorm/dorm_hall.jpg"></center>'
 	'Before you is the usual dorm hallway with the dilapidated walls of the seventh floor. You can hear music and loud talking from drunk students escaping from some rooms.'
 	'Before you is the usual dorm hallway with the dilapidated walls of the seventh floor. You can hear music and loud talking from drunk students escaping from some rooms.'
-	if totminut < uni_dorm['event_minut']:
+	if totminut > uni_dorm['event_minut']:
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 		else
 		else
@@ -487,7 +487,7 @@ if $ARGS[0] = 'eighth_floor':
 	else
 	else
 		'Before you is the usual dorm hallway with the dilapidated walls of the eighth floor. You can hear music you do notice the music sounds different, as in it is not the kind of music you are not as familiar with, their is also loud talking from some of the room. Most of it you can''t make out but sometimes when you can it is not in Russian.'
 		'Before you is the usual dorm hallway with the dilapidated walls of the eighth floor. You can hear music you do notice the music sounds different, as in it is not the kind of music you are not as familiar with, their is also loud talking from some of the room. Most of it you can''t make out but sometimes when you can it is not in Russian.'
 	end
 	end
-	if totminut < uni_dorm['event_minut']:
+	if totminut > uni_dorm['event_minut']:
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor8'
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor8'
 		else
 		else
@@ -706,7 +706,7 @@ if $ARGS[0] = 'tenth_floor':
 	else
 	else
 		'Before you is the usual dorm hallway with dilapidated walls. You can hear music and loud talking from drunk students escaping from some rooms.'
 		'Before you is the usual dorm hallway with dilapidated walls. You can hear music and loud talking from drunk students escaping from some rooms.'
 	end
 	end
-	if totminut < uni_dorm['event_minut']:
+	if totminut > uni_dorm['event_minut']:
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 		if hour > 2 and (week < 6 and hour < 15) or (week > 5 and hour < 11): 
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 			if rand(0,9) = 0: gt 'uni_dorm_events', 'dorm_floor'
 		else
 		else