Explorar el Código

[Added] Volleball icon/notification to sidebar.

R hace 3 años
padre
commit
ce22934d59
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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: