:: brothel_introduction[event]
<<switch $larg(0)>>
	<<case undefined>>
		<<addtime 1>>
		<<image "locations/shared/brothel/bouncer.jpg">>
		<p>
			A huge man enters. He's at least 2 meters tall. Since he doesn't wear a shirt, you can see his well-defined muscles. He's obviously working out a lot.
			It seems as if he serves as some kind of security guard or bouncer.
		</p>
		<p>
			<<say 'brothel_rec' 'We got another girl. I trust you to give her the proper introduction.'>>
			The muscular man nods.
			<<say 'brothel_sec' 'Of course, sir.'>>
			He turns to you.
			<<say 'brothel_sec' 'Follow me, slut.'>>
		</p>
		<<act 'Follow'>>
			<<gt 'brothel_introduction' 'locker'>>
		<</act>>
	<<case 'locker'>>
		<<addtime 2>>
		<<image 'locations/shared/brothel/lockerroom.jpg'>>
		<p>
			<<npc 'brothel_sec' undefined 'The bouncer'>><</npc>> leads you down a corridor.
			You notice that the doors in this hallway can only be opened with a keycard.
			The bouncer opens one of the doors for you and leads you into the next room.
		</p>
		<p>
			It is a lockerroom. There are way more lockers than you expected, at least 50. Are they all for the girls working here?
		</p>
		<p>
			<<say 'brothel_sec' 'Get naked! And put your stuff into one of the lockers!'>>
		</p>
		<<actCLA 'Object'>>
			<<image 'locations/shared/brothel/slap.gif'>>
			<p>
				You barely manage to start your objection before the bouncer steps right in front of you.
				Without a warning, he grabs your hair with his left hand and painfully pulls it back, forcing you to look right into his face.
				Then he slaps your face with his right hand. One... two... three times. It hurts a lot.
			</p>
			<<pain 'face' 30>>
			<p>
				<<say 'brothel_sec' 'What do you think this is, slut?'>> He keeps your hair pulled back while talking to you.
				<<say 'brothel_sec' 'In here, you will follow my orders. Without a question. Without wasting my time. Do you understand?'>>
				He raises his right hand again and you quickly nod so he doesn't slap you again.
			</p>
			<<act 'Do what you are told'>>
				<<gt 'brothel_introduction' 'undress'>>
			<</act>>
		<</actCLA>>
		<<act 'Comply'>>
			<<gt 'brothel_introduction' 'undress'>>
		<</act>>
	<<case 'undress'>>
		<<addtime 5>>
		<<image 'locations/shared/brothel/lockerroom.jpg'>>
		<p>
			You quickly undress.
			<<if $wardrobe.isWearingPanties>>
				Once your clothes are off, you look at <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>>.
				He watches you the whole time and does not seem as if he would look away for you putting off your panties.
			<<else>>
				You would have prefered not being watched by <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>> for the whole time.
			<</if>>
			You knew that you had to get naked, but being closely watched while undressing makes this extra uncomfrotable.
		</p>
		<p>
			You take all your belongings and put them into one of the lockers. There is no lock.
			You look over to the bouncer with a questioning look.
			<<say 'brothel_sec' 'Don\'t worry, slut. Your stuff is safe.'>> He points to surveilance cameras at the ceilining.
		</p>
		<p>
			<<say 'brothel_sec' 'Now follow me!'>>
		</p>

		<<run $wardrobe.lastWornSet('brothel')>>
		<<strip 'all'>>
		<<run $inventory.moveToContainerAll('default','brothel_locker')>>
		<<act 'Follow him'>>
			<<gt 'brothel_introduction' 'waiting'>>
		<</act>>
	<<case 'waiting'>>
		<<addtime 2>>
		<<image 'locations/shared/brothel/intro-waiting.jpg'>>
		<p>
			<<npc 'brothel_sec' undefined 'The bouncer'>><</npc>> leads you through a door that has a sign reading <i>Doctor</i> next to it.
		</p>
		<p>
			The next room is only iluminated by a single old lightbulb. The concrete walls and floor also make this look like an old bunker. It doesn't look as clean as the rest of the facility you have seen so far.
		</p>
		<p>
			But what really shocks you are three other young women being chained to the wall to the right.
			They are naked just like you are. They are only wearing metal handcuffs which are connected to metal rings at the wall.
			The rings are so high that the smaller two of them have to stand tiptoed.
		</p>
		<p>
			<<say 'brothel_sec' 'Rule #1'>> <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>> says while grabbing your hair and pushing you towards one free place at the wall
			<<say 'brothel_sec' 'Sluts must not talk to other sluts.'>>.
		</p>
		<p>
			You feel the cold concrete on your bare feet as you walk over to the wall, and then pressed against your back.
		</p>
		<p>
			The bouncer locks a pair of cuffs around your wrists. They are tight enough to make escape impossible, but to too uncomfortable.
			He then raises your arms above your head.
			<<if $pc.pcs_hgt > 172>>
				<<set _temp_pain_feet = 0>>
				<<set _temp_pain_wrists = 0>>
				Thankfully, you are tall enough to remain flat fooded as <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>> locks your cuffs to the ring above your head.
			<<elseif $pc.pcs_hgt > 162>>
				<<set _temp_pain_feet = 3>>
				<<set _temp_pain_wrists = 3>>
				Just like the other two girls, you are too small to remain flat fooded.
				<<npc 'brothel_sec' undefined 'The bouncer'>><</npc>> pulls up your cuffs with ease and you are forced to the tips of your toes.
				Hopefully you won't have to wait for long like this.
			<<else>>
				<<set _temp_pain_feet = 0>>
				<<set _temp_pain_wrists = 6>>
				You are too small to keep contact with the floor.
				As <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>> pulls up your cuffs you are first forced to the tip of your toes, then you are hanging only by your cuffs.
				Without problems, the bouncer locks your cuffs in place and steps back.
				Now that your whole weight rests on your wrists, they quickly start to hurt.
				Hopefully you won't have to wait for long like this.
			<</if>>
		</p>
		<<actCLA 'Wait'>>
			<<addtime 9>>
			<<pain 'feet' _temp_pain_feet*2>>
			<<pain 'wrists' _temp_pain_wrists*2>>
			<<image 'locations/shared/brothel/intro-tgirl.jpg'>>
			<p>
				After a few minutes, the door you didn't enter through, opens.
				A middle-aged man comes through. He looks very well-groomed, wearing an expensive suit and shiny black leather shoes.
			</p>
			<p>
				In his hand he holds a short chain that is connected to a leather collar that is locked around the neck of the slave girl who is crawling behind him.
				She looks very attractive, with lush blond hair, big well-formed breasts and an appealing face.
				She is completely naked, except for a pair of hold ups and for the pair of ballet boots she wears on her feet.
				They don't have heels, just a single cone that forces the feet of the wearer into a straight position.
				She probably wouldn't be able to walk in these things even if she were allowed to. 
			</p>
			<p>
				<<say 'male' 'Thank you again, Doctor. You are truely a master of your craft.'>>
				With this last goodbye, the man tugs at the chain and walks to the exit, his slave struggling to keep up.
				Now that her behind is in your view you realize, that she isn't really a girl.
				Between her legs you see two balls tightly constrained by a metal mesh.
				The mesh is welded to a solid metal tube, that's only two or three centimeters long.
				The end of the tube has a small opening through which the squeezed head of a penis is visible.
				All of this is tightly held in place by a small padlock that makes quiet metallic noises with every move the slave makes.
				You can't imagine this being comfortable.
				Did <i>she</i> consent to this?
			</p>
			<<actCLA 'Wait'>>
				<<addtime 27>>
				<<pain 'feet' _temp_pain_feet*4>>
				<<pain 'wrists' _temp_pain_wrists*4>>
				<<image 'locations/shared/brothel/intro-waiting.jpg'>>
				<p>
					<<npc 'brothel_sec' undefined 'The bouncer'>><</npc>> removes the next girl from the wall.
					It is the tall girl.
					He pushes her through the open door before turning around to observe the other three of you again.
				</p>
				<p>
					After a short while, the door opens again. Nobody gets out. You assume that there's another exit.
					The bouncer removes the second girl from the wall and pushes her into the adjacent room as well, before closing the door once again.
				</p>
				<p>
					This time, it takes a little longer for the door to open again. When it does, the bouncer steps up in front of you.
					He disconnects your cuffs from the wall and lets your numb arms falls down to your belly.
					As he pushes you to the door, you see the third other girl at a glance.
					Judging from the expression on her face, she clearly feels unfairly treated, but she doesn't object.
				</p>
				<<act 'Enter doctor\'s office'>>
					<<gt 'brothel_introduction' 'doctor'>>
				<</act>>
			<</actCLA>>
		<</actCLA>>
	<<case 'doctor'>>
		<<addtime 3>>
		<<image 'locations/shared/brothel/intro_milking.jpg'>>
		<p>
			The first thing you see as you enter the doctors office, is the tall woman who came in before you.
			Still naked, she is kneeing on a table. Two tubes are connected to her nipples, slowly sucking milk out of them.
			Otherwise unconstrained, she fondles one of her breasts with her hand from times to times. She really seems to enjoy this.
		</p>
		<p>
			<<say 'male' 'You can ignore the cow. Get over here!'>>
			The doctor stands on the other side of the room next to a gynecology chair.
			You slowly walk around the <i>cow</i> and reach him.
			Knowing what to do, you sit yourself down on the chair, your legs spread widely.
		</p>
		<<actCLA 'Wait'>>
			<<addtime 2>>
			<<image 'locations/shared/brothel/intro-gyn.jpg'>>
			<p>
				<<say 'male' 'Don\'t worry, this is just a safety precaution.'>> he says as he takes out leather straps, tightly securing your ankles and wrists to the chair.
				Afterwards he continues with your arms, legs and upper body. What type of safety is this supposed to be?
			</p>
			<p>
				Finally, he places some piece of wood between your teeth.
			</p>
			<<actCLA '...'>>
				<<addtime 7>>
				<<image 'locations/shared/brothel/intro-gyn-fondle.jpg'>>
				<p>
					Without saying another word, the doctor starts to inspect your body.
					First he takes a blood samlpe from your left arm and places it inside some kind of machine.
					Then he squeezes your breasts. A quite whimper is all you manage to push out.
					He takes out a ruler and measures next to every part of your body.
					And he pays very close attention to your genitals.
				</p>
				<<actCLA '...'>>
					<<addtime 5>>
					<<image 'locations/shared/brothel/intro-gyn-probe.jpg'>>
					<p>
						Once done with his measurements, the doctor takes out a vibrator.
						Without any warning, he powers it on and presses it against your clit.
						He then pushes two of his fingers into your ass.
						Turning the power up and up, he watches your reaction closely while making sure you don't get stimulated enough to get off.
					</p>
					<p>
						At some point, the sensation becomes unbearable.
						You trash around to evade the vile stimulation of the vibrator, but there is no use. The straps hold you in place tightly.
						You see the doctor grinning, as he turns the power of the vibrator to maximum.
						Just as you feel like going insane from lust, he removes it.
					</p>
					<<actCLA '...'>>
						<<addtime 13>>
						<<image 'locations/shared/brothel/intro-gyn-sex.jpg'>>
						<p>
							<<say 'male' 'That has been insightful'>> He still grins villainish has he unbuttons his pants.
							<<say 'male' 'But there is only one tamper-proof way to really evaluate the value of a slave girl.'>>
						</p>
						<p>
							He pulls down his underpants. From the corner of your eyes you can see his massive erection.
							Very slowly, he presses his dick against your labia and then inside your vagina.
						</p>
						<p>
							It's enough stimulation to keep you horny, but not enough to be truely satisfying.
							And he surely knows this. He is toying with you, as he slowly pulls his penis out again, only to push it back in even slower.
						</p>
						<p>
							He repeats this for what seems to be forever, before finally increasing the pace.
							You almost instantly cum, screaming into your gag and stuggling fruitlessly in your bounds.
							The doctor almost comes at the same time, filling you with his sperm.
						</p>
						<p>
							He pulls himself out and whipes his dick clean at your face.
							<<say 'male' 'Oh, don\'t worry. I got a vasectomy after I got the fifth bitch pregnant.'>> He laughs out.
						</p>
						<<act '...'>>
							<<gt 'brothel_introduction' 'gynresult'>>
						<</act>>
					<</actCLA>>	
				<</actCLA>>	
			<</actCLA>>	
		<</actCLA>>
	<<case 'gynresult'>>
		<<addtime 5>>
		<<set _valueFactors = {}>>
		<<set _valueFactors.age = Math.pow(0.9,$pc.age-18)>>
		<<set _valueFactors.appearance = Math.pow(0.7,5-$pc.appearance.hotcat.lasting)>>

		<<set _basePrice = 500>>
		<<set _totalPrice = (_basePrice * Object.values(_valueFactors).reduce((a,c)=>a*c,1)).roundToDecimal(-1)>>

		<<image 'locations/shared/brothel/intro-gyn.jpg'>>
		<p>
			<<say 'male' 'Okay then...'>> the doctor leaves you strapped to the chair as he takes out a calculator and starts pushing in some numbers.
			<<say 'male' 'We pay you by demand. Generally speaking, sluts who are too old or have been used too often, are in low demand.'>>
			He pushes in some more buttons.
			<<say 'male' 'Being nice to look at increases the demand. Customers enjoy tears on a cute face. There are some other factors, but I think you get the gist.'>>
		</p>
		<p>
			He finishes his calculation, then he holds the calculator in front of your face so you can see the result.
			It reads <<money _totalPrice>>.
		</p>
		<p>
			<<say 'male' 'That\'s what we pay you per hour while you are hear. The time is recorded once you enter the locker room. This also applies to today. So yes, you get paid for the little fun we just had.'>>
			With that he finally unties you.
			<<say 'male' 'We will reevaluate your worth occasionally. Now get out, I have other patients to look after.'>>
		</p>
		<p>
			You realize that <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>> had entered the room.
			He gives you a sign to follow him.
			Finally climbing down the chair you quickly oblige.
		</p>
		<<set $quest('brothel').payment = _totalPrice>>
		<<act 'Follow him'>>
			<<gt 'brothel_introduction' 'dressing'>>
		<</act>>
	<<case 'dressing'>>
		<<addtime 3>>
		<<image "locations/shared/brothel/brothelroom.jpg">>
		<p>
			He leads you out of the room, down a corridor, to yet another room.
			It has a distinct smell of various flowery perfumes.
			Eight mirrors are arranged around the four walls, each with its own collection of make-up and other beauty products.
			Another half open door leads to what appears to be a bathroom.
			<<say 'brothel_sec' 'This is the dressing room. After a client is done with you, you are brought here. You will then prepare for your next client. Once you are done, you push this button.'>>
			He points to a blue button next to the door.
		</p>
		<p>
			<<say 'brothel_sec' 'If you feel like your shift is over, you push the other button.'>>
			He points at the green button next to the blue one.
			<<say 'brothel_sec' 'In either case, a staff member will bring you where you need to go. And since this might be me, here\'s an important warning: don\'t waste my time!'>>
		</p>
		<<act 'Just nod'>>
			<<gt 'brothel_introduction' 'kennel'>>
		<</act>>
	<<case 'kennel'>>
		<<addtime 7>>
		<<image "locations/shared/brothel/intro-kennel.jpg">>
		<p>
			<<say 'brothel_sec' 'Now to the last step of our little tour. I like to call it the kennel.'>>
			He leads you out of the dressing room and into the room next door.
			In shock you take a step back.
			This actually looks like a kennel.
		</p>
		<p>
			Five women are locked into cages.
			They are tall enough for them to stand in them, but not long enough to lie in them streteched out.
			Judging by the hides and the bowls of food and water in their cages, they actually do have to lie and maybe even sleep in there.
			Another muscular man seems to be the warden of these women.
			He wears a black shirt and on his belt he has a whip and some other painful looking tools.
			He greats <<npc 'brothel_sec' undefined 'the bouncer'>><</npc>> with a handshake.
		</p>
		<p>
			Then he looks at you. <<say 'male' 'Fresh meat, huh?'>> He turns to the women in the cages.
			<<say 'male' 'Let\'s show the new slut what a well-trained whore looks like!'>>
			You see the fear on the women's faces as they all turn around, present their but to you and pull their cheeks apart so you have a better look at their anus.
		</p>
		<p>
			The bouncer gives his collegue a congratulatory nod, before turning to you.
			<<say 'brothel_sec' 'Remember this place. You may end up here if you break the rules. And that\'s only a part of the punishment. Let\'s just say, you don\'t want to imagine what else could happen if you don\'t behave yourself.'>>
		</p>
		<p>
			<<say 'brothel_sec' 'I already told you Rule #1: don\'t talk to the sluts, whores and slaves.'>><br/>
			<<say 'brothel_sec' 'Rule #2: only speak to the guests when spoken to. Answer their questsions truthfully, respectfully and briefly.'>><br/>
			<<say 'brothel_sec' 'Rule #3: never speak to anybody outside of this place about what is happening here.'>><br/>
			<<say 'brothel_sec' 'Rule #4: as soon as you volunteer for a new customer, you are only allowed to leave if now customers wants you withing 8 hours.'>><br/>
			<<say 'brothel_sec' 'Rule #5: a customer can keep you for a session for up to 16 hours, unless you agree to extend this period.'>><br/>
			<<say 'brothel_sec' 'Rule #6: you have no say in what the customer does to you. Customers are allowed to inflict any kind of pain and temporal damage, but they must not inflict permanent physical damage.'>><br/>
			<<say 'brothel_sec' 'Rule #7: we will cover your medical expenditures in case you accidentially suffer lasting health issues.'>><br/>
		</p>
		<p>
			<<say 'brothel_sec' 'I think this is enough for today. You have a lot to think about. I will bring you back to the exit now.'>><br/>			
		</p>
		<<quest 'brothel' 11>>
		<<act 'Follow him'>>
			<<gt 'brothel_slave_reception_endShift'>>
		<</act>>
<</switch>>
