Pārlūkot izejas kodu

[changed] Add bodysuit to the status window in the toolbar

jeep91 1 gadu atpakaļ
vecāks
revīzija
a189094b87
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 8 0
      locations/stat_display.qsrc

+ 8 - 0
locations/stat_display.qsrc

@@ -61,6 +61,14 @@ if Enable_showstatimg = 1:
 		if $img_temp ! null:  $stat_imgextra_msg += '<a href="exec:view ''<<$img_temp>>''"><img <<$set_statimgh>> src="<<$img_temp>>"></a> '
 	end
 
+	if Enable_statimg_bodysuit = 0:
+		$stat_imgtool_msg += ' <a href="exec:Enable_statimg_bodysuit = 1 & gs ''$menu_obnovit''">◇Bodysuit</a>'
+	else
+		$stat_imgtool_msg += ' <a href="exec:Enable_statimg_bodysuit = 0 & gs ''$menu_obnovit''">◆Bodysuit</a>'
+		$img_temp = FUNC('$body_image','bodysuit')
+		if $img_temp ! null:  $stat_imgextra_msg += '<a href="exec:view ''<<$img_temp>>''"><img <<$set_statimgh>> src="<<$img_temp>>"></a> '
+	end
+	
 	if Enable_statimg_shoes = 0:
 		$stat_imgtool_msg += ' <a href="exec:Enable_statimg_shoes = 1 & gs ''$menu_obnovit''">◇Shoes</a>'
 	else