Browse Source

[added] stat_display message that tells you if you're working at the salon on a given day

hornguy6 3 years ago
parent
commit
bf8f7c415e
1 changed files with 18 additions and 0 deletions
  1. 18 0
      locations/stat_display.qsrc

+ 18 - 0
locations/stat_display.qsrc

@@ -1925,6 +1925,24 @@ if enable_extra_msg = 1:
 			$stat_msg += '<br>You can contract up to <<10-pornstack>> porn shoots at the Porn Studio.'
 		end
 	end
+	
+	if masseuse['jobtype'] > 0:
+		if masseuse['<<week>>_shift_check'] = 1 and masseuse['<<week>>_shift_1'] = 1 and hour < 9:
+			'<BR><b><font color="blue">You have a shift at the salon today at 9:00.</font></b>'
+		elseif masseuse['<<week>>_shift_check'] = 1 and masseuse['<<week>>_shift_1'] = 1 and hour < 9:
+			'<BR><b><font color="red">You''re late for your 9:00 shift at the salon!</font></b>'
+		elseif masseuse['<<week>>_shift_check'] = 1 and masseuse['<<week>>_shift_2'] = 1 and hour < 13:
+			'<BR><b><font color="blue">You have a shift at the salon today at 13:00.</font></b>'
+		elseif masseuse['<<week>>_shift_check'] = 1 and masseuse['<<week>>_shift_2'] = 1 and hour < 13:
+			'<BR><b><font color="red">You''re late for your 13:00 shift at the salon!</font></b>'
+		elseif masseuse['<<week>>_shift_check'] = 1 and masseuse['<<week>>_shift_3'] and hour < 17:
+			'<BR><b><font color="blue">You have a shift at the salon today at 17:00.</font></b>'
+		elseif masseuse['<<week>>_shift_check'] = 1 and masseuse['<<week>>_shift_3'] = 1 and hour < 17:
+			'<BR><b><font color="red">You''re late for your 17:00 shift at the salon!</font></b>'
+		end
+	end
+	
+	
 	if hour < 22 and week >= 2 and week <= 4 and workKafe = 1:$stat_msg += '<BR><b><font color="red">Today you have a shift at The Roadhouse cafe starting at 11:00.</font></b>'
 	if hour < 17 and week < 5 and workSec >= 1 or hour < 17 and week < 5 and workSec = 1:$stat_msg += '<BR><b><font color="red">Today you have a shift as a secretary at Titran-Express from 9:00 to 17:00</font></b>'
 	if hour < 17 and week < 5 and BurgerQW['Secretary'] = 1:$stat_msg += '<BR><b><font color="red">Today you have a shift as a secretary at Diner Bystroeshka from 9:00 to 17:00</font></b>'