Explorar o código

[fixed] Anya chats not on the schedule causing weirdness

KevinSmarts %!s(int64=4) %!d(string=hai) anos
pai
achega
19509f604e
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      locations/sister_chat.qsrc

+ 3 - 3
locations/sister_chat.qsrc

@@ -180,7 +180,7 @@ if $ARGS[0] = 'sister_chat':
 
 	!Anya will only invite Sveta from Tuesday to Thursday, daystart part blocks her from asking again
 	!! This needs a few extra triggers as Anya shouldn''t be trying to outright corrupt Sveta
-	if hour > 6 and hour < 24:
+	if anyaloc ! 1:
 		!! If you are visibly pregnant:
 		if npc_pregtalk['A33'] = 0 and func('body_din','pregnancyVisibility') = 1 and $loc = 'bedrPar':
 			npc_pregtalk['A33'] = 1
@@ -463,14 +463,14 @@ if $ARGS[0] = 'sister_chat':
 			act 'Move away': gt $loc, $loc_arg
 			exit
 		!! Anya is about to head to work
-		elseif hour = 8 and week < 6 and $loc = 'bedrPar':
+		elseif anyaloc = 4 and $loc = 'bedrPar':
 			*clr & cla
 			'<center><h1><font color="maroon">Anya</font></h1></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/anya/sobir.jpg"></center>'
 			'Your sister is busy getting ready for work.'
 			'Anya, without even turning around, says, "<<$pcs_nickname>>, no time to talk, I''m already late!"'
 			act 'Move away': gt $loc, $loc_arg
-		elseif hour = 7 and minut > 30 and $loc ! 'bedrPar':
+		elseif anyaloc = 2 and $loc ! 'bedrPar':
 			*clr & cla
 			'<center><h1><font color="maroon">Anya</font></h1></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/anya/home/sister_chat_kitchen1.jpg"></center>'