Browse Source

Merge remote-tracking branch 'Anya/master'

Kevin_Smarts 3 years ago
parent
commit
a1a5e32dc9
1 changed files with 10 additions and 0 deletions
  1. 10 0
      locations/stat_display.qsrc

+ 10 - 0
locations/stat_display.qsrc

@@ -319,6 +319,14 @@ if SchoolBlock = 0:
 	if $stat_school_msg ! '': $stat_school_icon_msg = $stat_school_msg + $stat_school_schedule
 end
 
+if nerd_game['game_day'] = daystart and hour < 20:
+    $stat_game_night_msg = 'Game night starts tonight at 20:00 at the Community Center'
+	$stat_game_night_tooltip = 'Nerd Game Night'
+else
+    $stat_game_night_msg = ''
+	$stat_game_night_tooltip = ''
+end
+
 $stat_bra_msg = ''
 $stat_bra_text = ''
 
@@ -1040,6 +1048,8 @@ if cheatStatusIcons = 0:
 
 	if $stat_school_icon_msg ! '' and SchoolBlock = 0: $statusIconBarTab += '<td><a href="exec:msg $stat_school_icon_msg"><img title="<<$stat_school_tooltip>>" height = <<set_siconht>> src="images/system/icons/status/school.png"></a></td>'
 
+	if $stat_game_night_msg ! '': $statusIconBarTab += '<td><a href="exec:msg $stat_game_night_msg"><img title="<<$stat_game_night_tooltip>>" height = <<set_siconht>> src="images/system/icons/status/game_night.png"></a></td>'
+
 	if work > 0: $statusIconBarTab += '<td><a href="exec: gt ''journal'', ''records''"><img title="You have a job. Click to find out more." height = <<set_siconht>> src="images/system/icons/status/work.png"></a></td>'
 	
 	if model['icon'] = 1: