Browse Source

[changed] The icon display method is changed to only display it if there is actually a problem/meeting to attend.

Malen 1 year ago
parent
commit
68ed264e8d
1 changed files with 35 additions and 24 deletions
  1. 35 24
      locations/stat_display.qsrc

+ 35 - 24
locations/stat_display.qsrc

@@ -259,31 +259,42 @@ else
 	$stat_court_msg = ''
 end
 
-if therapistday ! daystart and hypnoSchedule = 1 and hour < 18:
-	$stat_hypno_msg = 'You have a meeting scheduled with your therapist today at 18:00.'
-elseif therapistday ! daystart and hypnoSchedule = 1 and hour < 19 and hour > 18:
-	$stat_hypno_msg = 'You have a meeting scheduled with your therapist right now.'
-else
-	$stat_hypno_msg = ''
+killvar '$stat_hypno_msg'
+killvar '$stat_hypno_tooltip'
+if hypnoAddict > 0:
+	if hypnoWithdrawal = 2:
+		if missCum >= timeTresh:
+			$stat_hypno_msg = 'You want some sperm inside of you NOW! You have to talk to your therapist, immediately.'
+			$stat_hypno_tooltip = 'You have to talk to your therapist, immediately.'
+		else
+			$stat_hypno_msg = 'You need to talk to your therapist. You feel unbalanced without your sessions.'
+			$stat_hypno_tooltip = 'You feel unbalanced without your sessions.'
+		end
+	elseif hypnoWithdrawal = 1:
+		if missCum >= timeTresh:
+			$stat_hypno_msg = 'You really miss the feeling of sperm in your body, you are strangely craving it. You should talk to your therapist about it.'
+			$stat_hypno_tooltip = 'You should talk to your therapist.'
+		else
+			$stat_hypno_msg = 'You feel like talking to your therapist. You miss your sessions.'
+			$stat_hypno_tooltip = 'You miss your sessions.'
+		end
+	elseif missCum > 0:
+		$stat_hypno_msg = 'You miss the feeling of sperm in your body, and you feel moody.'
+		$stat_hypno_tooltip = 'You feel moody for some reason.'
+	end
 end
-
-if hypnoAddict > 0 and hypnoWithdrawal = 1 and missCum >= timeTresh:
-	$stat_hypno_msg += ' You really miss the feeling of sperm in your body, you are strangely craving it. You should talk to your therapist about it.'
-	$stat_hypno_tooltip = 'Talk to your therapist.'
-elseif hypnoAddict > 0 and hypnoWithdrawal = 1 and missCum < timeTresh:
-	$stat_hypno_msg += ' You feel like talking to your therapist. You miss your sessions.'
-	$stat_hypno_tooltip = 'Maybe visit your therapist.'
-elseif hypnoAddict > 0 and hypnoWithdrawal = 2 and missCum >= timeTresh:
-	$stat_hypno_msg += ' You want some sperm inside of you NOW! You have to talk to your therapist, immediately.'
-	$stat_hypno_tooltip = 'Talk to your therapist, immediately.'
-elseif hypnoAddict > 0 and hypnoWithdrawal = 1 and missCum < timeTresh:
-	$stat_hypno_msg += ' You need to talk to your therapist. You feel unbalanced without your sessions.'
-	$stat_hypno_tooltip = 'Talk to your therapist.'
-elseif hypnoAddict > 0:
-	$stat_hypno_msg += ' You miss the feeling of sperm in your body, and you feel moody.'
-	$stat_hypno_tooltip = 'Maybe visit your therapist.'
-else
-	$stat_hypno_tooltip = 'Maybe visit your therapist.'
+if therapistday ! daystart and hypnoSchedule = 1:
+	if $stat_hypno_msg ! '': 
+		$stat_hypno_msg += '<br>'
+		$stat_hypno_tooltip += '<br>'
+	end
+	if hour < 18:
+		$stat_hypno_msg += 'You have a meeting scheduled with your therapist today at 18:00.'
+		$stat_hypno_tooltip += 'Session at 18:00!'
+	elseif hour < 19 and hour > 18:
+		$stat_hypno_msg += 'You have a meeting scheduled with your therapist right now.'
+		$stat_hypno_tooltip += 'Session right now!'
+	end
 end
 
 if frost > 0 and frost < 6: