Преглед изворни кода

Misc missing array indexes

hdb пре 1 година
родитељ
комит
46e0946f70
2 измењених фајлова са 5 додато и 4 уклоњено
  1. 3 3
      locations/booty_call_pillow_talk.qsrc
  2. 2 1
      locations/booty_call_sex.qsrc

+ 3 - 3
locations/booty_call_pillow_talk.qsrc

@@ -659,7 +659,7 @@ if $ARGS[0] = 'condom_buy_fight2':
 		npc_rel[$boy] -= 2
 		cla & *nl
 		'"Yeah, because <i>I''m</i> the one in danger of getting pregnant! If I have a kid, are you going to chip in then?" you shout at him.'
-		if npc_caretaker[$boy] = 1 and npc_childfree ! 1:
+		if npc_caretaker[$boy] = 1 and npc_childfree[$boy] ! 1:
 			'"Of course I am!" <<$npc_firstname[$boy]>> yells back.'
 			gs'booty_call_pillow_talk', 'condom_buy_apology'
 			act'I don''t believe you!':
@@ -669,7 +669,7 @@ if $ARGS[0] = 'condom_buy_fight2':
 				'"Bullshit!" you say. "That''s what all guys say. But as soon as a there''s a baby in a girl''s belly, they all run!"'
 				gs'booty_call_pillow_talk', 'angry_end'
 			end
-		elseif npc_childfree = 1:
+		elseif npc_childfree[$boy] = 1:
 			'"No, because you''re going to get an abortion if that shit happens!" <<$npc_firstname[$boy]>> growls. "I''m not taking care of a fucking kid!"'
 			gs'booty_call_pillow_talk', 'condom_buy_apology'
 			
@@ -1543,7 +1543,7 @@ end
 if $ARGS[0] = 'boy_topic_check':
 	booty_call['boy_topics'] = 0
 	if booty_call['cum_count'] >= (npc_sexdrive[$boy] / 4 * 3) and booty_call['good_for_you'] ! 1: booty_call['boy_topics'] += 1
-	if booty_call['broken_condom'] >= 1 and booty_call['broken_condom_talk'] ! 1 and (npc_selfish ! 1 and (npc_childfree = 1 or npc_caretaker = 1)): booty_call['boy_topics'] += 1
+	if booty_call['broken_condom'] >= 1 and booty_call['broken_condom_talk'] ! 1 and (npc_selfish[$boy] ! 1 and (npc_childfree[$boy] = 1 or npc_caretaker[$boy] = 1)): booty_call['boy_topics'] += 1
 	if booty_call['creampie_surprise'] >= 1 and booty_call['creampie_okay'] ! 1: booty_call['boy_topics'] += 1
 !!	if booty_call['broken_condom'] >= 1 and booty_call['boy_pube_talk'] ! 1: booty_call['boy_topics'] += 1
 !!	if booty_call['condom'] ! 1 and booty_call['boy_condom_rule_talk'] ! 1: booty_call['boy_topics'] += 1

+ 2 - 1
locations/booty_call_sex.qsrc

@@ -325,6 +325,7 @@ if $ARGS[0] = 'take_a_break':
 				'You flop down onto the bed beside <<$npc_firstname[$boy]>>, feeling his cum trickling from your pussy.'
 				*nl
 				'A few minutes pass and your breathing slowly calms, relaxing in a moment of quiet satisfaction.'
+				gs 'booty_call_sex', 'break_time'
 			else
 				if $booty_call['position'] = 'miss':
 					'<center><img <<$set_imgh>> src="images/shared/sex/vag/miss/2.jpg"></center>'
@@ -454,7 +455,7 @@ if $ARGS[0] = 'break_ask':
 end
 
 if $ARGS[0] = 'break_time':
-	if booty_call['first_break'] = 0 or rand(1,3) < 3 or booty_call['cum_count'] >= npc_sexdrive:
+	if booty_call['first_break'] = 0 or rand(1,3) < 3 or booty_call['cum_count'] >= npc_sexdrive[$boy]:
 		booty_call['first_break'] = 1
 		
 		gs 'booty_call_after', 'stop_here'