Browse Source

Merge branch 'master' of https://git.catrenelle.com/Kevin_Smarts/glife

Vengeance11 3 years ago
parent
commit
de0638a009
1 changed files with 6 additions and 5 deletions
  1. 6 5
      locations/hookup_after.qsrc

+ 6 - 5
locations/hookup_after.qsrc

@@ -6,20 +6,21 @@ if $ARGS[0] = 'exit':
 		gs 'underwear', 'wear'
 		gs 'stat'
 	end
-	if npc_QW > 0:gs'lover','add'
+	gs 'boyStat', $npclastgenerated
+	if npc_QW[$boy] > 0:gs'lover','add',$boy
 	killvar 'hookup'
 	minut += 2
 	!! exit should be based on type of apartment and location
-	if temp_location = 1 or npc_residence = 1:
+	if npc_residence[$boy] = 1:
 		!! Pav residential exit
 		gt 'pav_residential'
-	elseif temp_location = 2 or npc_residence = 2:
+	elseif npc_residence[$boy] = 2:
 		!! Student dorms exit
 		gt 'city_island'
-	elseif temp_location = 3 or npc_residence = 3:
+	elseif npc_residence[$boy] = 3:
 		!! St. Petersburg Residential exit
 		gt 'city_residential'
-	elseif temp_location = 4 or npc_residence = 4:
+	elseif npc_residence[$boy] = 4:
 		!! St. Petersburg City Center exit
 		gt 'city_center'
 	end