# Komp
if $ARGS[0] = 'start':
	cls
	elektro += 5
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'Your computer boots up, and soon you''re looking at your operating system''s main screen.'

	act 'Play Solitaire (0:20)':gt 'Komp', 'pasians'

	if GameCD > 0:act 'Play Disopl':gt 'KGDstart'
	if GameCD2 > 0:act 'Play Sunset Dead':gt 'KGZstart'
	if GameCD3 > 0:act 'Play Albido':gt 'FSstart'

	!!act 'SunReview of the Dead':gt 'KGZstart'

	if student > 0 and kursovik < 100:'You should probably do some of your <a href="exec:GT ''Komp'',''kursak''">coursework</a>.'
	
	if $LOC = 'shulga_room':
		internet = 100000
		act 'Browse the internet':gt 'Komp', 'brows'
	else
		'You have <<internet>> hours of prepaid internet access remaining.'
		if internet > 0:
			act 'Browse the internet':gt 'Komp', 'brows'
		end
	end

	act 'Shut your computer down':
		if $LOC = 'shulga_room':
			internet = internetS
		end
		cla
		gt 'Komp', 'fin'
	end
end

if $ARGS[0] = 'brows':
	cls
	gs 'stat'
	if internet = 0:
		'<center><b>Browser</b></center>'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/eror.jpg"></center>'
		'You have no prepaid internet access remaining. You need to buy more, before you can go online again.'
	else

		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
		'You go to your favourite start page, while you try to decide on what you want to see right now.'

		'A blinking banner for a <a href="exec:GT ''Komp'',''agent''">real estate agency</a> keeps popping up in the corner.'

		act 'Check out an interior design website (1:00)':gt 'Komp', 'remont'

		if housr = 1 and husband = 0:act 'Rent your apartment out':gt 'Komp', 'sale'

		act 'Search for porn (1:00)':gt 'Komp', 'porno'
		act 'Browse a dating website (1:00)':gt 'Komp', 'znak'

		if hour < 20 and hour > 7:act 'Look for a job online':gt 'Komp', 'rabota'

		act 'Search for cable TV services (1:00)':gt 'Komp', 'kabtv'
		act 'Play an online game':gt 'KGstart'
		if bankAccount > 0: act 'Visit your bank, maybe to purchase more online time': gt 'Komp', 'bank'

		if shantfoto > 0:act 'Find the girl you took photos of in the park on "Assbook"':gt 'Komp', 'foto'
		if gor_dorm = 7:act 'Read letter from Eugene':gt 'etoexhib', 'pos91'
		if camwhore = 1:act 'Go to MyFreeCams.org':gt 'Komp', 'mfc'
		if (storyline = 1 and SchoolAtestat = 0) or student > 0:act 'Spend time studying':gt 'Komp', 'study'
		if sucpcinfo = 0 and succubxp > 0: act 'Research the strange feelings you''ve been having': gt 'succubus', 'kompresearch'
	end

	act '<B>Close the browser</B>':gt 'Komp','start'
end

if $ARGS[0] = 'sale':
	cla
	clr
	*clr
	minut += 60
	elektro += 3
	internet -= 1

	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'You go to a popular website where people can post advertisements for free. You could post an advertisement here.'
	if obkvsdam >= 1 and housr ! 0: 'You placed an advertisement to rent out your apartment. You should probably check every once in a while to see if anyone responded.'

	if obkvsdam = 0 and housrA = 1:
		act 'Rent out your apartment':obkvsdam = 1 & gt 'Komp', 'sale'
	elseif obkvsdam > 0:
		act 'Check if you got any replies':
			cla
			if obkvsdam = 1:
				'No one has responded to your offer to rent out your apartment just yet.'
			elseif obkvsdam > 1:
				if obkvsdam = 2:predsumm = 7000
				if obkvsdam = 3:predsumm = 8000
				if obkvsdam = 4:predsumm = 9000
				if obkvsdam = 5:predsumm = 10000
				'Someone wants to stay in your apartment for a month! They''re offering you <<predsumm>> <b>₽</b> in cash.'

				act 'Accept the offer':
					sdaday = day
					sdamonth = month + 1
					if sdamonth > 12:sdamonth = 1
					if sdaday > monthsEnd[sdamonth]:sdaday = monthsEnd[sdamonth]
					housr = 0
					karta += predsumm
					gt 'Komp', 'start'
				end
			end

			act 'Leave this website':gt 'Komp', 'brows'
		end
	end

	act 'Leave this website':gt 'Komp', 'brows'
end

if $ARGS[0] = 'remont':
	cla
	clr
	*clr
	minut += 60
	elektro += 3
	internet -= 1
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'You''re currently browsing the website of a local interior designer. They claim they can remodel houses so fast, it''s done by the time you leave the computer! Surely a joke...'

	if housr = 1:
		if rembedr = 0:
			act 'Have them redesign your bedroom (50,000 <b>₽</b>)':
				cla
				if karta + bankDebtLimit >= 50000:
					rembedr = 1
					karta -= 50000
					'When you transfer the money, you wait for a second to fill out your contact information somewhere. When you look into the hallway, you notice your new bedroom is finished already! It looks fabulous, but wait... how did they do that!?'
				else
					'Unfortunately, you do not have enough money in your bank account.'
				end

				act 'Go back one step':gt 'Komp', 'remont'
			end
		end

		if remsitr = 0:
			act 'Renovate the living room (50,000 <b>₽</b>)':
				cla
				if karta + bankDebtLimit >= 50000:
					remsitr = 1
					karta -= 50000
					'When you transfer the money, you wait for a second to fill out your contact information somewhere. When you look into the hallway, you notice the living room is finished already! It looks fabulous, but wait... how did they do that!?'
				else
					'Unfortunately, you do not have enough money in your bank account.'
				end

				act 'Go back one step':gt 'Komp', 'remont'
			end
		end

		if remkorr = 0:
			act 'Repair hallway (50,000 <b>₽</b>)':
				cla
				if karta + bankDebtLimit >= 50000:
					remkorr = 1
					karta -= 50000
					'When you transfer the money, you wait for a second to fill out your contact information somewhere. When you look into the hallway, you notice it is finished already! It looks fabulous, but wait... how did they do that!?'
				else
					'Unfortunately, you do not have enough money in your bank account.'
				end

				act 'Go back one step':gt 'Komp', 'remont'
			end
		end

		if remvanr = 0:
			act 'Renovate the bathroom (50,000 <b>₽</b>)':
				cla
				if karta + bankDebtLimit >= 50000:
					remvanr = 1
					karta -= 50000
					'When you transfer the money, you wait for a second to fill out your contact information somewhere. When you look into the hallway, you notice your new bathroom is installed already! It looks fabulous, but wait... how did they do that!?'
				else
					'Unfortunately, you do not have enough money in your bank account.'
				end

				act 'Go back one step':gt 'Komp', 'remont'
			end
		end

		if remkuhr = 0:
			act 'Renovate the kitchen (50,000 <b>₽</b>)':
				cla
				if karta + bankDebtLimit >= 50000:
					remkuhr = 1
					karta -= 50000
					'When you transfer the money, you wait for a second to fill out your contact information somewhere. When you look into the hallway, you notice the kitchen you just ordered is already installed and ready to use. It looks fabulous, but wait... how did they do that!?'
				else
					'Unfortunately, you do not have enough money in your bank account.'
				end

				act 'Go back one step':gt 'Komp', 'remont'
			end
		end
	end

	act 'Leave this website':gt 'Komp', 'brows'
end

if $ARGS[0] = 'porno':
	cls
	gs 'stat'
	
	if internet = 0:
		'<center><b>Browser</b></center>'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/eror.jpg"></center>'
		'You have no prepaid internet access remaining. You need to buy more, before you can go online again.'

		act '<B>Close the browser</B>':gt 'Komp','start'
	elseif sisterHere > 0 and $loc = 'bedrPar':
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
		'You shouldn''t watch porn with your sister in the room, she would notice for sure!'

		act 'Leave this website':gt 'Komp', 'brows'
	else
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
		'You go to a porn site and browse for a few minutes, trying to find a hot video.'

		act 'Watch porn':
			cls
			elektro += 3
			pcs_willpwr += rand(5, 10)
			pcs_mood += rand(10, 20)
			internet -= 1
			gs 'stat'
			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/porno.jpg"></center>'
			'You find a video you think you''d enjoy, and spend some time watching it. Wow, that girl is so lucky...'
			
			gs 'arousal', 'voyeur', 60
			gs 'stat'
			
			act 'The video ends...':gt 'Komp', 'porno'
		end

		if pcs_horny >= 50:act 'Masturbate (0:15)':gt 'Komp', 'masturbate'

		act 'Leave this website':gt 'Komp', 'brows'
	end
end

if $ARGS[0] = 'masturbate':
	cls
	internet -= 1
	elektro += 1
	pcs_sweat += 10

	if divanmastr = 0:
		divanmastr = 1
		stat['mast'] += 1
		if pcs_exhibition < 30:exhibition_exp += rand(1,3)
	end

	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/kompmas.jpg"></center>'
	'You get comfortable in front of your computer and with one hand begin to fondle your breasts, while you click on a link to something really dirty.'
	'You let go of the mouse and start rubbing your pussy, imagining you''re the woman in the video. The fantasy and your touching are getting you all hot and bothered.'
	
	gs 'arousal', 'masturbate', 15
	gs 'stat'

	if pcs_horny >= 100:
		$orgasm_or = 'custom'
		$orgasm_txt = 'Suddenly your muscles tighten and you cum powerfully, while you stifle your moans so your neighbours won''t find out. Afterwards, you have goosebumps all over your skin. That was just what you needed!'
	end

	act 'Stop masturbating':divanmastr = 0 & gt 'Komp', 'porno'
	
	gs 'arousal', 'end'
	gs 'stat'
	
	if pcs_horny >= 50:act 'Masturbate some more (0:15)':gt 'Komp', 'masturbate'
end

if $ARGS[0] = 'pasians':
	cla
	clr
	*clr
	minut += 20
	elektro += 3
	pcs_willpwr += rand(5, 10)
	pcs_mood += rand(10, 20)

	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'You entertain yourself for about twenty minutes, playing a game of solitaire on the computer.'

	act 'Play for another 20 minutes':gt 'Komp', 'pasians'
	act 'Return to desktop':gt 'Komp', 'start'
end

if $ARGS[0] = 'znak':
	cla
	clr
	*clr
	minut += 60
	pcs_mood += 5
	elektro += 3
	internet -= 1
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'You enter a dating site, and immediately see all sorts of profiles of both men and women.'
	'The guys on this site are rather cute! If you''re single, you could try contacting one. Who knows, maybe you''ll meet the man of your dreams through here!'

	if gor_dorm = 8:
		act 'Pick someone suitable for Eugenia':
			cla
			gor_dorm = 9

			'You click through dozens of profiles, before choosing a guy who you think would be a good match for Eugenia. You send him a message, asking if he wants to meet up somewhere.'
			'Now the waiting game begins! Let''s hope you picked a nice guy for her...'

			act 'Leave this website':gt 'Komp', 'brows'
		end
	elseif housrA = 0:
		pcs_willpwr += rand(5, 10)
		pcs_mood += rand(5, 10)
		'You spend time looking at the various profiles, but it won''t let you register unless you have your own home.'
		'Still, some of the pictures were quite raunchy and the more desperate profiles were really funny.'
	else
		if pcs_lovers[1] = 0 or pcs_lovers[2] = 0 or pcs_lovers[3] = 0:
			act 'Look for a kind man':
				cla
				gs 'boy'
				gs 'boyfrend', 'start'
				stopboy = 0
				haraklover[lover_number] = 0
				'You find a guy named <<$loverdesc[lover_number]>>, and send him your number after checking out his profile. You hope he will call you!'

				act 'Leave':gt 'Komp', 'brows'
			end

			act 'Look for a normal guy':
				cla
				gs 'boy'
				gs 'boyfrend', 'start'
				stopboy = 0
				haraklover[lover_number] = 1
				'You find a guy named <<$loverdesc[lover_number]>>, and send him your number after checking out his profile. You hope he will call you!'

				act 'Leave':gt 'Komp', 'brows'
			end

			act 'Look for a strong man':
				cla
				gs 'boy'
				gs 'boyfrend', 'start'
				stopboy = 0
				haraklover[lover_number] = 2
				'You find a guy named <<$loverdesc[lover_number]>>, and send him your number after checking out his profile. You hope he will call you!'

				act 'Leave this website':gt 'Komp', 'brows'
			end
		end
	end
	act 'Leave this website':gt 'Komp', 'brows'
end

if $ARGS[0] = 'kabtv':
	cla
	clr
	*clr
	minut += 60
	elektro += 3
	internet -= 1
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'You check out the website of the local cable TV provider. A subscription for cable TV costs 300 <b>₽</b> per month, payable on the 25th.'
	''

	if kabel = 1:
		'You currently have a cable subscription for your TV.'

		act 'Cancel your cable subscription (300 <b>₽</b>)':
			cla
			kabel = 0
			karta -= 300
			'Your subscription has been cancelled and you can no longer watch the extra channels. The cable firm charges a one-time fee of 300 <b>₽</b> for disconnecting you.'
			gt 'Komp', 'kabtv'
		end
	elseif kabel = 0 and TV = 1:
		'You currently do not have a cable subscription for your TV.'

		act 'Get cable services for your TV':
			cla
			msg 'Unfortunately your TV is too old and crap for cable. You''ll have to get a modern TV first.'
			gt 'Komp', 'kabtv'
		end
	elseif kabel = 0 and TV >= 2:
		'You currently do not have a cable subscription for your TV.'

		act 'Get cable services for your TV (300 <b>₽</b> per month)':
			cla
			kabel = 1
			msg 'Soon after you fill out the form, you get a confirmation message that your sign-up was successful. You should have the extra channels on your TV now.'
			gt 'Komp', 'kabtv'
		end
	else
		'You don''t even have a TV!'
		act 'Leave this website':gt 'Komp', 'brows'
	end
	act 'Leave this website':gt 'Komp', 'brows'
end

if $ARGS[0] = 'foto':
	cla
	*clr
	elektro += 3
	internet -= 1
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'
	'You''re currently on Russia''s biggest social network site, "Assbook". Almost everyone has an account here, probably including the girl you took that photo of the other day!'
	'"Maybe if I can find her, I can blackmail her", you think to yourself. "This photo is very raunchy, after all... I bet she would hate to see it published, if she''s important!"'
	'You can''t help but rub your pussy every now and then while you look at it. You''ll probably keep a copy of this for yourself, either way!'

	if shantfoto > 0:
		act 'Try to find out who she is (1:00)':
			cla
			minut += 60
			fotsearchrand = rand(0, 10)

			if fotsearchrand <= 7:
				'Despite your best efforts, you don''t manage to find the girl this time.'

				act 'Go back to the "Assbook" main page':gt 'Komp', 'foto'
			end

			if fotsearchrand > 7:
				shantfoto -= 1
				'Despite your best efforts, you don''t manage to... wait, that''s her! You found her!'
				gerofotorand = rand(0, 100)

				if gerofotorand > 30:
					'Your dreams of making a fortune are quickly shattered when you check out her profile. Cheap clothes, few friends, lives in a poor district of the city... this girl is not worth blackmailing.'

					act 'Go back to the "Assbook" main page':gt 'Komp', 'foto'
				end

				if gerofotorand >= 5 and gerofotorand <= 30:
					shantsr += 1
					'When you click through her profile, you estimate she''s an unknown middle class girl. Still, she has a lot of friends and the outfits she''s wearing in her photos look stylish... she has money to spend.'
					'"Why not make her spend some of it on me?" you laugh to yourself, and begin to write a private message.'
					'You send her a copy of the photo with the private message, and tell her to transfer a very modest amount of 5,000 <b>₽</b> to your bank account. If she doesn''t want that photo to be sent to her entire friends list (which you secured before sending the message), the money needs to be on your bank account within 48 hours.'

					act 'Go back to the "Assbook" main page':gt 'Komp', 'foto'
				end

				if gerofotorand < 5:
					shantbog += 1
					'You can barely believe it when you read her profile, this girl is a celebrity! It would be a major scandal if this photo got published!'
					'You send her a copy of the photo with a private message, telling her to transfer 30,000 <b>₽</b> to your bank account. If she doesn''t want that photo to be sent to the press, the money needs to be on your bank account within 48 hours.'

					act 'Go back to the "Assbook" main page':gt 'Komp', 'foto'
				end
			end
		end
	end

	act 'Leave this website':gt 'Komp', 'brows'
end

if $ARGS[0] = 'rabota':
	cla
	*clr
	minut += 60
	internet -= 1
	komprabota = rand(0, 10)
	if $LOC = 'shulga_room':komprabota = rand(5, 15)
	gs 'stat'

	if internet = 0:
		'<center><b>Browser</b></center>'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/eror.jpg"></center>'
		'You have no prepaid internet access remaining. You need to buy more, before you can go online again.'

		act '<B>Close the browser</B>':gt 'Komp','start'

	else

		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/komp.jpg"></center>'

		if komprabota = 0 and gorodokKomp = 0:
			'You find a job vacancy, on a legit looking website. It reads: "Wanted! <b>URGENTLY!</b> Female underwear model, for a photoshoot. Pay: 2000 <b>₽</b> cash."'
			'The description explains that they need someone today. If you decide to take this job, you will have to shut down your computer and go there right away.'

			if pcs_apprnc < 120:
				'You consider it for a moment, but decide against it. You''re probably not pretty enough to be an underwear model.'
			elseif pcs_apprnc >= 120:
				act 'Accept the job and go there':gt 'qjob', 'var1'
			end

			if hour < 20 and hour > 7:act 'Search for more jobs':gt 'Komp', 'rabota'

			act 'Leave this website':gt 'Komp', 'brows'
		elseif komprabota = 1 and gorodokKomp = 0:
			'You find a job vacancy, on a legit looking website. It reads: "Wanted! <b>URGENTLY!</b> Female underwear model, for a photoshoot. Pay: 2000 <b>₽</b> cash."'
			'The description explains that they need someone today. If you decide to take this job, you will have to shut down your computer and go there right away.'

			if pcs_apprnc < 120:
				'You consider it for a moment, but decide against it. You''re probably not pretty enough to be an underwear model.'
			elseif pcs_apprnc >= 120:
				act 'Accept the job and go there':gt 'qjob', 'var2'
			end

			if hour < 20 and hour > 7:act 'Search for more jobs':gt 'Komp', 'rabota'

			act 'Leave this website':gt 'Komp', 'brows'
		elseif komprabota > 1 and komprabota < 5 and gorodokKomp = 0:
			'You find a job vacancy, on a legit looking website. It reads: "Wanted! <b>URGENTLY!</b> Good looking female model, posing for artwork. Must be able to stand still in one pose for a long time. Pay: 1000 <b>₽</b> cash."'
			'The description explains that they need someone today. If you decide to take this job, you will have to shut down your computer and go there right away.'

			if pcs_apprnc < 60:
				'You consider it for a moment, but decide against it. You''re probably not pretty enough to be a model.'
			elseif pcs_apprnc >= 60:
				act 'Accept the job and go there':gt 'qjob', 'var3'
			end

			if hour < 20 and hour > 7:act 'Search for more jobs':gt 'Komp', 'rabota'

			act 'Leave this website':gt 'Komp', 'brows'
		elseif komprabota > 4 and komprabota < 8 and pcs_intel >= 50 and camwhore = 0:
			'You find a job vacancy, on a legit looking website. It reads: "Wanted! Webcam models. Flexible working hours. Click for more info."'
			act 'Gather more information':
				cls
				minut += 5
				gs 'stat'
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore1.jpg"></center>'
				'You click the button and get taken to the full job description.'
				'<i>For this job, you will have to expose your body in front of customers, fulfilling their wishes. Payment is completely based on a tip system: customers on the website can buy tokens, which they can use to tip girls they enjoy watching.'
				'How much money you make is up to you: the better you are at attracting viewers, and the more you are willing to do to please them, the more likely they will be to tip you.'
				'After a quick verification, you usually get paid immediately after a session ends. The tokens you earn will be converted to rubles, and paid to your bank account right away.'
				'The website hides your stream for viewers from your region, so the chance of being recognized by someone you know in real life is very low.'
				'If you''re interested in becoming a webcam girl, please fill in this questionnaire below.</i>'

				act 'Fill in the questionnaire':
					cls
					camwhore = 1
					mfcclients = 0
					camclients = 0
					mfccum = 0
					minut += 20
					gs 'stat'
					'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore2.jpg"></center>'
					'You fill out the questionnaire and register yourself as a webcam model. Ten minutes later, you have already been approved and you can now earn money as a webcam girl.'
					'Of course, you will need a functioning webcam to do this! If you don''t have one yet, they are fairly cheap to buy at most local supermarket chains.' 
					act 'Leave this website':gt 'Komp','brows'
				end
				act 'Leave this website':gt 'Komp','brows'
			end

			if hour < 20 and hour > 7:act 'Search for more jobs':gt 'Komp','rabota'
			act 'Leave this website':gt 'Komp','brows'
		else
			'Unfortunately, you do not find any jobs you would consider doing.'

			if hour < 20 and hour > 7:act 'Search for more jobs':gt 'Komp','rabota'
			act 'Leave this website':gt 'Komp','brows'
		end
	end
end

if $ARGS[0] = 'study':
	cla
	*clr
	minut = minut + 60
	elektro = elektro + 3
	internet -= 1
	intel_exp += 1 + (mentats_dose - rand(0,mentats_dose))
	'<center><b>The Institute for Education Measurement</b></center>'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/study.jpg"></center>'
	'You spend an hour on the IEM website, reading news articles and educational blogs. You feel a bit smarter afterwards.'
	
	act 'Leave this website':gt'Komp','brows'
end

if $ARGS[0] = 'kursak':
	cla
	*clr
	minut += 60
	elektro += 3
	internet -= 1
	pcs_mood -= 10
	kursovik = kursovik + RAND(pcs_intel/20,pcs_intel/10)
	if kursovik > 100:kursovik = 100
	'<center><b>Coursework</b></center>'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/kursak.jpg"></center>'
	'It may be boring, but it still needs doing! You spend an hour doing coursework, and <<kursovik>>% of it is now finished.'

	act 'Leave this website':gt 'Komp','brows'
end

if $ARGS[0] = 'agent':
	cla
	clr
	*clr
	minut += 60
	elektro += 3
	internet -= 1
	gs 'stat'
	'<center><b>Real estate agency</b></center>'
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/agent.jpg"></center>'
	'You''re currently at the website of the largest real estate agency in the area.'
	'They have apartments available in the residential district. Renting one would cost you 6000 <b>₽</b> for 30 days.'
	''
	if ArendHouseSL > 0:'You have <B><<ArendHouseSL>> days</B> remaining on the rental of your apartment.'
	if karta + bankDebtLimit >= 6000 and BuyHous ! 1:
		act 'Rent an apartment online':
			cla
			karta -= 6000
			housr = 1
			BuyHous = 2
			ArendHouseSL += 30
			'After a very simple procedure, you can now call an apartment in the residential district home for another 30 days. You have <B><<ArendHouseSL>> days</B> remaining on the rental of your apartment.'
			act 'Leave this website':gt 'Komp','brows'
		end
	end
	act 'Leave this website':gt 'Komp','brows'
end

if $ARGS[0] = 'fin':
	gt $locM, $metkaM
end

if $ARGS[0] = 'mfc':
	if mesec > 0:
		cls
		minut += 2
		topmfc = 1
		backmfc = 1
		tokens = 0
		camclients = 0
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore2.jpg"></center>'
		'It''s that time of the month! You feel sick to your stomach and the cramps hurt pretty badly from time to time... you''re in no condition to earn money showing off your body.'
		act 'Leave this website':gt 'Komp','brows'
	elseif sisterHere = 0 or $loc ! 'bedrPar':
		act 'Go to your MFC homepage':
			cls
			minut += 2
			gs 'stat'
			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore3.jpg"></center>'
			'You enter your own chatroom on the website. You currently have <<camclients>> viewers.'

			act 'Continue':gt 'komp','startpagemfc'
		end
		act 'Leave this website':
			cls
			minut += 2
			topmfc = 1
			backmfc = 1
			tokens = 0
			camclients = 0
			gs 'stat'
			gt 'Komp','brows'
		end
	elseif sisterHere > 0 and $loc = 'bedrPar':
		cls
		minut += 2
		topmfc = 1
		backmfc = 1
		tokens = 0
		camclients = 0
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore2.jpg"></center>'
		'You can''t do any webcam activities with your sister in the room!'
		act 'Leave this website':gt 'Komp','brows'
	end
end

if $ARGS[0] = 'startpagemfc':
	if vgape > 0 or agape > 0:
		cls
		gs 'stat'
		'While you sit in your chair, you can''t help but wince every time you move. You want to put up a show, but it hurts too much. And besides... you doubt your viewers would want to see you in your current state! You should heal up a bit before trying again.'
		act 'Collect your earnings and leave':
			karta += tokens/2
			gt 'Komp','mfc'
		end
	else
		cls
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore3.jpg"></center>'
		'You casually chat with the <<camclients>> visitors currently in your chatroom. Once you turn on your webcam, things will probably get busier.'
		act 'Turn on your webcam':gt 'komp','waitclients'
		act 'Collect your earnings and leave':
			karta += tokens/2
			gt 'Komp','mfc'
		end
	end
end

if $ARGS[0] = 'waitclients':
	cls
	minut = minut + RAND(1,4)
	if mfccum = 0:
		pcs_mood -= RAND(0,3)
	elseif mfccum = 1:
		mfcdaycum = daystart
		pcs_mood -= RAND(1,3)
	elseif mfccum = 2:
		mfcdaycum = daystart
		pcs_mood -= RAND(2,5)
	elseif mfccum = 3:
		mfcdaycum = daystart
		pcs_mood -= RAND(5,8)
	elseif mfccum = 4:
		mfcdaycum = daystart
		pcs_mood -= RAND(5,11)
	elseif mfccum = 5:
		mfcdaycum = daystart
		pcs_mood -= RAND(7,12)
	elseif mfccum > 5:
		mfcdaycum = daystart
		pcs_mood -= RAND(10,20)
	end
	mfcclients += 1

	if pcs_apprnc < 100:
		if topmfc = 1 and backmfc = 1:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(1,3)
				else
					camclients += RAND(1,3)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(3,5)
				else
					camclients += RAND(3,5)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(4,8)
				else
					camclients += RAND(4,8)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(5,15)   
				else
					camclients += RAND(5,15)   
				end
			end
			chancetips = RAND(0,100)
			clientask = RAND(0,100)
			if chancetips >= 95 and camclients >= 250:
				if webpopular >= 50:
					tokens += RAND(10,30)
				else
					tokens += RAND(1,20)
				end
			end
		end
	else
		if topmfc = 1 and backmfc = 1:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(3,5)
				else
					camclients += RAND(3,5)
				end	
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(5,8)
				else
					camclients += RAND(5,8)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(5,12)
				else
					camclients += RAND(5,12)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(8,15)
				else
					camclients += RAND(8,15)
				end  
			end
			chancetips = RAND(5,100)
			clientask = RAND(5,100)
			if chancetips >= 95 and camclients >= 200:
				if webpopular >= 50:
					tokens += RAND(10,40)
				else
					tokens += RAND(1,20)
				end
			end
		end
	end
	if pcs_apprnc < 100:
		if topmfc = 0 and backmfc = 1:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(1,3)
				else
					camclients += RAND(1,3)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(1,5)
				else
					camclients += RAND(1,5)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(5,10)
				else
					camclients += RAND(5,10)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(6,15)
				else
					camclients += RAND(6,15)
				end   
			end
			chancetips = RAND(5,90)
			clientask = RAND(5,100)
			if chancetips >= 85 and camclients >= 230:
				if webpopular >= 50:
					tokens += RAND(10,35)
				else
					tokens += RAND(1,20)
				end
			end
		end
	else
		if topmfc = 0 and backmfc = 1:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(3,6)
				else
					camclients += RAND(3,6)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(5,10)
				else
					camclients += RAND(5,10)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(7,12)
				else
					camclients += RAND(7,12)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(10,15) 
				else
					camclients += RAND(10,15) 
				end
			end
			chancetips = RAND(10,90)
			clientask = RAND(10,100)
			if chancetips >= 85 and camclients >= 200:
				if webpopular >= 50:
					tokens += RAND(15,35)
				else
					tokens += RAND(1,20)
				end
			end
		end
	end
	if pcs_apprnc < 100:
		if topmfc = 1 and backmfc = 0:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(1,3)
				else
					camclients += RAND(1,3)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(2,5)
				else
					camclients += RAND(2,5)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(5,15)
				else
					camclients += RAND(5,15)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(5,20)
				else
					camclients += RAND(5,20)
				end
			end
			chancetips = RAND(10,80)
			clientask = RAND(10,100)
			if chancetips >= 75 and camclients >= 200:
				if webpopular >= 50:
					tokens += RAND(10,40)
				else
					tokens += RAND(1,20)
				end
			end
		end
	else
		if topmfc = 1 and backmfc = 0:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(4,7)
				else
					camclients += RAND(4,7)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(5,12)
				else
					camclients += RAND(5,12)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(9,15)
				else
					camclients += RAND(9,15)
				end	
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(15,20)
				else
					camclients += RAND(15,20)
				end
			end
			chancetips = RAND(15,80)
			clientask = RAND(15,100)
			if chancetips >= 75 and camclients >= 170:
				if webpopular >= 50:
					tokens += RAND(15,45)
				else
					tokens += RAND(1,20)
				end
			end
		end
	end
	if pcs_apprnc < 100:
		if topmfc = 0 and backmfc = 0:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(1,4)
				else
					camclients += RAND(1,4)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(3,10)
				else
					camclients += RAND(3,10)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(10,20)
				else
					camclients += RAND(10,20)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(10,30)
				else
					camclients += RAND(10,30)
				end	
			end
			chancetips = RAND(15,50)
			clientask = RAND(15,100)
			if chancetips >= 45 and camclients >= 150:
				if webpopular >= 50:
					tokens += RAND(20,50)
				else
					tokens += RAND(5,25)
				end
			end
		end 
	else
		if topmfc = 0 and backmfc = 0:
			if webpopular < 15:
				if mfcclients > 3:
					camclients -= RAND(3,8)
				else
					camclients += RAND(3,8)
				end
			elseif webpopular >= 15 and webpopular < 35:
				if mfcclients > 3:
					camclients -= RAND(3,15)
				else
					camclients += RAND(3,15)
				end
			elseif webpopular >= 35 and webpopular < 75:
				if mfcclients > 3:
					camclients -= RAND(10,20)
				else
					camclients += RAND(10,20)
				end
			elseif webpopular >= 75:
				if mfcclients > 3:
					camclients -= RAND(10,30)
				else
					camclients += RAND(10,30)
				end	
			end
			chancetips = RAND(20,50)
			clientask = RAND(20,100)
			if chancetips >= 45 and camclients >= 100:
				if webpopular >= 50:
					tokens += RAND(30,50)
				else
					tokens += RAND(10,30)
				end
			end
	 	end
	end
	if camclients <= 0:camclients = 0
	gs 'stat'

	if topmfc = 1 and backmfc = 1:
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore3.jpg"></center>'
	end
	if topmfc = 0 and backmfc = 1:
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore4.jpg"></center>'
	end
	if topmfc = 1 and backmfc = 0:
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore5.jpg"></center>'
	end
	if topmfc = 0 and backmfc = 0:
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore6.jpg"></center>'
	end
	
	tokenpay = tokens / 2
	'You take a moment of rest, and just chat casually with your <<camclients>> visitors.'
	'You have earned <<tokens>> tokens so far this session, which amounts to <<tokenpay>> <b>₽</b>.'

	act 'Wait for more visitors':gt 'komp','waitclients'

	if topmfc = 1 and clientask >= 98:
		cls
		gs 'stat'
		'One of your visitors really wants to see your boobs! He''s willing to leave you some tokens as a tip, if you take off your bra right now...'
		act 'Remove your bra':
			cls
			webpopular += 1
			topmfc = 0
			if webpopular < 15:
				tokens += RAND(10,25)
			elseif webpopular >= 15 and webpopular < 35:
				tokens += RAND(15,25)
			elseif webpopular >= 35 and webpopular < 75:
				tokens += RAND(25,50)
			elseif webpopular >= 75:
				tokens += RAND(50,150)
			end
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore7.jpg"></center>'
			'You stand up and lean forward, so your boobs are in full view of the camera. You slowly take off your bra and give the camera a sweet smile.'
			'While you sit back down and toss your bra to the ground, you hear the donation sound several times. Your visitors enjoyed that!'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'

			act 'Continue':gt 'Komp','waitclients'
		end
		act 'Refuse to take off your bra':
			cls
			webpopular -= 1
			gt 'Komp','waitclients'
		end
	end
	if backmfc = 1 and clientask >= 96 and clientask < 98:
		cls
		'One of the visitors asks you to remove your panties, and show your bare pussy to the camera. A second visitor chimes in, adding some extra tokens to the offer.'
		act 'Take off your panties':
			cls
			mfcclients = 0
			webpopular += 1
			backmfc = 0
			if webpopular < 15:
				tokens += RAND(10,25)
			elseif webpopular >= 15 and webpopular < 35:
				tokens += RAND(15,25)
			elseif webpopular >= 35 and webpopular < 75:
				tokens += RAND(25,50)
			elseif webpopular >= 75:
				tokens += RAND(50,150)
			end
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore8.jpg"></center>'
			'You make a show of pointing the camera at your groin, and slowly push your panties down your legs. The chat explodes for a moment, with several visitors complimenting your body, and a few more making lewd comments on what they would do to you if they were with you right now.'
			'As promised, you receive some tokens.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act 'Continue':gt 'Komp','waitclients'
		end
		act 'Refuse to take off your panties':
			cls
			webpopular -= 1
			gt 'Komp','waitclients'
		end
	end
	if topmfc = 0 and clientask >= 94 and clientask < 96:
		cls
		'One of the visitors types: "Play with those titties, girl! I''ll pay!"'
		act 'Play with your boobs':
			cls
			mfcclients = 0
			webpopular += 1
			backmfc = 0
			if webpopular < 15:
				tokens += RAND(15,25)
			elseif webpopular >= 15 and webpopular < 35:
				tokens += RAND(20,30)
			elseif webpopular >= 35 and webpopular < 75:
				tokens += RAND(50,100)
			elseif webpopular >= 75:
				tokens += RAND(50,150)
			end
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore10.jpg"></center>'
			'You adjust your camera and lie down on your bed, and start to knead your tits and pinch your nipples playfully. When you hear the donation sound, you smile sweetly at the camera and thank the person who donated personally, immediately prompting a second visitor to donate as well.'

			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act 'Continue':gt 'Komp','waitclients'
		end
		act 'Refuse to play with your boobs':
			cls
			webpopular -= 1
			gt 'Komp','waitclients'
		end
	end
	if backmfc = 0 and clientask = 93:
		cls
		'"Let''s see that sweet cunt of yours again, whore!" one of your visitors says.'
		'He''s kinda rude about it, but then again... he''s willing to pay.'
		act 'Do it':
			cls
			mfcclients = 0
			webpopular += 1
			if webpopular < 15:
				tokens += RAND(20,25)
			elseif webpopular >= 15 and webpopular < 35:
				tokens += RAND(25,50)
			elseif webpopular >= 35 and webpopular < 75:
				tokens += RAND(50,100)
			elseif webpopular >= 75:
				tokens += RAND(100,150)
			end
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore12.jpg"></center>'
			'You lie down comfortably and put your hand between your legs, gently rubbing your labia with your fingers. You put some effort into showing how wet you are already, which is met with some enthusiastic chatter.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			if pcs_horny >= 100:
				mfccum += 1
				pcs_mood = 100
				gs 'stat'
				$orgasm_or = 'custom'
				$orgasm_txt = 'You groan despite yourself, and realize you''re about to have an orgasm on camera! Deciding it''s too late to stop, you flick your fingers over your clit several more times and moan loudly as your whole body begins to tremble. When you look at the chat again, you see a mixture of compliments and lewd comments on your show. Either way: they loved it!'
			end
			act 'Continue':gt 'Komp','waitclients'
		end
		act 'Ignore him':
			cls
			webpopular -= 1
			gt 'Komp','waitclients'
		end
	end
	if backmfc = 0 and clientask = 92:
		cls
		'One of the visitors asks very politely: "Uh, hi! Could you please show me your vagina up close?"'
		act 'Show him your vagina':
			cls
			mfcclients = 0
			webpopular += 1
			if webpopular < 15:
				tokens += RAND(10,25)
			elseif webpopular >= 15 and webpopular < 35:
				tokens += RAND(15,25)
			elseif webpopular >= 35 and webpopular < 75:
				tokens += RAND(25,50)
			elseif webpopular >= 75:
				tokens += RAND(50,150)
			end
			gs 'stat'
			if analplugIN = 1:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore19.jpg"></center>'
			end
			if pcs_vag = 0 and analplugIN = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore18.jpg"></center>'
			end
			if pcs_vag > 0 and pcs_vag <= 10 and analplugIN = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore13.jpg"></center>'
			end
			if pcs_vag > 10 and pcs_vag <= 15 and analplugIN = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore14.jpg"></center>'
			end
			if pcs_vag > 15 and pcs_vag <= 25 and analplugIN = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore15.jpg"></center>'
			end
			if pcs_vag > 25 and pcs_vag <= 35 and analplugIN = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore16.jpg"></center>'
			end
			if pcs_vag > 35 and analplugIN = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore17.jpg"></center>'
			end
			'Aww, what a sweetheart! You smile at the camera and do what your client wants. He delivers on his promise as well, sending some tokens your way. The rest of the chat is thanking him too, everyone wanted to see that!'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act 'Continue':gt 'Komp','waitclients'
		end
		act 'Ignore him':
			cls
			webpopular -= 1
			gt 'Komp','waitclients'
		end
	end
	if backmfc = 0 and pcs_ass >= 30 and webpopular >= 50 and clientask = 91:
		cls
		'One of the visitors makes several comments on how badly he wants to fuck your ass, and then offers you tokens to show your anus to him...'
		act 'Show them your battered sphincter':
			cls
			mfcclients = 0
			webpopular += 2
			backmfc = 0
			if pcs_apprnc > 100:
				tokens += RAND(50,100)
			else
				tokens += RAND(40,75)
			end
			if webpopular < 15:
				tokens += RAND(25,50)
			elseif webpopular >= 15 and webpopular < 35:
				tokens += RAND(50,100)
			elseif webpopular >= 35 and webpopular < 75:
				tokens += RAND(100,150)
			elseif webpopular >= 75:
				tokens += RAND(100,200)
			end
			gs 'stat'
			if analplugIN = 0:
				if cumsumass > 39:
					'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore74.jpg"></center>'
					'You turn your back to the camera and pull your ass cheeks aside, showing everyone your battered anus. When you push softly, you suddenly hear the chat exploding.'
					'"Oh my god, is that sperm!?" someone wonders.'
					'"Definitely! What a whore!" someone else adds.'
					'"I''d love to add my load to that!" a third one laughs.'
					'Oh no! Your face turns a deep red... you''re so ashamed right now! You try to calm the chat down, but the vulgar comments just keep coming and coming.'
					'At least the visitor who promised to donate did, so you''re a few tokens richer.'
					
					gs 'arousal', 'porn', 2, 'exhibitionism'
					gs 'stat'
					
				else
					'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore20,<<rand(0,7)>>.jpg"></center>'
					'You bite your lip for a second, trying to think of a way to get out of his request. Then, you sigh and show them your rectum. It''s obviously quite used to having objects shoved in, something your audience notices immediately.'
					'Then your greed overcomes you. They already know... you might as well earn some money by showing them properly, right?'
					'You pull your ass cheeks aside, giving them a good view of your worn out anus.'
					
					gs 'arousal', 'porn', 2, 'exhibitionism'
					gs 'stat'
					
				end
			else
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore21.jpg"></center>'
				'You smile to yourself, he''s going to love what you have in store for him!'
				'"I''m sorry", you tell him, explicitly mentioning his username as well. "I can''t right now..."'
				'Then you turn around, and show him the large plug you currently have shoved inside you. You wiggle your ass seductively at the camera, and hear the donation sound mere seconds later.'
				
				gs 'arousal', 'porn', 2, 'exhibitionism'
				gs 'stat'
			
			end
			act 'Continue':gt 'Komp','waitclients'
		end
		act 'Ignore him':
			cls
			gt 'Komp','waitclients'
		end
	end

	if webpopular >= 15 and pcs_ass >= 15 and clientask = 89:
		cls
		gt 'kompMFCtwo'
	end

	if webpopular < 50 and clientask = 88:
		cls
		gt 'kompMFCtwo'
	end

	if webpopular >= 50 and pcs_vag >= 35 and clientask = 87:
		cls
		gt 'kompMFCtwo'
	end

	if webpopular >= 35 and pcs_vag >= 25 and alko >= 8 and clientask = 86:
		cls
		gt 'kompMFCtwo'
	end

	if webpopular >= 50 and pcs_vag > 0 and pcs_ass > 0 and alko >= 8 and sub > 50 and clientask = 85:
		cls
		gt 'kompMFCtwo'
	end

	if backmfc = 0 and webpopular >= 25 and pcs_vag >= 30 and pcs_ass >= 30 and alko >= 8 and clientask = 84:
		cls
		gt 'kompMFCtwo'
	end

	if backmfc = 0 and pcs_vag > 20 and clientask = 83:
		cls
		gt 'kompMFCtwo'
	end

	if webpopular > 25 and backmfc = 0 and sub > 25 and pcs_vag > 10 and prezik > 0 and clientask = 82:
		cls
		gt 'kompMFCtwo'
	end

	if backmfc = 0 and webpopular >= 50 and pcs_ass > 25 and clientask = 81:
		cls
		gt 'kompMFCtwo'
	end

!	if backmfc = 0 and webpopular >= 50 and pcs_ass > 10 and pcs_vag > 10 and sub > 50 and alko >= 6 and clientask = 80:
!		cls
!		gt 'kompMFCtwo'
!	end

	if backmfc = 0 and clientask = 90:
		cls
		'One of the visitors asks: "Do you have a vibrator or dildo? I want you to put up a little show..."'
		gt 'kompMFC'
	end

	if topmfc = 1 and clientask < 81:
		act 'Take off your bra':
			cls
			mfcclients = 0
			topmfc = 0
			gs 'stat'

			if backmfc = 1:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore4.jpg"></center>'
			end
			if backmfc = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore5.jpg"></center>'
			end
			'Even though no one requested you to do so, you figure showing off your nice boobs might get some more viewers into the channel. You slowly take off your bra and wiggle your breasts seductively at the camera.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act 'Continue':gt 'Komp','waitclients'
		end
	end

	if topmfc = 0 and clientask < 81:
		act 'Idly play with your boobs':
			cls
			if webpopular < 15:
				camclients += RAND(3,6)
			elseif webpopular >= 15 and webpopular < 35:
				camclients += RAND(5,10)
			elseif webpopular >= 35 and webpopular < 75:
				camclients += RAND(10,20)
			elseif webpopular >= 75:
				camclients += RAND(15,35)
			end
			if alko >= 4:
				gs 'pain', 2, 'slap', 'breasts'
			end
			chancetips = RAND(0,100)
			if chancetips >= 85:
				tokens += RAND(2,10)
			end
			gs 'stat'
			if alko >= 4:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore80.jpg"></center>'
			else
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore9.jpg"></center>'
			end
			'You chat with your visitors for a little while, but begin to play with your boobs absent-mindedly in a slow moment. It feels quite nice! You knead your boobs and play with them more and more intently, almost completely forgetting about the camera.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act 'Continue':gt 'Komp','waitclients'
		end
	end

	if backmfc = 1 and clientask < 81:
		act 'Take off your panties':
			cls
			mfcclients = 0
			backmfc = 0
			gs 'stat'
			if topmfc = 1:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore5.jpg"></center>'
			end
			if topmfc = 0:
				'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore6.jpg"></center>'
			end
			'You know that the fewer clothes you have on, the more visitors will be inclined to check out your channel. You slowly take off your panties in front of the camera, rewarding the viewers already in your channel to a free show when you expose your naked pussy to them.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act 'Continue':gt 'Komp','waitclients'
		end
	end
	if backmfc = 0 and clientask < 81:
		act 'Play with your pussy':
			cls
			if webpopular < 15:
				camclients += RAND(5,10)
			elseif webpopular >= 15 and webpopular < 35:
				camclients += RAND(10,15)
			elseif webpopular >= 35 and webpopular < 75:
				camclients += RAND(10,30)
			elseif webpopular >= 75:
				camclients += RAND(15,40)
			end
			chancetips = RAND(0,100)
			if chancetips >= 75:
				tokens += RAND(10,15)
			end
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore11.jpg"></center>'
			'You get bored during a slow moment in the chat, and begin to play with your pussy without giving it another thought.'
			'"How does that feel, girl?" one of your visitors asks. "I bet you love fingering yourself, with a bunch of strangers watching you!" another adds.'
			'Giving them a defensive smile, you shrug and reply with one hand, while you keep rubbing your clit slowly with the other.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'arousal', 'vaginal_finger', 2, 'exhibitionism'
			minut -= 2
			gs 'stat'
			
			if pcs_horny >= 100:
				webpopular -= 1
				mfccum += 1
				pcs_mood = 100
				gs 'stat'
				'Oh crap! You misjudged your endurance, and suddenly squirm and gasp in front of the camera. You''re having an orgasm!'
				'When it subsides, you look at your current viewer count. Damn... you just came in front of <<camclients>> users, completely free of charge!'
				
				$orgasm_or = 'yes'
				gs 'stat'
			end
			act 'Continue':gt 'Komp','waitclients'
		end
	end
	if backmfc = 0 and clientask < 81:
		act'Play with your ass':
			cls
			if webpopular < 15:
				camclients += RAND(5,10)
			elseif webpopular >= 15 and webpopular < 35:
				camclients += RAND(10,15)
			elseif webpopular >= 35 and webpopular < 75:
				camclients += RAND(10,30)
			elseif webpopular >= 75:
				camclients += RAND(15,40)
			end
			if pcs_ass < 10:analplay += 1
			mfcclients = 0
			minut += 2
			pcs_horny += RAND(5,10)
			chancetips = RAND(0,100)
			if chancetips >= 60:
				tokens += RAND(10,20)
			end  
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore45.jpg"></center>'
			'You put two fingers in your mouth and generously cover them in saliva, and then turn your back to the camera. Much to the appreciation of your viewers, you give them a short preview of what an anal show would look like from you. You finger your anus for the camera for a little while, giving your viewers a happy smile the whole time.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'arousal', 'anal_finger', 2, 'exhibitionism'
			minut -= 2
			gs 'stat'
			
			if pcs_horny >= 100:
				webpopular -= 1
				mfccum += 1
				pcs_mood = 100
				gs 'stat'
				$orgasm_or = 'custom'
				$orgasm_txt = 'It feels too good to stop! Before you know it, your fingers are repeatedly penetrating your ass and you moan excitedly, barely keeping yourself from screaming. You just had an anal orgasm in front of  <<camclients>> users, completely free of charge! Oops...'
				gs 'stat'
			end
			act'Continue':gt'Komp','waitclients'
		end
	end
	if topmfc = 0 and pain['nippleR'] < 10 and pain['nippleL'] < 10 and clientask < 81:
		act'Pinch your nipples hard':
			cls
			if webpopular < 15:
				camclients += RAND(5,10)
			elseif webpopular >= 15 and webpopular < 35:
				camclients += RAND(10,15)
			elseif webpopular >= 35 and webpopular < 75:
				camclients += RAND(10,30)
			elseif webpopular >= 75:
				camclients += RAND(15,40)
			end
			mfcclients = 0
			gs 'pain', 2, 'pinch', 'nipples'
			chancetips = RAND(0,100)
			if chancetips >= 75:
				tokens += RAND(20,40)
			end  
			gs 'stat'

			'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore80.jpg"></center>'
			'You''re getting too turned on, and need to slow yourself down a little!'
			'You tightly pinch your nipples and pull hard on them. It hurts a lot, and the sharp pain lowers your excitement by quite a lot. Nevertheless, your viewers enjoy the free show and have no idea you actually did that for your own good.'
			
			gs 'arousal', 'porn', 2, 'exhibitionism'
			gs 'stat'
			
			act'Continue':gt'Komp','waitclients'
		end
	end
	if sisterHere > 0 and $loc = 'bedrPar':
		cls
		topmfc = 1
		backmfc = 1
		karta += tokens/2
		gs 'stat'
		'<center><img <<$set_imgh>> src="images/shared/accessories/computer/camwhore2.jpg"></center>'
		'Suddenly you hear the handle of your door creak, and an annoyed voice shouting: "<<$pcs_nickname>>, what the hell!? Why is the door locked? Let me in!"'
		'Oh crap, it''s your sister! "Sorry everyone, show''s over!" you whisper to the camera, and you slap your laptop shut. You quickly put your clothes back on and open your door, trying to avoid the scrutinizing gaze of your sister.'
		'When she''s no longer paying attention to you, you open your laptop again and find yourself in the main lobby of MyFreeCams. You''re a bit bummed that you couldn''t get more out of that session, but cash in your earnings.'
		act 'Continue':gt 'Komp','mfc'
	else
		act 'Turn off the webcam':gt 'Komp','startpagemfc'
	end
end

if $ARGS[0] = 'bank':
	'<center><img <<$set_imgh>> src="images/shared/accessories/computer/online_bank.jpg"></center>'
	if karta + bankDebtLimit >= 10:
		*pl
		
		'You can buy prepaid internet access online through your bank account. 1 hour of internet only costs 10 <b>₽</b>! *'
		
		*pl
		
		if karta >= 0:
			'You have <<karta>> <b>₽</b> in your account.'
			'You have an overdraft limit of <font color="blue"><<bankDebtLimit>></font>!'
		else
			'You are overdrawn by <font color="red"><<-1 * karta>> <b>₽</b></font>.'
			'You have a remaining credit limit of <font color="blue"><<bankDebtLimit + karta>></font>!'
		end
		
		*pl
		
		act 'Buy internet time':
			cla
			intinp = input ("How many hours of internet access do you wish to purchase? (1hr = 10 <b>₽</b>)")

			if intinp <= 0 or intinp * 10 > karta + bankDebtLimit:
				'Invalid amount.'
			else
				karta -= intinp * 10
				internet += intinp
				'You pay for <<intinp>> hours of prepaid internet access. You have a total of <<internet>> hours of internet access remaining.'
				'<<intinp * 10>> <b>₽</b> was removed from your account to pay for it.'
			end
			act 'Continue': gt 'Komp', 'bank'
		end
	end
	act 'Close your browser':gt 'Komp', 'start'
end

--- Komp ---------------------------------

