Browse Source

[fixed] automatic npc location setting
[fixed] missing pictures? maybe?

hornguy6 1 năm trước cách đây
mục cha
commit
5d137ac0c7
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      locations/npcgeneratec.qsrc

+ 3 - 2
locations/npcgeneratec.qsrc

@@ -31,9 +31,9 @@ temp_location = ARGS[3]
 
 
 if temp_location = 0:
-	if $region = 'city_center' or $region = 'city' or $region = 'city' or $region = 'city_island' or $region = 'city_lake' or $region = 'city_park':
+	if $region = 'city':
 		temp_location = rand(3,4)
-	elseif $region = 'pav' or $region = 'pav_park' or $region = 'pav':
+	elseif $region = 'pav':
 		temp_location = 1
 	end
 end
@@ -106,6 +106,7 @@ if npctempgsex = 0:
 	npc_dick[$npclastgenerated] = npctempgn[5]
 	$npc_notes[$npclastgenerated] = 'A male.'
 	npc_bust[$npclastgenerated] = 0
+	lover_picrand[$npclastgenerated] = rand(1,30)
 elseif npctempgsex = 1:
 	! {Female}
 	gs 'npcrnamefile', 'rusFemale'