2 Commits 1264d3c3df ... 0016d906e5

Author SHA1 Message Date
  julzor 0016d906e5 [changed] removed some unnecessary white space, added necessary white space when the icons are not active 5 years ago
  julzor f3077ceafa [fixed] removed white space in the wardrobe 5 years ago
2 changed files with 31 additions and 35 deletions
  1. 26 25
      locations/stat_display.qsrc
  2. 5 10
      locations/wardrobe.qsrc

+ 26 - 25
locations/stat_display.qsrc

@@ -622,6 +622,8 @@ if cheatStatusIcons = 0 or disable_show_icons = 0:
 	$statusIconBarTab_4 += '</tr></table>'
 	$statusIconBarTab_4 += '</tr></table>'
 	$stat_msg += func('cleanHTML',$statusIconBarTab_4)
 	$stat_msg += func('cleanHTML',$statusIconBarTab_4)
 	killvar '$statusIconBarTab_4'
 	killvar '$statusIconBarTab_4'
+else
+	$stat_msg += '<br>'
 end
 end
 
 
 !!-----------------Status Icons (End)------------------
 !!-----------------Status Icons (End)------------------
@@ -644,57 +646,56 @@ end
 
 
 if enable_show_status = 0:
 if enable_show_status = 0:
 	if ETOmenu = 1:
 	if ETOmenu = 1:
-		$stat_msg += '<BR><b><<$pcs_health>></b>'
-		$stat_msg += '<BR><b><<$pcs_willpwr>></b>'
-		if cheatNoEat = 0: $stat_msg += '<BR><b><<$pcs_energy>></b>'
-		if cheatNoDrink = 0: $stat_msg += '<BR><b><<$pcs_hydra>></b>'
-		if cheatNoSleep = 0: $stat_msg += '<BR><b><<$pcs_sleep>></b>'
+		$stat_extra_msg += '<BR><b><<$pcs_health>></b>'
+		$stat_extra_msg += '<BR><b><<$pcs_willpwr>></b>'
+		if cheatNoEat = 0: $stat_extra_msg += '<BR><b><<$pcs_energy>></b>'
+		if cheatNoDrink = 0: $stat_extra_msg += '<BR><b><<$pcs_hydra>></b>'
+		if cheatNoSleep = 0: $stat_extra_msg += '<BR><b><<$pcs_sleep>></b>'
 	elseif Enable_scalepic = 2:
 	elseif Enable_scalepic = 2:
 		$st_temp='rgb(<<(16777216 + fcolor) mod 256>>,<<(16777216 + fcolor)/256 mod 256>>,<<(16777216 + fcolor)/65536>>)'
 		$st_temp='rgb(<<(16777216 + fcolor) mod 256>>,<<(16777216 + fcolor)/256 mod 256>>,<<(16777216 + fcolor)/65536>>)'
-		$stat_msg += '<p><font color="<<$st_temp>>"><TABLE width="300" cellpadding="1" cellspacing="0"><TR><TD width="85%">'+FUNC('indiktab', '2', pcs_horny, pcs_horny)+'</TD><TD> Arousal</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '2', pain['total'], pain['total'])+'</TD><TD> Pain</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '1', pcs_health * 100 / healthmax, pcs_health)+'</TD><TD> Health</TD></TR>'
-		if MagikDostup = 0: $stat_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_mana * 100 / manamax, pcs_mana)+'</TD><TD> Mana</TD></TR>'
-		$stat_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_willpwr * 100 / willpowermax, pcs_willpwr)+'</TD><TD> Willpower</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '1', pcs_stam * 100 / stammax, pcs_stam)+'</TD><TD> Stamina</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '1', pcs_mood, pcs_mood)+'</TD><TD> Mood</TD></TR>'
-		if cheatNoEat = 0: $stat_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_energy, pcs_energy)+'</TD><TD> Hunger</TD></TR>'
-		if cheatNoDrink = 0: $stat_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_hydra, pcs_hydra)+'</TD><TD> Thirst</TD></TR>'
-		if cheatNoSleep = 0: $stat_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_sleep, pcs_sleep)+'</TD><TD> Sleep</TD></TR></TABLE></font></p>'
+		$stat_extra_msg += '<p><font color="<<$st_temp>>"><TABLE width="300" cellpadding="1" cellspacing="0"><TR><TD width="85%">'+FUNC('indiktab', '2', pcs_horny, pcs_horny)+'</TD><TD> Arousal</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '2', pain['total'], pain['total'])+'</TD><TD> Pain</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '1', pcs_health * 100 / healthmax, pcs_health)+'</TD><TD> Health</TD></TR>'
+		if MagikDostup = 0: $stat_extra_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_mana * 100 / manamax, pcs_mana)+'</TD><TD> Mana</TD></TR>'
+		$stat_extra_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_willpwr * 100 / willpowermax, pcs_willpwr)+'</TD><TD> Willpower</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '1', pcs_stam * 100 / stammax, pcs_stam)+'</TD><TD> Stamina</TD></TR><TR><TD width="85%">'+FUNC('indiktab', '1', pcs_mood, pcs_mood)+'</TD><TD> Mood</TD></TR>'
+		if cheatNoEat = 0: $stat_extra_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_energy, pcs_energy)+'</TD><TD> Hunger</TD></TR>'
+		if cheatNoDrink = 0: $stat_extra_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_hydra, pcs_hydra)+'</TD><TD> Thirst</TD></TR>'
+		if cheatNoSleep = 0: $stat_extra_msg += '<TR><TD width="85%">'+FUNC('indiktab', '1', pcs_sleep, pcs_sleep)+'</TD><TD> Sleep</TD></TR></TABLE></font></p>'
 	else
 	else
-		$stat_msg += '<BR>'
 		gs 'indik', '2', pcs_horny, pcs_horny
 		gs 'indik', '2', pcs_horny, pcs_horny
-		$stat_msg += '<BR><<$ind>> Arousal'
+		$stat_extra_msg += '<BR><<$ind>> Arousal'
 
 
 		gs 'indik', '2', pain['total'], pain['total'], pain['damage']
 		gs 'indik', '2', pain['total'], pain['total'], pain['damage']
-		$stat_msg += '<BR><<$ind>> Pain'
+		$stat_extra_msg += '<BR><<$ind>> Pain'
 
 
 		gs 'indik', '1', pcs_health * 100 / healthmax, pcs_health
 		gs 'indik', '1', pcs_health * 100 / healthmax, pcs_health
-		$stat_msg += '<BR><<$ind>> Health'
+		$stat_extra_msg += '<BR><<$ind>> Health'
 
 
 		if MagikDostup = 0:
 		if MagikDostup = 0:
 			gs 'indik', '1', pcs_mana * 100 / manamax, pcs_mana
 			gs 'indik', '1', pcs_mana * 100 / manamax, pcs_mana
-			$stat_msg += '<BR><<$ind>> Mana'
+			$stat_extra_msg += '<BR><<$ind>> Mana'
 		end
 		end
 
 
 		gs 'indik', '1', pcs_willpwr * 100 / willpowermax, pcs_willpwr
 		gs 'indik', '1', pcs_willpwr * 100 / willpowermax, pcs_willpwr
-		$stat_msg += '<BR><<$ind>> Willpower'
+		$stat_extra_msg += '<BR><<$ind>> Willpower'
 
 
 		gs 'indik', '1', pcs_stam * 100 / stammax, pcs_stam
 		gs 'indik', '1', pcs_stam * 100 / stammax, pcs_stam
-		$stat_msg += '<BR><<$ind>> Stamina'
+		$stat_extra_msg += '<BR><<$ind>> Stamina'
 
 
 		gs 'indik', '1', pcs_mood, pcs_mood
 		gs 'indik', '1', pcs_mood, pcs_mood
-		$stat_msg += '<BR><<$ind>> Mood'
+		$stat_extra_msg += '<BR><<$ind>> Mood'
 
 
 		if cheatNoEat = 0:
 		if cheatNoEat = 0:
 			gs 'indik', '1', pcs_energy, pcs_energy
 			gs 'indik', '1', pcs_energy, pcs_energy
-			$stat_msg += '<BR><<$ind>> Hunger'
+			$stat_extra_msg += '<BR><<$ind>> Hunger'
 		end
 		end
 
 
 		if cheatNoDrink = 0:
 		if cheatNoDrink = 0:
 			gs 'indik', '1', pcs_hydra, pcs_hydra
 			gs 'indik', '1', pcs_hydra, pcs_hydra
-			$stat_msg += '<BR><<$ind>> Thirst'
+			$stat_extra_msg += '<BR><<$ind>> Thirst'
 		end
 		end
 
 
 		if cheatNoSleep = 0:
 		if cheatNoSleep = 0:
 			gs 'indik', '1', pcs_sleep, pcs_sleep
 			gs 'indik', '1', pcs_sleep, pcs_sleep
-			$stat_msg += '<BR><<$ind>> Sleep'
+			$stat_extra_msg += '<BR><<$ind>> Sleep'
 		end
 		end
 	end
 	end
 end
 end
@@ -933,15 +934,15 @@ else
 end
 end
 
 
 !all end, push back and clean up
 !all end, push back and clean up
-$stat_msg += '<br><br><<$stat_tool_msg>>'
-if $stat_extra_msg ! NULL : $stat_msg += '<<$stat_extra_msg>>'
+$stat_msg += '<br>'
+$stat_msg += func('cleanHTML',$stat_tool_msg)
+if $stat_extra_msg ! NULL : $stat_msg += func('cleanHTML',$stat_extra_msg)
 $stat_msg += '<br>'
 $stat_msg += '<br>'
 killvar 'stat_tool_msg'
 killvar 'stat_tool_msg'
 killvar 'stat_extra_msg'
 killvar 'stat_extra_msg'
 
 
 !!----------------Extra messages, End--------------------------
 !!----------------Extra messages, End--------------------------
 
 
-
 if enable_extra_msg = 1:
 if enable_extra_msg = 1:
 	if opPRE = 0: $stat_msg += '<BR><<$pcs_makeup>> and your hair is <<$pcs_hairbsh>>.' & !$stat_msg += '<BR>'
 	if opPRE = 0: $stat_msg += '<BR><<$pcs_makeup>> and your hair is <<$pcs_hairbsh>>.' & !$stat_msg += '<BR>'
 
 

+ 5 - 10
locations/wardrobe.qsrc

@@ -14,8 +14,7 @@ if $ARGS[0] = 'start':
 		gs 'clothing', 'strip'
 		gs 'clothing', 'strip'
 	end
 	end
 	if ward_img_hgt = 0:ward_img_hgt = 150
 	if ward_img_hgt = 0:ward_img_hgt = 150
-	'<h3><center><b><font color="maroon">Wardrobe overview</b></h3><br><center><font color="maroon">These are the clothes you are currently wearing - Click on an item to change it</font></center>'
-	'<br><center><table border=0 cellspacing=<<ward_img_hgt/25>> cellpadding=5>'
+	'<h3><center><b><font color="maroon">Wardrobe overview</b></h3><br><center><font color="maroon">These are the clothes you are currently wearing - Click on an item to change it</font></center><center><table border=0 cellspacing=<<ward_img_hgt/25>> cellpadding=5>'
 	*p '<TH>Bra worn</TH><TH>Outfit worn</TH><TH>Coat (only worn outside when cold)</TH>'
 	*p '<TH>Bra worn</TH><TH>Outfit worn</TH><TH>Coat (only worn outside when cold)</TH>'
 	*P '<TR><TD><center><a href="exec:gt ''bras'', ''view_bra_list'', ''wardrobe''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$body_image'',''bra'')>>"></a></center></TD><TD><center><a href="exec:gt ''clothing_QV'', ''list''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'',''clothes'')>>"></a></center></TD><TD><center>'
 	*P '<TR><TD><center><a href="exec:gt ''bras'', ''view_bra_list'', ''wardrobe''"><img Height = <<ward_img_hgt>> src="<<FUNC(''$body_image'',''bra'')>>"></a></center></TD><TD><center><a href="exec:gt ''clothing_QV'', ''list''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'',''clothes'')>>"></a></center></TD><TD><center>'
 	if defaultcoat = 0:
 	if defaultcoat = 0:
@@ -23,8 +22,7 @@ if $ARGS[0] = 'start':
 	else
 	else
 		'<a href="exec:gt ''cloakroom'', ''view_coat_list''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'', ''coat'')>>"></a>'
 		'<a href="exec:gt ''cloakroom'', ''view_coat_list''"><img Height = <<ward_img_hgt * 2>> src="<<FUNC(''$body_image'', ''coat'')>>"></a>'
 	end
 	end
-	'</center></TD>'
-	'<TR><TD><center>'
+	'</center></TD><TR><TD><center>'
 	if $braworntype ! 'none':
 	if $braworntype ! 'none':
 		'<a href="exec:gs ''bras'', ''remove'' & gt ''wardrobe'', ''start''">Remove</a>'
 		'<a href="exec:gs ''bras'', ''remove'' & gt ''wardrobe'', ''start''">Remove</a>'
 	else
 	else
@@ -51,8 +49,7 @@ if $ARGS[0] = 'start':
 	else
 	else
 		'<a href="exec:gt ''purses'', ''view_purse_list''">Search the wardrobe</a>'
 		'<a href="exec:gt ''purses'', ''view_purse_list''">Search the wardrobe</a>'
 	end
 	end
-	'</center></TD>'
-	'<TR><TD><center>'
+	'</center></TD><TR><TD><center>'
 	if $pantyworntype ! 'none':
 	if $pantyworntype ! 'none':
 		'<a href="exec:gs ''panties'', ''remove'' & gt ''wardrobe'', ''start''">Remove</a>'
 		'<a href="exec:gs ''panties'', ''remove'' & gt ''wardrobe'', ''start''">Remove</a>'
 	else
 	else
@@ -70,8 +67,7 @@ if $ARGS[0] = 'start':
 	else
 	else
 		'Remove'
 		'Remove'
 	end
 	end
-	'</center></TD>'
-	'<TR><TD><TD><center>'
+	'</center></TD><TR><TD><TD><center>'
 	if ($clothingworntype ! 'nude' and (defaultcoat > 0 or bag > 0)) or (defaultcoat > 0 and bag > 0):
 	if ($clothingworntype ! 'nude' and (defaultcoat > 0 or bag > 0)) or (defaultcoat > 0 and bag > 0):
 		'<a href="exec:gs ''wardrobe'', ''removeall'' & gt ''wardrobe'', ''start''">Remove all items</a>'
 		'<a href="exec:gs ''wardrobe'', ''removeall'' & gt ''wardrobe'', ''start''">Remove all items</a>'
 	else
 	else
@@ -79,8 +75,7 @@ if $ARGS[0] = 'start':
 	end
 	end
 	*nl
 	*nl
 	'<center><font color="grey">Save/load outfits with "Managed saved clothing sets".</font></center>'
 	'<center><font color="grey">Save/load outfits with "Managed saved clothing sets".</font></center>'
-	'<TD></center></TD>'
-	'</table></center>'
+	'<TD></center></TD></table></center>'
 	act 'Close wardrobe': killvar '$wloc' & gt $loc, $metka
 	act 'Close wardrobe': killvar '$wloc' & gt $loc, $metka
 
 
 	act 'Strip all clothing':
 	act 'Strip all clothing':