Browse Source

[fixed] Flawed logic in Luda's apartment resolved by sword

KevinSmarts 3 years ago
parent
commit
916493df5c
1 changed files with 3 additions and 4 deletions
  1. 3 4
      locations/ludahome.qsrc

+ 3 - 4
locations/ludahome.qsrc

@@ -81,7 +81,7 @@ if $ARGS[0] = 'home':
 				'He opens the door wide enough you can walk in. His arm holding the door is high enough you can walk under it, he is a tall and big man. You are reminded of that every time you meet him. Once you are inside he closes the door "They are in kitchen, I watching sports." With that he walks into the living room, presumably to go watch sports.'
 				act 'Enter': gt 'ludahome', 'hallway'
 			end
-		elseif rand(1,10) <= 3 and (week < 5 and hour >= 18 and hour <= 22) or (week > 5 and hour >= 8 and hour <= 22):
+		elseif rand(1,10) <= 3 and ((week < 5 and hour >= 18 and hour <= 22) or (week > 5 and hour >= 8 and hour <= 22)):
 			*clr & cla
 			'<center><img src="images/pc/npc_headshots/big30.jpg"></center>'
 			'You stand outside your aunts apartment, knocking on the door. The door is answered by Luda, as soon as she sees you she smiles "<<$pcs_nickname>> come in, come in." With that she invites you in and closes the door behind you.'
@@ -96,8 +96,7 @@ if $ARGS[0] = 'home':
 				act 'Go explore': gt 'ludahome', 'hallway'
 				act 'Watch TV': gt 'ludahome', 'watchtv'
 			end
-		end
-		if rand(4,10) <= 6 and (week < 5 and hour >= 18 and hour <= 22) or (week > 5 and hour >= 8 and hour <= 22):
+		elseif rand(1,7) <= 3 and ((week < 5 and hour >= 18 and hour <= 22) or (week > 5 and hour >= 8 and hour <= 22)):
 			*clr & cla
 			'<center><img src="images/pc/npc_headshots/big30.jpg"></center>'
 			'You stand outside your aunts apartment, knocking on the door. The door is answered by Luda, as soon as she sees you she smiles "<<$pcs_nickname>> come in, come in." With that she invites you in and closes the door behind you.'
@@ -108,7 +107,7 @@ if $ARGS[0] = 'home':
 				!! Temporary loc measure
 				act 'Sit down and chat': LudaLoc = 5 & gt 'ludahome', 'chat_luda'
 			end
-		elseif rand(7,10) <= 9 and (week < 5 and hour >= 18 and hour <= 22) or (week > 5 and hour >= 8 and hour <= 22):
+		elseif rand(1,4) <= 3 and ((week < 5 and hour >= 18 and hour <= 22) or (week > 5 and hour >= 8 and hour <= 22)):
 			*clr & cla
 			'<center><img src="images/pc/npc_headshots/big55.jpg"></center>'
 			if OluQW['sex'] = 1: