Browse Source

[fixed] wrong variables in pavaptcourtev and postdeliveries

julzor 5 years ago
parent
commit
d56b773829
2 changed files with 4 additions and 5 deletions
  1. 1 1
      locations/pavaptcourtev.qsrc
  2. 3 4
      locations/postdeliveries.qsrc

+ 1 - 1
locations/pavaptcourtev.qsrc

@@ -1421,7 +1421,7 @@ if $ARGS[0] = 'naked_aptcomplex':
 	'There are several older women sitting out front of your building. So you make your way around to the back of the complex near the garages, you stop a moment to peek around one of the buildings. Not seeing anyone, you dart from one building to the next, leaving just the small courtyard behind your building to cross. You peek around a building and see a few people there, you keep yourself hidden as you wait, finally they move off and you rush across the courtyard and into the back door of the apartment building.'
 	act 'Sneak upstairs':
 		*clr & cla
-		rand(1,10)
+		nakedrand = rand(1,10)
 		if nakedrand = 1: 
 			gt 'pavaptcourtev', 'two_boys'
 		elseif nakedrand = 2: 

+ 3 - 4
locations/postdeliveries.qsrc

@@ -603,8 +603,7 @@ if $ARGS[0] = '13':
 end
 
 if $ARGS[0] = '14':
-	cla
-	*clr
+	*clr & cla
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/vladimir/father.jpg"></center>'
 	'The next package is for... your stepfather? You didn''t know he ordered anything!'
@@ -615,7 +614,7 @@ if $ARGS[0] = '14':
 	''
 	act 'Tell her you forgot something':
 		cla
-		father += 5
+		npc_rel['A28'] += 5
 		gs 'stat'
 		'"I forgot my phone!" you shrug apologetically. "I was in the area anyway, and I thought I''d come pick it up quickly."'
 		'"Ah I see... you''re such a scatterbrain sometimes!" she smiles, and returns to the kitchen.'
@@ -625,7 +624,7 @@ if $ARGS[0] = '14':
 	end
 	act 'Tell her you''re delivering a package':
 		cla
-		father -= 5
+		npc_rel['A28'] -= 5
 		gs 'stat'
 		'"I am, <<$npc_nickname[''A29'']>>! I was just delivering a pac-" you say, but your stepfather quickly puts his hand over your mouth out of your mother''s view.'
 		'"S-uhh... She forgot her phone!" he says quickly. You hear your mother laugh from the hallway.'