:: therapist_reminder
<<set $here = 'therapist_reminder'>>
<<set $ARGS = $location_var[$here]>>
<<if !$location_var[$here][0]>>
	 	<<set $reminderCount += 1>>
	<<image "pc/reactions/forget.jpg">>
	<p></p>
	You remember that you have an appointment with your therapist today at 18:00. It's already <<hour>>:<<minut>>. You should go now.
	<<if $region == 'pav'>>
		<<if getvar("$reminderFreebee") < 4>>
			<<gs 'willpower' 'misc' 'resist' 'easy'>>
			<<set $will_cost += ($quest('therapist').hypnoTime * 2)>>
			<<if $will_cost <= $pc.willpower>>
				<<actCLA 'Return to what you were doing (will_cost Willpower)'>>
					<<set $pc.mood -= rand(10,20)>>
					<<WithdrawFromHypno>>
					<<image "pc/reactions/Sad.jpg">>
					<p></p>
					You feel bad about missing your appointment, but you have other things to do now. You tell yourself that you'll see him again as soon as possible.
					<<actCLA 'Continue'>>
						<<gt $menu_loc $menu_arg>>
					<</actCLA>>
				<</actCLA>>
			<<else>>
				<<actCLA `'Return to what you were doing ('+$will_cost+')'`>><font color=red><br/>You don`t have enough willpower to use this action.</font><</actCLA>>
			<</if>>
		<<else>>
			<<actCLA 'Return to what you were doing'>>
				 				<<set $reminderMult = $reminderCount>>
				<<if getvar("$reminderCount") > 10>>
					<<set $reminderMult = 10>>

				<</if>>
				<<set $reminderMoodCostLow = parseInt(Math.sqrt(30*reminderMult))>>
				<<set $reminderMoodCostHigh = parseInt(Math.sqrt(90*reminderMult))>>
				<<set $pc.mood -= rand(reminderMoodCostLow, reminderMoodCostHigh)>>
				<<image "pc/reactions/Sad.jpg">>
				<p></p>
				You feel bad about missing your appointment, but you have other things to do now. You tell yourself that you'll see him again as soon as possible.
				<<actCLA 'Continue'>>
					<<gt $menu_loc $menu_arg>>
				<</actCLA>>
			<</actCLA>>
		<</if>>
		<<actCLA 'Go see your therapist'>>
			 			<<if $loc == 'pav_lake'>>
				<<set $time.minutes += 15>>
			<<elseif $loc == 'pav_park'>>
				<<set $time.minutes += 10>>
			<<elseif $region == 'pav'>>
				<<set $time.minutes += 10>>
			<<else>>
				<<set $time.minutes += 5>>
			<</if>>
			<<video "locations/pavlovsk/clinic/therapist/schoolWalk.mp4">>
			You walk to your therapist''s office.
			<<act 'Continue'>>
				<<gt 'therapist'>>
			<</act>>
		<</actCLA>>
	<<else>>
		<p></p>
		... But you realize you are much to far away, there''s no way you can make it on time.
		<<actCLA 'Return to what you were doing'>>
			 			<<set $reminderMult = $reminderCount>>
			<<if getvar("$reminderCount") > 10>>
				<<set $reminderMult = 10>>

			<</if>>
			<<set $reminderMoodCostLow = parseInt(Math.sqrt(30*reminderMult))>>
			<<set $reminderMoodCostHigh = parseInt(Math.sqrt(90*reminderMult))>>
			<<set $pc.mood -= rand(reminderMoodCostLow, reminderMoodCostHigh)>>
			<<image "pc/reactions/Sad.jpg">>
			<p></p>
			You feel terrible about missing your appointment. You tell yourself that you'll see him again as soon as possible.
			<<actCLA 'Continue'>>
				<<gt $menu_loc $menu_arg>>
			<</actCLA>>
		<</actCLA>>
	<</if>>
<</if>>
<!-- !Remove this and any dynamic function calls-->
:: WithdrawFromHypno_macro[widget]
<<widget 'WithdrawFromHypno'>>
	<<set $time.daysSkippedHypno += 1>>
	<<if getvar("$time.daysSkippedHypno") >= 5>>
		<<set $quest('therapist').hypnoTime -= 1>>
	<</if>>
	<<if $quest('therapist').hypnoTime <= 5>>
		<<set $quest('therapist').hypnoAddict = 0>>
		<<set $hypnoHardToCum = 0>>
	<<elseif $quest('therapist').hypnoTime == 0>>
		<<gs 'therapist'>>
		<<RestTherapyVariables>>
	<</if>>
<</widget>>
