Browse Source

[fixed] this is supposed to be an if-else where in the if branch the player doesn't have enough milk to feed the baby and in the else branch the player does. however, the else keyword was inadvertently left out of the code, meaning that, when the player doesn't have enough milk, the text and actions for when the player does have enough milk were displayed anyway. this commit adds the missing else

Spackled Lanturn 3 years ago
parent
commit
4540bb6e6b
1 changed files with 84 additions and 83 deletions
  1. 84 83
      locations/train_incidental.qsrc

+ 84 - 83
locations/train_incidental.qsrc

@@ -303,101 +303,102 @@ if $ARGS[0] = 'breastfeedthebaby':
 				end
 				'You hand him his baby and cover yourself up.'
 				act 'Finish':gt $loc, $loc_arg
-			end
-			'As you open your eyes again, you see the baby suckle on your left breast, the small lips kneading your areola over and over. The tingling keeps on and the kneading of the small mouth is stable. The small baby''s hand grabs onto your breast firmly.'
-			if pcs_firstbabybreastfeeding <=0:'It feels really great to breastfeed. It is relaxing in a way you haven''t experienced before.'
-			'The baby drinks from you for at least <<temp_var>> minutes. You look up at the father.'
-			if vidage <= 19:
-				'The man looks at your breasts and the baby in amazement. "Wow... you really seem to have enough milk to feed him. How much do you make?"'
 			else
-				'The man looks at your breasts and the baby. "You really seem to have enough milk to feed him. How much do you make?"'
-			end
-			if temp_var >= 12:
-				'You think about it and nod your head while answering, "Well, I guess enough for at least one baby... or so."'
-				'The man smiles and nods. You feel the firm grip of the baby easing up, and the suckling slows down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
-				'You whisper to the man, "He is done..."'
-				'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
-				act 'Finish':gt $loc, $loc_arg
-			elseif temp_var < 12:
-				'You think about it and nod your head while answering, "Uhm... I think I produce a fair amount."'
-				if lactation['breastmm'] >= 500000:
-					'You then add, "I could fill up a beer glass when my breasts feel engorged, I think, haha."'
-				elseif lactation['breastmm'] >= 150000 and lactation['breastmm'] < 500000:
-					'You then add, "I could fill up a cup when my breasts feel engorged, I think, haha."'
+				'As you open your eyes again, you see the baby suckle on your left breast, the small lips kneading your areola over and over. The tingling keeps on and the kneading of the small mouth is stable. The small baby''s hand grabs onto your breast firmly.'
+				if pcs_firstbabybreastfeeding <=0:'It feels really great to breastfeed. It is relaxing in a way you haven''t experienced before.'
+				'The baby drinks from you for at least <<temp_var>> minutes. You look up at the father.'
+				if vidage <= 19:
+					'The man looks at your breasts and the baby in amazement. "Wow... you really seem to have enough milk to feed him. How much do you make?"'
 				else
-					'You then add, "Probably a bit more than the baby can eat..."'
+					'The man looks at your breasts and the baby. "You really seem to have enough milk to feed him. How much do you make?"'
 				end
-				'You smile cutely and giggle a bit. You notice how the man''s eyes widen from your answer and how he blushes.'
-				if vidage <= 16:
-					if tits <=4:
-						'He speaks up, "Wow - you look so young, and yet you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
+				if temp_var >= 12:
+					'You think about it and nod your head while answering, "Well, I guess enough for at least one baby... or so."'
+					'The man smiles and nods. You feel the firm grip of the baby easing up, and the suckling slows down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
+					'You whisper to the man, "He is done..."'
+					'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
+					act 'Finish':gt $loc, $loc_arg
+				elseif temp_var < 12:
+					'You think about it and nod your head while answering, "Uhm... I think I produce a fair amount."'
+					if lactation['breastmm'] >= 500000:
+						'You then add, "I could fill up a beer glass when my breasts feel engorged, I think, haha."'
+					elseif lactation['breastmm'] >= 150000 and lactation['breastmm'] < 500000:
+						'You then add, "I could fill up a cup when my breasts feel engorged, I think, haha."'
 					else
-						'He speaks up, "Wow - you look so young, and yet you make more milk than my wife... but it is no wonder you can with breasts like those."'
-						'Saying this, he makes you blush.'
-						'He continues, "My wife is barely able to breastfeed him, and we need extra bottled milk."'
+						'You then add, "Probably a bit more than the baby can eat..."'
 					end
-				else
-					'He speaks up, "Wow - you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
-				end
-				'"I always wanted to try her milk," he admits, "but there is barely enough as it is."'
-				'It seems like he is interested in trying your breast milk but is too shy to ask. You feel the firm grip of the baby easing up and the suckling slowing down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
-				milkedvolume = func('lact_lib','$get_breastmilk', 2, temp_var)
-				milkedvolume = 0
-				act 'Finish':
-					*clr & cla
-					'You whisper to the man, "I think he is done..."'
-					'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
-					act 'Leave':gt $loc, $loc_arg
-				end
-				gs 'willpower', 'foreplay', 'force'
-				if will_cost <= pcs_willpwr:
-					act 'Have him try your breast milk (<<will_cost>> Willpower)':
-						*clr & cla
-						gs 'willpower', 'pay', 'force'
-						gs 'stat'
-						'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
-						'You smile at him. "Would you like to try?"'
-						'The man asks, "Try what?"'
-						'You grab your right breast with your right hand and pull it out of your top, slightly weighting it in your hand.'
-						'You whisper, "My breast milk..."'
-						if vidage <=16:
-							'The man looks nervously at you. Shaking his head, he stammers "No, no... you are too young for that..."'
-							'You lean in. "But not too young to breastfeed your son?"'
-							'Offering your breast to him again, you prod, "Come on, it is no big deal..."'
+					'You smile cutely and giggle a bit. You notice how the man''s eyes widen from your answer and how he blushes.'
+					if vidage <= 16:
+						if tits <=4:
+							'He speaks up, "Wow - you look so young, and yet you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
+						else
+							'He speaks up, "Wow - you look so young, and yet you make more milk than my wife... but it is no wonder you can with breasts like those."'
+							'Saying this, he makes you blush.'
+							'He continues, "My wife is barely able to breastfeed him, and we need extra bottled milk."'
 						end
-						'The man stands up and looks over the seats left and right, then around the car. He then sits down in his seat again, leaning over to you and moving his hands up, then hesitating. He looks in your eyes as if he wants approval. You nod, and he grabs around your breast with both hands, holding it firmly. You move your right hand onto his neck. Then he moves his mouth towards your nipple and latches on too. He is producing way more suction force than the baby, making you moan. Your nipple pulses, and you feel your breast milk gushing out into his mouth. He closes his eyes and nuzzles your breast, drinking your milk. After about 5 minutes, he is done and latches off.'
-						'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
-						milkedvolume = func('lact_lib','$get_breastmilk', 0, 5)
-						if milkedvolume >= 80000:
-							if tits <=4:
-								'He wipes his mouth off and looks at you. "They don''t look like it, but there is a lot of milk inside your breasts..."'
-							else
-								'He wipes his mouth off and looks at you. "There is really a lot of milk inside your breasts..."'
+					else
+						'He speaks up, "Wow - you make more milk than my wife. She is barely able to breastfeed him, and we need extra bottled milk."'
+					end
+					'"I always wanted to try her milk," he admits, "but there is barely enough as it is."'
+					'It seems like he is interested in trying your breast milk but is too shy to ask. You feel the firm grip of the baby easing up and the suckling slowing down too. You look down and see that the eyes of the baby are closed now and his breathing is calm.'
+					milkedvolume = func('lact_lib','$get_breastmilk', 2, temp_var)
+					milkedvolume = 0
+					act 'Finish':
+						*clr & cla
+						'You whisper to the man, "I think he is done..."'
+						'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help.'
+						act 'Leave':gt $loc, $loc_arg
+					end
+					gs 'willpower', 'foreplay', 'force'
+					if will_cost <= pcs_willpwr:
+						act 'Have him try your breast milk (<<will_cost>> Willpower)':
+							*clr & cla
+							gs 'willpower', 'pay', 'force'
+							gs 'stat'
+							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
+							'You smile at him. "Would you like to try?"'
+							'The man asks, "Try what?"'
+							'You grab your right breast with your right hand and pull it out of your top, slightly weighting it in your hand.'
+							'You whisper, "My breast milk..."'
+							if vidage <=16:
+								'The man looks nervously at you. Shaking his head, he stammers "No, no... you are too young for that..."'
+								'You lean in. "But not too young to breastfeed your son?"'
+								'Offering your breast to him again, you prod, "Come on, it is no big deal..."'
 							end
-							'"I should ask my wife to hire you as a wet nurse or something..." he adds.'
-						elseif milkedvolume >= 50000 and milkedvolume < 80000:
-							if tits <=4:
-								'He wipes his mouth off and looks at you. "They don''t look like it, but there is quite the amount of milk inside your breasts..."'
+							'The man stands up and looks over the seats left and right, then around the car. He then sits down in his seat again, leaning over to you and moving his hands up, then hesitating. He looks in your eyes as if he wants approval. You nod, and he grabs around your breast with both hands, holding it firmly. You move your right hand onto his neck. Then he moves his mouth towards your nipple and latches on too. He is producing way more suction force than the baby, making you moan. Your nipple pulses, and you feel your breast milk gushing out into his mouth. He closes his eyes and nuzzles your breast, drinking your milk. After about 5 minutes, he is done and latches off.'
+							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/adult_breastfeeding.mp4" ></video></center>'
+							milkedvolume = func('lact_lib','$get_breastmilk', 0, 5)
+							if milkedvolume >= 80000:
+								if tits <=4:
+									'He wipes his mouth off and looks at you. "They don''t look like it, but there is a lot of milk inside your breasts..."'
+								else
+									'He wipes his mouth off and looks at you. "There is really a lot of milk inside your breasts..."'
+								end
+								'"I should ask my wife to hire you as a wet nurse or something..." he adds.'
+							elseif milkedvolume >= 50000 and milkedvolume < 80000:
+								if tits <=4:
+									'He wipes his mouth off and looks at you. "They don''t look like it, but there is quite the amount of milk inside your breasts..."'
+								else
+									'He wipes his mouth off and looks at you. "There is quite the amount of milk inside your breasts..."'
+								end
 							else
-								'He wipes his mouth off and looks at you. "There is quite the amount of milk inside your breasts..."'
+								if tits <=4:
+									'He wipes his mouth off and looks at you. "As I expected, there wasn''t much milk inside your breasts..."'
+								else
+									'He wipes his mouth off and looks at you. "Huh, I didn''t expect so little milk inside those magnificent breasts..."'
+								end
 							end
-						else
-							if tits <=4:
-								'He wipes his mouth off and looks at you. "As I expected, there wasn''t much milk inside your breasts..."'
-							else
-								'He wipes his mouth off and looks at you. "Huh, I didn''t expect so little milk inside those magnificent breasts..."'
+							act 'Continue':
+								*clr & cla
+								'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
+								'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help and for the delicious snack.'
+								milkedvolume = 0
+								act 'Leave':gt $loc, $loc_arg
 							end
 						end
-						act 'Continue':
-							*clr & cla
-							'<center><video autoplay loop src="images/locations/shared/train/breastfeeding/train_breastfeeding.mp4" ></video></center>'
-							'You unlatch the baby and hand him to his father, then you cover yourself up. The man thanks you for the help and for the delicious snack.'
-							milkedvolume = 0
-							act 'Leave':gt $loc, $loc_arg
-						end
+					else
+						act 'Have him try your breast milk (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 					end
-				else
-					act 'Have him try your breast milk (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 				end
 			end
 		end