Bläddra i källkod

[fixed] messed up some formatting things and 'if' requirements in my last push

hornguy6 1 månad sedan
förälder
incheckning
c9454415f7
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      locations/stat_display.qsrc

+ 4 - 1
locations/stat_display.qsrc

@@ -683,6 +683,9 @@ if $clothingworntype ! 'nude':
 		$stat_panty_text = '<br><font color = <<iif(PCloCoverFront = 1, ''#0064FF'', ''#FF0000'')>>><<$stat_panty_msg>></font>'
 		killvar '$temp_sdp_text'
 	end
+	if $pantyworntype ! 'none' and (isprok = 0 and isprokp = 0 and mesec > 0 and preg = 0 and $loc ! 'gad_gpyard' and (isprok_lastday = 0 or (hour > 4 and isprok_lastday = 1))):
+		$stat_panty_msg = 'You''re not using any menstrual products during your period and blood is soaking your panties!'
+	end
 end
 
 !!--------------- CLOTHING ---------------!!
@@ -1516,7 +1519,7 @@ else
 
 	if $stat_bra_msg ! '' and $braworntype = 'none': $statusIconBarTab += '<td><a href="exec: msg $stat_bra_msg"><img title="<<$stat_bra_msg>>" height = <<set_siconht>> src="images/system/icons/status/clothing/boobs_'+iif(theme['is_dark'] = 1, 'white', 'black')+'.png"></a></td>'
 	
-	if $stat_panty_msg ! '' and $pantyworntype ! 'none' and mesec > 0:
+	if $stat_panty_msg ! '' and $pantyworntype ! 'none' and (isprok = 0 and isprokp = 0 and mesec > 0 and preg = 0 and $loc ! 'gad_gpyard' and (isprok_lastday = 0 or (hour > 4 and isprok_lastday = 1))):
 		$statusIconBarTab += '<td><a href="exec: msg $stat_panty_msg"><img title="<<$stat_panty_msg>>" height = <<set_siconht>> src="images/system/icons/status/clothing/panties_red.png"></a></td>'
 	elseif $stat_panty_msg ! '' and $pantyworntype ! 'none' and pcs_traits['commando_lvl'] < 3:
 		$statusIconBarTab += '<td><a href="exec: msg $stat_panty_msg"><img title="<<$stat_panty_msg>>" height = <<set_siconht>> src="images/system/icons/status/clothing/panties.png"></a></td>'