Bladeren bron

[added] new code for the new menu icons in lact_lib

julzor 5 jaren geleden
bovenliggende
commit
8bb7c51c5c
1 gewijzigde bestanden met toevoegingen van 78 en 0 verwijderingen
  1. 78 0
      locations/lact_lib.qsrc

+ 78 - 0
locations/lact_lib.qsrc

@@ -443,6 +443,84 @@ if $ARGS[0] = 'breast_stat_disp':
 	end
 end
 
+if $ARGS[0] = 'breast_stat_icons':
+!! breast status icons
+	if lactation['active'] <= 0 and lactation['growthsoreness_on'] > 0:
+		$stat_lact_msg = 'Your breasts feel sore and swollen.'
+		$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+	elseif lactation['active'] > 0 and lactation['pc_aware'] > 0:
+		if lactation['engorgement'] > 0 and lactation['lactmess'] < 1:
+			$stat_lact_msg = 'Your breasts are so full they hurt.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 3 and $clothingworntype = 'nude':
+			$stat_lact_msg = 'Your breasts are so full they hurt and you can feel milk seeping out, causing you to have a little milk residue around your nipples.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 6 and $clothingworntype = 'nude':
+			$stat_lact_msg = 'Your breasts are so full they hurt and you can feel your milk comming out causing you to have a lot of milk around your nipples.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] >= 6 and $clothingworntype = 'nude':
+			$stat_lact_msg = 'Your breasts are so full they hurt and you can feel your milk spraying out. Your breasts covered with your breast milk.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 3:
+			$stat_lact_msg = 'Your breasts are so full they hurt and you can feel milk seeping out, causing small wet spots on your top.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 6:
+			$stat_lact_msg = 'Your breasts are so full they hurt and you can feel your milk comming out making visible wet circles on your top.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] >= 6:
+			$stat_lact_msg = 'Your breasts are so full they hurt and you can feel your milk spraying out. Your top is drenched with your breast milk.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > lactation['breastmm']*9/10:
+			$stat_lact_msg = 'Your breasts are firm and full from your milk.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > lactation['breastmm']/2:
+			$stat_lact_msg = 'Your breasts are heavy with your milk.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > lactation['breastmm']/4:
+			$stat_lact_msg = 'Your breasts feel slightly heavy from the milk inside.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > 0:
+			$stat_lact_msg = 'Your feel an easy pressure in your breasts from your milk.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		end
+	elseif lactation['active'] > 0 and lactation['pc_aware'] < 1:
+		if lactation['engorgement'] > 0 and lactation['lactmess'] < 1:
+			$stat_lact_msg = 'Your breasts hurt with pressure in them.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 3 and $clothingworntype = 'nude':
+			$stat_lact_msg = 'Your breasts hurt and your nipples are wet.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 6 and $clothingworntype = 'nude':
+			$stat_lact_msg = 'Your breasts hurt and they feel wet, some white liquid around your nipples.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] >= 6 and $clothingworntype = 'nude':
+			$stat_lact_msg = 'Your breasts hurt and a white liquid is spraying out, covering your breasts.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 3:
+			$stat_lact_msg = 'Your breasts hurt and your nipples tingle a little. There are small wet spots on your top.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] < 6:
+			$stat_lact_msg = 'Your breasts hurt and your nipples tingle. There are visible wet circles on your top.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] > 0 and lactation['lactmess'] >= 6:
+			$stat_lact_msg = 'Your breasts hurt and your nipples tingle a lot. Your top is drenched with a warm liquid.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > lactation['breastmm']*9/10:
+			$stat_lact_msg = 'Your breasts feel firm and under pressure.' 
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > lactation['breastmm']/2:
+			$stat_lact_msg = 'Your breasts feel heavy.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > lactation['breastmm']/4:
+			$stat_lact_msg = 'Your breasts feel slightly heavy.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		elseif lactation['engorgement'] < 1 and lactation['breastmv'] > 0:
+			$stat_lact_msg = 'Your feel an easy pressure in your breasts.'
+			$statusIconBarTab_2 += '<td><a href="exec:msg $stat_lact_msg"><img title="<<$stat_lact_msg>>" height = 54 src="images/system/icon/status_icons/lactating.png"></a></td>'
+		end
+	end
+end
+
 !!	function for breast engorment, used in breastcycle
 if $ARGS[0] = 'breast_engorment':
 	!!	relatively easy. if the breasts get full, engorgement will happen.