Sfoglia il codice sorgente

[changed] starting seeding modified condom changes

hornguy6 3 giorni fa
parent
commit
161ca2a167
3 ha cambiato i file con 14 aggiunte e 0 eliminazioni
  1. 11 0
      locations/boy_updater.qsrc
  2. 2 0
      locations/sex_ev_condoms.qsrc
  3. 1 0
      locations/sex_ev_stats.qsrc

+ 11 - 0
locations/boy_updater.qsrc

@@ -65,6 +65,17 @@ if $ARGS[0] = 'dick_update':
 	end
 end
 
+if $ARGS[0] = 'condom_update':
+	if npc_no_condoms[$npcID] = 0:
+		if rand(1,3) = 1:
+			$npc_condom_type[$npcID] = 'normal'
+		elseif rand(1,2) = 1:
+			$npc_condom_type[$npcID] = 'extra_thin'
+		else
+			$npc_condom_type[$npcID] = 'ribbed'
+		end
+	end
+end
 if $ARGS[0] = 'stamina_update':
 	if npc_sex_stamina[$boy] = 0: npc_sex_stamina[$boy] = rand(1,10)
 end

+ 2 - 0
locations/sex_ev_condoms.qsrc

@@ -158,6 +158,7 @@ if $ARGS[0] = 'pc_condom_use_stats':
 	sex_ev['must_fuck'] = 1
 	sex_ev['condom_check'] = 1
 	mc_inventory['normal_condoms'] -= 1
+	gs 'npcStat', $npcID, 0, 'normal'
 	if npc_no_condoms[$npcID] > 0: sex_ev['pc_insist_condom'] = 1
 end
 
@@ -166,6 +167,7 @@ if $ARGS[0] = 'npc_condom_use_stats':
 	sex_ev['must_fuck'] = 1
 	sex_ev['condom'] = 1
 	sex_ev['condom_check'] = 1
+	gs 'npcStat', $npcID, 0, $npc_condom_type[$npcID]
 	if npc_no_condoms[$npcID] > 0: sex_ev['pc_insist_condom'] = 1
 end
 

+ 1 - 0
locations/sex_ev_stats.qsrc

@@ -3,6 +3,7 @@
 if $ARGS[0] = 'npc_update':
 	gs 'boy_updater', 'fav_body_part'
 	gs 'boy_updater', 'dick_update'
+	gs 'boy_updater', 'condom_update'
 	gs 'boy_updater', 'stamina_update'
 	gs 'boy_updater', 'humor_update'
 	gs 'boy_updater', 'schedule_update'