# stwork
if $ARGS[0] = 'start':
	$loc = 'stwork'
	$loc_arg = 'start'
	$locM = 'stwork'
	$locM_arg = 'start'
	$sexloc = 'stwork'
	$menu_loc = 'stwork'
	$menu_arg = 'start'
	menu_off = 0
	$location_type = 'private'
	clr
	minut += 5
	stripMir = 1
	gs 'stat'
	gs 'themes', 'indoors'
	killvar '$sexloc'
	'<center><b><font color="maroon">Dressing room for strippers</font></b></center>'
	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/stripclub/backstage' + rand(1,7) + '.jpg"></center>'
	''
	'There are several <a href="exec:gt ''mirror'', ''start''">mirrors</a> hanging on the wall, where you can <a href="exec:gt ''mirror'', ''brush''">brush</a> your hair, and a selection of <a href="exec:gt ''wardrobe'', ''start''">clothes</a> hanging on rails for the girls to dress in.'
	'There are some stairs leading to the <a href="exec:gt ''stwork'', ''stripgirl''">stage</a> where you can head out to perform.'
	'To the side there''s a <a href="exec:stripMir = 0 & gt ''stripclub'', ''start''">steel door</a> which overlooks the back yard and the staff uses as an entrance, to save them from meeting scummy customers. Standing by this entrance, there''s always <a href="exec:gt ''stwork'', ''guard''">security</a> keeping the talent safe.'
	'Near the exit door is a vending machine selling '+iif(money >= 100,'<a href="exec:money -= 100 & gt ''food'', ''snack''">snacks</a>','snacks')+' and a <a href="exec:gt ''beverage'', ''bev_wat''">water cooler</a>, which is heavily used by staff after coming off stage'
	'A wooden door leads to the <a href="exec:gt ''stwork'', ''toilet''">staff bathroom</a>.'
	*nl
	'You can access your <a href="exec: quick_dress = 1 & gt ''wardrobe'', ''default''">default clothing</a> options directly.'

	! Tattoos increase your desireability as a stripper
	if tatlech > 0:stripKoef1 = rand(1, 3)
	if tatback > 0:stripKoef2 = rand(1, 3)
	if tatblly > 0:stripKoef3 = rand(1, 3)
	if tatupb > 0:stripKoef4 = rand(3, 6)
	if tatleg > 0:stripKoef5 = rand(1, 3)
	if tatarm > 0:stripKoef6 = rand(1, 3)
	if tatside > 0:stripKoef7 = rand(1, 3)
	stripKoef = stripKoef1 + stripKoef2 + stripKoef3 + stripKoef4 + stripKoef5 + stripKoef6 + stripKoef7
	if countmoney = 1:
		countmoney = 0
		gs 'stwork2', 'tipcalculator'
	end

	act 'Exit the club':
		if $clothingworntype ! 'nude':
			gt 'stripclub', 'start'
		else
			msg'<b><font color = red>You need to get dressed.</font></b>'
			gt 'stwork', 'start'
		end
	end
	act 'Go to the staff bathroom':gt 'stwork', 'toilet'
	act 'Change your clothes':gt 'wardrobe', 'start'
	act 'Look in the mirror': gt 'mirror', 'start'
	if money >= 100: act 'Have a snack (0:15) (100 <b>₽</b>)': money -= 100 & gs 'food', 'snack'
	act 'Have a cup of water (0:05)':gs 'beverage', 'bev_wat'

	!! Private dance available
	if stprivatechance > 0:
		stpriv = stripKoef + (pcs_apprnc / 3)
		! Bonus for poledancing
		if stprivatechance = 2:
			stprive += 20
		end
		if stpriv > rand (0, 100):
		*nl
			'One of the bouncers walks up to you, telling you that a customer is waiting for you in one of the private rooms.'
			act '<b>Go perform a private dance</b>':
				stprivatechance = 0
				gt 'stwork2', 'privatdance'
			end
		end
	end

	if (kosmetica >= 3 or pcs_makeup >= 4) and (hour >= 11 or hour <= 2):
		act '<b>Prepare for your show</b>':
			*clr & cla
			if pcs_sweat >= 20 or (pcs_leghair > 3 or ((pcs_pubes > 3 and pubestyle = 1) or (pubestyle >= 2 and pubestyle <=7) and pcs_pubes > 11)):
				dynamic $showerdin
				minut += 5
				'<h3>Staff Bathroom</h3>'
				'<h5>Shower</h5>'
				'<center><img <<$set_imgh>> src="images/locations/shared/brothel/brothelshower.jpg"></center>'
				dynamic $brit
				*nl
				'After taking off all of your clothes, you gather up your towel, washcloth and soap, then head to the shower. You wash yourself thoroughly.'
				if deodorant_on = 1: gs 'sweat', 'remove_deo' & '<br>Your deodorant gets washed away in the shower.'
			end
			if pcs_makeup < 4:
				makupskl_exp += rand(1,3)
				kosmetica -= 3
				vidageday -= 1
				pcs_makeup = 4
				minut += 5
				'You brush your hair and put on heavy makeup for the customers.'
			end
			pcs_hairbsh = 1

			if pcs_leghair <= 3:
				if fingal <= 0:
					if strippermission = 0:
						act 'Go see the manager':
							*clr & cla
							'<center><img <<$set_imgh>> src="images/locations/city/citycenter/stripclub/stripinspection.jpg"></center>'
							'Before going on the stage you go see the manager in his office for your inspection.'
							'"Take off your clothes." He tells you matter of factly.'
							'When you''re done undressing, he walks up to you and inspects you closely.'
							if pcs_sweat < 20:
								'"Good, you have a clean sent. That is very important in this business."'
								'He briefly runs his hand over your legs.'
								if pcs_leghair <= 3:
									'"Smooth legs. Very good."'
									'He walks around you looking you up and down from every side.'
									if fingal <= 0:
										'"No bruises. Good. The better you look, the easier it is to make money once you are on that stage."'
										'"And the last thing. I need to check if you''ve rid yourself of all your pubic hair."'
										'"I suppose that''s a reasonable thing to check." You think to yourself as you show him your naked pussy.'
										'He puts his hand right above your pussy lips and slowly rubs the skin there, taking a bit longer than he did on your legs.'
										'You feel your pussy get a bit wet from his touch and hope that he doesn''t notice.'
										gs 'arousal', 'foreplay', 2
										gs 'stat'
!! This allows different pubic styles but anything from small bush up is still not permitted.
										if (pubestyle = 1 and pcs_pubes <= 3) or lashair = 1:
											strippermission = 1
											'"That''s very smooth. Looks like you are ready to get on the stage. You can get to work." He says and ushers you out of his office.'
											stpredmet = 3
											act 'Perform': gt 'stwork2', 'strip'
										elseif (pubestyle >= 2 and pubestyle <=7) and pcs_pubes <= 11:
											strippermission = 1
											'"Very cute pubic hair, I''m sure the customers will appreciate it, now get on stage. You can work" He says and ushers you out of his office.'
											stpredmet = 3
											act 'Perform': gt 'stwork2', 'strip'
										else
											'"You need to shave everything off <<$pcs_stagename>>, although a small and cute pubic style is popular at the moment if you feel creative." He smiles and pats you on the butt as he says, "Go take care of that and then come back here."'
											act 'Go to the dressing room': gt 'stwork', 'start'
										end
									else
										'"I can''t let you up on the stage with a black eye like that. You''ll have to wait until it''s gone. Come back when it''s healed."'
										act 'Go to the dressing room': gt 'stwork', 'start'
									end
								else
									'"Shave your legs, a customer doesn''t want to feel any stubble during a lapdance. Go take care of that and then come back here."'
									act 'Go to the dressing room': gt 'stwork', 'start'
								end
							else
								'"Damn it <<$pcs_stagename>>, you stink. Grab a shower we can''t have the club smelling like a locker room."'
								act 'Go to the dressing room': gt 'stwork', 'start'
							end
						end
					else
						act 'Go on stage':
							stpredmet = 3 & gt 'stwork2', 'strip'
						end
					end
				else
					'You aren''t allowed on stage, because of the black eye.'
				end
			else
				'Nobody wants to see a stripper with hairy legs and untrimmed pubes. Have a shave before you go on stage!'
			end
			act 'Leave':gt $loc, $loc_arg
		end
	else
		*nl
		'<font color="red">You don''t have enough make-up to get ready.</font>'
	end
	!act '<b>Go on stage</b>':
	!	if hour >= 11 or hour <= 2:
	!		if cumloc[1] = 0 and cumloc[2] = 0 and cumloc[4] = 0 and cumloc[5] = 0 and cumloc[6] = 0 and cumloc[7] = 0 and cumloc[11] = 0 and cumloc[14] = 0:
	!			if pcs_makeup >= 4:
	!				if pcs_hairbsh = 1:
	!					if pcs_sweat < 20:
	!						if pcs_leghair <= 3 and pcs_pubes <= 31:
	!							if fingal <= 0:
	!								stpredmet = 3 & gt 'stwork2', 'strip'
	!							else
	!								'You aren''t allowed on stage, because of the black eye.'
	!							end
	!						else
	!							'Nobody wants to see a stripper with hairy legs and untrimmed pubes. Have a shave before you go on stage!'
	!						end
	!					else
	!						'Damn, you stink like a pigsty, take a shower before going on stage.'
	!					end
	!				else
	!					'The least you can do is brush your hair.'
	!				end
	!			else
	!				'You need to put on very thick makeup if you want people to be impressed by your beauty.'
	!			end
	!		else
	!			'There is some visible semen on your body. Wash yourself off before going on stage.'
	!		end
	!	else
	!		'You''re done for today. Time to head home.'
	!	end
	!end
end

if $ARGS[0] = 'stripgirl':
	*clr & cla
	gs 'stat'
	striptalkrand = rand(0, 10)

	if striptalkrand = 0:$striptalk = 'Have you heard about that new girl? She''s really good-looking and all, but she got booed off-stage, apperantly she was worthless.'
	if striptalkrand = 1:$striptalk = 'I''m telling you, girls with tattoos are a huge turn-on to men.'
	if striptalkrand = 2:$striptalk = 'Working the pole is much more profitable than just dancing, it''s easier to excite the customer, but it also demands more from the person doing it.'
	if striptalkrand = 3:$striptalk = 'Phew, you really have to leave it all out on the stage, getting back all sweaty, with disheveled hair and makeup ruined. The cost in cosmetics is enough to bankrupt you.'
	if striptalkrand = 4:$striptalk = 'You know what, those private dances might be guaranteed money, but the real cash is in the extras.'
	if striptalkrand = 5:$striptalk = 'Remember that ugly girl? She got on stage and got booed off the stage by the customers, but as soon as she started working the pole, their jaws dropped, and she made a fortune in tips.'
	if striptalkrand = 6:$striptalk = 'Why doesn''t the manager ever says if it''s a male or female day? I recently rushed to work, even broke a nail, then I get here and there''s these bears up on stage. Had to turn around and head back home.'
	if striptalkrand = 7:$striptalk = 'That cute security guard was telling me about the problems the girls face with this job. Half of them turn up whores in the end, the money is better.'
	if striptalkrand = 8:$striptalk = 'There was a fat woman trying to dance on the pole, she fell face first on the floor. I thought she had knocked herself out, you should have seen the black eye she got.'
	if striptalkrand = 9:$striptalk = 'Recently we had a comedian working here. She was a pretty little thing and she danced well, but it''s not with jokes you earn tips here.'
	if striptalkrand = 10:$striptalk = 'I heard about clubs abroad where the tips are so good, that the strippers pay for the right to work there.'

	'The girls are doing their makeup and hair in the mirror, laughing and gossiping.'
	'<<$striptalk>>'

	act 'Move away':gt 'stwork', 'start'
end

if $ARGS[0] = 'guard':
	*clr & cla
	gs 'stat'
	'A bored looking, security guard stands by the door. Seeing you he lazily nods, "Hello <<$pcs_nickname>>."'

	act 'Move away':gt 'stwork', 'start'
end

if $ARGS[0] = 'toilet':
	$location_type = 'bathroom'
	$loc = 'stwork'
	$loc_arg = 'toilet'
	$locM = 'stwork'
	$locM_arg = 'toilet'
	gs 'stat'
	'<center><img <<$set_imgh>> src="images/locations/shared/bathroom/toilet.jpg"></center>'
	*nl
	'You enter a dirty and smelly staff bathroom that''s probably never been cleaned.'
	'There is no mirror, only a grimy shower, toilet, and basin'
	*nl
	'Your razor will last <b><<stanok>></b> more shaves. <a href="exec:gs ''din_van'', ''shave_options''">Shave Options</a>'

	act 'Leave the bathroom':gt 'stwork', 'start'
!	if kosmetica >= 3:
!		act 'Have a shower and get ready for work':
!			*clr & cla
!			dynamic $showerdin
!			minut += 10
!			makupskl_exp += rand(1,3)
!			kosmetica -= 3
!			vidageday -= 1
!			pcs_makeup = 4
!			pcs_hairbsh = 1
!			'<h3>Staff Bathroom</h3>'
!			'<h5>Shower</h5>'
!			'<center><img <<$set_imgh>> src="images/locations/shared/brothel/brothelshower.jpg"></center>'
!			*nl
!			'After taking off all of your clothes, you gather up your towel, washcloth and soap, then head to the shower. You wash yourself thoroughly, brush your hair, and put on heavy you makeup for the customers.'
!			act 'Get out and dry off':gt $loc, $loc_arg
!			dynamic $brit
!		end
!	else
!		'You don''t have enough make-up to get ready.'
!	end
	act 'Have a shower':
		*clr & cla
		dynamic $showerdin
		'<h3>Staff Bathroom</h3>'
		'<h5>Shower</h5>'
		'<center><img <<$set_imgh>> src="images/locations/shared/brothel/brothelshower.jpg"></center>'
		*nl
		'After taking off all of your clothes, you gather up your towel, washcloth and soap, then head to the shower. You wash yourself thoroughly to be as clean as possible for potential customers.'
		if deodorant_on = 1: gs 'sweat', 'remove_deo' & '<br>Your deodorant gets washed away in the shower.'
		act 'Get out and dry off':gt $loc, $loc_arg
		dynamic $brit
	end

	dynamic $brit
	dynamic $toymanage
	dynamic $enema
	dynamic $tampon
	dynamic $quickwash
	dynamic $basin
	dynamic $publicpan
	gs 'din_van', 'prvt_pee'
end

--- stwork ---------------------------------

