فهرست منبع

[fixed] add back the code that updates the maksimQW var from 2 --> 3, 3 --> 4, and 4 --> 5. these were added in https://git.catrenelle.com/Kevin_Smarts/glife/commit/fddbe0465108a9e4147cddf9533f46d676f41959 and appear to have been inadvertently removed in https://git.catrenelle.com/Kevin_Smarts/glife/commit/a84df231ec310ed628ca12e04df9af696e9ce846 as without these the video game rematch event https://git.catrenelle.com/Kevin_Smarts/glife/src/master/locations/anushkachat.qsrc#L575 and maksim spying on the player in the shower event https://git.catrenelle.com/Kevin_Smarts/glife/src/master/locations/anushapt.qsrc#L364 can't be triggered. maksimQW >= X was used in the conditions here instead of maksimQW = X like in the original version to preserve the current behavior where the random events triggered when entering Maksim and Timofey's room can be triggered multiple times

Spackled Lanturn 3 سال پیش
والد
کامیت
9226fa70d8
1فایلهای تغییر یافته به همراه7 افزوده شده و 4 حذف شده
  1. 7 4
      locations/anushaptbr.qsrc

+ 7 - 4
locations/anushaptbr.qsrc

@@ -62,7 +62,7 @@ if $ARGS[0] = 'brotherroom':
 				end
 			end
 		end
-	elseif AnushkaLoc = 3 and (maksimQW = 1 or maksimQW = 2):
+	elseif AnushkaLoc = 3 and maksimQW >= 1:
 		if maksimQW = 1: maksimQW = 2
 		menu_off = 1
 		minut += 3
@@ -135,7 +135,8 @@ if $ARGS[0] = 'brotherroom':
 	elseif AnushkaLoc ! 3:
 		brotherroom = rand(1,6)
 		menu_off = 1
-		if brotherroom = 1:
+		if brotherroom = 1 and maksimQW >= 3:
+			if maksimQW = 3: maksimQW = 4
 			minut += 2
 			gs 'stat'
 			'You open the door and look in the brothers'' room. You see the boys sitting there talking about something. The older brother is maybe a 13 or 14, just at that age when boys start paying attention to girls. Her younger brother is about a year or two younger.'
@@ -180,8 +181,9 @@ if $ARGS[0] = 'brotherroom':
 					end	
 				end
 			end	
-		elseif brotherroom = 2:
+		elseif brotherroom = 2 and maksimQW >= 4:
 			gs 'stat'
+			if maksimQW = 4: maksimQW = 5
 			'You open the door and look in the brothers'' room. You see the two brothers fighting on the bed. They immediately stop as they see you.'
 			act 'What are you doing?':
 				*clr & cla
@@ -215,8 +217,9 @@ if $ARGS[0] = 'brotherroom':
 					end
 				end	
 			end
-		elseif brotherroom = 3 and maksimQW = 2:
+		elseif brotherroom = 3 and maksimQW >= 2:
 			gs 'stat'
+			if maksimQW = 2: maksimQW = 3
 			'You open the door and look in the brothers'' room. You see Maksim in there alone playing some first person shooter on the play station.'
 			act 'Ask where Timofey is':
 				*clr & cla