Browse Source

[fixed] wrong variable for morning after pill in purse

hornguy6 4 years ago
parent
commit
efdc87244d
1 changed files with 9 additions and 0 deletions
  1. 9 0
      locations/din_bad.qsrc

+ 9 - 0
locations/din_bad.qsrc

@@ -190,6 +190,15 @@ if $ARGS[0] = 'd_bag':
 	else
 		'You are out of birth control pills.'
 	end
+	if morning_after_pill > 0:
+		if morning_after_pill = 1:
+			'You have one <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pill</a>.'
+		else
+			'You have <b><<birth_control[''morning_after'']>></b> <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pills</a>.'
+		end
+	else
+		'You have no morning after pills.'
+	end
 	if mentats_have > 0 and mentats_dose < 3:
 		'<a href="exec: gs ''drugs'', ''mentats'' & gs ''din_bad'', ''d_bag'' & *pl ''<font color = green><br>You swallow the neurobooster pill.</font>''">Use a neurobooster pill in your purse.</a> There are <b><<mentats_have>></b> pills left. The warning label says not to take more than one per day.'
 	elseif mentats_have > 0: