Browse Source

[added] seeding new variables for npcs

hornguy6 2 weeks ago
parent
commit
57ab913cd0
2 changed files with 46 additions and 6 deletions
  1. 42 6
      locations/npcgeneratec.qsrc
  2. 4 0
      locations/npcpreservec.qsrc

+ 42 - 6
locations/npcgeneratec.qsrc

@@ -95,6 +95,8 @@ end
 !! Flag for virginity
 if npctempc2[1] < 20:
 	npc_sexskill[$npclastgenerated] = 0
+else
+	npc_sexskill[$npclastgenerated] = rand(1,100)
 end
 
 
@@ -587,9 +589,15 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 !!	2 = casual relationship 
 !!	3 = serious relationship
 	npc_goal[$npclastgenerated] = rand(1,3)
-
+	if npc_goal[$npclastgenerated] = 1:
+		$npc_rel_goal[$npclastgenerated] = 'sex'
+	elseif npc_goal[$npclastgenerated] = 2:
+		$npc_rel_goal[$npclastgenerated] = 'casual'
+	elseif npc_goal[$npclastgenerated] = 3:
+		$npc_rel_goal[$npclastgenerated] = 'serious'
+	end
 !!	npc_fidelity is how they will behave in a relationship
-!!	1-3 = will cheat on you and others with no guilt
+!!	1-4 = will cheat on you and others with no guilt
 !!	5-6 = will cheat on others with you
 !!		5 = has been cheating and feels guilty
 !!		6 = cheats on them with you for the first time
@@ -674,6 +682,17 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 		end
 	end
 	
+	npc_manscaped[$npclastgenerated] = rand(0,2) - npc_neat[$npclastgenerated]
+	if npc_manscaped[$npclastgenerated] < 1:
+		npc_manscaped[$npclastgenerated] = 0
+		$npc_pubes[$npclastgenerated] = 'shaved'
+	elseif npc_manscaped[$npclastgenerated] = 1:
+		$npc_pubes[$npclastgenerated] = 'trimmed'
+	elseif npc_manscaped[$npclastgenerated] = 2:
+		$npc_pubes[$npclastgenerated] = 'bush'
+	end
+	
+	
 	!! if npc_argumentative = 1: they will get into more arguments with you about things
 	!! it is also harder to persuade them
 	npc_argumentative[$npclastgenerated] = rand(0,2)
@@ -710,7 +729,6 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 	
 !! ------------------------- sex related preferences ----------------------------------
 
-!!	if rand(0,1) >= 1 and npc_risktaker[$npclastgenerated] ! 1:
 	if rand(0,1) >= 1:
 !!		if npc_condom_conscious = 1: they will use condoms but can be talked out of it
 !!		if npc_condom_conscious = 2: they will always insist on using condoms unless you are in a committed relationship and/or trying for a baby
@@ -719,7 +737,6 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 		else
 			npc_condom_conscious[$npclastgenerated] = rand(-2,2)
 		end
-!!	elseif npc_diligent[$npclastgenerated] ! 1:
 	else
 !!		if npc_no_condoms = 1: they have a preference for skipping condoms but can be talked into using one
 !!		if npc_no_condoms = 2: they will never use a condom no matter what
@@ -729,6 +746,14 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 			npc_no_condoms[$npclastgenerated] = rand(-2,2)
 		end
 	end
+	if npc_condom_conscious[$npclastgenerated] < 0: npc_condom_conscious[$npclastgenerated] = 0
+	if npc_no_condoms[$npclastgenerated] < 0: npc_no_condoms[$npclastgenerated] = 0
+	
+	if rand(1,50) = 1:
+		npc_latex_allergy[$npclastgenerated] = 1
+		npc_no_condoms[$npclastgenerated] = 1
+		npc_condom_conscious[$npclastgenerated] = 0
+	end
 
 !! Preferred sexual position
 	npc_fav_pos[$npclastgenerated] = rand(1,7)
@@ -752,6 +777,15 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 	!! npc_sex_speed determines whether they like it slow, steady, or fast and will cause them to select that speed more frequently
 	!! 1 is slow, 2 is steady, 3 is fast/rough
 	npc_sex_speed[$npclastgenerated] = rand(1,3)
+	
+	
+	npc_sex_volume[$npclastgenerated] = rand(0,3)
+	!! npc_sex_volume refers to how much noise they make during sex
+	!! npc_sex_volume = 0: virtually quiet during sex
+	!! npc_sex_volume = 1: grunting noises only
+	!! npc_sex_volume = 2: will add dirty talk
+	!! npc_sex_volume = 3: loud "obnoxious" noises
+	
 	if npc_sex_speed[$npclastgenerated] = 1 and rand(1,3) = 1:
 		!! npc has a tendency to be overly gentle and cautious
 		npc_gentle_lover[$npclastgenerated] = 1
@@ -826,11 +860,13 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 	else
 		!!failsafe
 		npc_sexdrive[$npclastgenerated] = rand(1,10)
+		if npc_sexdrive[$npclastgenerated] > 5: npc_energetic[$boy] = rand(0,1)
 	end
 	
 	!! if npc_sex_stamina determines how long they can last in bed without cumming
+	npc_sex_stamina[$npclastgenerated] = rand(1,10)
 	
-	if rand(1,10) <= 4:
+!!{	if rand(1,10) <= 4:
 		npc_sex_stamina[$npclastgenerated] = rand(3,5)
 	elseif rand(1,10) <= 3:
 		npc_sex_stamina[$npclastgenerated] = rand(1,3)
@@ -841,7 +877,7 @@ $npc_dna[$npclastgenerated] = func('DNA','create')
 	else
 		!!failsafe
 		npc_sex_stamina[$npclastgenerated] = rand(1,10)
-	end
+	end}
 
 	!! npc_spanker determines whether or not they''re into spanking during sex
 	if rand(1,3) = 1: npc_sex_spanker[$npclastgenerated] = 1

+ 4 - 0
locations/npcpreservec.qsrc

@@ -102,6 +102,7 @@ if mid($npctemp,1,1) = 'C':
 	npc_addit[$npclastsaved]		= npc_addit[$npctemp]
 	npc_doors[$npclastsaved]		= npc_doors[$npctemp]
 	npc_goal[$npclastsaved]			= npc_goal[$npctemp]
+	$npc_rel_goal[$npclastsaved]			= $npc_rel_goal[$npctemp]
 	
 !!	relationship ideals/stats
 	
@@ -126,11 +127,13 @@ if mid($npctemp,1,1) = 'C':
 	npc_messy[$npclastsaved] 		= npc_messy[$npctemp]
 	npc_diligent[$npclastsaved] 	= npc_diligent[$npctemp]
 	
+	npc_manscaped[$npclastsaved]		= npc_manscaped[$npctemp]
 	npc_argumentative[$npclastsaved]	= npc_argumentative[$npctemp]
 	npc_competitive[$npclastsaved]		= npc_competitive[$npctemp]
 	npc_insecure[$npclastsaved] 		= npc_insecure[$npctemp]
 	npc_condom_conscious[$npclastsaved] = npc_condom_conscious[$npctemp]
 	npc_no_condoms[$npclastsaved] 		= npc_no_condoms[$npctemp]
+	npc_latex_allergy[$npclastsaved] 	= npc_latex_allergy[$npctemp]
 	npc_caretaker[$npclastsaved] 		= npc_caretaker[$npctemp]
 	npc_childfree[$npclastsaved]		= npc_childfree[$npctemp]
 	npc_abusive[$npclastsaved] 			= npc_abusive[$npctemp]
@@ -144,6 +147,7 @@ if mid($npctemp,1,1) = 'C':
 	npc_fav_pos[$npclastsaved]		= npc_fav_pos[$npctemp]
 	$npc_fav_pos[$npclastsaved]		= $npc_fav_pos[$npctemp]
 	npc_sex_speed[$npclastsaved]	= npc_sex_speed[$npctemp]
+	npc_sex_volume[$npclastsaved]	= npc_sex_volume[$npctemp]
 	npc_gentle_lover[$npclastsaved]	= npc_gentle_lover[$npctemp]
 	npc_dirty_lover[$npclastsaved]	= npc_dirty_lover[$npctemp]
 	npc_sensual_lover[$npclastsaved]= npc_sensual_lover[$npctemp]