Sfoglia il codice sorgente

[Added] Volleball icon/notification to sidebar.

R 3 anni fa
parent
commit
dd125319e5
1 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  1. 11 0
      locations/stat_display.qsrc

+ 11 - 0
locations/stat_display.qsrc

@@ -1087,6 +1087,17 @@ if cheatStatusIcons = 0:
 			end
 		end
 	end
+
+	if volleysostav > 0:
+		if week ! 6 and volkomday ! daystart:
+			$stat_volleyball_msg = 'You have volleyball practice today.'
+		elseif week = 6 and sorevday ! daystart and hour <= 18:
+			$stat_volleyball_msg = 'There is volleyball tournament today at 18:00.'
+		elseif week = 6 and sorevday ! daystart and hour > 18:
+			$stat_volleyball_msg = 'You missed volleball tournament!'
+		end
+		$statusIconBarTab += '<td><a href="exec: msg $stat_volleyball_msg"><img title="<<$stat_volleyball_msg>>" height = <<set_siconht>> src="images/system/icons/status/volleball.png"></a></td>'
+	end
 	
 	if pornstar['icon'] = 1 and pornstar['icon_disable'] ! daystart:
        if hour < 11: