:: stol[quest]
	<h2>Desk</h2>
	<<image "shared/home/bedroom/stol.jpg">>
	<p>Bric-a-brac drawer.</p>

	<<if $q.questIsActive('school')>>
		<<if $quest('school').homeworkLeft > 0>>
			<p>You have homework to do. Finishing everything will take $quest('school').homeworkLeft <<plural $quest('school').homeworkLeft 'hour' 'hours'>>.</p>
			<<actCLA 'Do some homework' undefined `{willpower:['choreSchool']}`>>
				<<image "locations/shared/apartment/homework.jpg">>
				<<set $time.minutes += 60>>
				<<set $pc.mood += 5 * $pc.trait('nerd_status')>>
				<<if $inventory.get("computer") == 1>>
					<<run $quest('school').func('homework','yes',1,0,)>>
					You spend an hour
					<<if $quest('school').homeworkLeft == 0>>
						completing
					<<else>>
						doing part of
					<</if>>
					your homework.
				<<else>>
					<<run $quest('school').func('homework','no',1,0,)>>
					You spend an hour
					<<if $quest('school').homeworkLeft == 0>>
						completing
					<<else>>
						doing part of
					<</if>>
					your homework. The part for computer class is not as good as it could be since you don't have a computer. You could do your homework at the library at the community center in the future since there is a computer available to use there.
				<</if>>
				<<act 'Continue'>>
					<<gt 'stol' 'stolPar'>>
				<</act>>
			<</actCLA>>
		<<else>>
			<p>I you had homework to do, you could do it here.</p>
		<</if>>
	<</if>>






	/*<<if getvar("$lubri") > 0>>
		Lubricant, enough for $lubri time(s).
	<</if>>
	<<if $inventory.get("sunblock") > 0>>
		Sunblock, enough for $inventory.get("sunblock") more application(s).
	<</if>>
	<<if getvar("$abonement") > 0>>
		Fitness center subscription, valid for $abonement more visit(s).
	<</if>>
	<<if getvar("$dildo") > 0>>
		Realistic Dildo.
	<</if>>

	<!--<<if getvar("$mentats_have") > 0>>
		 FAILED TO CONVERT
			'<a href="exec:dynamic $use_mentats & gt ''stol'', ''start''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
		-----
			<<set ERROR: FAILED TO CONVERT LITERAL: """'<a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $use_mentats""">> <<gt 'stol' 'start'"><b>Take neurobooster pill.</b></a> Uses left: mentats_have. Warning on the box says not to take more than one per day.'>>


		<<warn "CONVERSION ERROR a16e604d9c525c8f3cff6642d1445e21">>
	<</if>>-->
	<!--<<if getvar("$steroid_have") > 0>>
		<!-- FAILED TO CONVERT
			'<a href="exec:dynamic $use_steroids & gt ''stol'', ''start''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
		-----
			<<set ERROR: FAILED TO CONVERT LITERAL: """'<a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $use_steroids""">> <<gt 'stol' 'start'"><b>Take steroids.</b></a> Uses left: steroid_have.'>>


		<<warn "CONVERSION ERROR d84f0a507c803ae0684b27c61a62ab4e">>
	<</if>>-->
	<!--<<if getvar("$aphrodisiac_have") > 0>>
		<!-- FAILED TO CONVERT
			'<a href="exec:dynamic $use_aphrodisiac & gt ''stol'', ''start''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
		-----
			<<set ERROR: FAILED TO CONVERT LITERAL: """'<a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $use_aphrodisiac""">> <<gt 'stol' 'start'"><b>Chew aphrodisiac gum.</b></a> Uses left: aphrodisiac_have.'>>


		<<warn "CONVERSION ERROR c243b895bdd9f2765a9aeec1fe0665e2">>
	<</if>>-->*/

	<<ret 'Close the drawer'>>

	/*<<act 'Check birth control'>>
		<<gt 'stol' 'bc'>>
	<</act>>
	<!--
	<<if getvar("$strapon") == 1>>
		<<if $dildo + $middildo + $largedildo + $bigdildo + $extradildo + $superdildo + getvar("$maddildo") > 0>>
			<<actCLA 'Check out your strapon harness'>>
				<<set $stol_loc_temp = 'start`>> <<gt `stol` `strapon'>>
			<</actCLA>>
		<<else>>
			<<actCLA 'Check out your strapon harness'>>

			<</actCLA>>
		<</if>>
	<</if>>
	 -->
	 <!--
	<<if getvar("$siga") > 0>>
		<<actCLA 'Hide some cigarettes in your drawer'>>
			<<set $cigIN = input ("How many cigarettes do you want to hide in your drawer? (Your purse contains <<siga>> cigarettes.)")>>
			<<if getvar("$cigIN") <= 0 or $cigIN > $siga>>
				You can't put this amount into the drawer.
			<<else>>
				<<set $stolcigarettes += $cigIN>>
				<<set $siga -= $cigIN>>
			<</if>>
			<<gt 'stol' 'start'>>
		<</actCLA>>
	<</if>>
	<<if getvar("$stolcigarettes") > 0>>
		<<actCLA 'Take some cigarettes from your drawer'>>
			<<set $cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")>>
			<<if getvar("$cigOUT") <= 0 or $cigOUT > $stolcigarettes>>
				You can't take this amount from your drawer.
			<<else>>
				<<set $stolcigarettes -= $cigOUT>>
				<<set $siga += $cigOUT>>
			<</if>>
			<<gt 'stol' 'start'>>
		<</actCLA>>
	<</if>>
	-->
	<!--<<if $finances.cash > 0>>
		<<actCLA 'Put some money in the drawer'>>

				stolIN = input ("How much money you want to put in the desk drawer? (Your purse contains <<money>> <b>₽</b>.)")

			<<if getvar("$stolIN") <= 0 or $stolIN > $finances.cash>>
			<<else>>
				<<set $stolmoney += $stolIN>>
				<<set $finances.cash -= $stolIN>>
			<</if>>
			<<gt 'stol' 'start'>>
		<</actCLA>>
	<</if>>
	<<if getvar("$stolmoney") > 0>>
		<<actCLA 'Take some money from the desk'>>
			stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
			<<warn "CONVERSION ERROR fbaaa35a6c3a5d725dfa3fd948f713b5">>
			<<if getvar("$stolOUT") <= 0 or $stolOUT > $stolmoney>>

			<<else>>
				<<set $stolmoney -= $stolOUT>>
				<<set $finances.cash += $stolOUT>>
			<</if>>
			<<gt 'stol' 'start'>>
		<</actCLA>>
	<</if>>-->
	<!--
	<<if $university['enrolled_in_semester'] > $university['semester_passed']>>
		<<if getvar("$university['semester_week']") > 0>>
			<<set $i = 0>>
			<<warn 'JUMP MARKER ENCOUNTERED: :study_loop'>>
			<<if $class_list_institution[$i] == 'uni_>>
				<<if $class['+$class_list_institution[$i]+'_'+$class_list_name[$i]+'_optional_weekly_grade_gain'] < $class[''+$class_list_institution[$i]+'_'+$class_list_name[$i]+'_optional_weekly_max']>>
					<!-- FAILED TO CONVERT
						dynamic '	act ''Study for your <<$class_list_name[i]>> class'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''start'' '

					<<warn "CONVERSION ERROR 6a886b4e7df514d5486c28f4f2fe43d3">>
				<<else>>
					<p>You don't need to study more this week for your $class_list_name[$i] class.</p>
				<</if>>
			<</if>>
			<<set $i += 1>>
			<<if ARRSIZE('class_list_institution') >= $i>>
				<<warn 'JUMP COMMAND ENCOUNTERED: jump study_loop'>>

			<</if>>
			<<set $i to null>>
		<<elseif getvar("$university['exam_week']") > 0>>
			<<set $i = 0>>
			<<warn 'JUMP MARKER ENCOUNTERED: :exam_loop'>>
			<<if $class_list_institution[$i] == 'uni_ and setup.func('uni_programs', 'exam', 'is_over', $class_list_name[$i]) == 0>>

					dynamic '	act ''Study intensely for your <<$class_list_name[i]>> exam'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''start'' '

			<</if>>
			<<set $i += 1>>
			<<if ARRSIZE('class_list_institution') >= $i>>
				<<warn 'JUMP COMMAND ENCOUNTERED: jump exam_loop'>>

			<</if>>
			<<set $i to null>>
		<</if>>
		-->*/
:: stol_deprecated
/*<<if $location_var[$here][0] == 'stolPar'>>
	<<set $menu_off = 1>>
	<center><h1>Desk</h1></center>
	<<image "shared/home/bedroom/stol.jpg">>
	You sit down at your desk.
	<<actCLA 'Get up'>>
		<<gt $location>>
	<</actCLA>>
	<<act 'Check your birth control'>>
		<<gt 'stol' 'bc'>>
	<</act>>
	<!-- FAILED TO CONVERT
		if mentats_have > 0: '<a href="exec:dynamic $use_mentats & gt ''stol'', ''stolPar''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
	-----
		<<if getvar("$mentats_have") > 0>>
		<!-- FAILED TO CONVERT
	'<a href="exec:dynamic $use_mentats & gt ''stol'', ''stolPar''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
-----
	<<set ERROR: FAILED TO CONVERT LITERAL: """'<a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $use_mentats""">> <<gt 'stol' 'stolPar'"><b>Take neurobooster pill.</b></a> Uses left: mentats_have. Warning on the box says not to take more than one per day.'>>

-->
<<warn "CONVERSION ERROR eaa41e5e98d4376d7e2d59c6028ebfc0">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 1381e478a259d1a7f39ebc26957cf874">>
	<!-- FAILED TO CONVERT
		if steroid_have > 0: '<a href="exec:dynamic $use_steroids & gt ''stol'', ''stolPar''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
	-----
		<<if getvar("$steroid_have") > 0>>
		<!-- FAILED TO CONVERT
	'<a href="exec:dynamic $use_steroids & gt ''stol'', ''stolPar''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
-----
	<<set ERROR: FAILED TO CONVERT LITERAL: """'<a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $use_steroids""">> <<gt 'stol' 'stolPar'"><b>Take steroids.</b></a> Uses left: steroid_have.'>>

-->
<<warn "CONVERSION ERROR 5d8bdecdcd5c5ac923d4d286f18874bd">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 22967dcd38df4a14b7ff34f7a07c37dd">>
	<!-- FAILED TO CONVERT
		if aphrodisiac_have > 0: '<a href="exec:dynamic $use_aphrodisiac & gt ''stol'', ''stolPar''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
	-----
		<<if getvar("$aphrodisiac_have") > 0>>
		<!-- FAILED TO CONVERT
	'<a href="exec:dynamic $use_aphrodisiac & gt ''stol'', ''stolPar''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
-----
	<<set ERROR: FAILED TO CONVERT LITERAL: """'<a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $use_aphrodisiac""">> <<gt 'stol' 'stolPar'"><b>Chew aphrodisiac gum.</b></a> Uses left: aphrodisiac_have.'>>

-->
<<warn "CONVERSION ERROR 154e1feebc22266da8d50e1b04a48f81">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 14bfe305696c357bc77f16d6c65f0944">>

	<<if $university['enrolled_in_semester'] > $university['semester_passed']>>
		<<if getvar("$university['semester_week']") > 0>>
			<<set $i = 0>>
			<<warn 'JUMP MARKER ENCOUNTERED: :study_loop'>>
			<<if $class_list_institution[$i] == 'uni_>>
				<<if $class['+$class_list_institution[$i]+'_'+$class_list_name[$i]+'_optional_weekly_grade_gain'] < $class[''+$class_list_institution[$i]+'_'+$class_list_name[$i]+'_optional_weekly_max']>>
					<!-- FAILED TO CONVERT
						dynamic '	act ''Study for your <<$class_list_name[i]>> class'': gt ''stol'', ''studying'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
					-----
						ERROR: FAILED TO CONVERT LITERAL: """dynamic '	act ''Study for your $class_list_name[$i] class'': gt ''stol''""" , 'studying' , '$class_list_institution[$i]' , '$class_list_name[$i]' , 'stolPar' '

					-->
					<<warn "CONVERSION ERROR a7f3bbce573ef1f733d119366175bb57">>
				<<else>>
					<p>You don't need to study more this week for your $class_list_name[$i] class.</p>
				<</if>>
			<</if>>
			<<set $i += 1>>
			<<if ARRSIZE('class_list_institution') >= $i>>
				<<warn 'JUMP COMMAND ENCOUNTERED: jump study_loop'>>

			<</if>>
			<<set $i to null>>
		<<elseif getvar("$university['exam_week']") > 0>>
			<<set $i = 0>>
			<<warn 'JUMP MARKER ENCOUNTERED: :exam_loop'>>
			<<if $class_list_institution[$i] == 'uni_ and setup.func('uni_programs', 'exam', 'is_over', $class_list_name[$i]) == 0>>
				<!-- FAILED TO CONVERT
					dynamic '	act ''Study intensely for your <<$class_list_name[i]>> exam'': gt ''stol'', ''studying_exam'', ''<<$class_list_institution[i]>>'', ''<<$class_list_name[i]>>'', ''stolPar'' '
				-----
					ERROR: FAILED TO CONVERT LITERAL: """dynamic '	act ''Study intensely for your $class_list_name[$i] exam'': gt ''stol''""" , 'studying_exam' , '$class_list_institution[$i]' , '$class_list_name[$i]' , 'stolPar' '

				-->
				<<warn "CONVERSION ERROR d72e58f8fe24db4f9daf00f4cdb789d3">>
			<</if>>
			<<set $i += 1>>
			<<if ARRSIZE('class_list_institution') >= $i>>
				<<warn 'JUMP COMMAND ENCOUNTERED: jump exam_loop'>>

			<</if>>
			<<set $i to null>>
		<</if>>
	<</if>>
	<<set $stol_loc_temp to null>>
	<<if getvar("$strapon") == 1>>
		<<if $dildo + $middildo + $largedildo + $bigdildo + $extradildo + $superdildo + getvar("$maddildo") > 0>>
			<<actCLA 'Check out your strapon harness'>>
				<<set $stol_loc_temp = 'stolPar`>> <<gt `stol` `strapon'>>
			<</actCLA>>
		<<else>>
			<<actCLA 'Check out your strapon harness'>>

			<</actCLA>>
		<</if>>
	<</if>>
	<<if getvar("$siga") > 0>>
		<<actCLA 'Hide some cigarettes in your drawer'>>
			<<set $cigIN = input ("How many cigarettes do you want to hide in your drawer? (Your purse contains <<siga>> cigarettes.)")>>
			<<if getvar("$cigIN") <= 0 or $cigIN > $siga>>
				You can't put this amount into the drawer.
			<<else>>
				<<set $stolcigarettes += $cigIN>>
				<<set $siga -= $cigIN>>
			<</if>>
			<<gt 'stol' 'stolPar'>>
		<</actCLA>>
	<</if>>
	<<if getvar("$stolcigarettes") > 0>>
		<<actCLA 'Take some cigarettes from your drawer'>>
			<<set $cigOUT = input ("How many cigarettes do you want to put in your purse? (There are <<stolcigarettes>> cigarettes here.)")>>
			<<if getvar("$cigOUT") <= 0 or $cigOUT > $stolcigarettes>>
				You can't take this amount from your drawer.
			<<else>>
				<<set $stolcigarettes -= $cigOUT>>
				<<set $siga += $cigOUT>>
			<</if>>
			<<gt 'stol' 'stolPar'>>
		<</actCLA>>
	<</if>>
	<<if $finances.cash > 0>>
		<<actCLA 'Hide some money in your drawer'>>
			<!-- FAILED TO CONVERT
				stolIN = input ("How much money you want to hide in your drawer? (Your purse contains <<money>> <b>₽</b>.)")
			-----
				<<set $stolIN = input ("How much money you want to hide in your drawer? (ERROR: FAILED TO CONVERT LITERAL: """Your purse contains <<money>> <b>₽<""" / ERROR: FAILED TO CONVERT LITERAL: """b>.""")")>>

			-->
			<<warn "CONVERSION ERROR 04b2b18488da73649e6118006089e597">>
			<<if getvar("$stolIN") <= 0 or $stolIN > $finances.cash>>
				You can't put this amount into the drawer.
			<<else>>
				<<set $stolmoney += $stolIN>>
				<<set $finances.cash -= $stolIN>>
			<</if>>
			<<gt 'stol' 'stolPar'>>
		<</actCLA>>
	<</if>>
	<<if getvar("$stolmoney") > 0>>
		<<actCLA 'Take some money from your drawer'>>
			<!-- FAILED TO CONVERT
				stolOUT = input ("How much money do you want to put in your purse? (There is <<stolmoney>> <b>₽</b> here.)")
			-----
				<<set $stolOUT = input ("How much money do you want to put in your purse? (ERROR: FAILED TO CONVERT LITERAL: """There is <<stolmoney>> <b>₽<""" / ERROR: FAILED TO CONVERT LITERAL: """b> here.""")")>>

			-->
			<<warn "CONVERSION ERROR fbaaa35a6c3a5d725dfa3fd948f713b5">>
			<<if getvar("$stolOUT") <= 0 or $stolOUT > $stolmoney>>
				You can't take this amount from your drawer.
			<<else>>
				<<set $stolmoney -= $stolOUT>>
				<<set $finances.cash += $stolOUT>>
				<<if getvar("$stolmoney") > 0>>
					<p>You have stolmoney <b>₽</b> hiden in your drawer.</p>

				<</if>>
			<</if>>
			<<gt 'stol' 'stolPar'>>
		<</actCLA>>
	<</if>>
<</if>>
<<if $location_var[$here][0] == 'strapon'>>
	<!-- !! use gs 'boyStat', 'D<<strapnumber>>' to recall which dildo is attached-->
	 	<center><h1>Desk</h1></center>
	<<image "shared/home/bedroom/stol.jpg">>
	<<if getvar("$strapnumber") == 0>>
		Your strapon harness doesn''t have a dildo attached to it.

	<</if>>
	<!-- FAILED TO CONVERT
		if dildo = 1: iif(strapnumber = 1, 'Your 10cm dildo is attached to your strapon harness.', '<a href="exec:strapnumber = 1 & gt ''stol'', ''strapon''">Attach</a> your 10cm long dildo.')
	-----
		<<if getvar("$dildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 1, 'Your 10cm dildo is attached to your strapon harness.', '<<link "Attach">><<set $strapnumber = 1>> <<gt 'stol' 'strapon'>><</link>> your 10cm long dildo.')
-----
	<<set iif(strapnumber = 1 , 'Your 10cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 1""">> <<gt 'stol' ''strapon''">Attach</a> your 10cm long dildo.')>>

-->
<<warn "CONVERSION ERROR 5fa8726ad97c9e3e0763eb5ed5f8bf32">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 09409454305e96856743e44a7151d2ce">>
	<!-- FAILED TO CONVERT
		if middildo = 1: iif(strapnumber = 2, 'Your 15cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 2 & gt ''stol'', ''strapon''">Attach</a> your 15cm long dildo.')
	-----
		<<if getvar("$middildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 2, 'Your 15cm dildo is attached to your strapon harness.','<<link "Attach">><<set $strapnumber = 2>> <<gt 'stol' 'strapon'>><</link>> your 15cm long dildo.')
-----
	<<set iif(strapnumber = 2 , 'Your 15cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 2""">> <<gt 'stol' ''strapon''">Attach</a> your 15cm long dildo.')>>

-->
<<warn "CONVERSION ERROR 043e7640d0c5c0661b8f2ba360adf42c">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR ff3e0a60b77704c4200b8ed08372a388">>
	<!-- FAILED TO CONVERT
		if largedildo = 1: iif(strapnumber = 3, 'Your 20cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 3 & gt ''stol'', ''strapon''">Attach</a> your 20cm long dildo.')
	-----
		<<if getvar("$largedildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 3, 'Your 20cm dildo is attached to your strapon harness.','<<link "Attach">><<set $strapnumber = 3>> <<gt 'stol' 'strapon'>><</link>> your 20cm long dildo.')
-----
	<<set iif(strapnumber = 3 , 'Your 20cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 3""">> <<gt 'stol' ''strapon''">Attach</a> your 20cm long dildo.')>>

-->
<<warn "CONVERSION ERROR 57bca190e1e35a9b400e49372920f9c9">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 3bfd97c7f342479df13b0f296b189f89">>
	<!-- FAILED TO CONVERT
		if bigdildo = 1: iif(strapnumber = 4, 'Your 25cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 4 & gt ''stol'', ''strapon''">Attach</a> your 25cm long dildo.')
	-----
		<<if getvar("$bigdildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 4, 'Your 25cm dildo is attached to your strapon harness.','<<link "Attach">><<set $strapnumber = 4>> <<gt 'stol' 'strapon'>><</link>> your 25cm long dildo.')
-----
	<<set iif(strapnumber = 4 , 'Your 25cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 4""">> <<gt 'stol' ''strapon''">Attach</a> your 25cm long dildo.')>>

-->
<<warn "CONVERSION ERROR ae06e3002acd1baa3a1976c0702c9ae1">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR a35ced707235accbf6d9395d7496ca5c">>
	<!-- FAILED TO CONVERT
		if extradildo = 1: iif(strapnumber = 5, 'Your 30cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 5 & gt ''stol'', ''strapon''">Attach</a> your 30cm long dildo.')
	-----
		<<if getvar("$extradildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 5, 'Your 30cm dildo is attached to your strapon harness.','<<link "Attach">><<set $strapnumber = 5>> <<gt 'stol' 'strapon'>><</link>> your 30cm long dildo.')
-----
	<<set iif(strapnumber = 5 , 'Your 30cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 5""">> <<gt 'stol' ''strapon''">Attach</a> your 30cm long dildo.')>>

-->
<<warn "CONVERSION ERROR ce7841b9b694b1f539bbbc7fcdcdbace">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 7fbf03e17429f2e45f000c8a33b85473">>
	<!-- FAILED TO CONVERT
		if superdildo = 1: iif(strapnumber = 6, 'Your 35cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 6 & gt ''stol'', ''strapon''">Attach</a> your 35cm long dildo.')
	-----
		<<if getvar("$superdildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 6, 'Your 35cm dildo is attached to your strapon harness.','<<link "Attach">><<set $strapnumber = 6>> <<gt 'stol' 'strapon'>><</link>> your 35cm long dildo.')
-----
	<<set iif(strapnumber = 6 , 'Your 35cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 6""">> <<gt 'stol' ''strapon''">Attach</a> your 35cm long dildo.')>>

-->
<<warn "CONVERSION ERROR def0fa7b56f1072c934bcd3ff4e550fb">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 918454d36420e8b501b1b06a6b8d7568">>
	<!-- FAILED TO CONVERT
		if maddildo = 1: iif(strapnumber = 7, 'Your 40cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 7 & gt ''stol'', ''strapon''">Attach</a> your 40cm long dildo.')
	-----
		<<if getvar("$maddildo") == 1>>
		<!-- FAILED TO CONVERT
	iif(strapnumber = 7, 'Your 40cm dildo is attached to your strapon harness.','<<link "Attach">><<set $strapnumber = 7>> <<gt 'stol' 'strapon'>><</link>> your 40cm long dildo.')
-----
	<<set iif(strapnumber = 7 , 'Your 40cm dildo is attached to your strapon harness.' , ERROR: FAILED TO CONVERT LITERAL: """'<a href="exec:strapnumber = 7""">> <<gt 'stol' ''strapon''">Attach</a> your 40cm long dildo.')>>

-->
<<warn "CONVERSION ERROR 480984f5c6e396f947957ee1afca6edb">>

	<</if>>

	-->
	<<warn "CONVERSION ERROR 299a2ff93aa30a8b44d735e44c8ddf27">>
	<<actCLA 'Back'>>
		<<gt 'stol' $stol_loc_temp>>
	<</actCLA>>
<</if>>
<<if $location_var[$here][0] == 'bc'>>
	<center><h1>Desk</h1></center>
	<<image "shared/home/bedroom/stol.jpg">>
	<<gs 'din_bad'>>
	In the drawer of your desk, you store your birth control.
	<<actCLA 'Close the drawer'>>
		<<gt $location>>
	<</actCLA>>
	<<actCLA 'Check your condoms'>>
		<<if $inventory.get("condom") + $prezikcount + getvar("$preziksabo") > 0>>
			<<if $locclass == 'bedr'>>
				 				<<image "pc/items/accessories/birthcontrol/condoms.jpg">>
			<</if>>
			<<if getvar("$preziktype") == 2 or getvar("$preziksabo") > 0>>
				<!-- FAILED TO CONVERT
					'You have <<iif(preziktype = 2, prezikcount, prezikcount+prezik)>> normal, and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
				-----
					<<set ERROR: FAILED TO CONVERT LITERAL: """'You have <<iif(preziktype""" = 2 , $prezikcount , $prezikcount + ERROR: FAILED TO CONVERT LITERAL: """prezik)>> normal""" , ERROR: FAILED TO CONVERT LITERAL: """and <<iif(preziktype = 2""" , $inventory.get("condom") + $preziksabo , ERROR: FAILED TO CONVERT LITERAL: """preziksabo)>> sabotaged <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.<""" / ERROR: FAILED TO CONVERT LITERAL: """b><""" / ERROR: FAILED TO CONVERT LITERAL: """a>'""">>

				-->
				<<warn "CONVERSION ERROR 8e1d1f2f6fe7cd870ebb17cdafdbe69f">>
			<<elseif getvar("$preziktype") < 2 and getvar("$preziksabo") == 0>>
				<!-- FAILED TO CONVERT
					'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
				-----
					<<set ERROR: FAILED TO CONVERT LITERAL: """'You have <<prezik""" + ERROR: FAILED TO CONVERT LITERAL: """prezikcount>> <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $din_Table_Condom_Menu"><b>condoms.<""" / ERROR: FAILED TO CONVERT LITERAL: """b><""" / ERROR: FAILED TO CONVERT LITERAL: """a>'""">>

				-->
				<<warn "CONVERSION ERROR 6effe6a7f608d73ff9ab9d0f910f85b6">>
			<</if>>
		<<else>>
			<<if $locclass == 'bedr'>>
				 				<<image "shared/home/bedroom/drawer_empty.jpg">>
			<</if>>
			You are out of condoms.
		<</if>>
	<</actCLA>>
	<<actCLA 'Check your birth control pills'>>
		<<if getvar("$tabletki") > 0 or getvar("$pillsleft["+$ptype+"]") > 0>>
			<<if $locclass == 'bedr'>>
				 				<<image "pc/items/accessories/birthcontrol/bc_pills.jpg">>
			<</if>>
			<<if getvar("$tabletki") > 0 and getvar("$pillsleft["+$ptype+"]") > 0>>
				<!-- FAILED TO CONVERT
					'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> and <<pillsleft[ptype]>> pills left in your opened package.</b>'
				-----
					<<set ERROR: FAILED TO CONVERT LITERAL: """'You have <<tabletki>> unopened packages of <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $d_tabletkiedt">birth control pills<""" / ERROR: FAILED TO CONVERT LITERAL: """a> and <<pillsleft[$ptype]>> pills left in your opened package.<""" / ERROR: FAILED TO CONVERT LITERAL: """b>'""">>

				-->
				<<warn "CONVERSION ERROR fd89b000a0d50f066aafa3d548a5edca">>
			<<elseif getvar("$tabletki") == 0 and getvar("$pillsleft["+$ptype+"]") > 0>>
				<!-- FAILED TO CONVERT
					'You have <<pillsleft[ptype]>> <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> left.</b>'
				-----
					<<set ERROR: FAILED TO CONVERT LITERAL: """'You have <<pillsleft[$ptype]>> <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $d_tabletkiedt">birth control pills<""" / ERROR: FAILED TO CONVERT LITERAL: """a> left.<""" / ERROR: FAILED TO CONVERT LITERAL: """b>'""">>

				-->
				<<warn "CONVERSION ERROR 4fbf6baefe13aedc5af19094174ed991">>
			<<elseif getvar("$tabletki") > 0 and getvar("$pillsleft["+$ptype+"]") == 0>>
				<!-- FAILED TO CONVERT
					'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a>.'
				-----
					<<set ERROR: FAILED TO CONVERT LITERAL: """'You have <<tabletki>> unopened packages of <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:dynamic $d_tabletkiedt">birth control pills<""" / ERROR: FAILED TO CONVERT LITERAL: """a>.'""">>

				-->
				<<warn "CONVERSION ERROR 9e0cf379eb7981c5296be198a4be41d7">>
			<</if>>
		<<else>>
			<<if $locclass == 'bedr'>>
				 				<<image "shared/home/bedroom/drawer_empty.jpg">>
			<</if>>
			You are out of birth control pills.
		<</if>>
	<</actCLA>>
	<<actCLA 'Check your morning after pills'>>
		<<if getvar("$morning_after_pill") > 0>>
			<<if $locclass == 'bedr'>>
				 				<<image "pc/items/accessories/birthcontrol/morning_after_pill.jpg">>
			<</if>>
			<<if getvar("$morning_after_pill") == 1>>
				You have a <<link "morning after pill">><<gs 'medical_din' 'morning_after_pill'>><</link>> hidden in the back corner of the drawer.
			<<else>>
				<!-- FAILED TO CONVERT
					'You have <b><<birth_control[''morning_after'']>></b> <a href="exec:gs''medical_din'',''morning_after_pill''">morning after pills</a> stacked in the back corner of the drawer.'
				-----
					<<set ERROR: FAILED TO CONVERT LITERAL: """'You have <b><<birth_control['morning_after']>><""" / ERROR: FAILED TO CONVERT LITERAL: """b> <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec:gs''medical_din''""" , ERROR: FAILED TO CONVERT LITERAL: """''morning_after_pill''">morning after pills<""" / ERROR: FAILED TO CONVERT LITERAL: """a> stacked in the back corner of the drawer.'""">>

				-->
				<<warn "CONVERSION ERROR ed3d418c6e5b80875cf08f106e46c52b">>
			<</if>>
		<<else>>
			<<if $locclass == 'bedr'>>
				 				<<image "shared/home/bedroom/drawer_empty.jpg">>
			<</if>>
			You have no morning after pills.
		<</if>>
	<</actCLA>>
<</if>>
<<if $location_var[$here][0] == 'studying'>>
	<<image "locations/shared/apartment/homework.jpg">>
	<<set $time.minutes += 30>>
	<<if $inventory.get("computer") == 1>>
		<<gs 'grades' 'optional_activity_attribute' '$larg(1)' '$larg(2)' 'yes' $pc.skillLevel("intelligence")>>
	<<else>>
		<<gs 'grades' 'optional_activity_attribute' '$larg(1)' '$larg(2)' 'no' $pc.skillLevel("intelligence")>>
	<</if>>
	<<if $class['+$larg(1)+'_'+$larg(2)+'_optional_weekly_grade_gain'] < $class[''+$larg(1)+'_'+$larg(2)+'_optional_weekly_max']>>
		You study for half an hour, and you can tell you will need to study more if you want to completly understand this weeks material
	<<else>>
		You study for half an hour, and you think you understand everything that is covered this week
	<</if>>
	<<act 'Get up from your desk'>>
		<<gt 'stol' '$larg(3)'>>
	<</act>>
<</if>>
<<if $location_var[$here][0] == 'studying_exam'>>
	<<image "locations/shared/apartment/homework.jpg">>
	<!-- !!Nerds likes studying and so their mood improves a little. Everbody else get in a worse mood by studying.-->
	<<run $pc.skillExperienceGain('intelligence',max(0 rand(-1,1)))>>
	<<set $pc.mood += ($pc.trait('nerd_status') * 5 - 10)>>
	<<set $time.minutes += 30>>
	<<if $pc.pcs_sleep < 5>>
		<<set $no_study = 1>>
		You are so tired that you are constantly falling a sleep. You get no studying done in this condition.
	<<elseif $pc.pcs_sleep < 30>>
		<<set $study_mod -= 20>>
		You are very tired and have a hard time keeping you eyes open.
	<</if>>
	<<if $pc.alko >= 6>>
		<<set $no_study = 1>>
		You are so drunk that you eyes can't make sense of the letters written in the books. Holding your pen is also a problem.
	<<elseif $pc.alko >= 4>>
		<<set $study_mod -= 40>>
		You are drunk and have trouble concentration on reading the books. When you look back on the notes you made a lot of them are incomprehensible.
	<<elseif $pc.alko >= 2>>
		<<set $study_mod -= 20>>
		You are feeling a little tipsy and the you think that the studying is going great. But when you afterwards look at it you notice that a lot of your notes you made makes no sense.
	<</if>>
	<<if getvar("$mentats_dose") >= 1>>
		<<setn $study_mod += 30>>

	<</if>>
	<<if $pc.mood < 50>>
		<<set $study_mod -= 20>>
		you are in a bad mood and it clearly effects you studying.
	<</if>>
	<<if $pc.strongNarkota > 0 or getvar("$jointhigh") > 0>>
		<<set $study_mod -= 40>>
		You are stoned, and it is not making it easier to concentrate on studying.
	<</if>>
	<<if getvar("$amphHigh") > 0>>
		<<setn $study_mod += 20>>

	<</if>>
	<<if $pc.pcs_energy < 5>>
		<<set $study_mod -= 20>>
		You are extremely hungry and it it is hard thinking about anything else that food.
	<<elseif $pc.pcs_energy < 10>>
		<<set $study_mod -= 10>>
		You are very hungry and it affect your ability to concentrate.
	<<elseif $pc.pcs_energy < 20>>
		<<set $study_mod -= 10>>
		You ar hungry and your thought often drift to food, affecting your performance negatively.
	<</if>>
	<<if $pc.horny > 90>>
		<<set $study_mod -= 10>>
		ou are so arouse that you thought often drifts to sex effecting you ability your study.
	<</if>>
	<<if $pc.painTotal > 90>>
		<<set $no_study = 1>>
		You are in so much pain that you can't study.
	<<elseif $pc.painTotal > 75>>
		<<set $study_mod -= 40>>
		You are in so much pain that you have a very hard time concentrating on studying.
	<<elseif $pc.painTotal > 60>>
		<<set $study_mod -= 20>>
		Your pain a constantly bothering and it makes it harder to study.
	<</if>>
	<<set $study_mod = Math.max(0,rand(30 + study_mod,$pc.intelligence + study_mod)/33)>>
	<<if getvar("$no_study") == 1>>
		You try to study for half an hour, but gets nothing done.
	<<else>>
		<<if getvar("$study_mod") == 0>>
			You study for half an hour. But don't think you are improving.
		<<elseif getvar("$study_mod") == 1>>
			You study for half an hour, and think you are improving a little.
		<<elseif getvar("$study_mod") == 2>>
			You study for half an hour, and think you are doing good progress in getting ready for the exam.
		<<else>>
			You study for half an hour, and think you are improving a lot.
		<</if>>
		<<gs 'grades' 'grade_award' '$larg(1)' '$larg(2)' $study_mod>>
	<</if>>
	<<set $study_mod to null>>
	<<set $nod_study to null>>
	<<act 'Get up from your desk'>>
		<<gt 'stol' '$larg(3)'>>
	<</act>>
<</if>>*/
