Prechádzať zdrojové kódy

[fixed] family tweak/bugs

Anya 2 rokov pred
rodič
commit
d86ae5521b

+ 4 - 1
locations/family_schedule.qsrc

@@ -107,6 +107,9 @@ if sister_indorf = 0:
 				if anyaloc = 15:
 					anyaloc['athome'] = 1
 					anyaloc['inroom'] = 1
+				else
+					anyaloc['athome'] = 0
+					anyaloc['inroom'] = 0
 				end
 			end
 		else
@@ -502,7 +505,7 @@ if indorf = 0:
 			!!Reads paper in kitchen
 			sdadloc = 4
 			sdadloc['athome'] = 1
-		elseif hour < 8:
+		elseif hour = 8 and minut < 20:
 			!! Take shower
 			sdadloc = 11
 			sdadloc['athome'] = 1

+ 3 - 3
locations/sister_chat.qsrc

@@ -840,7 +840,7 @@ if $ARGS[0] = 'sister_chat':
 						minut += 5
 						temp = rand(1,14)
 						gs 'stat'
-						if temp <= 3 and npc_QW['A33'] = 10 and sisboytrio >= 1 and sisboyday ! daystart and sistrioday <= daystart and (week < 5 or week = 7):
+						if temp <= 3 and npc_QW['A33'] = 10 and sisboytrio >= 1 and sisboyday ! daystart and sistrioday <= daystart and (week < 4 or week = 7):
 							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/anya/home/sisboyqw_09.jpg"></center>'
 							sisboyday = daystart
 							if rand(0,3) = 1:
@@ -907,7 +907,7 @@ if $ARGS[0] = 'sister_chat':
 									act 'Finish': gt 'sister_chat', 'sister_chat'
 								end
 							end
-						elseif temp <= 3 and npc_QW['A33'] = 10 and sisterLesb >= 5 and sisboyday ! daystart and sistrioday <= daystart and sisterQW['roma3block'] = 0 and (week < 5 or week = 7):
+						elseif temp <= 3 and npc_QW['A33'] = 10 and sisterLesb >= 5 and sisboyday ! daystart and sistrioday <= daystart and sisterQW['roma3block'] = 0 and (week < 4 or week = 7):
 							'<center><h1><font color="maroon">Anya</font></h1></center>'
 							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/anya/home/sisboyqw_09.jpg"></center>'
 							sisboyday = daystart
@@ -960,7 +960,7 @@ if $ARGS[0] = 'sister_chat':
 								'You hug and kiss your sister.'
 								act 'Finish': gt 'sister_chat', 'sister_chat'
 							end
-						elseif temp <= 3 and sisboyday ! daystart and (week < 5 or week = 7):
+						elseif temp <= 3 and sisboyday ! daystart and (week < 4 or week = 7):
 							'<center><h1><font color="maroon">Anya</font></h1></center>'
 							if sisterQW['romatime'] = 0:
 								sisterQW['romatime'] = 1