Ver Fonte

[added] makeup tooltip to body and stat_display

julzor há 4 anos atrás
pai
commit
ff028545d9
2 ficheiros alterados com 6 adições e 1 exclusões
  1. 5 0
      locations/body.qsrc
  2. 1 1
      locations/stat_display.qsrc

+ 5 - 0
locations/body.qsrc

@@ -1846,6 +1846,7 @@ if pcs_makeup = 0:
 	$pcdesc_makeupwordy = 'clownishly makeup-smeared'
 	mopkoef = -5 
 	$pcs_makeup = '<b><font color="red">Your makeup is smeared all over your face</font></b>'
+	$pcs_makeup_tooltip = 'Your makeup is ruined.'
 elseif pcs_makeup = 1: 
 	rand_makeup = rand(0,1)
 	if rand_makeup = 0:
@@ -1857,6 +1858,7 @@ elseif pcs_makeup = 1:
 	$pcdesc_makeupwordy = 'bare, natural'
 	mopkoef = 0
 	$pcs_makeup = 'You''re not wearing any kind of makeup'
+	$pcs_makeup_tooltip = 'You''re not wearing makeup.'
 elseif pcs_makeup = 2: 
 	rand_makeup = rand(0,1)
 	if rand_makeup = 0:
@@ -1867,6 +1869,7 @@ elseif pcs_makeup = 2:
 	$pcdesc_makeup = 'subtly-accented'
 	$pcdesc_makeupwordy = 'almost natural, subtly-accented'
 	$pcs_makeup = 'Your makeup is light and subtle, with neutral tones to bring out your natural beauty'
+	$pcs_makeup_tooltip = 'Your makeup is light and subtle.'
 elseif pcs_makeup = 3: 
 	rand_makeup = rand(0,1)
 	if rand_makeup = 0:
@@ -1877,6 +1880,7 @@ elseif pcs_makeup = 3:
 	$pcdesc_makeup = 'vibrantly done-up'
 	$pcdesc_makeupwordy = 'colourful, tastefully done-up'
 	$pcs_makeup = 'Your makeup has some mildly vibrant tones, covering your minor imperfections and enhancing your best features'
+	$pcs_makeup_tooltip = 'Your makeup has some mildly vibrant tones.'
 elseif pcs_makeup = 4:
 	rand_makeup = rand(0,3)
 	if rand_makeup = 0:
@@ -1891,6 +1895,7 @@ elseif pcs_makeup = 4:
 	$pcdesc_makeup = 'dolled-up'
 	$pcdesc_makeupwordy = 'heavily dolled-up and painted'
 	$pcs_makeup = 'Your makeup is thick enough to cover most imperfections, with rich shades drawing attention to your eyes and lips'
+	$pcs_makeup_tooltip = 'Your makeup is thick enough to cover most imperfections.'
 elseif pcs_makeup = 5:
 	rand_makeup = rand(0,3)
 	if rand_makeup = 0:

+ 1 - 1
locations/stat_display.qsrc

@@ -222,7 +222,7 @@ if cheatStatusIcons = 0:
 	
 	$statusIconBarTab_1 = '<table><tr>'
 	$statusIconBarTab_1 += '<td><a href="exec:msg ''People would rate your appearance as a <<hotcat>> out of 10.''"><img title="You are a <<hotcat>> out of 10." height = 54 src="images/system/icon/status_icons/appearance.png"></a></td>'
-	$statusIconBarTab_1 += '<td><a href="exec:msg $pcs_makeup"><img title="<<$pcs_makeup>>" height = 54 src="images/system/icon/status_icons/makeup_'+pcs_makeup+'.png"></a></td>'
+	$statusIconBarTab_1 += '<td><a href="exec:msg ''<<$pcs_makeup>>.''"><img title="<<$pcs_makeup_tooltip>>" height = 54 src="images/system/icon/status_icons/makeup_'+pcs_makeup+'.png"></a></td>'
 	if greben = 0 or pcs_hairbsh = 1:
 		$stat_brush_msg = 'Your hair is <<$pcs_hairbsh>>.'
 		$statusIconBarTab_1 += '<td><a href="exec:msg $stat_brush_msg"><img title="<<$stat_brush_msg>>" height = 54 src="images/system/icon/status_icons/hair_'+pcs_hairbsh+'.png"></a></td>'