# leonid

$bName = 'Leonid'
$bSurname = 'Nosov'
$boy = $bName+' '+$bSurname
gs 'npcgeneratec', 0, $boy, 35
gs 'boyStat', $npclastgenerated

lustPool = 100

if leonidInFavour < -5:
	$slaveTitle = 'slave slut'
elseif leonidInFavour >= -5 and leonidInFavour <= 5:
	$slaveTitle = 'slave girl'
elseif leonidInFavour > 5:
	$slaveTitle = 'slave darling'
end


if $ARGS[0] = 'firstTime':
	minut += 30
	'<center><img src="images/characters/pavlovsk/resident/leonid/office.jpg"></center>'
	'You are in the office with label <<$bName>> <<$bSurname>>, lawyer.'
	'<<$bName>> orders you to kneel in front of his desk.'
	'"So <<$pcs_firstname>>, I have taken out of that hole. Do you already see why?"'
	'"I''m not sure mister <<$bSurname>>"'
	'"Then let me explain. I love my wife, but I have certain needs. Long time I have neglected myself, but things got even worse. When I got the opportunity, I got in touch with the ''Haulers''. You know them, those are the people that abducted you and made you a what you are now."'
	'"What? What do you mean by ''what am I now?''"'
	'"A slave. My slave."'
	'"How do you imagine this? You''ll keep me locked in this room or what?"'
	'"No, of course not <<$pcs_firstname>>. I''m not a monster. I just want a tool to ventilate my urges. That tool is you."'
	'"What do you mean mean?"'
	'"As beautiful you are so slow your thinking is. I will do to you whatever I want to. And it does not matter if you agree or not, you are my slave after all."'
	'"If you won''t keep me locked how will you prevent me from running to the police and telling them everything?"'
	''
	'He slaps your face.'
	''
	'"Do you think I am stupid? The authorities are under my grasp. I own them. Do it and nobody will see you ever again."'
	'You get up back to your knees.'
	'"All right mister <<$bSurname>>, I''ve got the idea. I promise to keep quiet and be your...slave."'
	'"Very well. I will call you if I require your presence. Until then you are free to leave."'
	if SchoolAtestat = 0:
		'"But mister <<$bSurname>>, what do I tell to my mom? How do I explain my absence from the school and everything?"'
		'"Do not care about the school. I will take care of it. As for your mom, if she asks, tell her you ran from home to a friend but reconsidered and went back."'
		'"Yes mister <<$bSurname>>."'
		schoolprogul = 0
	end
	leonidSlave = 1
	leonidSlaveDay = (daystart + 1)
	leonidInFavour = 0

	painkiller = painkiller_bak
	prezik = prezik_bak
	vitamin = vitamin_bak
	kosmetica = kosmetica_bak
	lipbalm = lipbalm_bak

	gs 'stat'
	act 'Leave':gt 'pavCommercialOffices'
end

if $ARGS[0] = 'hall':
	minut += 1
	'<center><img src="images/characters/pavlovsk/resident/leonid/officehall.jpg"></center>'
	'You are in the hallway leading to several offices. One of the doors has a doorsign <a href="exec:gt ''leonid'', ''office''"><<$bName>> <<$bSurname>>, lawyer.</a>'
	gs 'stat'
	leoHorny = rand (0, 20)
	leoStress = rand (0, 30)
	leoCoffee = rand (80, 100)
	leoComfort = rand (0, 30)
	paperwork  = rand (40, 60)
	act 'Get back':gt 'pavCommercialOffices'
end

if $ARGS[0] = 'office':
	minut += 1
	if $clothingworntype = 'nude':
		'<b>You are naked.</b>'
		mult = 3
	end
	if (hour >= 9 and hour < 10) and leonidSecretary = 1 and week <= 5:
		if $clothingworntype = 'office':
			'<center><img src="images/characters/pavlovsk/resident/leonid/office.jpg"></center>'
			'You are in the office of <<$bName>> <<$bSurname>>, working as his secretary. There are three other doors inside the office, one leading to a small <a href="exec:gt ''leonid'', ''officeKitchen''">kitchen</a>, second leading to a conference room and third leading to a <a href="exec:gt ''leonid'', ''toilet''">toilet</a>.'
			atWork = 1
			gt 'leonid', 'secretaryGate'
		else
			'You need to be dressed as a secretary.'
			act 'Leave':gt 'leonid', 'hall'
		end
	elseif (hour >= 10 and hour <= 19) and leonidSecretary = 1 and week <= 5 and atWork = 1:
		gt 'leonid', 'secretaryGate'
	elseif (hour >= 10 and hour <= 18) and leonidVisit = 0 and week <= 5:
		'<center><img src="images/characters/pavlovsk/resident/leonid/office.jpg"></center>'
		'You are in the office of <<$bName>> <<$bSurname>>. There are three other doors inside the office, one leading to a small <a href="exec:gt ''leonid'', ''officeKitchen''">kitchen</a>, second leading to a conference room and third leading to a <a href="exec:gt ''leonid'', ''toilet''">toilet</a>.'
		'<a href="exec:gt ''leonid'', ''officeLeonidGate''"><<$bName>> <<$bSurname>></a> is sitting behind his desk, working.'
		if slaveEventCount > 0:
			'In the middle of the bookcase, there are hidden doors to a <a href="exec:gt ''leonid'', ''secretRoom''">bondage rooms</a>.'
		end
	elseif (hour >= 19 and hour =< 21) and leonidVisit = 1:
		'<center><img src="images/characters/pavlovsk/resident/leonid/office.jpg"></center>'
		'You are in the office of <<$bName>> <<$bSurname>>. There are three other doors inside the office, one leading to a small <a href="exec:gt ''leonid'', ''officeKitchen''">kitchen</a>, second leading to a conference room and third leading to a <a href="exec:gt ''leonid'', ''toilet''">toilet</a>.'
		'<a href="exec:gt ''leonid'', ''officeLeonidGate''"><<$bName>> <<$bSurname>></a> is sitting behind his desk, waiting for you to come.'
		if slaveEventCount > 0:
			'In the middle of the bookcase, there are hidden doors to a <a href="exec:gt ''leonid'', ''secretRoom''">bondage rooms</a>.'
		end
	else
		'<center><img src="images/characters/pavlovsk/resident/leonid/officehall.jpg"></center>'
		'The office is locked, you cannot enter.'
	end 

	gs 'stat'

	if $clothingworntype = 'nude':
		'<b>You need to dress up in order to leave.</b>'
	else
		act 'Get back':gt 'leonid', 'hall'
	end
end

if $ARGS[0] = 'secretaryGate':
	if $clothingworntype ! 'office':
		gt 'leonid',  'toilet'
	end

	if hour	>= 19:
		gt 'leonid', 'secretaryEndWorkday'
	end
	'<table><tr><td valign="top">'
	if $clothingworntype = 'nude':
		'<b>You are naked.</b>'
		'<center><img src="images/characters/pavlovsk/resident/leonid/secretaryNaked.jpg"></center>'
		mult = 3
	end
	if $clothingworntype = 'office' and CloBimbo = 0:
		'<b>You are dressed as a secretary.</b>'
		'<center><img src="images/characters/pavlovsk/resident/leonid/secretaryNormal.jpg"></center>'
		mult = 1
	end
	if $clothingworntype = 'office' and CloBimbo = 1:
		'<b>You are dressed as a naughty secretary.</b>'
		'<center><img src="images/characters/pavlovsk/resident/leonid/secretarySexy.jpg"></center>'
		mult = 2
	end
	'</td><td valign="top">'


	if leoHorny < 0:leoHorny = 0
		if leoHorny > 100: leoHorny = 100
	if leoStress < 0:leoStress = 0
		if leoStress > 100:leoStress = 100
	if leoCoffee < 0:leoCoffee = 0
		if leoCoffee > 100:leoCoffee = 100
	if leoComfort < 0:leoComfort = 0
		if leoComfort > 100:leoComfort = 100
	if paperwork < 0:paperwork = 0
		if paperwork > 100:paperwork = 100

	punishBuildup = (40 * leoHorny + 40 * leoStress + 30 * leoCoffee + 30 * leoComfort) / 100


	'You are in the office of <<$bName>> <<$bSurname>>. There are three other doors inside the office, one leading to a small <a href="exec:gt ''leonid'', ''officeKitchen''">kitchen</a>, second leading to a conference room and third leading to a <a href="exec:gt ''leonid'', ''toilet''">toilet</a>.'
	''
	'<a href="exec:gt ''leonid'', ''officeLeonidGate''"><<$bName>> <<$bSurname>></a> is sitting behind his desk, working.'
	''
	'<<$bName>> - status and needs:'
	'<b>Overall mood:'+punishBuildup+'</b>'
	'Horniness: '+leoHorny
	'Stress: '+leoStress
	'Coffee: '+leoCoffee
	'Comfort: '+leoComfort
	''
	'Your paperwork: '+paperwork
	''
	'</td></tr></table>'
	if punishBuildup >= 100:
		act 'Be approched':gt 'leonid', 'doPunish'
	else
		if paperwork > 0:
			act 'Do paperwork':gt 'leonid', 'doPaperwork'
		end
		act 'Be lazy':gt 'leonid', 'doLazy'
	end
end

if $ARGS[0] = 'secretaryEndWorkday':
	atWork = 0
	workQuality = paperwork + (punishBuildup / 4)
	if workQuality > 100:workQuality = 100

	if workQuality < 10: 
		$workQualityText = 'very good'
		workPayment = 1000
	elseif workQuality >= 10 and workQuality < 40:
		$workQualityText = 'good'
		workPayment = 500
	elseif workQuality >= 60 and workQuality < 60:
		$workQualityText = 'poor'
		workPayment = 250
	elseif workQuality >= 80 and workQuality <= 100:
		$workQualityText = 'terrible'
		workPayment = 1
	end
	'Your workday is over. <<$bName>> is packing up his things and prepares to go home.'
	'<<$bName>>: <<$pcs_firstname>>, my <<$slaveTitle>> secretary. Today you did a <<$workQualityText>> job.'
	'He hands you '+workPayment+' RUB and leaves.'
	''
	'Today you''ve done your duties on '+(100 - workQuality)+' %.'
	money += workPayment
	act 'Leave':gt 'leonid', 'hall'
end

if $ARGS[0] = 'doPunish':
	'<<$pcs_firstname>>, you are not doing your job as you should. I think it is time to remind you of your actual status, <<$slaveTitle>>!'
	leonidInFavour -= 1
	act 'Yes, master <<$bSurname>>.':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'doPaperwork':
	durr = 60
	minut += durr
	leoHorny += rand (5 * mult, 20 * mult)
	leoStress += rand (5, 20)
	leoCoffee += rand (5, 15)
	leoComfort += rand (5, 15)
	donePaperwork = rand (10, 20)
	paperwork -= donePaperwork
	'<center><img src="images/characters/pavlovsk/resident/leonid/paperwork'+rand(1, 5)+'.jpg"></center>'
	'You manage to get part of the workload to order, copying, filing and archiving.'
	''
	'Paperwork has diminished by '+donePaperwork
	gs 'stat'
	act 'Continue':gt 'leonid', 'secretaryGate'
end

if $ARGS[0] = 'doLazy':
	durr = 60
	minut += durr
	leoHorny += rand (5 * mult, 20 * mult)
	leoStress += rand (5, 20)
	leoCoffee += rand (5, 15)
	leoComfort += rand (5, 15)
	'<center><img src="images/characters/pavlovsk/resident/leonid/lazy'+rand(1, 5)+'.jpg"></center>'
	'You spend your working time polishing your nails and all the stuff everyone actually thinks secretaries do.'
	''
	gs 'stat'
	act 'Continue':gt 'leonid', 'secretaryGate'
end

if $ARGS[0] = 'officeKitchen':
	minut += 2
	'<center><img src="images/characters/pavlovsk/resident/leonid/kitchen.jpg"></center>'
	'Small office kitchen, equipped with all that is needed for a regular working day.'
	if taskCoffee = 1 or leonidSecretary = 1:
		'You can use the coffee maker to <a href="exec:gt ''leonid'', ''officeKitchenMakeCoffe''">prepare a coffee</a>.'
	end
	gs 'stat'
	act 'Get back to office':gt 'leonid', 'office'
end

if $ARGS[0] = 'officeKitchenMakeCoffe':
	minut += 10
	'<center><img src="images/characters/pavlovsk/resident/leonid/coffeemaker.jpg"></center>'
	'You''ve put some coffee in the maker, poured water in the tank and put it on.'
	'After few minutes the drink is ready.'
	gs 'stat'
	act 'Continue':gt 'leonid', 'officeKitchenBringCoffee'
end

if $ARGS[0] = 'officeKitchenBringCoffee':
	minut += 2
	'You are about to bring coffee to mister <<$bSurname>>. You decide to:'
	taskCoffee = 0
	gs 'stat'
	if hour >= 10 and hour < 18:
		act 'Strip and bring it naked':gt 'leonid', 'officeKitchenBringCoffeeNaked'
	end
	act 'Just bring it, nothing special':gt 'leonid', 'officeKitchenBringCoffeeNormal'
end

if $ARGS[0] = 'officeKitchenBringCoffeeNaked':
	minut += 5
	tanga = 0
	gs 'stat'
	gs 'clothing', 'strip'
	'<center><img src="images/characters/pavlovsk/resident/leonid/bringcoffeenaked.jpg"></center>'
	'You strip down even your panties and take the coffee. Slowly you walk through the door inside <<$bName>>''s office, trying to look as arousing as possible.'
	fuckCh = rand(1, 100) + leoHorny
	if fuckCh >= 70:
		'<<$bName>> looks up to you and sees that you are naked.'
		'There is a flash of surprise in his eyes, but you can see he is delighted by this pleasant improvement of his otherwise regular working day.'
		'You place the cup on his desk, showing him even more of your beautiful breasts, and giving him a teasing look.'
		'He reaches for your tits and starts to enjoy himself.'
		act 'Give in to him':gt 'leonid', 'officeFuck'
	else
		'<<$bName>> looks up to you and sees that you are naked.'
		'He''s sliding his eyes all over your body but soon he gets back to his paperwork.'
		'You put the cup on his desk and trying to tease him you wait a few seconds, but he''s still working, paying you no attention.'
		act 'Give up and get back':gt 'leonid', 'office'
	end
	leoCoffee -= 50
	leonidInFavour += 1
	gs 'stat'
end

if $ARGS[0] = 'officeKitchenBringCoffeeNormal':
	minut += 5
	'<center><img src="images/characters/pavlovsk/resident/leonid/bringcoffee.jpg"></center>'
	'You take the cup and bring it to his desk, putting next to the papers <<$bName>> is working on.'
	'He briefly looks on the cup and frowns.'
	'You take it as a sign of approval.'
	leoCoffee -= 50
	gs 'stat'
	act 'Leave':gt 'leonid', 'office'
end

if $ARGS[0] = 'officeFuck':
	sexType = rand(1, 2)
	if sexType = 1:
		'<center><img src="images/characters/pavlovsk/resident/leonid/sex/pussy'+rand(1, 5)+'.gif"></center>'
		'<<$bName>> bends you over his desk, pushing the paperwork away.'
		'You angle your ass for better access, just like his true <<$slaveTitle>>.'
		'<<$bName>> takes his hard cock out of his pants and pushes it into your already wet pussy.'
		gs 'arousal', 'vaginal', 45, 'sub'
		act 'Continue':gt 'leonid', 'cumPussy'
	else
		'<center><img src="images/characters/pavlovsk/resident/leonid/sex/anal'+rand(1, 2)+'.gif"></center>'
		'<<$bName>> bends you over his desk, pushing the paperwork away.'
		'You angle your ass for better access, just like his true <<$slaveTitle>>.'
		'<<$bName>> takes his hard cock out of his pants, spits some of his own saliva on it and pushes it into your dry anus.'
		gs 'arousal', 'anal', 45, 'sub'
		act 'Continue':gt 'leonid', 'cumAnal'
	end
	gs 'stat'
end

if $ARGS[0] = 'cumAnal':
	minut += 10
	leoHorny -= 50
	gs 'cum_call', 'anus', $boy, 1
	gs 'arousal', 'end'
	gs 'stat'
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/cumanal'+rand(1, 2)+'.gif"></center>'
	'<<$bName>> cums deep in your intestines.'
	if money < 2000:
		act 'Mister <<$bSurname>>, may I ask you something?':gt 'leonid', 'askForJob'
	end
	act 'Thank him and leave':gt 'leonid', 'office'
end

if $ARGS[0] = 'cumPussy':
	minut += 10
	leoHorny -= 50
	gs 'cum_call', '', $boy, 1
	gs 'arousal', 'end'
	gs 'stat'
	if money < 2000:
		act 'Mister <<$bSurname>>, may I ask you something?':gt 'leonid', 'askForJob'
	end
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/cumpussy'+rand(1, 1)+'.gif"></center>'
	'<<$bName>> cums deep in your vagina.'
	act 'Thank him and leave':gt 'leonid', 'office'
end

if $ARGS[0] = 'askForJob':
	durr = 2
	minut += durr
	'Sir you know.. I.. I need money. So i thought, maybe, maybe I could work for you..'
	'You don''t want me whoring to random men, do you?'
	''
	'Hmm, <<$pcs_firstname>>, I was actually already thinking about hiring a secretary.'
	'With you taking such place, my workdays could be much more interesting..'
	act 'Accept':gt 'leonid', 'askForJobYes'
	act 'On second thought.. I''m not qualified enough.':gt 'leonid', 'askForJobNo'
end

if $ARGS[0] = 'askForJobYes':
	'Thank you master, I would love to be your secretary.'
	''
	'Good.'
	'Come next working day between 9 and 10.'
	'Be sure to dress as befits to your role - here, buy some office clothes (he hands you 5000 RUB).'
	money += 5000
	leonidSecretary = 1
	act 'Leave':gt 'leonid', 'office'
end

if $ARGS[0] = 'askForJobNo':
	'On second thought.. I''m not qualified enough'
	''
	'<<$pcs_firstname>>, don''t play with me.'
	'You are still my slave and I think you need to be reminded of that!'
	act 'Continue':gt 'leonid', 'officeLeonidPunishmentGate'
end

if $ARGS[0] = 'secretRoom':
	if slaveEventCount = 0:
		'<center><img src="images/characters/pavlovsk/resident/leonid/sex/secretdoor.jpg"></center>'
		'<<$bName>> opens up a secret door behind a bookcase. It leads to a several other rooms - one has a large bed with various straps and cuffs, other contains various bondage equipment.'
		'Come, <<$slaveTitle>>, come to my kingdom.'
		'In fear you step through the secret door and look around on all the stuff that is prepared for you.'
		'<<$bName>> closes the door behind you and grabs you by the arm.'
		act 'Continue':gt 'leonid', 'bdsmGate'
	elseif slaveEventCount > 0 and leonidVisit = 1 and leonidVisitMissed <= 3:
		leoHorny = rand (30, 100)
		'<center><img src="images/characters/pavlovsk/resident/leonid/sex/kneeling1.jpg"></center>'
		'You go in the secret room, strip down and equip your collar. You kneel down expecting <<$bName>> to come, ready to serve him.'
		slaveEventCount += 1
		leonidVisit = 0
		if leonidVisitMissed > 0:leonidVisitMissed -= 1
		leonidSlaveDay = (daystart + rand(1, 5))
		act 'Continue':gt 'leonid', 'bdsmGate'
	elseif leonidVisitMissed > 3:
		gs 'leonid', 'sold'
	else
		'<center><img src="images/characters/pavlovsk/resident/leonid/sex/secretroom.jpg"></center>'
		'You are in the secret room, full of bondage equipment.'
		act 'Get back':gt 'leonid', 'office'
	end
end

if $ARGS[0] = 'bdsmGate':
	if leoHorny < 30:
		actionType = rand(1, 2)
	elseif leoHorny >= 30:
		actionType = rand(3, 8)
	end

	if actionType = 1:
		gs 'leonid', 'bdsmFuckVaginal'
	elseif actionType = 2:
		gs 'leonid', 'bdsmFuckAnal'
	elseif actionType = 3 and actionTypeRecent ! 3:
		gs 'leonid', 'bdsmHorse'
	elseif actionType = 4 and actionTypeRecent ! 4:
		gs 'leonid', 'bdsmWhip'
	elseif actionType = 5 and actionTypeRecent ! 5:
		gs 'leonid', 'bdsmDildo'
	elseif actionType = 6 and actionTypeRecent ! 6:
		gs 'leonid', 'bdsmMachine'
	elseif actionType = 7 and actionTypeRecent ! 7:
		gs 'leonid', 'bdsmDeepthroat'
	elseif actionType = 8 and actionTypeRecent ! 8:
		gs 'leonid', 'bdsmForcedOrgasm'
	else
		gs 'leonid', 'bdsmGate'
	end

end

if $ARGS[0] = 'bdsmFuckVaginal':
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/pussybound'+rand(1, 5)+'.gif"></center>'
	'<<$bName>> ties you up and positions you as he will.'
	'Then he takes his hard cock and shoves it into your unprepared pussy.'
	
	gs 'arousal', 'vaginal', 60, 'sub', 'rough', 'maso', 'bound'
	gs 'pain', 2, 'vaginal', 'stretch'
	gs 'stat'

	act 'Continue':gt 'leonid', 'cumPussy'
end

if $ARGS[0] = 'bdsmFuckAnal':
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/analbound'+rand(1, 5)+'.gif"></center>'
	'<<$bName>> ties you up and positions you as he will.'
	'Then he takes his hard cock and shoves it into your unprepared anus.'

	gs 'arousal', 'anal', 60, 'sub', 'rough', 'maso', 'bound'
	gs 'pain', 2, 'asshole', 'stretch'
	gs 'stat'

	act 'Continue':gt 'leonid', 'cumAnal'
end

if $ARGS[0] = 'bdsmHorse':
	actionTypeRecent = 3
	leoHorny -= rand(20, 50)
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/horse'+rand(1, 5)+'.gif"></center>'
	'<<$bName>> ties you up and leads you to a room with bondage devices.'
	'He decides to play with you on a wooden horse..this is going to hurt!'
	'With bound hands you are seaten on it. The top is dull but it hurts anyway - the wooden top is squeezing your labia against the crotch.'
	'As much as you try to twist and ease, it gets only worse.'

	minut += 30
	gs 'pain', 3, 'labia', 'hit'
	gs 'stat'

	act 'Continue':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'bdsmWhip':
	actionTypeRecent = 4
	leoHorny -= rand(20, 50)
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/whip'+rand(1, 7)+'.gif"></center>'
	'<<$bName>> ties you up and leads you to a room with bondage devices.'
	'He suspends your hand to a hook on the ceiling, leaving you almost hanging by your hands.'
	'Then he takes a leather whip a gives you a hard whipping, targeting your sensitive areas.'
	'When he''s done, your breast, belly, croctch and ass are red as a lobster, burning in pain.'

	minut += 30
	gs 'pain', 2, 'asscheeks', 'spank'
	gs 'pain', 2, 'breasts', 'spank'
	gs 'pain', 2, 'tummy', 'spank'
	gs 'pain', 2, 'labia', 'spank'
	gs 'stat'

	act 'Continue':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'bdsmDildo':
	actionTypeRecent = 5
	leoHorny -= rand(20, 50)
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/dildo'+rand(1, 4)+'.gif"></center>'
	'<<$bName>> ties you up and leads you to a room with bondage devices.'
	'He orders you to kneel down, sticking your ass high in the air and ties your hands and legs so you cannot move.'
	'Then he brings a large dildo and starts using it on your holes, fucking you with it furiously and relentlessly.'
	'He switches your ass and pussy as he likes, not caring about your feelings.'
	'It hurts since he hits your cervix or instestinal walls often - the only thing you are able to do is moan loud as every stroke makes you cry some more.'

	minut -= 30
	gs 'arousal', 'vaginal_dildo', 30, 'sub', 'bound', 'rough'
	gs 'arousal', 'anal_dildo', 30, 'sub', 'bound', 'rough'
	gs 'pain', 2, 'vaginal', 'stretch'
	gs 'pain', 2, 'cervix', 'hit'
	gs 'pain', 2, 'asshole', 'stretch'
	gs 'pain', 2, 'tummy', 'hit'
	gs 'stat'

	act 'Continue':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'bdsmMachine':
	actionTypeRecent = 6
	leoHorny -= rand(20, 50)
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/machine'+rand(1, 5)+'.gif"></center>'
	'<<$bName>> ties you up and leads you to a room with bondage devices.'
	'He orders you to kneel down into a strange device - the most visible part of it is a rod with a screw. What could be screwed on it, you wonder.'
	'Your question is answered shortly - <<$bName>> brings a large dildo and secures it on the rod.'
	'He spats some lube on it - you are expecting to penetrate you any minute, wondering only if it will be your ass or pussy..'
	'<<$bName>> points it toward your pussy and turns it on, stepping away with a remote controller.'
	'Being bound like that, he just plays with the remote, sometime making you scream and sometime lowering the speed to ease your sensations.'

	gs 'arousal', 'vaginal_dildo', 30, 'sub', 'bound', 'rough'
	gs 'pain', 2, 'vaginal', 'stretch'
	gs 'stat'

	act 'Continue':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'bdsmDeepthroat':
	actionTypeRecent = 7
	leoHorny -= rand(20, 50)
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/dildothroat'+rand(1, 3)+'.gif"></center>'
	'<<$bName>> ties you up and leads you to a room with bondage devices.'
	'He orders you to kneel down, having your hands bound behind your back.'
	'<<$bName>> brings a large rubber dildo and orders you to open your mouth.'
	'Like a slave you actually are, you comply without hesitance and open it as wide as possible.'
	'He stuffs the dildo inside it and slowly starts to fuck it, with every stroke going deeper and deeper.'
	'After few minutes the dildo is being pushed all the way inside your throat, with your own saliva and tears running down your face.'

	gs 'arousal', 'bj', 30, 'sub', 'bound', 'deepthroat'
	gs 'pain', 2, 'throat', 'stretch'
	gs 'stat'

	act 'Continue':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'bdsmForcedOrgasm':
	actionTypeRecent = 8
	leoHorny -= rand(20, 50)
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/forcedorgasm'+rand(1, 4)+'.gif"></center>'
	'<<$bName>> ties you up and leads you to a room with bondage devices.'
	'He lies you down, securing your hands and legs so you cannot move and also exposing your crotch to his liking.'
	'He brings a large vibrator device and starts to massage your labia.'
	'First he uses low setting, but after a while he turns it on max and instead targets directly your clitoris.'
	'The sensation is so strong, you cannot differentiate if it hurts or if its pleasurable.'

	$orgasm_or = 'yes'
	gs 'arousal', 'vaginal_vibe', 30, 'sub', 'rough', 'maso', 'bound'
	gs 'pain', 3, 'clitoris', 'ache'
	gs 'stat'

	act 'Continue':gt 'leonid', 'bdsmGate'
end

if $ARGS[0] = 'officeLeonidGate':
	minut += 2
	'<center><img src="images/characters/pavlovsk/resident/leonid/leonid.jpg"></center>'
	if leonidVisit = 1:
		'Hello <<$pcs_firstname>>, my <<$slaveTitle>>.'
		if slaveEventCount = 0:
			act 'Hello mister <<$bSurname>>, you called me?':gt 'leonid', 'secretRoom'
		else
			act 'Hello mister <<$bSurname>>, you called me?':gt 'leonid', 'secretRoom'
		end
	elseif leonidVisit = 0:
		'What do you want <<$pcs_firstname>>? I''m working, can''t you see?'
		act 'I want to serve my master':gt 'leonid', 'officeLeonidHasTime'
		if leoComfort > 50:
			act 'Offer him a massage':gt 'leonid', 'massage'
		end
		if leonidSecretary = 1:
			act 'Get back':gt 'leonid', 'secretaryGate'
		else
			act 'Appologize and leave':gt 'leonid', 'office'
		end		
	end
	gs 'stat'
end

if $ARGS[0] = 'massage':
	minut += 2
	'You are about to give a massage to <<$bName>> <<$bSurname>>..'
	act 'Strip down and give erotic massage':gt 'leonid', 'massageErotic'	
	act 'Give him regular massage':gt 'leonid', 'massageRegular'	
end
	if $ARGS[0] = 'massageErotic':
		durr = 30
		minut += durr
		gs 'stat'
		gs 'arousal', 'foreplay', durr
		leoHorny += rand (60, 80)
		leoComfort -= rand (40, 60)
		'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageErotic'+rand(1,2)+'.gif"></center>'
		'<<$bName>> lies down on a table. You strip down your clothes and give him errotic massage using oil.'
		'First his back, then you move to his front. He seems to enjoy it..'
		act 'End the massage end get back to work':gt 'leonid', 'office'
		act 'Use your hands':gt 'leonid', 'massageEroticHandjob'
		gs 'stat'
	end
		if $ARGS[0] = 'massageEroticHandjob':
			durr = 5
			minut += durr
			gs 'stat'
			gs 'arousal', 'hj', durr

			'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageEroticHand.gif"></center>'
			'<<$bName>>''s member is already hard in the moment you reach for it.'
			'Gently jerking it off he seems to be aroused even more.'
			act 'Finish him with your hand':gt 'leonid', 'massageEroticHandjobFinish'
			act 'Continue with mouth':gt 'leonid', 'massageEroticBlowjob'
		end
			if $ARGS[0] = 'massageEroticHandjobFinish':
				durr = 15
				minut += durr
				gs 'stat'
				gs 'arousal', 'hj', durr
				gs 'cum_call', 'hands', $boy, 1
				'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageEroticHandFinish.gif"></center>'
				'You bring him to an orgasm using your hand..'
				leoHorny -= rand (40, 50)
				act 'Clean up and get back to work':gt 'leonid', 'office'
			end
		if $ARGS[0] = 'massageEroticBlowjob':
			durr = 5
			minut += durr
			gs 'stat'
			gs 'arousal', 'bj', durr
			'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageEroticMouth'+rand(1, 2)+'.gif"></center>'
			'His hard cock feels nice in your mouth and <<$bName>> seems to enjoy it even more than just your hand..'
				act 'Finish him with your mouth':gt 'leonid', 'massageEroticBlowjobFinish'
				act 'Bend over and offer your holes':gt 'leonid', 'massageEroticFuck'				
		end
			if $ARGS[0] = 'massageEroticBlowjobFinish':
				durr = 15
				minut += durr
				gs 'stat'
				gs 'arousal', 'bj', durr
				gs 'cum_call', 'mouth', $boy, 1
				'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageEroticMouthFinish.gif"></center>'
				'You bring him to an orgasm using your mouth..'
				leoHorny -= rand (50, 60)
				act 'Clean up and get back to work':gt 'leonid', 'office'
			end
		if $ARGS[0] = 'massageEroticFuck':
			durr = 10
			minut += durr
			gs 'stat'
			gs 'arousal', 'vaginal', durr
			'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageEroticFuck.gif"></center>'
			'<<$bName>> does not take long, get up and sticks his hard cock inside your already wet pussy.'
				act 'Let him finish':gt 'leonid', 'massageEroticFuckFinish'			
		end
			if $ARGS[0] = 'massageEroticFuckFinish':
				durr = 15
				minut += durr
				gs 'stat'
				gs 'arousal', 'vaginal', durr
				gs 'cum_call', '', $boy, 1
				'<center><img src="images/characters/pavlovsk/resident/leonid/sex/massageEroticFuckFinish.gif"></center>'
				'He fucks you until he cums. Inside..'
				leoHorny -= rand (60, 80)
				act 'Clean up and get back to work':gt 'leonid', 'office'
			end

if $ARGS[0] = 'officeLeonidHasTime':
	minut += 2
	serveType = rand(1, 50) + leoStress
	if serveType > 70:
		'I said I''m working, <<$slaveTitle>>. Do you want to be punished for causing trouble?'
		act 'I want to be punished':gt 'leonid', 'officeLeonidPunishmentGate'
		if leonidSecretary = 1:
			act 'Get back':gt 'leonid', 'secretaryGate'
		else
			act 'Appologize and leave':gt 'leonid', 'office'
		end		
	else
		gs 'leonid', 'officeLeonidVoluntaryServeGate'
	end
	gs 'stat'
end

if $ARGS[0] = 'officeLeonidVoluntaryServeGate':
	minut += 2
	serveType = rand(1, 50) + leoHorny
	if serveType <= 70:
		taskCoffee = 1
		'Go and make me a coffee.'
		act 'Go make it':gt 'leonid', 'officeKitchen'
	elseif serveType > 70:
		'Then crawl under the desk and suck my dick.'
		act 'Do it':gt 'leonid', 'officeLeonidSuckUnderTable'
	end
	gs 'stat'
end

if $ARGS[0] = 'officeLeonidSuckUnderTable':
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/suckundertable'+rand(1,4)+'.gif"></center>'
	gs 'stat'
	gs 'arousal', 'bj', 20, 'sub'
	gs 'arousal', 'end'
	act 'Let him cum in your mouth':gt 'leonid', 'officeLeonidSuckUnderTable1'
	act 'Let him cum on your face':gt 'leonid', 'officeLeonidSuckUnderTable2'
end

if $ARGS[0] = 'officeLeonidSuckUnderTable1':
	minut += 3
	leoHorny -= 40
	gs 'cum_call', 'mouth', $boy, 1
	gs 'stat'
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/cummouth'+rand(1,4)+'.gif"></center>'
	'As <<$bName>> cums, you let the tip of his cock point into your mouth and catch all the sperm.'
	'Then you stick your head up, show him your mouth full of his sperm and with smile you swallow it.'
	act 'Continue':gt 'leonid', 'office'
end

if $ARGS[0] = 'officeLeonidSuckUnderTable2':
	minut += 3
	leoHorny -= 40
	gs 'cum_call', 'face', $boy, 1
	gs 'stat'
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/cumface'+rand(1,5)+'.gif"></center>'
	'As <<$bName>> cums, you let the tip of his cock point towards your face, letting him spray all over your face.'
	'Then you stick your head up, showing him your face cowered in sperm.'
	act 'Continue':gt 'leonid', 'office'

end

if $ARGS[0] = 'officeLeonidPunishmentGate':
	minut += 2
	serveType = rand(1, 100)
	if serveType <= 100:
		gs 'leonid', 'officeLeonidPunishmentSpank'
	elseif:

	end
	leonidInFavour -= 1
end

if $ARGS[0] = 'officeLeonidPunishmentSpank':
	'<center><img src="images/characters/pavlovsk/resident/leonid/sex/spank'+rand(1,5)+'.gif"></center>'
	'<<$bName>> strips down your clothes and gives you a harsh spanking.'
	leoStress -= 50
	minut += 30
	pain['asscheeks'] += 10
	durr = 10
	minut += durr
	gs 'stat'
	gs 'arousal', 'foreplay', durr, 'sub', 'maso', 'humiliation'

	if leonidSecretary = 1:
		act 'Get back':gt 'leonid', 'secretaryGate'
	else
		act 'Thank you master':gt 'leonid', 'office'
	end
end

if $ARGS[0] = 'call':
	minut += 2
	'<<$pcs_firstname>>, be at 20:00 at the office. Understood?'
	leonidVisit = 1
	minut += 1
	gs 'stat'
	act 'Yes mister <<$bSurname>>.':gt $locM, $metkaM
end

if $ARGS[0] = 'callMissed':
	minut += 2
	if leonidVisitMissed <= 2:
		'Are you forgetting what you are, slave? Be at 20:00 at the office and don''t fail me again, or there will be consequences. Understood?'
	elseif leonidVisitMissed >= 3:
		'This is your last warning, slave. If you won''t come to my office today at 20:00, bad things will happen. Understood?'
	end
	leonidVisit = 1
	minut += 1
	leonidSlaveDay = daystart
	gs 'stat'
	act 'Yes mister <<$bSurname>>, I''m sorry. I''ll be there.':gt $locM, $metkaM
end

if $ARGS[0] = 'sold':
	minut += 35
	leonidSlave = 0
	'"<<$pcs_firstname>>, you stupid bitch. I thought you were already trained well, given the experience from the slave facility."'
	'You try to object to his statement, but he just slaps your face shutting you up even before you were able to say a word.'
	'"I don''t need such an unruly slave as you. I can easily buy another, more obedient one."'
	'"Perhaps I shall keep them locked up, next time. But not you, <<$pcs_firstname>>. I don''t want any more trouble with you."'
	'"Everything is already arranged. You are leaving now, enjoy the countless dicks waiting for you."'
	'Your face turn pale from his words, fearing what they meant.'
	'A fat old lady comes with cuffs and a hood, still in surprise you are bound and hood is put on your head.'
	'You find yourself once again in a trunk of a car, travelling somewhere else to an unknown and possibly unpleasant future..'
	''
	'After about half an hour you are unloaded from the trunk and lead somewhere inside.'
	'The fat lady removes the hood: "You are in brothel, bitch. I guess you know what are you going to do here."'
	'"Over there is your room where you can sleep. Some food is in the cabinet."'
	'"When whoring, I want you clean and made up. Earn me enough money and I may let you leave. Understood?"'
	workDolg = 100000 + money
	gs 'stat'
	act 'Continue':gt 'saunaroom'
end

if $ARGS[0] = 'toilet':
	CLOSE ALL
	cla
	*clr
	$locM = 'leonid'
	$metka = 'toilet'
	$metkaM = 'toilet'
	$loc = 'leonid'
	$location_type = 'bathroom'
	$gt1 = 'leonid'
	$gt2 = 'toilet'
	minut += 2

	'<center><h4>Office toilet</h4></center>'
	'<center><img src="images/characters/pavlovsk/resident/leonid/toilet.jpg"></center>'
	'You are in an office toilet.'

	if $clothingworntype ! 'office':
		'<b style="color: #FF00000">You are at work, so you need to be dressed as a secretary!</b>'
	end
	act 'Change your clothes':gt 'clothing_QV', 'list'

	act 'Look in the mirror':
		cla
		gt 'portmirror', 'start'
	end

	if pcs_hairbsh = 0:
		act 'Brush your hair': gt 'portmirror', 'brush'
	end

	if spdirtyc > 0:
		act 'Wipe the cum off your clothes (0:10)':
			cla
			*clr
			cumspclnt = 6
			gs 'cum_cleanup'
			minut += 10
			'<center><img src="images/shared/sex/cum/frotsp.jpg"></center>'
			'You spend ten minutes wiping and rinsing the cum stains out of your clothes. By the end, all that remain of them are some damp spots that should dry up in a few minutes.'

			act 'Continue':gt 'leonid', 'toilet'
		end
	end

	dynamic $tampon
	dynamic $quickwash
	dynamic $basin

	act 'Leave the restroom':gt 'leonid', 'office'
end

--- leonid ---------------------------------

