Procházet zdrojové kódy

[fixed] being on your period without sanitary products will no longer force players to dispose of their underwear in the middle of the street

hornguy6 před 1 měsícem
rodič
revize
bf46b32167
2 změnil soubory, kde provedl 11 přidání a 5 odebrání
  1. 7 3
      locations/outdoors.qsrc
  2. 4 2
      locations/stat_display.qsrc

+ 7 - 3
locations/outdoors.qsrc

@@ -337,10 +337,14 @@ if $ARGS[0] = 'main':
 		if outdoors_checks + 15 < totminut:
 			outdoors_checks = totminut
 			if 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)):
-				'<b><font color="red">You have blood flowing down your legs and staining your clothes.</font></b>'
-
-				if $pantyworntype ! 'none':gs 'panties', 'dispose' & '<b><font color="red">Your panties have been ruined and you discreetly remove and dispose of them.</font></b>'
 
+				if $pantyworntype ! 'none':
+					$stat_panty_msg = '<b><font color="red">You''re not using any menstrual products during your period and blood is soaking your panties!</font></b>'
+				elseif PCloSkirt > 0:
+					'<b><font color="red">You have blood flowing down your legs and staining your clothes.</font></b>'
+				else
+					'<b><font color="red">You have blood flowing from your snatch and staining your pants.</font></b>'
+				end
 				gs 'sweat', 'add', 10
 				if pcs_mood > 20: pcs_mood -= 20
 				dynamic '<<$clothingworntype>>_h[<<clothingwornnumber>>] -= 1'

+ 4 - 2
locations/stat_display.qsrc

@@ -1515,8 +1515,10 @@ 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/bra.png"></a></td>'
 
 	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 pcs_traits['commando_lvl'] < 3:
+	
+	if $stat_panty_msg ! '' and $pantyworntype ! 'none' and mesec > 0:
+		$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>'
 	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_red.png"></a></td>'