Sfoglia il codice sorgente

[changed] trying to fix NPCs not registering for the event

hornguy6 2 anni fa
parent
commit
ea822db818
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      locations/pav_disco.qsrc

+ 3 - 2
locations/pav_disco.qsrc

@@ -633,6 +633,7 @@ if $ARGS[0] = 'dance_partner':
 	if sozboyrand > boynum:
 		gs 'npcgeneratec', 0, 'Stranger', rand((age - 1),(age + 1)), 1
 		gs 'boystat', $npclastgenerated
+		$hookupboy = $npclastgenerated
 		DaPaTipeRand = rand(0,100)
 
 		if DaPaTipeRand < 70:
@@ -781,7 +782,7 @@ if $ARGS[0] = 'hookup_aggressive':
 		'<center><img src="images/locations/pavlovsk/community/disco/outside_kiss.jpg"></center>'
 		'"That sounds nice," you say with a smile.'
 		'He leans in and gives you a quick, yet passionate kiss. "Great!" He grabs you by the arm and starts pulling you towards a nearby apartment complex, whispering obscenities in your ear along the way.'
-		gs 'npcpreservec', $npclastgenerated
+		gs 'npcpreservec', $hookupboy
 		gs 'arousal', 'kiss', 5
 		gs 'arousal', 'end'
 		gs 'stat'
@@ -834,7 +835,7 @@ if $ARGS[0] = 'hookup_nice':
 		'<<$npc_firstname[$boy]>> seems stunned by your straightforwardness, but eventually answers, "Yes!"'
 		'You lean in to kiss him passionately, and he returns the kiss just as enthusiastically.'
 		'"Great! Lead the way!" you say with a smile after breaking the kiss. The two of you hurry through the streets together to a nearby apartment complex.'
-		gs 'npcpreservec', $npclastgenerated
+		gs 'npcpreservec', $hookupboy
 		gs 'arousal', 'kiss', 5
 		gs 'arousal', 'end'
 		gs 'stat'