Browse Source

[fixed] Logic holes giving no actions and a typo, both reported on F95

Kevin_Smarts 5 months ago
parent
commit
aa75d1da03
2 changed files with 10 additions and 10 deletions
  1. 9 9
      locations/mother.qsrc
  2. 1 1
      locations/stwork.qsrc

+ 9 - 9
locations/mother.qsrc

@@ -1163,22 +1163,22 @@ if $ARGS[0] = 'pregreact1':
 			'"All right, I had to ask," she says, hugging you again. A bit later she whispers in your ear. "You know, it will not be that bad. You will be still young when your child grows up. You can even go to parties with her. Or him. Whatever. And I will be the awesome hot grandma."'
 			'The image conjured by that thought makes you giggle a bit. Maybe it will not be that bad.'
 			act 'Continue':gt 'mother'
-		elseif stat['vaginal'] > 0:
+		else
 			if (pcs_cp_safe_known + pcs_cp_notsafe_known + pcs_cp_risky_known) > 0:
-				if (pcs_cp_notsafe_known + pcs_cp_risky_known) = 0:
-					act'I don''t know (I used birth control)':
-						cla & *nl
-						'"I don''t know!" you say, distressedly. "I mean, I did have sex, but I was careful! I used birth control and everything! I was so careful..."'
-						'"Oh honey," your <<$npc_nickname[''A29'']>> whispers, hugging you tight against her breast. "These things fail sometimes. It can happen. Maybe I should have taught you better. This is all my fault... But I''ll help you now. You are not alone in this."'
-						act 'Continue':gt 'mother'
-					end
-				elseif (pcs_cp_notsafe_known + pcs_cp_risky_known) > 1 and guy > 1:
+				if (pcs_cp_notsafe_known + pcs_cp_risky_known) > 1 and guy > 1:
 					act'I''m not sure':
 						cla & *nl
 						'"I''m... not sure..." you admit, shamefully. "I wasn''t very careful."'
 						'"Oh honey," your <<$npc_nickname[''A29'']>> whispers, hugging you tight against her breast. "This is all my fault. Maybe I should have taught you better... But I''ll help you now. You are not alone in this."'
 						act 'Continue':gt 'mother'
 					end
+				else
+					act'I don''t know (I used birth control)':
+						cla & *nl
+						'"I don''t know!" you say, distressedly. "I mean, I did have sex, but I was careful! I used birth control and everything! I was so careful..."'
+						'"Oh honey," your <<$npc_nickname[''A29'']>> whispers, hugging you tight against her breast. "These things fail sometimes. It can happen. Maybe I should have taught you better. This is all my fault... But I''ll help you now. You are not alone in this."'
+						act 'Continue':gt 'mother'
+					end
 				end
 			else
 				act'I don''t know (No one came inside)':

+ 1 - 1
locations/stwork.qsrc

@@ -63,7 +63,7 @@ if $ARGS[0] = 'start':
 		stpriv = stripKoef + (pcs_apprnc / 3)
 		! Bonus for poledancing
 		if stprivatechance = 2:
-			stprive += 20
+			stpriv += 20
 		end
 		if stpriv > rand (0, 100):
 		*nl