1
0
Prechádzať zdrojové kódy

[added] updated variables for a generated npc's sex preferences

hornguy6 2 rokov pred
rodič
commit
497e993da3
1 zmenil súbory, kde vykonal 53 pridanie a 30 odobranie
  1. 53 30
      locations/npcgeneratec.qsrc

+ 53 - 30
locations/npcgeneratec.qsrc

@@ -218,9 +218,11 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 	elseif npc_finance[$npclastgenerated] = 1:
 		npc_apt_type[$npclastgenerated] = rand(2,5)
 		npc_occupation[$npclastgenerated] = rand(7,15)
+		npc_car[$npclastgenerated] = rand(-3,1)
 	elseif npc_finance[$npclastgenerated] = 2:
 		npc_apt_type[$npclastgenerated] = rand(5,6)
 		npc_occupation[$npclastgenerated] = rand(14,18)
+		npc_car[$npclastgenerated] = rand(0,1)
 	end
 	
 	
@@ -310,42 +312,63 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 		$npc_apt_hall[$npclastgenerated] = '<center><img <<$set_imgh>> src="images/shared/romance/lovers/homes/studio/<<npc_apt_number[$npclastgenerated]>>/living.jpg"></center>'
 	end
 	
-!	if npc_occupation = 1: $npc_occupation = cashier at supermarket
-!	if npc_occupation = 2: $npc_occupation = cashier at liquor store
-!	if npc_occupation = 3: $npc_occupation = cashier at coffee shop
-!	if npc_occupation = 4: $npc_occupation = barista
-!	if npc_occupation = 5: $npc_occupation = cheap restaurant job
-!	if npc_occupation = 6: $npc_occupation = taxi driver
-!	if npc_occupation = 7: $npc_occupation = masseuse
+!!	if npc_occupation = 1: $npc_occupation = cashier at supermarket
+!!	if npc_occupation = 2: $npc_occupation = cashier at liquor store
+!!	if npc_occupation = 3: $npc_occupation = cashier at coffee shop
+!!	if npc_occupation = 4: $npc_occupation = barista
+!!	if npc_occupation = 5: $npc_occupation = cheap restaurant job
+!!	if npc_occupation = 6: $npc_occupation = taxi driver
+!!	if npc_occupation = 7: $npc_occupation = masseuse
 	
-!	if npc_occupation = 8: $npc_occupation = sexual masseuse
-!	if npc_occupation = 9: $npc_occupation = factory job
-!	if npc_occupation = 10: $npc_occupation = bartender
-!	if npc_occupation = 11: $npc_occupation = mechanic
-!	if npc_occupation = 12: $npc_occupation = line cook
-!	if npc_occupation = 13: $npc_occupation = waiter
-!	if npc_occupation = 14: $npc_occupation = personal trainer
-!	if npc_occupation = 15: $npc_occupation = programmer
-
-!	if npc_occupation = 16: $npc_occupation = businessman
-!	if npc_occupation = 17: $npc_occupation = lawyer
-!	if npc_occupation = 18: $npc_occupation = investment banker
-
+!!	if npc_occupation = 8: $npc_occupation = sexual masseuse
+!!	if npc_occupation = 9: $npc_occupation = factory job
+!!	if npc_occupation = 10: $npc_occupation = bartender
+!!	if npc_occupation = 11: $npc_occupation = mechanic
+!!	if npc_occupation = 12: $npc_occupation = line cook
+!!	if npc_occupation = 13: $npc_occupation = waiter
+!!	if npc_occupation = 14: $npc_occupation = personal trainer
+!!	if npc_occupation = 15: $npc_occupation = programmer
+
+!!	if npc_occupation = 16: $npc_occupation = businessman
+!!	if npc_occupation = 17: $npc_occupation = lawyer
+!!	if npc_occupation = 18: $npc_occupation = investment banker
 
 	npc_humor[$npclastgenerated] = rand(0,3)
 	
-!! npc_fav_pos = 1: missionary
-!! npc_fav_pos = 2: doggy
-!! npc_fav_pos = 3: cowgirl
-!! npc_fav_pos = 4: blowjobs
-!! npc_fav_pos = 5: titjobs
-!! npc_fav_pos = 6: 69
-!! npc_fav_pos = 7: anal
-	
+
 	npc_fav_pos[$npclastgenerated] = rand(1,7)
 	
-	npc_cum_pref[$npclastgenerated] = rand(0,4)
- 
+	if npc_fav_pos[$npclastgenerated] = 1:
+		$npc_fav_pos[$npclastgenerated] = 'missionary'
+	elseif npc_fav_pos[$npclastgenerated] = 2:
+		$npc_fav_pos[$npclastgenerated] = 'doggy'
+	elseif npc_fav_pos[$npclastgenerated] = 3:
+		$npc_fav_pos[$npclastgenerated] = 'cowgirl'
+	elseif npc_fav_pos[$npclastgenerated] = 4:
+		$npc_fav_pos[$npclastgenerated] = 'blowjob'
+	elseif npc_fav_pos[$npclastgenerated] = 5:
+		$npc_fav_pos[$npclastgenerated] = 'titjob'
+	elseif npc_fav_pos[$npclastgenerated] = 6:
+		$npc_fav_pos[$npclastgenerated] = '69'
+	elseif npc_fav_pos[$npclastgenerated] = 7:
+		$npc_fav_pos[$npclastgenerated] = 'anal'
+	end
+
+!! npc_cum_pref = 0: no preference
+	npc_cum_pref[$npclastgenerated] = rand(0,5)
+	
+	if npc_cum_pref[$npclastgenerated] = 1:
+		$npc_cum_pref[$npclastgenerated] = 'creampie'
+	elseif npc_cum_pref[$npclastgenerated] = 2:
+		$npc_cum_pref[$npclastgenerated] = 'mouth'
+	elseif npc_cum_pref[$npclastgenerated] = 3:
+		$npc_cum_pref[$npclastgenerated] = 'face'
+	elseif npc_cum_pref[$npclastgenerated] = 4:
+		$npc_cum_pref[$npclastgenerated] = 'tits'
+	elseif npc_cum_pref[$npclastgenerated] = 5:
+		$npc_cum_pref[$npclastgenerated] = 'pullout'
+	end
+	
 	npc_tit_pref[$npclastgenerated] = rand(0,3)
 	
 	npc_bush_pref[$npclastgenerated] = rand(0,3)