Procházet zdrojové kódy

[Added] Volleball icon/notification to sidebar.

R před 3 roky
rodič
revize
ce22934d59
1 změnil soubory, kde provedl 11 přidání a 0 odebrání
  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: