Prechádzať zdrojové kódy

[fixed] updates regarding bc shot no longer show up if you have the implant

Kevin_Smarts 2 rokov pred
rodič
commit
79fac84bcc
1 zmenil súbory, kde vykonal 8 pridanie a 4 odobranie
  1. 8 4
      locations/cikl.qsrc

+ 8 - 4
locations/cikl.qsrc

@@ -458,17 +458,21 @@ if tabletkicheck = 2:
 	if shotdays = -8:
 		tabletkicheck = 0
 		shotdue = 0
-		'Your birth control shot is no longer protecting you.'
+		if  and birth_control['implant_status'] > 0:
+			'Your birth control shot is no longer protecting you.'
+		end
 	elseif shotdays <= 0:
 		if shotdays = 0:
 			shotdue = 7
 		else
 			shotdue -= 1
 		end
-		'The chemicals regulating your fertility cycle are wearing off, you need to get your shot in <<shotdue>> days.'
-	elseif shotdays > 1 and shotdays < 5:
+		if  and birth_control['implant_status'] > 0:
+			'The chemicals regulating your fertility cycle are wearing off, you need to get your shot in <<shotdue>> days.'
+		end
+	elseif shotdays > 1 and shotdays < 5 and birth_control['implant_status'] = 0:
 		'You are due for a birth control shot soon if you do not get one, you might get pregnant.'
-	elseif shotdays = 1:
+	elseif shotdays = 1 and birth_control['implant_status'] = 0:
 		'Your birth control shot is due for renewal tomorrow.'
 	end