Browse Source

[added] police, fines, and court(letters) overhaul. Will almost certainly break your game, I'm sorry in advance

anjuna krokus 8 months ago
parent
commit
a4da692472

+ 54 - 24
locations/cikl.qsrc

@@ -1310,32 +1310,62 @@ if will_counter >= 20: will_counter -= 20 & willpowermax += 1
 
 !!-----------------webcam follower loss due to inactivity ------------------------------------------
 if camwhore = 1:
-    if cam_daystart < daystart:
-        if regviewReset < 3:
-            ! Calculate follower loss More followers = more loss
-            if regview >= 500:
-                FollowersLost = rand(regview / 100, regview / 50)
-            else
-                FollowersLost = rand(1, 3)
-            end
-            cam_daystart = daystart + 4
-        else
-            if regview >= 300:
-                FollowersLost = rand(regview / 80, regview / 40)
-            else
-                FollowersLost = rand(2, 6)
-            end
-            cam_daystart = daystart + 2
-        end
-        ! Increment the reset counter for follower loss
-        regviewReset += 1
-        FollowersLost = func('shortgs', 'clamp', FollowersLost, 0, regview)
-        totFollowersLost += FollowersLost
-        regview -= FollowersLost
-        killvar 'FollowersLost'
-    end
+	if cam_daystart < daystart:
+		if regviewReset < 3:
+			! Calculate follower loss More followers = more loss
+			if regview >= 500:
+				FollowersLost = rand(regview / 100, regview / 50)
+			else
+				FollowersLost = rand(1, 3)
+			end
+			cam_daystart = daystart + 4
+		else
+			if regview >= 300:
+				FollowersLost = rand(regview / 80, regview / 40)
+			else
+				FollowersLost = rand(2, 6)
+			end
+			cam_daystart = daystart + 2
+		end
+		! Increment the reset counter for follower loss
+		regviewReset += 1
+		FollowersLost = func('shortgs', 'clamp', FollowersLost, 0, regview)
+		totFollowersLost += FollowersLost
+		regview -= FollowersLost
+		killvar 'FollowersLost'
+	end
+end
+
+
+!!---------------Keeping track of missing court appearances-----------------------------
+if daystart > policeQW_courthearing_dates[0]:
+	policeQW['missed_court_dates'] += 1
+	policeQW['tot_court_dates_missed'] += 1
+	
+	!! Might need code to throw a message with 'You''ve missed your court hearing or something'
+
+	policeQW_courtletter_dates[] = daystart + rand(3, 6)
+	$policeQW_courtletter_subjects[] = 'missed_court_<<$policeQW_courthearing_subjects[0]>>'
+
+	killvar 'policeQW_courthearing_dates', 0
+	killvar 'policeQW_courthearing_subjects', 0
+end
+
+if daystart > policeQW['fine_deadline'] - 8:
+	policeQW_courtletter_dates[] = daystart
+	$policeQW_courtletter_subjects[] = 'fine'
+
+elseif daystart > policeQW['fine_deadline']:
+	policeQW['missed_fine_deadlines'] += 1
+	policeQW['tot_fines_deadlines_missed'] += 1
+
+	!! Might need code to throw a message with 'you''ve failed to pay your fine on time.'
+
+	policeQW_courtletter_dates[] = daystart + rand(3, 6)
+	$policeQW_courtletter_subjects[] = 'missed_fine'
 end
 
+gs 'sentence', 'sort_policeQW_arrays'
 
 
 --- cikl ---------------------------------

+ 1 - 1
locations/city_house_res_misc.qsrc

@@ -63,7 +63,7 @@ if $ARGS[0] = 'hallw':
 	'<center><b><font color="maroon">Hallway</font></b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/residential/house/crh_hallway.jpg"></center>'
 	
-	if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
+	if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
 
 	act 'Go out front':
 		if $clothingworntype ! 'nude':

+ 1 - 1
locations/city_mansion_residence_1.qsrc

@@ -27,7 +27,7 @@ if $ARGS[0] = 'yfoyer':
 		'<center><img <<$set_imgh>> src="images/locations/city/suburb/mansion/i_unfinished.jpg"></center>'
 	end
 	
-	if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
+	if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
 
 	act 'Walk outside':
 		if $clothingworntype ! 'nude':

+ 1 - 1
locations/korr.qsrc

@@ -21,7 +21,7 @@ if ml_performance['max_perform_minutes'] = 0: ml_performance['max_perform_minute
 
 if sound = 0:PLAY 'sound/korr.mp3',30
 
-if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
+if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
 
 if lesbiday + 14 <= daystart and lesbiQW >= 11 and hour >= 19 and santehnikDolg = 0:
 	if RAND(0,100) > 82 and husband = 0:

+ 1 - 3
locations/korr2x.qsrc

@@ -24,9 +24,7 @@ elektro = elektro + 1
 gs'stat'
 gs 'themes', 'indoors'
 
-if courtletter_date <= daystart and courtletter_date ! 0:
-	gt 'sentence', 'letter'
-end
+if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
 
 '<center><b><font color = maroon>Corridor</font></b></center>'
 '<center><img <<$set_imgh>> src="images/locations/pushkin/apartment/korr2x.jpg"></center>'

+ 1 - 1
locations/korrPar.qsrc

@@ -32,7 +32,7 @@ gs 'stat'
 
 if locat['Fam_inGad'] = 1:'With your parents away visiting your grandparents, the apartment seems quiet and empty.'
 
-if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
+if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
 
 if (hour ! 16 or hour ! 17) and blockBedrPar = 1:blockBedrPar = 0
 

+ 1 - 1
locations/pav_shared_apt.qsrc

@@ -209,7 +209,7 @@ if $ARGS[0] = 'start':
 	minut += 2
 	gs 'stat'
 	
-	if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
+	if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
 
 	! do this once a day
 	if daystart >= tomorrow:

+ 1081 - 19
locations/pav_station.qsrc

@@ -1,70 +1,1132 @@
 # pav_station
 
 if $ARGS[0] = 'station_outside':
-	*clr & cla
 	$menu_loc = 'pav_station'
 	$menu_arg = 'station_outside'
 	menu_off = 0
 	$location_type = 'public_indoors'
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavext.jpg" ></center>'
 	'The police station is gleaming in a bright yellow color, clearly making it clear that it can''t be missed by anyone in Pavlovsk.'
 	'The police officers are usually often misusing their power since no one further up the chain is giving a damn about a sleepy little town.'
-	
+
 	act 'Return to the train station area': minut += 3 & gt 'pav_train_hall'
 	act 'Enter the police station': minut += 1 & gt 'pav_station', 'station_inside'
 end
 
+
 if $ARGS[0] = 'station_inside':
-	*clr & cla
 	$menu_arg = 'station_inside'
 	menu_off = 0
 	gs 'stat'
 	$location_type = 'public_indoors'
+
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
 	'You are welcomed by a tiny reception area with someone always just lazily hanging around waiting for something to happen. The whole interior has seen better days and you''re reminded by the stories you''ve heard from your parents about how everything used to look run-down during their younger days.'
-	
+
 	act 'Leave the station': minut += 1 & gt 'pav_station', 'station_outside'
 	act 'Approach the reception area': minut += 2 & gt 'pav_station', 'reception'
 	if katalkinSexOnce = 1 and hour >= 8: minut += 1 & act 'Visit Captain Katalkin': gt 'katalkin'
 end
-		
+
+
 if $ARGS[0] = 'reception':
-	*clr & cla
 	menu_off = 1
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
 	'As you approach the reception the clerk looks at you with disdain in their eyes, "So what do you want?"'
 	'You can''t just stand around looking like a fool you need to say something before they think you''re crazy or something.'
-	
+
 	act 'N-Nothing, just looking around':
 		*clr & cla
 		minut += 5
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
 		'"Just looking around." you jokingly say.'
 		'The clerk looks sternly towards you, "Does this looks like a place to be messing around with?"'
 		'You become quiet and think for a moment, "I guess not... Just wanted to see how the inside of a police station looks like..."'
 		'"Said no one ever," the clerk quickly counters, "Listen, I don''t know what you''re up to but you need to leave quickly before I have one of the officers come out here and lock you up."'
 		'Hearing those words you quickly turn around and head towards the door...'
-		
+
 		act 'Walk away from the clerk': minut += 2 & gt 'pav_station', 'station_inside'
 	end
-	
-	act 'Report a crime':
+
+	act 'Report a rape': gt 'pav_station', 'rape_report'
+end
+
+temp_tot_booked_pav = policeQW['shoplift_booked_pav'] + policeQW['prostitution_booked_pav']
+
+if $ARGS[0] = 'entrance':
+	menu_off = 1
+
+	'<center><h1><font color="maroon">Reception area</font></h1></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
+	'The officer drags you in by the arm, his grip tightening whenever he feels the slightest bit of resistance from you. As the officer leads you by the reception area, the receptionist pops out his head looking blasé down the corridor.'
+	*nl
+
+	!first time offender, event where Sveta gets caught stealing
+	!need to add a variable to store that Sveta has been brought into the police station
+	if $ARGS[1] = 'shplft' or $ARGS[1] = 'shoplift':
+		policeQW['shoplift_booked_pav'] += 1
+		$policeQW['crime_flag_pav'] = 'shoplift'
+
+		temp_tot_booked_pav = policeQW['shoplift_booked_pav'] + policeQW['prostitution_booked_pav']
+
+		if temp_tot_booked_pav = 1:
+			!!a gosub on purpose!!
+			gs 'pav_station', 'first_shoplift'
+		elseif temp_tot_booked_pav < 6:
+			gt 'pav_station', 'repeat'
+		elseif temp_tot_booked_pav < 11:
+			gt 'pav_station', 'repeat'
+		else
+			gt 'pav_station', 'regular'
+		end
+
+	else
+		policeQW['prostitution_booked_pav'] += 1
+		$policeQW['crime_flag_pav'] = 'prostitution'
+		temp_tot_booked_pav = policeQW['shoplift_booked_pav'] + policeQW['prostitution_booked_pav']
+
+		if temp_tot_booked_pav = 1:
+			!!a gosub on purpose!!
+			gs 'pav_station', 'first_prostitution'
+		elseif temp_tot_booked_pav < 6:
+			gt 'pav_station', 'repeat'
+		elseif temp_tot_booked_pav < 11:
+			gt 'pav_station', 'repeat'
+		else
+			gt 'pav_station', 'regular'
+		end
+	end
+end
+
+if $ARGS[0] = 'first_shoplift':
+	cla
+	minut += 2
+	gs 'pain', 2, 'armR', 'pinch'
+	gs 'stat'
+
+	if fame['pav_slut'] > 250:
+		'He notices that it''s you that is being lead by the officer and says, "Aren''t you <<$pcs_firstname>> <<$pcs_lastname>>, one of, uh... Natasha''s kids? I guess I''m not surprised... I''ve heard things about that woman..."'
+	elseif grupTipe = 1:
+		'He notices that it''s you that is being lead by the officer and says, "If it isn''t <<$pcs_firstname>> <<$pcs_lastname>>! Who would''ve thought the you would end up here..."'
+	elseif grupTipe = 2:
+		'He notices that it''s you that is being lead by the officer and says, "I really hope this is your first and only one time you get brought here <<$pcs_firstname>> <<$pcs_lastname>>..."'
+	elseif grupTipe = 3:
+		'He notices that it''s you that is being lead by the officer and says, "Wait you''re telling me that <<$pcs_firstname>> <<$pcs_lastname>> commited a crime? Well I''ve seen it all now..."'
+	elseif grupTipe = 4:
+		'He notices that it''s you that is being lead by the officer and says, "It was just a matter of time until we saw you here <<$pcs_firstname>> <<$pcs_lastname>>... Not surprising at all."'
+!!	elseif high enough fame in something like sports etc
+!!	!!need code for this
+!!		'He notices that it''s you that is being lead by the officer and says, "Well, well, well, look how the high and mighty <<$pcs_firstname>> <<$pcs_lastname>> has fallen..."'
+	elseif policeQW['toldonguard_pav'] = 2:
+		!! if had sex with the security guard but still got arrested
+		'"I''m not lying, that security guard forced me to have sex with him! Why won''t you believe me?" you plead, but it does you no good.'
+		'The officer sighs, "You think you''re the first to try that? I''ve heard it all from you thieving little whores. You''re not the victim here!"'
+		*nl
+		'With a dejected whimper, you look down to the floor as you''re led further into the station to be booked.'
+	else
+		'He notices that it''s you that is being lead by the officer and says, "Well, there''s a first time for everything, I suppose. For your sake, lets hope your first time is your last time."'
+	end
+
+	act 'Continue further in':gt 'pav_station', 'booking'
+end
+
+if $ARGS[0] = 'first_prostitution':
+	cla
+	minut += 2
+	gs 'pain', 2, 'armR', 'pinch'
+	gs 'stat'
+
+	if policeQW['prostitution_bribe'] = 1:
+		if hotcat < 3:
+			'"I caught this one whoring herself out and you know what she tried to do? She tried to bribe me with sex!"'
+			'The others shake their head, "What was she thinking? No one would fuck someone as ugly as her!"'
+			'You hang your head in shame as you''re led further into the station for booking.'
+		elseif hotcat > 7:
+			'"I caught this one whoring herself out and you know what she tried to do? She tried to bribe me with sex!"'
+			'The other officers eye you hungrily, "You''re a better man than me!" one of them exclaim. "Just look at her, how often do you get a chance like that? I would have said yes!"'
+			'A small smile plays across your face, feeling a tiny bit flattered as you''re led further into the station to get booked.'
+		else
+			'"I caught this one whoring herself out and you know what she tried to do? She tried to bribe me with sex!"'
+			'The others jokingly say, "Well, she doesn''t look that bad. I wouldn''t have agreed, but I can see it working on someone else..."'
+			'You frown at their rude remarks, but remain silent as you''re led further into the station to be booked.'
+		end
+	else
+		if hotcat < 3:
+			'"I caught this one whoring herself out. Can you believe that? Who would ever want to fuck this pig?!" he exclaims, and the staff erupt with laughter.'
+			'"What was she thinking? Honestly, you''ve done everyone a favor getting her off the streets," says one of the officers before you''re led further into the station.'
+		elseif hotcat > 7:
+			'"I caught this one whoring herself out on the street corner. Such a waste," he turns to you and shakes his head. "A hot thing like you could shack up with some rich guy and leech off him, but I guess that''s not enough for a cock hungry whore like you, huh? One just ain''t enough."'
+			*nl
+			'The other officers laugh cruelly. "It really is a shame, just look at her-- she''s damn gorgeous. You must have some real issues to be selling yourself to strangers."'
+			*nl
+			'"I''m sure the money is great!" The officer holding you laughs loudly as he leads you further inside the police station.'
+		else
+			'"I caught this one whoring herself out. She ain''t bad looking, but you know she''s not making money like those other girls," he says with a disappointing click of the tongue'
+			'The other officers shrug and shake their heads. "Probably some cheap bastards out there that can''t afford to be picky," one speaks up as you''re led further into the station.'
+		end
+	end
+
+	act 'Continue further in':gt 'pav_station', 'booking'
+end
+
+
+if $ARGS[0] = 'repeat':
+	minut += 2
+	gs 'pain', 2, 'armR', 'pinch'
+	gs 'stat'
+
+	if temp_tot_booked = 1:
+		'"You''re way to young to be doing all these things Miss <<$pcs_lastname>>... We might have to call your mother here..."'
+		'The others smile and shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 2:
+		'"Seems like you don''t learn Miss <<$pcs_lastname>>, it''s really time to call your parents..."'
+		'The others laugh and shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 3:
+		'"I''m shocked seeing you again here <<$pcs_lastname>>... Not really, just as I expected."'
+		'The others smile and shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 4:
+		'"I feel sorry for your parents for having such a disappointing kid..."'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 5:
+		'"Well, this is new. I expected one of the Kotov kids or one of their friends, not you, Miss <<$pcs_lastname>>... to be such a repeat offender"'
+		'The others shake their heads as he leads you further inside the police station.'
+	end
+
+	act 'Continue further in':gt 'pav_station', 'booking'
+end
+
+if $ARGS[0] = 'multiple':
+	minut += 2
+	gs 'pain', 2, 'armR', 'pinch'
+	gs 'stat'
+
+	if temp_tot_booked = 6:
+		'"Parents like yours should stop having kids if they can''t raise them well."'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 7:
+		'"What is going on with the kids around here? You been hanging out with those Kotov brats and their loser friends?"'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 8:
+		'"Oh look, if it isn''t our favorite guest here, Miss <<$pcs_lastname>>. Welcome back, we have a room all waiting for you."'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 9:
+		'"You must be one of the worst offenders in Pavlovsk. You''re getting caught all the time."'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temp_tot_booked = 10:
+		'"What are we going to do with you, <<$pcs_firstname>>? I don''t know how we are going to make you stop..."'
+		'The others shake their heads as he leads you further inside the police station.'
+	end
+
+	act 'Continue further in':gt 'pav_station', 'booking'
+end
+
+if $ARGS[0] = 'regular':
+	minut += 2
+	gs 'pain', 2, 'armR', 'pinch'
+	gs 'stat'
+
+	temprand = rand(1, 8)
+	if temprand = 1:
+		'The staff sitting at the reception desk glance your way as the arresting officer glares down at you, "I''m sick and tired of processing you, <<$pcs_lastname>>! I hope they lock you away for a long time!"'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temprand = 2:
+		'The staff sitting at the reception desk glance your way as the arresting officer smirks, "Well, if it isn''t our favorite customer. How long will you be staying this time?"'
+		'The others laugh loudly as he leads you further inside the police station.'
+
+	elseif temprand = 3:
+		'The staff sitting at the reception desk glance at you as the arresting officer sighs heavily, "Why do you continue doing this, <<$pcs_lastname>>? Aren''t you getting tired of this life?"'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temprand = 4:
+		'The staff sitting at the reception desk glance at you as the arresting officer smiles sarcastically, "What a surprise, it''s our favorite little criminal!"'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temprand = 5:
+		'"Looks like I won the bet! I knew you would be in here again. Thanks for the 100 rubles, <<$pcs_firstname>>!"'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temprand = 6:
+		'"So what is it this time, <<$pcs_lastname>>? Don''t you get tired of it?"'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	elseif temprand = 7:
+		'"Have you ever thought about straighting up your act? You''re getting into adulthood soon and should sober up before you end up in a real bad place."'
+		'The others shake their heads as he leads you further inside the police station.'
+
+	else
+		'"Did you really have to bring her to the station? Now I have to do all the extra paperwork..."'
+		'The others shake their heads as he leads you further inside the police station.'
+	end
+
+	act 'Continue further in':gt 'pav_station', 'booking'
+end
+
+
+!Goes through the process of getting booked, pretty straight forward, an event when Sveta gets booked the first time (three ways how this goes) and repeatable bookings
+if $ARGS[0] = 'booking':
+	if temp_tot_booked_pav = 1:
+		gt 'pav_station', 'booking1'
+	else
+		gt 'pav_station', 'booking2'
+	end
+end
+
+
+if $ARGS[0] = 'booking1':
+	minut += 10
+	gs 'stat'
+
+	'<center><h1><font color="maroon">Holding area</font></h1></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking.jpg"></center>'
+	'As you''re led through the station, the officer leads you into a fairly small room with a couple of chairs and a counter with phone and finger printer. Over by one of the walls is a camera for taking a mug shot.'
+	'"Sit over there," the officer commands, pointing to the area for booking criminals. You take a seat as ordered, and the officer walks to the door and calls another office over. You sit there in silence, trying to overhear what is being said but you can''t hear them.'
+	*nl
+	'After a few minutes, the officer that brought you in comes back with another officer unknown to you, but he is young and fairly good looking, he can''t be much older than your sister. "Alright, <<$pcs_lastname>>, I''ll be leaving you here with my colleague. He''ll sort you out," the first officer says as they turn to the other policeman, "I''ve already checked her pockets, there was nothing of interest."'
+	'The young officer looks you up and down, evaluating you at a glance. "<<$pcs_lastname>> was it, right?"'
+
+	act 'Play along':
 		*clr & cla
 		minut += 5
 		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg" ></center>'
-		'"I-I would like to report a crime..." you whisper.'
-		'"Say what?! Speak louder, girl! I can''t hear what you''re sayin''!" the clerk yells out.'
-		'You take a deep breath, "I need to report a crime..."'
-		'The clerk looks towards you, "Oh, what has happened? Your teddybear ran away or something?! Listen here I don''t have time with your petty stuff so leave before I have you thrown into a cell, you hear!"'
-		'"B-But I-I..." you stutter.'
-		'"No nothing, there''s the door." he points toward the door.'
-		
-		act 'Walk away from the clerk': minut += 2 & gt 'pav_station', 'station_inside'
+
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+		'"That''s right... <<$pcs_firstname>> <<$pcs_lastname>>," you cautiously answer.'
+		'"Good, good. I hope we can continue to keep it civil like this," he smiles halfheartedly. "Now, let me tell you how this is gonna go: I''ll ask you some questions and you''ll answer them--truthfully," he emphasizes with a pointed look. "Then I''ll take your fingerprints and lastly your a mug shot. Understood?"'
+		'Dispirited, you nod weakly. "Good. Now come over here." he orders. He walks up to the counter.'
+
+		act 'Take fingerprints': gt 'pav_station', 'take_fingerprints1'
+	end
+
+	gs 'willpower', 'crime', 'self', 'medium'
+	if pcs_willpwr < will_cost:
+		act 'Answer brashly (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	else
+		act 'Answer brashly (<<will_cost>> Willpower)':
+			*clr & cla
+			minut += 5
+			gs 'willpower', 'pay', 'self'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+			'"My name is <i>go fuck yourself, pig</i>," you brashly answer.'
+			'"Well, well, that''s not nice of you to behave like that," the officer answers, "Guess we can do the process later and put you into a holding cell right away to calm down and think about what you''ve said."'
+			'The officer forcefully yanks you up from the chair and drags you away to a holding cell. You try to resist but they''re too strong. Before you know it, the door slams behind you and the only thing you can do is slam your fists against it.'
+
+			act 'Inside the holding cell':
+				*clr & cla
+				minut += 120
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavhold.jpg"></center>'
+				'You don''t know how much time has gone by but all of a sudden the door opens and it''s the same officer standing there, a smug smile on his face. "You plan to cooperate now, girl?"'
+				'All you want to do is kick him in the nuts and wipe that smile off his face, but knowing that will only make things worse, you simply nod.'
+				'"Good, now come out and follow me so I can finally process you..."'
+
+				act 'Follow him to the counter':
+					*clr & cla
+					minut += 5
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking.jpg"></center>'
+					'You tag along as the officer walks quite quickly up to the desk, "Listen here I don''t have time to deal with your lip service. Just answer the questions I ask you, understand?" The officer then proceeds to ask you several questions and writes every answer carefully down.'
+					'You try your best to draw out every answer as long as you reasonably can, and it makes you smile when you can clearly see that the officer is getting more and more annoyed by your actions.'
+					'When you finally finish with all the questions the officer is glaring down at you, "Time for your fingerprints and the mugshot," he says gruffly before leading you to private room where you can see a desk with lots of papers and a photo camera pointed at a wall. You assume that''s where they take the mugshots.'
+
+					act 'Take fingerprints': gt 'pav_station', 'take_fingerprints1'
+				end
+			end
+		end
+	end
+
+	act 'Try to weasel your way out':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+		'"Sure is," you give him a little wink as you answer.'
+		'The officer tells you to stand up and follow him so he can process you. You nod and sensually stand up, trying to show as much skin as possible, trying to catch his attention.'
+		'He looks at you, not really picking up on your signals, "Follow me over to the counter please," he monotonously says.'
+		'As he begins taking your fingerprints, you flirt with him for all your worth trying to get him to let you off with just a warning.'
+
+		act 'Flirt even more':
+			*clr & cla
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/booking0.jpg"></center>'
+			'Just when you are sure he is ignoring your flirting he stops, walks over and closes the door which has been open the whole time, "Why did you close the door?" you ask.'
+			'He shrugs his shoulders and answers in the same monotonously voice, "Thought you might want some privacy..."'
+			'You look around the room as you await further instructions, "Take off your clothes," he orders in the same monotone voice.'
+			'You look at him in shock, "What did you say?"'
+			'"Well, you''ve been teasing me this whole time. Think I haven''t noticed?" he answers. "Now get undressed!" He commands.'
+
+			act 'Get undressed': gt 'pav_station', 'booking1_undress'
+		end
 	end
 end
 
+
+
+if $ARGS[0] = 'take_fingerprints1':
+	minut += 10
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/police/fingerprint.jpg"></center>'
+	'You follow obediently behind. As you''re about to begin the process, you feel a bit nervous but the officer speaks up, "No need to worry. Fingerprints are a standard part of a booking record, we need them so we can add you to the nationwide database, saving us the trouble of going through this again to identify you if you commit another crime."'
+	'You nod and quickly dip your fingers into the ink before pressing them against the paper. Soon after, the officer points at wall with the camera pointed at it, silently ordering you to stand there.'
+	*nl
+	'You walk over and stand next to the wall as the officer takes your mugshot.'
+	'"Once we take your mug shot, it will be time to take you into the holding cell while we wait for one of your parents to come pay your fine and pick you up." He says.'
+	'"Do you have to call my parents?" you ask nervously.'
+	'The officer nods grimly. "Afraid so considering your age, now hold still while I take your mug shot." Then he starts to lead you towards the holding cells.'
+
+	act 'Stand still':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+		'You sigh and stand still as he takes your mug shot and finishes the last of the paperwork. Once he is done he leads you out of the room and down towards the holding cells. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+
+		act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+	end
+
+	gs 'willpower', 'crime', 'self', 'medium'
+	if pcs_willpwr < will_cost:
+		act 'Flip him off (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	else
+		act 'Flip him off (<<will_cost>> Willpower)':
+			*clr & cla
+			minut += 5
+			gs 'willpower', 'pay', 'self'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/shared/police/bookedfu.jpg"></center>'
+			'You scoff and flip him off as he takes your photo. He looks around the camera and glares at you a moment, then goes over and finishes the last of the paperwork. Once he is done he leads you out of the room and down towards the holding cells. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+
+			act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+		end
+	end
+
+	act 'Sexual tease him':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/bookedplay.jpg"></center>'
+		'You smile and hold your fingers spread apart to your lips with your tongue between them, just as he takes your photo. He looks around the camera and sighs. "What are you doing?" You could try and seduce him  so he doesn''t call your parents and just lets you go, but what will he do if you try?'
+
+		act 'Just having fun':
+			*clr & cla
+			minut += 5
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+			'You smile innocently to him. "Nothing just having a little harmless fun." He sighs and shakes his head, then he finishes the last of the paperwork. Once he is done he leads you out of the room and down towards the holding cells. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+
+			act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+		end
+
+		act 'Don''t call my parents':
+			*clr & cla
+			minut += 5
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+			'You give him your best seductive smile. "How about you close that door and we have a little fun and you just let me go? Sound good?"'
+			'He walks over and closes the door which has been open the whole time, "Why did you close the door?" you ask.'
+			'He shrugs his shoulders and answers in the same monotonously voice, "Thought you might want some privacy..."'
+			'You look around the room as you await further instructions, "Take off your clothes," he orders in the same monotone voice.'
+
+			act 'Get undressed': gt 'pav_station', 'booking1_undress'
+		end
+	end
+end
+
+
+
+if $ARGS[0] = 'booking1_undress':
+	gs 'arousal', 'foreplay', 3, 'inhibition', 'sub'
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/booking2.jpg"></center>'
+	'As the initial surprise vanishes, you start to undress. You''re still confused by it all but at the same time feel a bit turned on as you might get caught at any moment.'
+	'"What now?" you ask as you try to cover up your body as much as you can.'
+	'"Well, how about you suck my dick and I make the charges go away and you can just walk out of here." he smiles.'
+
+
+	act 'Comply':
+		policeQW['bookingofficer_sex_pav'] = 1
+		*clr & cla
+		gs 'arousal', 'bj', 5, 'inhibition', 'sub'
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/bookingbj1.jpg"></center>'
+		'You nod willingly as he leads you to the mugshot wall and makes you squat as he unzips his pants and exposes his hard cock to you. It pulses in front of your face as it eagerly awaits to enter your mouth.'
+		'"Let''s see how good you are with your mouth," he says, "and remember be quiet or else you''ll get in even more trouble."'
+		'He grabs his cock and shoves it into your mouth in one thrust. As you eagerly start to suck, you can feel his cock growing inside your mouth, a sign that you''re doing well.'
+		'After a while he grabs and holds your wrists while he pushes himself deeper down your throat, "Swallow my whole cock whore," he growls.'
+
+		act 'Keep sucking':
+			*clr & cla
+			gs 'cum_call', 'mouth'
+			spafinloc = 12
+			gs 'cum_manage'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/bookingbj2.jpg"></center>'
+			'You continue sucking him, pleasing him in any way possible. All of a sudden you hear him panting heavily as his cock twitches.'
+			'He pulls out of your mouth and tells you to open wide as he gives his cock a few jerks and cums into your mouth.'
+			'Your mouth is quickly filled and you try your best to keep his enormous load from spilling out. Your first instinct is to spit it out, but the police officer stares down at you expectantly. With a grimace, you swallow it all.'
+			'After a while he pulls his cock away, zipping his pants up and walking over to the counter again. "Get dressed so we can finish the process," he tells you.'
+
+			act 'Swallow':
+				*clr & cla
+				minut += 5
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/bookingcum.jpg"></center>'
+				'You continue sucking him, pleasing him in any way possible. All of a sudden you hear him panting heavily as his cock twitches.'
+				'He pulls out of your mouth and tells you to open wide as he gives his cock a few jerks and cums into your mouth.'
+				'Your mouth is quickly filled and you try your best to keep his enormous load from spilling out. Your first instinct is to spit it out, but the police officer stares down at you expectantly. With a grimace, you swallow it all.'
+				'After a while he pulls his cock away, zipping his pants up and walking over to the counter again. "Get dressed so we can finish the process," he tells you.'
+				*nl
+				'You make sure that there is no cum to be found on your clothes and quickly get dressed as the officer prepares the fingerprint process.'
+				'As you''re about to begin the process the officer speaks up, "Good thing you complied. Now I can help you out. It will all be fine..."'
+				'You sigh and hesitantly dip your finger one by one into the ink and take your time to press them against the paper. The officer then points at wall and tells you to stand there.'
+
+				act 'Take the mugshot':
+					*clr & cla
+					minut += 10
+					gs 'arousal', 'end'
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+					'You drag yourself to the wall and stand there as the officer takes your mugshot.'
+					'"That''s all," he says, "Now that we''re done, follow me."'
+					'He leads you through the station back to the front, you noticed a few other offices looking at the two of you with a smile but no one says anything. Once you reach the door to the station the officer opens the door for you. "Now try and stay out of trouble or don''t." Once you walk out he closes the door behind you, at least they didn''t call your parents.'
+
+					act 'Leave the station': minut += 3 & gt 'pav_train_hall'
+				end
+			end
+		end
+	end
+
+	gs 'willpower', 'sex', 'resist', 'hard'
+	if pcs_willpwr < will_cost:
+		act 'Reject him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	else
+		act 'Reject him (<<will_cost>> Willpower)':
+			*clr & cla
+			minut += 5
+			gs 'willpower', 'pay', 'resist'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/booking1.jpg"></center>'
+			'You begin shaking your head, "No, stop!"'
+			'"What''s wrong? I thought you wanted this? You''ve been teasing me this whole time!" he hisses.'
+			'"I don''t want this, so please let me go or... or I''ll scream!" you threaten him.'
+			'"...Fine, have it your way," he mutters. "Fine, get dressed and we''ll continue on then..."'
+			'You quickly get dressed as the officer prepares the fingerprint process.'
+
+			act 'Get dressed':
+				*clr & cla
+				minut += 5
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/shared/police/fingerprint.jpg"></center>'
+				'As you''re about to begin the process the officer speaks up, "You know... I really would''ve helped you. Think about it the next time."'
+				'You sigh and hesitantly dip your finger one by one into the ink and take your time to press them against the paper. The officer then points at wall and tells you to stand there.'
+
+				act 'Take the mugshot':
+					*clr & cla
+					minut += 15
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+					'You drag your feet as you walk over to the wall. You stand still as he takes your picture.'
+					'"That''s all," he says. "Time for you to head over to the holding cell while we await a detective to come and interrogate you."'
+					'You nod slowly as the officer ushers you out of the room. As you step out, he moves behind you and you feel his large hand groping your ass.'
+					'"You''ll regret that you rejected me," he comments quietly as he''s about to lock the cell door. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+
+					act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+				end
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'booking2':
+	minut += 15
+	gs 'stat'
+
+	'<center><h1><font color="maroon">Holding area</font></h1></center>'
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking.jpg"></center>'
+	'You walk into a familiar setting, not much has changed since last time and you already know what awaits you, as you are lead to the booking room again. The officer points to one of the chairs and you sit while he walks out of the room. After what feels like an eternity the young officer from last time returns.'
+
+	if policeQW['bookingofficer_sex_pav'] >= 1:
+		'The young officer observes you with a hungry lustful grin on his face, "<<$pcs_lastname>>, hmm? I remember you from the last time." He says as he walks over to where you sit, stopping with his crotch almost in your face. You lean back so his crotch isn''t so close to your face and sigh, you have a feeling he will want another blow job again.'
+	else
+		'The young officer observes you with a smile on his face, "<<$pcs_lastname>>, hmm? I remember you from the last time."'
+		'You sigh as you recall the last time you were with him...'
+	end
+
+	'He walks over to the counter and motions you over.'
+
+	act 'Get up and go to counter':
+		*clr & cla
+		minut += 10
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/fingerprint.jpg"></center>'
+		if policeQW['bookingofficer_sex_pav'] >= 1:
+			'You get up and walk over to the counter to stand next to him. "We just need to update some information since the last time you were here, <<$pcs_lastname>>" The officer stands very close to you, so your shoulders are touching, as he proceeds to ask you several questions and write every answer down. His free hand touches you in your lower back, then he slides it down to your butt and starts squeezing it.'
+			'You answer every question quickly as you know making trouble won''t lead to anything good, and if you cooperate they might go easier on you.'
+			'As you finish with the questioning the officer doesn''t even look your way as he says, "Next we will take your fingerprints and the mugshot."'
+		else
+			'You get up and walk over to the counter to stand next to him. "We just need to update some information since the last time you were here, <<$pcs_lastname>>" The officer then proceeds to ask you several questions and writes every answer carefully down.'
+			'You answer every question quickly as you know making trouble won''t lead to anything good, and if you cooperate they might go easier on you.'
+			'As you finish with the questioning the officer doesn''t even look your way as he says, "Next we will take your fingerprints and the mugshot."'
+		end
+		act 'Take fingerprints': gt 'pav_station', 'take_fingerprints1'
+	end
+
+	gs 'willpower', 'crime', 'self', 'hard'
+	if pcs_willpwr < will_cost:
+		act 'Spit on him  (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	else
+		act 'Spit on him (<<will_cost>> Willpower)':
+			*clr & cla
+			minut += 5
+			gs 'willpower', 'pay', 'self'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+			'"You again?" you ask rudely.'
+			'"Don''t act all surprised," the officer answers. "Are you going to cooperate or do I need to put you in the holding cell once again?"'
+			'Your eyes narrow as your lips curl into a grimace. The office is staring you down, and something in you snaps. Without warning, you spit in face, taking him by surprise.'
+			'The officer forcefully grabs hold of you and drags you away to a holding cell. "Disgusting bitch!" Before you know it the door slams behind you and the only thing you can do is slam your fists against the door.'
+
+			act 'Inside the holding cell':
+				*clr & cla
+				minut += 120
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavhold.jpg"></center>'
+				'You don''t know how much time has gone by but all of a sudden the door opens and it''s the same officer standing there, "Have you calmed down?"'
+				'All you want to do is to spit in his face again, but you know that will get you nowhere, and possibly even a beating, so you simply nod.'
+				'"Good, now come out and follow me so I can finally process you..."'
+
+				act 'Take the mugshot':
+					*clr & cla
+					minut += 15
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+					'This time you''re taken straight to take a mugshot.'
+					'You drag your feet as you walk over to the wall. You stand perfectly still as the officer takes your mugshot.'
+					'"Once we take your mug shot, it will be time to take you into the holding cell while we wait for one of your parents to come pay your fine and pick you up." He says.'
+					'"And we''re done," he says, He leads you in silence to the holding cell, as the officer opens the door, he pushes you inside of it. You hear the door slam and it suddenly hits that you''re back here again.'
+
+					act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+				end
+			end
+		end
+	end	
+
+	act 'Flirt':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/booking0.jpg"></center>'
+
+		if policeQW['bookingofficer_sex_pav'] >= 1:
+			'"Oh, it''s you again." You get up and walk over to the counter to stand next to him, in your most seductive pose you can manage as you smile seductively, as you give him a little wink as you answer.'
+			'He smiles as he see''s how you are acting, he slaps your butt as he says. "We just need to update some information since the last time you were here, <<$pcs_lastname>>"'
+			'You answer every question quickly, then he takes your fingerprints again. Soon after, walks over and closes the door which has been open the whole time, "Why did you close the door?" you ask.'
+			*nl
+			'He smiles as he moves closer to you. "Take off your clothes," he orders.'
+			'Surprised, you stare at him for a moment. "Again? But... but I thought the last time was enough?"'
+			'"I was hoping you''d be back, I wasn''t finished with you yet," he answers.'
+			'As the initial shock vanishes, you start taking off your clothes. You''re still confused how he can get away with this but you''re also a bit turned on at the same time by how risky and forbidden it is.'
+
+			gs 'arousal', 'foreplay', 5, 'inhibition', 'sub'
+			gs 'stat'
+
+			act 'Get undressed': gt 'pav_station', 'booking2_undress'
+
+		else
+			'"Oh, it''s you again." You get up and walk over to the counter to stand next to him, in your most seductive pose you can manage as you smile seductively, as you give him a little wink as you answer.'
+			'He seems to either be ignoring your flirting or is oblivious to it. "We just need to update some information since the last time you were here, <<$pcs_lastname>>" He proceeds to ask you several questions and writes every answer carefully down. You answer every question quickly as you know making trouble won''t lead to anything good, and if you cooperate they might go easier on you.'
+			'As you finish with the questioning the officer doesn''t even look your way as he says, "Next we will take your fingerprints and the mugshot."'
+
+			act 'Flirt even more':
+				*clr & cla
+				gs 'arousal', 'foreplay', 5, 'inhibition', 'sub'
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/booking1.jpg"></center>'
+				'You keep flirting with him for all you are worth, while he takes your fingerprints again. Just when you are sure he is ignoring your flirting he stops, walks over and closes the door which has been open the whole time, "Why did you close the door?" you ask.'
+				'He shrugs his shoulders and answers in the same monotonously voice, "Thought you might want some privacy..."'
+				'You look around the room as you await further instructions, "Take off your clothes," he orders in the same monotone voice.'
+				'You look at him in shock, "What did you say?"'
+				'"Well, you''ve been teasing me this whole time. Think I haven''t noticed?" he answers. "Now get undressed!" He commands.'
+				'As the initial shock vanishes, you start taking off your clothes. You''re still confused how he can get away with this but you''re also a bit turned on at the same time by how risky and forbidden it is.'
+
+				act 'Get undressed': gt 'pav_station', 'booking2_undress'
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'take_fingerprints2':
+	minut += 10
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/police/fingerprint.jpg"></center>'
+	'You obediently stand there while he takes your fingerprints again. Soon after, the officer points at wall with the camera pointed at it, silently ordering you to stand there.'
+
+	act 'Stand still':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+		'You walk over and stand next to the wall as the officer takes your mugshot.'
+		'"Once we take your mug shot, it will be time to take you into the holding cell while we wait for one of your parents to come pay your fine and pick you up." He says.'
+		'"And we''re done," he says, He leads you in silence to the holding cell, as the officer opens the door, he pushes you inside of it. You hear the door slam and it suddenly hits that you''re back here again.'
+
+		act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+	end
+
+	act 'Flip him off':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/bookedfu.jpg"></center>'
+		'You scoff and flip him off as he takes your photo. He looks around the camera and glares at you a moment, then goes over and finishes the last of the paperwork. Once he is done he leads you out of the room and down towards the holding cells. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+
+		act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+	end
+
+	act 'Sexual tease him':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/bookedplay.jpg"></center>'
+		'You smile and hold your fingers spread apart to your lips with your tongue between them, just as he takes your photo. He looks around the camera and sighs. "What are you doing?" You could try and seduce him  so he doesn''t call your parents and just lets you go, but what will he do if you try?'
+
+		act 'Just having fun':
+			*clr & cla
+			minut += 5
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+			'You smile innocently to him. "Nothing just having a little harmless fun." He sighs and shakes his head, then he finishes the last of the paperwork. Once he is done he leads you out of the room and down towards the holding cells. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+
+			act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+		end
+
+		act 'Don''t call my parents':
+			*clr & cla
+			minut += 5
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/booking_officer.jpg"></center>'
+			'You give him your best seductive smile. "How about you close that door and we have a little fun and you just let me go? Sound good?"'
+			'He walks over and closes the door which has been open the whole time, "Why did you close the door?" you ask.'
+			'He shrugs his shoulders and answers in the same monotonously voice, "Thought you might want some privacy..."'
+			'You look around the room as you await further instructions, "Take off your clothes," he orders in the same monotone voice.'
+
+			act 'Get undressed': gt 'pav_station', 'booking1_undress'
+		end
+	end
+end
+
+
+
+if $ARGS[0] = 'booking2_undress':
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/booking2.jpg"></center>'
+
+	if policeQW['bookingofficer_sex_pav'] >= 5:
+		'You undress, "What now?" you ask. Knowing what he is likely to ask you do next, at least he is young and cute, plus you are a bit turned on, by the prospect you could get caught at any moment.'
+		'"You know the drill by now slut, go over to the desk and I make the charges go away, so you can just walk out of here." he smiles.'
+
+		if rand(1, 2) = 1 and pcs_vag ! 0:
+			act 'Get to desk': gt 'pav_station', 'booking_vaginal'
+		else
+			act 'Get to desk': gt 'pav_station', 'booking_anal'
+		end
+
+	elseif policeQW['bookingofficer_sex_pav'] >= 4 and pcs_vag ! 0:
+		'You undress, "What now?" you ask. Knowing what he is likely to ask you do next, at least he is young and cute, plus you are a bit turned on, by the prospect you could get caught at any moment.'
+		'"Well, how about you go over to that desk over there and I make the charges go away and you can just walk out of here." he smiles.'
+
+		act 'Get to desk': gt 'pav_station', 'vaginal'
+	else
+		'As the initial surprise vanishes, you start to undress. You''re still confused by it all but at the same time feel a bit turned on as you might get caught at any moment.'
+		'"What now?" you ask as you try to cover up your body as much as you can.'
+		'"Well, how about you suck my dick and I make the charges go away and you can just walk out of here." he smiles.'
+
+		gs 'arousal', 'foreplay', 3, 'inhibition', 'sub'
+		gs 'stat'
+
+		act 'Comply':
+			policeQW['bookingofficer_sex_pav'] += 1
+			*clr & cla
+			gs 'arousal', 'bj', 5, 'inhibition', 'sub'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/bookingbj1.jpg"></center>'
+			'You nod willingly as he leads you to the mugshot wall and makes you squat as he unzips his pants and exposes his hard cock to you. It pulses in front of your face as it eagerly awaits to enter your mouth.'
+			'"Let''s see how good you are with your mouth," he says, "and remember be quiet or else you''ll get in even more trouble."'
+			'He grabs his cock and shoves it into your mouth in one thrust. As you eagerly start to suck, you can feel his cock growing inside your mouth, a sign that you''re doing well.'
+			'After a while he grabs and holds your wrists while he pushes himself deeper down your throat, "Swallow my whole cock whore," he growls.'
+
+			act 'Keep sucking':
+				*clr & cla
+				gs 'cum_call', 'mouth'
+				spafinloc = 12
+				gs 'cum_manage'
+				gs 'arousal', 'bj', 5, 'inhibition', 'sub'
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/bookingbj2.jpg"></center>'
+				'You continue sucking him, pleasing him in any way possible. All of a sudden you hear him panting heavily as his cock twitches.'
+				'He pulls out of your mouth and tells you to open wide as he gives his cock a few jerks and cums into your mouth.'
+				'Your mouth is quickly filled and you try your best to keep his enormous load from spilling out. Your first instinct is to spit it out, but the police officer stares down at you expectantly. With a grimace, you swallow it all.'
+				'After a while he pulls his cock away, zipping his pants up and walking over to the counter again. "Get dressed so we can finish the process," he tells you.'
+
+				act 'Swallow':
+					*clr & cla
+					minut += 5
+					gs 'arousal', 'bj', 1, 'inhibition', 'sub'
+					gs 'cum_call', 'mouth', 'cop'
+!!this needs more code kevin said something about age, the cop is young 23-25 range
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/bookingcum.jpg"></center>'
+					'You continue sucking him, pleasing him in any way possible. All of a sudden you hear him panting heavily as his cock twitches.'
+					'He pulls out of your mouth and tells you to open wide as he gives his cock a few jerks and cums into your mouth.'
+					'Your mouth is quickly filled and you try your best to keep his enormous load from spilling out. Your first instinct is to spit it out, but the police officer stares down at you expectantly. With a grimace, you swallow it all.'
+					'After a while he pulls his cock away, zipping his pants up and walking over to the counter again. "Get dressed so we can finish the process," he tells you.'
+					*nl
+					'You make sure that there is no cum to be found on your clothes and quickly get dressed as the officer prepares the fingerprint process.'
+					'As you''re about to begin the process the officer speaks up, "Good thing you complied. Now I can help you out. It will all be fine..."'
+					'You sigh and hesitantly dip your finger one by one into the ink and take your time to press them against the paper. The officer then points at wall and tells you to stand there.'
+
+					act 'Take the mugshot':
+						*clr & cla
+						minut += 10
+						gs 'stat'
+
+						'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+						'You drag yourself to the wall and stand there as the officer takes your mugshot.'
+						'"That''s all," he says, "Now that we''re done, follow me."'
+						'He leads you through the station back to the front, you noticed a few other offices looking at the two of you with a smile but no one says anything. Once you reach the door to the station the officer opens the door for you. "Now try and stay out of trouble or don''t." Once you walk out he closes the door behind you, at least they didn''t call your parents.'
+
+						gs 'arousal', 'end'
+						gs 'stat'
+
+						act 'Leave the station': minut += 3 & gt 'pav_train_hall'
+					end
+				end
+			end
+		end
+
+		gs 'willpower', 'sex', 'resist', 'hard'
+		if pcs_willpwr < will_cost:
+			act 'Reject him (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+		else
+			act 'Reject him (<<will_cost>> Willpower)':
+				*clr & cla
+				minut += 5
+				gs 'willpower', 'pay', 'resist'
+				gs 'stat'
+				
+				'<center><img <<$set_imgh>> src="images/locations/city/citycenter/police/booking1.jpg"></center>'
+				'You begin shaking your head, "No, stop!"'
+				'"What''s wrong? I thought you wanted this? You''ve been teasing me this whole time!" he hisses.'
+				'"I don''t want this, so please let me go or... or I''ll scream!" you threaten him.'
+				'"...Fine, have it your way," he mutters. "Fine, get dressed and we''ll continue on then..."'
+				'You quickly get dressed as the officer prepares the fingerprint process.'
+				
+				act 'Get dressed':
+					*clr & cla
+					minut += 5
+					gs 'stat'
+					
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/fingerprint.jpg"></center>'
+					'As you''re about to begin the process the officer speaks up, "You know... I really would''ve helped you. Think about it the next time."'
+					'You sigh and hesitantly dip your finger one by one into the ink and take your time to press them against the paper. The officer then points at wall and tells you to stand there.'
+					
+					act 'Take the mugshot':
+						*clr & cla
+						minut += 15
+						gs 'stat'
+						
+						'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+						'You drag your feet as you walk over to the wall. You stand still as he takes your picture.'
+						'"That''s all," he says. "Time for you to head over to the holding cell while we await a detective to come and interrogate you."'
+						'You nod slowly as the officer ushers you out of the room. As you step out, he moves behind you and you feel his large hand groping your ass.'
+						'"You''ll regret that you rejected me," he comments quietly as he''s about to lock the cell door. You hear the door slam and it suddenly hits you that you''re all alone and locked up.'
+						
+						act 'Inside the holding cell':gt 'pav_station', 'holdingcell'
+					end
+				end
+			end
+		end
+	end
+end
+
+
+
+if $ARGS[0] = 'booking_vaginal':
+	policeQW['bookingofficer_sex_pav'] += 1
+	gs 'arousal', 'vaginal', 2, 'inhibition', 'sub', 'rough'
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/bookingvag1.jpg"></center>'
+	'You comply and walk over to the desk, "Is this really necessary?" you ask once again.'
+	'As he push you back and up onto the desk so you are laying on the desk on your back, "How many times do I need to explain myself? You should be used to this by now..."'
+	'He pulls his dick out and begins teasing your slit with his tip as he strokes it up and down. Finally after what felt as an eternity he thrusts his cock inside of you. He wastes no time as he starts thrusting in you rapidly, he obviously doesn''t care if you are enjoying this or not. He suddenly pulls out of you and starts manhandling you as he says. "Turn over."'
+
+	act 'Turn over':
+		*clr & cla
+		gs 'arousal', 'vaginal', 3, 'inhibition', 'sub', 'rough'
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/bookingvag2.jpg"></center>'
+		'You try and help but mostly he just manhandles you and flips you over. You get one foot on the floor and another on the desk bent over the desk, you are still getting your balance back when you feel him thrust his dick back inside of your wet pussy. Causing you moan loudly. "Listen carefully, you really need to keep quiet now." he whispers as he pants. As your pussy adjusts to his cock, he picks up the pace.'
+
+		act 'Get fucked some more':
+			*clr & cla
+			gs 'arousal', 'vaginal', 1, 'inhibition', 'sub', 'rough'
+			gs 'cum_call', 'butt', 'cop'
+!!this needs more code kevin said something about age, the cop is young 23-25 range
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/bookingcum.jpg"></center>'
+			'He starts grunting and then he jerks out of you, a moment latter you feel his hot cum splattering on your naked butt cheeks, squirt after squirt coats your butt, until he finally groans loudly and walks away from you.'
+			'You glance over and see him tuck his dick back away and zip his pants up, as walks over to the counter, "Get dressed so we can finish the process." he tells you.'
+
+			act 'Get dressed':
+				*clr & cla
+				minut += 5
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/booking1.jpg"></center>'
+				'He offers you nothing to clean yourself up with, you look around and see nothing to use. You sigh and quickly get dressed anyways as the officer prepares the fingerprint process.'
+				'"Good thing you complied. Now I can help you out. It will all be fine..." he says with a small smile.'
+				'You sigh and hesitantly dip your finger one by one into the ink and take your time to press them against the paper...'
+
+				act 'Take the mugshot':
+					*clr & cla
+					minut += 10
+					gs 'arousal', 'end'
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+					'You drag yourself to the wall and stand there as the officer takes your mugshot.'
+					'"That''s all," he says, "Now that we''re done, follow me."'
+					'He leads you through the station back to the front, you noticed a few other offices looking at the two of you with a smile but no one says anything. Once you reach the door to the station the officer opens the door for you. "Now try and stay out of trouble or don''t." Once you walk out he closes the door behind you, at least they didn''t call your parents.'
+
+					act 'Leave the station': minut += 3 & gt 'pav_train_hall'
+				end
+			end
+		end
+	end
+end
+
+if $ARGS[0] = 'booking_anal':
+	policeQW['bookingofficer_sex_pav'] += 1
+	gs 'arousal', 'anal', 2, 'inhibition', 'sub', 'rough'
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/bookinganal1.jpg"></center>'
+	'You comply and walk over to the desk, "Is this really necessary?" you ask once again.'
+	'As he grabs you and spins you around so you are facing away from him, he pushes you forward bending you over the desk. "How many times do I need to explain myself? You should be used to this by now..."'
+	'You feel him squirt something between your butt cheeks it feels a bit thick for sex lube, more like Vaseline. He rubs the stuff onto your butthole working it into you with his fingers. Finally after what felt as an eternity he thrusts his cock up your ass with no warning. You gasp in surprise mixed with pain as you grip the desk tightly. He wastes no time as he starts thrusting in you rapidly, he obviously doesn''t care if you are enjoying this or not.'
+
+	act 'Get reamed':
+		*clr & cla
+		gs 'arousal', 'anal', 3, 'inhibition', 'sub', 'rough'
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/bookinganal2.jpg"></center>'
+		'He pounds you so hard and rough, while he pushes down on you, that you find yourself laying flat on the table while the edge of the table digs painfully into your hips with each hard thrust. You grunt in pain and moan in pleasure as he roughly fucks your ass. "Listen carefully, you really need to keep quiet now." he whispers as he pants. As your asshole adjusts to his cock, he picks up the pace even more.'
+
+		act 'Get fucked some more':
+			*clr & cla
+			gs 'arousal', 'anal', 1, 'inhibition', 'sub', 'rough'
+			gs 'cum_call', 'butt', 'cop'
+!!this needs more code kevin said something about age, the cop is young 23-25 range
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/bookingcum.jpg"></center>'
+			'He starts grunting and then he jerks out of you, a moment latter you feel his hot cum splattering on your naked butt cheeks, squirt after squirt coats your butt, until he finally groans loudly and walks away from you.'
+			'You glance over and see him tuck his dick back away and zip his pants up, as walks over to the counter, "Get dressed so we can finish the process." he tells you.'
+
+			act 'Get dressed':
+				*clr & cla
+				minut += 5
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/sex/booking1.jpg"></center>'
+				'He offers you nothing to clean yourself up with, you look around and see nothing to use. You sigh and quickly get dressed anyways as the officer prepares the fingerprint process.'
+				'"Good thing you complied. Now I can help you out. It will all be fine..." he says with a small smile.'
+				'You sigh and hesitantly dip your finger one by one into the ink and take your time to press them against the paper...'
+
+				act 'Take the mugshot':
+					*clr & cla
+					minut += 10
+					gs 'arousal', 'end'
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/booked.jpg"></center>'
+					'You drag yourself to the wall and stand there as the officer takes your mugshot.'
+					'"That''s all," he says, "Now that we''re done, follow me."'
+					'He leads you through the station back to the front, you noticed a few other offices looking at the two of you with a smile but no one says anything. Once you reach the door to the station the officer opens the door for you. "Now try and stay out of trouble or don''t." Once you walk out he closes the door behind you, at least they didn''t call your parents.'
+
+					act 'Leave the station': minut += 3 & gt 'pav_train_hall'
+				end
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'holdingcell':
+!!I am not sure how to make time random can we make it between 30 and 60 mins
+	minut += 5 * rand(6, 12)
+
+	if rand(1, 2) = 1:
+		$temp_rescuer = 'mom'
+	else
+		$temp_rescuer = 'step-dad'
+	end
+
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/injail.jpg"></center>'
+	'You find a clean spot in one of the corners of the holding cell which you sit down on. As you sit, the cold metal bench causes you to shiver.'
+	'It feels like you are waiting forever, but surely it can''t be as long as it feels. Finally another officer come back and unlocks the cell. "Come on someone has payed your fine, lets go." You walk out of the cell, he closes it behind you, then he leads you to the front of the station. As you walk into the main room you find your <<$temp_rescuer>> waiting for you, staring at you.'
+
+	act 'Stare back':
+		*clr & cla
+		gs 'stat'
+		!!image of mom or step dad
+		'text'
+		act 'Get taken home': minut += 15 gt 'korrPar'
+	act 'Look away':
+		*clr & cla
+		gs 'stat'
+		!!image of mom or step dad
+		'text'
+		act 'Get taken home': minut += 15 gt 'korrPar'
+	end
+end
+
+if $ARGS[0] = 'rape_report':
+	'<center><img <<$set_imgh>> src="images/locations/pavlovsk/police/pavrec.jpg"></center>'
+	'One step after another, you trudge through town until you suddenly find yourself standing inside the police station. A bored looking cop glances at you.'
+	'"Can I help you?"'
+	'"I- I''d like t-to report a r-rape..." you stammer out. The officer''s eyes go wide with surprise, but less like he seems shocked at what you said happened to you and more like he didn''t expect you to have a real complaint.'
+	'"Oh! Well, just come this way, we can take your statement over here."'
+
+	act'Continue':
+		minut += rand(2,5)
+		gs'stat'
+		cla & *clr
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/interrogation1.jpg"></center>'
+		'You sit down at a shoddy looking desk and another officer who looks only marginally more competent than the one who greeted you sits down across from you.'
+		'"Alright ma''am, tell me what happened to you."'
+		'You explain to the officer as best as you can what happened to you while he takes notes. How you were randomly attacked, how you were violated.'
+
+		act'Continue':
+			cla & *clr
+			'<center><img <<$set_imgh>> src="images/locations/shared/police/interrogation2.jpg"></center>'
+			'"And where did the attack occur?"'
+
+			if $loc = 'pav_commercial':
+				'"In th-the commercial district. But he pulled me away. I... I don''t remember how far..."'
+			else:
+				'"In th-the residential district. But he pulled me away. I... I don''t remember how far..."'
+			end
+
+			'"Can you describe what he looked like?"'
+			'The blood drains from your face. "I... I-!"'
+			'"Anything about him will be helpful. Height? Build? Hair color? Eye color?"'
+
+			act'I... can''t...':
+				cla & *nl
+				'<center><img <<$set_imgh>> src="images/locations/shared/police/interrogation1.jpg"></center>'
+				'"He was... I don''t remember how tall he was... And... he was wearing a nondescript hoody, I couldn''t tell what his body type was... And-! And I don''t know what he looks like... he was behind me during... the event..."'
+				'The officer doesn''t say anything but you see him slightly shake his head. You realize that the information you gave him is going to be of little to no use at all. A rape in town and nothing else to go off of? You might as well have told him you saw a bird in the park.'
+				*nl
+				'For a moment, you wonder how many other girls like you have sat at this desk filing a report just like this one only for it to go nowhere. You wonder if any of them were been raped by the same man who raped you...'
+
+				act'Finish the interview':
+					cla & *clr
+					minut += rand(2,5)
+					gs'stat'
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/pavrec.jpg"></center>'
+					'With that, you conclude the interview and are led to the front door.'
+					'"We''ll take this information into consideration. Again, we''re very sorry for what happened to you."'
+					'And then he walks away. Leaving you so very alone...'
+
+					act'Leave':minut += 3 & gt 'pav_train_hall'
+				end
+
+				act'Can I get a rape kit?':
+					cla & *clr
+					minut += rand(2,5)
+					gs'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/shared/police/interrogation2.jpg"></center>'
+					'Suddenly, a spark of hope alights in your brain.'
+					'"What about a rape kit?" you ask desperately. "He... finished inside of me. I could-"'
+					'Before you can finish, you see the officer shaking his head.'
+					'"I''m sorry ma''am, but we are a small town police department. We simply don''t have enough funding to afford rape kits. Even if we did, we don''t have a lab that could examine it. I''m sorry."'
+					'As quickly as your hope flared, it is extinguished and you slump in your chair, feeling defeated.'
+
+					act'Finish the interview':
+						cla & *clr
+						'<center><img <<$set_imgh>> src="images/locations/shared/police/pavext.jpg"></center>'
+						'With that, you conclude the interview and are led to the front door.'
+						'"We''ll take this information into consideration. Again, we''re very sorry for what happened to you." And then he walks away.' 
+						'Leaving you alone with your thoughts and memories of your rape...'
+
+						act'Leave': minut += 3 & gt 'pav_train_hall'
+					end
+				end
+			end
+		end
+	end
+end
+
+
 --- pav_station ---------------------------------

File diff suppressed because it is too large
+ 343 - 505
locations/police_station.qsrc


+ 20 - 10
locations/post_office.qsrc

@@ -194,7 +194,7 @@ if $postloc = 'counter':
 		end
 	end
 
-	if legal_fine > 0:
+	if policeQW['legal_fine'] > 0:
 		act 'Pay toward legal fine':
 			menu_off = 1
 			gs 'stat'
@@ -202,25 +202,35 @@ if $postloc = 'counter':
 
 			if fineIN <= 0 or fineIN > money:
 				'Not correct operation.'
+			elseif fineIN >= policeQW['legal_fine']
+				money -= policeQW['legal_fine']
+				policeQW['legal_fine'] = 0
+				policeQW['missed_fine_deadlines'] = 0
+
+				'<br>You pay the full amount of your outstanding fine/s to the cashier and they print out a receipt to say that it is paid off.'
 			else
-				legal_fine -= fineIN
+				policeQW['legal_fine'] -= fineIN
 				money -= fineIN
 
-				'<br>You pay <<fineIN>> <b>₽</b> of your legal fine/s, now you have <<legal_fine>> <b>₽</b> still outstanding.'
+				'<br>You pay <<fineIN>> <b>₽</b> of your legal fine/s, now you have <<policeQW[''legal_fine'']>> <b>₽</b> still outstanding.'
 			end
+			killvar 'fineIN'
 		end
 
-		if money > legal_fine:
+		if money >= policeQW['legal_fine']:
 			act 'Pay off your legal fine/s':
-				money -= legal_fine
-				legal_fine = 0
 				*clr & cla
 				menu_off = 1
+				money -= policeQW['legal_fine']
+				policeQW['legal_fine'] = 0
+				policeQW['missed_fine_deadlines'] = 0
 				gs 'stat'
+
 				'<center><b><font color="maroon">Counter</font></b></center>'
 				'<center><img <<$set_imgh>> src="images/locations/shared/postoffice/counter.jpg"></center>'
 				'You pay the full amount of your outstanding fine/s to the cashier and they print out a receipt to say that it is paid off.'
-				act 'Done':$postloc = 'counter' & gt 'post_office'
+
+				act 'Done': $postloc = 'counter' & gt 'post_office'
 			end
 		end
 	end
@@ -236,7 +246,7 @@ if $postloc = 'counter':
 			else
 				'Unfortunately you have no money to send the test in. You could, but they would just throw it out without the receipt of payment.'
 			end
-			act 'Done':$postloc = 'counter' & gt 'post_office'
+			act 'Done': $postloc = 'counter' & gt 'post_office'
 		end
 	end
 
@@ -253,9 +263,9 @@ if $postloc = 'counter':
 
 		'"Is there anything else I can do for you?"'
 
-		act 'Yes':$postloc = 'counter' & gt 'post_office'
+		act 'Yes': $postloc = 'counter' & gt 'post_office'
 
-		act 'Leave the post office':$postloc = 'leave' & gt 'post_office'
+		act 'Leave the post office': $postloc = 'leave' & gt 'post_office'
 	end
 
 	i = 0

+ 137 - 90
locations/saveupdater.qsrc

@@ -1908,7 +1908,7 @@ if temp_current_save_version < 00080903:
 
 
 	if traits > 0 or trait > 0:
-		pcs_traits['nerd_status']   = traits['nerd_status']		
+		pcs_traits['nerd_status']   = traits['nerd_status']
 		pcs_traits['alko_status']   = traits['alko_status']
 		pcs_traits['alko_points']   = traits['alko_points']
 		pcs_traits['buttslut_lvl']  = traits['buttslut_lvl']
@@ -2002,95 +2002,97 @@ if temp_current_save_version < 00090003:
 	killvar 'makeup_routine_update_index' & killvar '$temp_makeup_routine' & killvar '$temp_makeup_routine_name'
 
 !! Temporary functions, can be removed once all variables are migrated, workaround for SaveUpdater not transferring data or as a quick fix.
-	if kosmetica > 0:        mc_inventory['cosmetics']     = kosmetica        & killvar 'kosmetica'
-	if item_moisturizer > 0: mc_inventory['moisturiser']   = item_moisturizer & killvar 'item_moisturizer'
-	if lipbalm > 0:          mc_inventory['lipbalm']       = lipbalm          & killvar 'lipbalm'
-	if falselashesplain > 0: mc_inventory['eyelash_fake']  = falselashesplain & killvar 'falselashesplain'
-	if falselashesmink > 0:  mc_inventory['eyelash_mink']  = falselashesmink  & killvar 'falselashesmink'
-	if stanok > 0:           mc_inventory['razor']         = stanok           & killvar 'stanok'
-	if krem > 0:             mc_inventory['suncream']      = krem             & killvar 'krem'
-	if deodorant > 0:        mc_inventory['deodorant']     = deodorant        & killvar 'deodorant'
-	if tampon > 0:           mc_inventory['tampons']       = tampon           & killvar 'tampon'
-	if sanpad > 0:           mc_inventory['sanitary_pads'] = sanpad           & killvar 'sanpad'
-	if shampoo > 0:          mc_inventory['shampoo']       = shampoo          & killvar 'shampoo'
-	if hscrunch > 0:         mc_inventory['scrunchies']    = hscrunch         & killvar 'hscrunch'
-	if hpingrip > 0:         mc_inventory['kirbygrips']    = hpingrip         & killvar 'hpingrip'
-	if salfetka > 0:         mc_inventory['makeup_wipes']  = salfetka         & killvar 'salfetka'
-	if mouthwash > 0:        mc_inventory['mouthwash']     = mouthwash        & killvar 'mouthwash'
-	if greben > 0:           mc_inventory['comb']          = greben           & killvar 'greben'
-	if kosmetitka > 0:       mc_inventory['travel_makeup'] = kosmetitka       & killvar 'kosmetitka'
-	if compact_mirror > 0:   mc_inventory['travel_mirror'] = compact_mirror   & killvar 'compact_mirror'
-	if eda > 0:				 mc_inventory['food_basic']	   = eda			  & killvar 'eda'
-	if edaD > 0:			 mc_inventory['food_diet']	   = edaD			  & killvar 'edaD'
-	if pranik > 0:			 mc_inventory['food_biscuits'] = pranik			  & killvar 'pranik'
-	if buterbrod > 0:		 mc_inventory['food_sandwich'] = buterbrod		  & killvar 'buterbrod'
-	if wine > 0:			 mc_inventory['food_wine']	   = wine			  & killvar 'wine'
-	if bottle > 0:			 mc_inventory['food_water']	   = bottle			  & killvar'bottle'
-	if pregtest > 0: 		 mc_inventory['pregnancy_test']= pregtest		  &killvar'pregtest'	
-	if lekarstvo > 0:		 mc_inventory['antibiotics']   = lekarstvo		  &killvar'lekarstvo'
-	if vitamin > 0: 		 mc_inventory['vitamins']	   = vitamin		  &killvar'vitamin'
-	if painkiller > 0:		 mc_inventory['painkillers']   = painkiller		  &killvar'painkiller'
-	if mosolmaz > 0:		 mc_inventory['chaffing_cream']= mosolmaz		  &killvar'mosolmaz'
-	if lubri > 0:			 mc_inventory['lubricant']	   = lubri			  &killvar'lubri'
-	if klisma > 0:			 mc_inventory['enema_kit']	   = klisma			  &killvar'klisma'
-	if breastpump > 0:		 mc_inventory['breast_pump']   = breastpump		  &killvar'breastpump'
-	if bpbottles > 0:		 mc_inventory['bottle_s']	   = bpbottles		  &killvar'bpbottles'
-	if bpbottlem > 0:		 mc_inventory['bottle_m']	   = bpbottlem		  &killvar'bpbottlem'
-	if bpnipplebalm > 0:	 mc_inventory['nipple_cream']  = bpnipplebalm	  &killvar'bpnipplebalm'
-!	if Kandidoz > 0: 		 mc_inventory['thrush_meds']   = Kandidoz		  &killvar'Kandidoz' ! No clue what to do with this 
-	if fatdel > 0:			 mc_inventory['weight_loss_pill']= fatdel		  &killvar'fatdel'
-	if morning_after_pill > 0: mc_inventory['morning_after_pill'] = morning_after_pill &killvar'morning_after_pill'
-	if prezik > 0:			 mc_inventory['equipped_condoms'] = prezik	 	  &killvar'prezik'
-	if prezikcount > 0:		 mc_inventory['normal_condoms'] = prezikcount	  &killvar'prezikcount'
-	if preziksabo > 0: 		 mc_inventory['sabotaged_condoms']= preziksabo	  &killvar'preziksabo'
-	if badprezik > 0:		 mc_inventory['bad_condoms'] 	= badprezik 	  &killvar'badprezik'
-	if tabletki > 0:		 mc_inventory['contraceptive_pill'] = tabletki    &killvar'tabletki' 
-	if siga > 0:			 mc_inventory['cigarettes']	    = siga			  &killvar'siga' 
-	if fashmag > 0:			 mc_inventory['mag_fashion']	= fashmag		  &killvar'fashmag' 
-	if compmag > 0:			 mc_inventory['mag_computer']	= compmag		  &killvar'compmag' 
-	if biomag > 0:			 mc_inventory['mag_biography']	= biomag		  &killvar'biomag' 
-	if cookmag > 0:			 mc_inventory['mag_cooking']	= cookmag		  &killvar'cookmag' 
-	if knitmag > 0:			 mc_inventory['mag_knitting']	= knitmag		  &killvar'knitmag' 
-	if fitmag > 0:			 mc_inventory['mag_fitness']	= fitmag		  &killvar'fitmag' 
-	if umbrella > 0:		 mc_inventory['umbrella']		= umbrella		  &killvar'umbrella'
-	if pornMagazine > 0:	 mc_inventory['mag_porn']		= pornMagazine	  &killvar'pornMagazine'
-	if vibrator > 0:		 mc_inventory['vibe']			= vibrator		  &killvar'vibrator'
-	if analplug > 0:		 mc_inventory['buttplug']		= analplug		  &killvar'analplug'
-	if suction_dildo > 0:	 mc_inventory['dildo_suction']	= suction_dildo	  &killvar'suction_dildo'
-	if strapon > 0:			 mc_inventory['strapon']		= strapon		  &killvar'strapon'
-	if dildo > 0:			 mc_inventory['dildo_small']	= dildo			  &killvar'dildo'
-	if middildo > 0:		 mc_inventory['dildo_normal']	= middildo		  &killvar'middildo'
-	if largedildo > 0:		 mc_inventory['dildo_big']		= largedildo	  &killvar'largedildo'
-	if bigdildo > 0:		 mc_inventory['dildo_large']	= bigdildo		  &killvar'bigdildo'
-	if extradildo > 0:		 mc_inventory['dildo_huge']		= extradildo	  &killvar'extradildo'
-	if superdildo > 0:		 mc_inventory['dildo_enormous']	= superdildo	  &killvar'superdildo'
-	if maddildo > 0:		 mc_inventory['dildo_gigantic']	= maddildo		  &killvar'maddildo'
-	if skak > 0:			 mc_inventory['skipping_rope']  = skak			  &killvar'skak'
-	if obruch > 0:			 mc_inventory['hula_hoop'] 		= obruch		  &killvar'obruch'
-	if bookyog > 0:			 mc_inventory['book_yoga'] 		= bookyog		  &killvar'bookyog'
-	if konki > 0:			 mc_inventory['ice_skates'] 	= konki			  &killvar'konki'
-	if pcs_ski_owned > 0:	 mc_inventory['ski'] 			= pcs_ski_owned	  &killvar'pcs_ski_owned'
-	if refillable_bottle > 0:mc_inventory['refill_bottle']  = refillable_bottle	&killvar'refillable_bottle'
-	if fairy > 0:			 mc_inventory['dish_soap']		= fairy 		  &killvar'fairy'
-	if poroshok > 0:		 mc_inventory['laundry_soap']	= poroshok 		  &killvar'poroshok'
-	if cltarelka > 0:		 mc_inventory['dish_plates']	= cltarelka 	  &killvar'cltarelka'
-	if tkan > 0:			 mc_inventory['sewing_fabric']	= tkan 			  &killvar'tkan'
-	if sewing_kit > 0:		 mc_inventory['sewing_kit']		= sewing_kit	  &killvar'sewing_kit'
-	if TV = 1:	 		 	 mc_inventory['tech_tv']		= 1	  		  	  &killvar'TV'
-	if TV >= 2:	 		 	 mc_inventory['plasma_tv']		= 1	  		 	  &killvar'TV'
-	if mc_inventory['tech_tv'] >= 2: mc_inventory['plasma_tv'] = 1 & mc_inventory['tech_tv'] = 1
-	if komp > 0:			 mc_inventory['tech_computer']	= komp	 		  &killvar'komp'
-	if GameCD2 > 0:			 mc_inventory['tech_game_ds']	= GameCD2		  &killvar'GameCD2'
-	if posudomashina > 0:	 mc_inventory['tech_dishwasher']= posudomashina	  &killvar'posudomashina'
-	if stiralka > 0:		 mc_inventory['tech_washing_machine']	= stiralka&killvar'stiralka'
-	if zenit > 0:			 mc_inventory['tech_camera']	= zenit		 	  &killvar'zenit'
-	if minifoto > 0:		 mc_inventory['tech_hidden_cam']= minifoto		  &killvar'minifoto'
-	if webcamera > 0:		 mc_inventory['tech_webcam']	= webcamera		  &killvar'webcamera'
-	if ms_pill > 0:			 mc_inventory['meds_morning_sick']	= ms_pill	  &killvar'ms_pill'
-	if preg_ball > 0:		 mc_inventory['preg_ball']		= preg_ball		  &killvar'preg_ball'
-	if preg_brace > 0:		 mc_inventory['preg_brace']		= preg_brace	  &killvar'preg_brace'
-	if preg_pillow > 0:		 mc_inventory['preg_pillow']	= preg_pillow	  &killvar'preg_pillow'
-!	if  > 0:		 mc_inventory['']		= 	  &killvar''	
+	if kosmetica > 0:			mc_inventory['cosmetics']			= kosmetica				& killvar 'kosmetica'
+	if item_moisturizer > 0:	mc_inventory['moisturiser']			= item_moisturizer		& killvar 'item_moisturizer'
+	if lipbalm > 0:				mc_inventory['lipbalm']				= lipbalm				& killvar 'lipbalm'
+	if falselashesplain > 0:	mc_inventory['eyelash_fake']		= falselashesplain		& killvar 'falselashesplain'
+	if falselashesmink > 0:		mc_inventory['eyelash_mink']		= falselashesmink		& killvar 'falselashesmink'
+	if stanok > 0:				mc_inventory['razor']				= stanok				& killvar 'stanok'
+	if krem > 0:				mc_inventory['suncream']			= krem					& killvar 'krem'
+	if deodorant > 0:			mc_inventory['deodorant']			= deodorant				& killvar 'deodorant'
+	if tampon > 0:				mc_inventory['tampons']				= tampon				& killvar 'tampon'
+	if sanpad > 0:				mc_inventory['sanitary_pads']		= sanpad				& killvar 'sanpad'
+	if shampoo > 0:				mc_inventory['shampoo']				= shampoo				& killvar 'shampoo'
+	if hscrunch > 0:			mc_inventory['scrunchies']			= hscrunch				& killvar 'hscrunch'
+	if hpingrip > 0:			mc_inventory['kirbygrips']			= hpingrip				& killvar 'hpingrip'
+	if salfetka > 0:			mc_inventory['makeup_wipes']		= salfetka				& killvar 'salfetka'
+	if mouthwash > 0:			mc_inventory['mouthwash']			= mouthwash				& killvar 'mouthwash'
+	if greben > 0:				mc_inventory['comb']				= greben				& killvar 'greben'
+	if kosmetitka > 0:			mc_inventory['travel_makeup']		= kosmetitka			& killvar 'kosmetitka'
+	if compact_mirror > 0:		mc_inventory['travel_mirror']		= compact_mirror		& killvar 'compact_mirror'
+	if eda > 0:					mc_inventory['food_basic']			= eda					& killvar 'eda'
+	if edaD > 0:				mc_inventory['food_diet']			= edaD					& killvar 'edaD'
+	if pranik > 0:				mc_inventory['food_biscuits']		= pranik				& killvar 'pranik'
+	if buterbrod > 0:			mc_inventory['food_sandwich']		= buterbrod				& killvar 'buterbrod'
+	if wine > 0:				mc_inventory['food_wine']			= wine					& killvar 'wine'
+	if bottle > 0:				mc_inventory['food_water']			= bottle				& killvar 'bottle'
+	if pregtest > 0: 			mc_inventory['pregnancy_test']		= pregtest				& killvar 'pregtest'
+	if lekarstvo > 0:			mc_inventory['antibiotics']			= lekarstvo				& killvar 'lekarstvo'
+	if vitamin > 0: 			mc_inventory['vitamins']			= vitamin				& killvar 'vitamin'
+	if painkiller > 0:			mc_inventory['painkillers']			= painkiller			& killvar 'painkiller'
+	if mosolmaz > 0:			mc_inventory['chaffing_cream']		= mosolmaz				& killvar 'mosolmaz'
+	if lubri > 0:				mc_inventory['lubricant']			= lubri					& killvar 'lubri'
+	if klisma > 0:				mc_inventory['enema_kit']			= klisma				& killvar 'klisma'
+	if breastpump > 0:			mc_inventory['breast_pump']			= breastpump			& killvar 'breastpump'
+	if bpbottles > 0:			mc_inventory['bottle_s']			= bpbottles				& killvar 'bpbottles'
+	if bpbottlem > 0:			mc_inventory['bottle_m']			= bpbottlem				& killvar 'bpbottlem'
+	if bpnipplebalm > 0:		mc_inventory['nipple_cream']		= bpnipplebalm			& killvar 'bpnipplebalm'
+!	if Kandidoz > 0:			mc_inventory['thrush_meds']			= Kandidoz				& killvar 'Kandidoz' ! No clue what to do with this 
+	if fatdel > 0:				mc_inventory['weight_loss_pill']	= fatdel				& killvar 'fatdel'
+	if morning_after_pill > 0:	mc_inventory['morning_after_pill']	= morning_after_pill	& killvar 'morning_after_pill'
+	if prezik > 0:				mc_inventory['equipped_condoms']	= prezik				& killvar 'prezik'
+	if prezikcount > 0:			mc_inventory['normal_condoms']		= prezikcount			& killvar 'prezikcount'
+	if preziksabo > 0: 			mc_inventory['sabotaged_condoms']	= preziksabo			& killvar 'preziksabo'
+	if badprezik > 0:			mc_inventory['bad_condoms']			= badprezik				& killvar 'badprezik'
+	if tabletki > 0:			mc_inventory['contraceptive_pill']	= tabletki				& killvar 'tabletki' 
+	if siga > 0:				mc_inventory['cigarettes']			= siga					& killvar 'siga' 
+	if fashmag > 0:				mc_inventory['mag_fashion']			= fashmag				& killvar 'fashmag' 
+	if compmag > 0:				mc_inventory['mag_computer']		= compmag				& killvar 'compmag' 
+	if biomag > 0:				mc_inventory['mag_biography']		= biomag				& killvar 'biomag' 
+	if cookmag > 0:				mc_inventory['mag_cooking']			= cookmag				& killvar 'cookmag' 
+	if knitmag > 0:				mc_inventory['mag_knitting']		= knitmag				& killvar 'knitmag' 
+	if fitmag > 0:				mc_inventory['mag_fitness']			= fitmag				& killvar 'fitmag' 
+	if umbrella > 0:			mc_inventory['umbrella']			= umbrella				& killvar 'umbrella'
+	if pornMagazine > 0:		mc_inventory['mag_porn']			= pornMagazine			& killvar 'pornMagazine'
+	if vibrator > 0:			mc_inventory['vibe']				= vibrator				& killvar 'vibrator'
+	if analplug > 0:			mc_inventory['buttplug']			= analplug				& killvar 'analplug'
+	if suction_dildo > 0:		mc_inventory['dildo_suction']		= suction_dildo			& killvar 'suction_dildo'
+	if strapon > 0:				mc_inventory['strapon']				= strapon				& killvar 'strapon'
+	if dildo > 0:				mc_inventory['dildo_small']			= dildo					& killvar 'dildo'
+	if middildo > 0:			mc_inventory['dildo_normal']		= middildo				& killvar 'middildo'
+	if largedildo > 0:			mc_inventory['dildo_big']			= largedildo			& killvar 'largedildo'
+	if bigdildo > 0:			mc_inventory['dildo_large']			= bigdildo				& killvar 'bigdildo'
+	if extradildo > 0:			mc_inventory['dildo_huge']			= extradildo			& killvar 'extradildo'
+	if superdildo > 0:			mc_inventory['dildo_enormous']		= superdildo			& killvar 'superdildo'
+	if maddildo > 0:			mc_inventory['dildo_gigantic']		= maddildo				& killvar 'maddildo'
+	if skak > 0:				mc_inventory['skipping_rope']		= skak					& killvar 'skak'
+	if obruch > 0:				mc_inventory['hula_hoop']			= obruch				& killvar 'obruch'
+	if bookyog > 0:				mc_inventory['book_yoga']			= bookyog				& killvar 'bookyog'
+	if konki > 0:				mc_inventory['ice_skates']			= konki					& killvar 'konki'
+	if pcs_ski_owned > 0:		mc_inventory['ski'] 				= pcs_ski_owned			& killvar 'pcs_ski_owned'
+	if refillable_bottle > 0:	mc_inventory['refill_bottle']		= refillable_bottle		& killvar 'refillable_bottle'
+	if fairy > 0:				mc_inventory['dish_soap']			= fairy 				& killvar 'fairy'
+	if poroshok > 0:			mc_inventory['laundry_soap']		= poroshok 				& killvar 'poroshok'
+	if cltarelka > 0:			mc_inventory['dish_plates']			= cltarelka 			& killvar 'cltarelka'
+	if tkan > 0:				mc_inventory['sewing_fabric']		= tkan 					& killvar 'tkan'
+	if sewing_kit > 0:			mc_inventory['sewing_kit']			= sewing_kit			& killvar 'sewing_kit'
+	if TV = 1:					mc_inventory['tech_tv']				= 1						& killvar 'TV'
+	if TV >= 2:					mc_inventory['plasma_tv']			= 1						& killvar 'TV'
+
+	if mc_inventory['tech_tv'] >= 2:	mc_inventory['plasma_tv']	= 1 & mc_inventory['tech_tv'] = 1
+
+	if komp > 0:			mc_inventory['tech_computer']			= komp			& killvar 'komp'
+	if GameCD2 > 0:			mc_inventory['tech_game_ds']			= GameCD2		& killvar 'GameCD2'
+	if posudomashina > 0:	mc_inventory['tech_dishwasher']			= posudomashina	& killvar 'posudomashina'
+	if stiralka > 0:		mc_inventory['tech_washing_machine']	= stiralka		& killvar 'stiralka'
+	if zenit > 0:			mc_inventory['tech_camera']				= zenit			& killvar 'zenit'
+	if minifoto > 0:		mc_inventory['tech_hidden_cam']			= minifoto		& killvar 'minifoto'
+	if webcamera > 0:		mc_inventory['tech_webcam']				= webcamera		& killvar 'webcamera'
+	if ms_pill > 0:			mc_inventory['meds_morning_sick']		= ms_pill		& killvar 'ms_pill'
+	if preg_ball > 0:		mc_inventory['preg_ball']				= preg_ball		& killvar 'preg_ball'
+	if preg_brace > 0:		mc_inventory['preg_brace']				= preg_brace	& killvar 'preg_brace'
+	if preg_pillow > 0:		mc_inventory['preg_pillow']				= preg_pillow	& killvar 'preg_pillow'
+!	if  > 0:		mc_inventory['']		=	&killvar ''
 
 	!! Preferences update.
 	killvar 'npc_preferences'
@@ -2100,6 +2102,51 @@ if temp_current_save_version < 00090003:
 		pref_update_index += 1
 	if pref_update_index <= 263: jump 'update_standard_preferences_loop'
 
+	killvar 'pref_update_index'
+	killvar 'update_standard_preferences_loop'
+
+	!! policeQW
+	!! policeQW_courtletter_dates[]
+	!! policeQW_courtletter_subjects[]
+	!! policeQW_courthearing_dates[]
+	!! policeQW_courthearing_subjects[]
+
+	if shplft_booked		> 0:	policeQW['shoplift_booked']			= shplft_booked			& killvar 'shplft_booked'
+	if prst_booked			> 0:	policeQW['prostitution_booked']		= prst_booked			& killvar 'prst_booked'
+	if shplft_counter		> 0:	policeQW['shoplift_counter']		= shplft_counter		& killvar 'shplft_counter'
+	if prst_counter			> 0:	policeQW['prostitution_counter']	= prost_counter			& killvar 'prst_counter'
+	if prst_bribe			> 0:	policeQW['prostitution_bribe']		= prst_bribe			& killvar 'prst_bribe'
+	if shplft_value			> 0:	policeQW['shoplift_value']			= shplft_value			& killvar 'shplft_value'
+	killvar 'book_response'
+
+	if bookingofficer_rel	> 0:	policeQW['bookingofficer_rel']		= bookingofficer_rel	& killvar 'bookingofficer_rel'
+	if toldonguard			> 0:	policeQW['toldonguard']				= toldonguard			& killvar 'toldonguard'
+
+	if courtletter_date > 0:
+		policeQW_courtletter_dates[0] = courtletter_date & killvar 'courtletter_date'
+		if shplft_tmp > 0:
+			policeQW_courtletter_subjects[0] = 'shoplift_<<$detec_type>>'
+		else
+			policeQW_courtletter_subjects[0] = 'prostitution_<<$detec_type>>'
+		end
+	end
+
+	if courthearing_date > 0:
+		policeQW_courthearing_dates[0] = courthearing_date & killvar 'courthearing_date'
+		if shplft_tmp > 0:
+			policeQW_courthearing_subjects[0] = 'shoplift_<<$detec_type>>'
+		else
+			policeQW_courthearing_subjects[0] = 'prostitution_<<$detec_type>>'
+		end
+	end
+
+	killvar 'shplft_tmp'
+	killvar 'prst_tmp'
+	killvar '$detec_type'
+
+
+	if legal_fine			> 0:	policeQW['legal_fine']				= legal_fine			& killvar 'legal_fine'
+	
 end
 
 killvar 'temp_current_save_version'

+ 493 - 267
locations/sentence.qsrc

@@ -2,71 +2,263 @@
 
 !if Sveta has a home, receives an envelope home from the court to appear. If possible make it trigger as Sveta enters the home
 !!shows up when courtletter_date = daystart
+!!adding a version if Sveta has gone to court and not paid the fine within 30 days
+
 if $ARGS[0] = 'letter':
 	*clr & cla
 	menu_off = 1
-	courtletter_date = 0
-	courthearing_date = daystart + 7
-	if week = 6: courthearing_date += 2
-	if week = 7: courthearing_date += 1
-	if courtletter_counter < 10:
-		courtletter_counter += 1
-		minut += 5
-		pcs_mood -= 100
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/city/shared/court/openletter.jpg"></center>'
-		'As you enter your home you notice an envelope from the court. You anxiously look at it and take a deep breath before opening the envelope.'
-		if week < 6:
-			'Going through the letter you read that you''ve been summoned to appear in court a week from now.'
+	minut += 5
+
+	killvar 'policeQW_courtletter_dates', 0
+
+	if policeQW['missed_court_dates'] + policeQW['missed_fine_deadlines'] > 20:
+		!!gs 'sentence', 'police_arrest2'
+	end
+
+	'<center><img <<$set_imgh>> src="images/locations/city/shared/court/openletter.jpg"></center>'
+
+
+	!! Handling the various different letters.
+	if $policeQW_courtletter_subjects[0] = 'fine':
+
+		if policeQW['courtletter_fine_counter'] < 10:
+			policeQW['courtletter_fine_counter'] += 1
+			pcs_mood -= 100
+			gs 'stat'
+
+			'As you enter your home you notice an envelope from the court. You anxiously look at it and take a deep breath before opening the envelope.'
+
+			if week < 6:
+				'Going through the letter you read that you''ve a week to pay your fine in full.'
+			else
+				'Going through the letter you read that you''ve until Monday, a week from now, to pay your fine in full.'
+			end
+
+			'<i>Failing to appear in court will have dire consequences for the accused.</i> Your heart drops as you read that line...'
+			'<i>The court is located in the city center. You should arrive at 9:00 as there are a lot of cases and we can''t say when your turn might come up.</i>'
+
+			if policeQW['legal_fine'] <= 0:
+				pcs_mood += 90
+				gs 'stat'
+				'You realise that you''ve already paid off your fines and sigh with relief.'
+			else
+				'You put the letter back in the envelope and let out a loud sigh...'
+			end
+
 		else
-			'Going through the letter you read that you''ve been summoned to appear in court on Monday, a week from now.'
+			'As you come home you see the familiar envelope from the court. You already know the gist of it, <i>failure to pay your fine will have dire consequences,</i> yadda yadda...'
+			'You glance through the letter seeing the same information once again and as you finish you throw it to the side and continue further on inside your apartment...'
+			if policeQW['legal_fine'] <= 0:
+				'You''ve already paid your fines, why are they even bothering you.'
+			end
+		end
+		
+		if policeQW['legal_fine'] > 0:
+			if money < policeQW['legal_fine']:
+				act 'Mail the payment for your legal fine/s (<font color="red">₽<<policeQW[''legal_fine'']>></font>)': '<br><font color="red">You don''t have enough cash to use this action.</font>'
+			else
+				act 'Mail the payment for your legal fine/s (₽<<policeQW[''legal_fine'']>>)':
+					*clr & cla
+					money -= policeQW['legal_fine']
+					policeQW['legal_fine'] = 0
+					policeQW['missed_fine_deadlines'] = 0
+					minut += 5
+					gs 'stat'
+
+					!!Need an image of Sveta putting money in the envelope!!
+					!'<center><img <<$set_imgh>> src="images/locations/shared/postoffice/counter.jpg"></center>'
+					'You put the full amount of your outstanding fine/s in the evelope and seal it. No more than 5 minutes later you''ve posted the letter and are back.'
+					act 'Done': gt $loc, $loc_arg
+				end
+			end
+		end
+
+	elseif $policeQW_courtletter_subjects[0] = 'missed_fine'
+		if policeQW['courtletter_fine_counter'] < 10:
+			policeQW['courtletter_fine_counter'] += 1
+			pcs_mood -= 100
+			gs 'stat'
+
+			'As you enter your home you notice an envelope from the court. You anxiously look at it and take a deep breath before opening the envelope.'
+
+			if policeQW['legal_fine'] <= 0:
+				pcs_mood += 90
+				gs 'stat'
+				'Going through the letter you read that you''ve a week to pay your fine in full, which you already did.'
+				'Happy that you''ve managed to avoid this worry, you put the letter away.'
+			else
+				temp_fine = 250 * rand(5, 10)
+				gs 'sentence', 'add_fine', temp_fine
+				if week < 6:
+					'Going through the letter you read that you''ve failed to pay your fine. The court given you another ₽<<temp_rand>> fine and has graciously decided to give you a week to pay your fine in full.'
+				else
+					'Going through the letter you read that you''ve failed to pay your fine. The court given you another ₽<<temp_rand>> fine and has graciously decided to give you until Monday, a week from now, to pay your fine in full.'
+				end
+
+				'<i>Failing to appear in court will have dire consequences for the accused.</i> Your heart drops as you read that line...'
+				'<i>The court is located in the city center. You should arrive at 9:00 as there are a lot of cases and we can''t say when your turn might come up.</i>'
+				'You put the letter back in the envelope and let out a loud sigh...'
+			end
+
+		else
+			if policeQW['legal_fine'] <= 0:
+				'As you come home you see the familiar envelope from the court. You already know the gist of it, <i>failed to pay your fine, failure to pay your fine will have dire consequences,</i> yadda yadda...'
+				'You already paid off your fines and as you finish you throw it to the side and continue further on inside your apartment...'
+
+			else
+				temp_fine = 250 * rand(10, 20)
+				gs 'sentence', 'add_fine', temp_fine
+				'As you come home you see the familiar envelope from the court. You already know the gist of it, <i>failed to pay your fine, additional ₽<<temp_rand>> fine, failure to pay your fine will have dire consequences,</i> yadda yadda...'
+				'You glance through the letter seeing the same information once again and as you finish you throw it to the side and continue further on inside your apartment...'
+			end
+		end
+
+
+	elseif mid('policeQW_courtletter_subjects', 1, 12) = 'missed_court':
+		if week = 6:
+			policeQW_courthearing_dates[] = daystart + 9
+		elseif week = 7:
+			policeQW_courthearing_dates[] = daystart + 8
+		else
+			policeQW_courthearing_dates[] = daystart + 7
+		end
+
+		$policeQW_courthearing_subjects[] = mid($policeQW_courtletter_subjects[0], 14)
+
+		if $policeQW['courtletter_hearing_counter'] < 10:
+			policeQW['courtletter_hearing_counter'] += 1
+			pcs_mood -= 100
+			gs 'stat'
+
+			'As you enter your home you notice an envelope from the court. You anxiously look at it and take a deep breath before opening the envelope.'
+
+			temp_fine = 500 * rand(5, 10)
+			gs 'sentence', 'letter_add_fine', 'missed_court', temp_fine
+			if week < 6:
+				'Going through the letter you read that you''ve missed your court hearing. A new court hearing has been scheduled a week from now and you''ve been fined ₽<<temp_rand>>.'
+			else
+				'Going through the letter you read that you''ve missed your court hearing. A new court hearing has been scheduled on Monday, a week from now and you''ve been fined ₽<<temp_rand>>.'
+			end
+
+			'<i>Failure to pay the fine in full with in a week from now, will have dire consequences for the accused.</i> Your heart drops as you read that line...'
+			'<i>You should mail your fine payment using the enclosed envelope.</i>'
+			'You put the letter back in the envelope and let out a loud sigh...'
+
+		else
+			temp_fine = 500 * rand(10, 20)
+			gs 'sentence', 'letter_add_fine', 'missed_court', temp_fine
+			'As you come home you see the familiar envelope from the court. You already know the gist of it, <i>missed court, ₽<<temp_rand>> fine, failure to show up will have dire consequences,</i> yadda yadda...'
+			'You glance through the letter seeing the same information once again and as you finish you throw it to the side and continue further on inside your apartment...'
 		end
-		'<i>Failing to appear in court will have dire consequences for the accused.</i> Your heart drops as you read that line...'
-		'<i>The court is located in the city center. You should arrive at 9:00 as there are a lot of cases and we can''t say when your turn might come up.</i>'
-		'You put the letter back in the envelope and let out a loud sigh...'
 
-		act 'Continue': gt $loc, $loc_arg
-		! or 'etoexhib', 'pos51'
 	else
-		!after ten times Sveta gets an envelope home
-		minut += 5
-		gs 'stat'
-		'<center><img <<$set_imgh>> src="images/locations/city/shared/court/openletter.jpg"></center>'
-		'As you come home you see the familiar envelope from the court. You already know the gist of it, <i>failure to show up will have dire consequences,</i> yadda yadda...'
-		'You glance through the letter seeing the same information once again and as you finish you throw it to the side and continue further on inside your apartment...'
+		if week = 6:
+			policeQW_courthearing_dates[] = daystart + 9
+		elseif week = 7:
+			policeQW_courthearing_dates[] = daystart + 8
+		else
+			policeQW_courthearing_dates[] = daystart + 7
+		end
+
+		$policeQW_courthearing_subjects[] = $policeQW_courtletter_subjects[0]
+
+		if $policeQW['courtletter_hearing_counter'] < 10:
+			policeQW['courtletter_hearing_counter'] += 1
+			pcs_mood -= 100
+			gs 'stat'
+
+			'As you enter your home you notice an envelope from the court. You anxiously look at it and take a deep breath before opening the envelope.'
+
+			if week < 6:
+				'Going through the letter you read that you''ve been summoned to appear in court a week from now.'
+			else
+				'Going through the letter you read that you''ve been summoned to appear in court on Monday, a week from now.'
+			end
 
-		act 'Continue': gt $loc, $loc_arg
-		! or 'etoexhib', 'pos51'
+			'<i>Failure to pay the fine in full with in a week from now, will have dire consequences for the accused.</i> Your heart drops as you read that line...'
+			'<i>You should mail your fine payment using the enclosed envelope.</i>'
+			'You put the letter back in the envelope and let out a loud sigh...'
+
+		else
+			'As you come home you see the familiar envelope from the court. You already know the gist of it, <i>failure to show up will have dire consequences,</i> yadda yadda...'
+			'You glance through the letter seeing the same information once again and as you finish you throw it to the side and continue further on inside your apartment...'
+		end
 	end
+
+	act 'Continue': gt $loc, $loc_arg
+	killvar 'temp_fine'
+end
+
+
+!! gs 'letter_add_fine', 'missed_xxxx', fine
+if $ARGS[0] = 'add_fine':
+	policeQW['legal_fine'] += ARGS[2]
+	policeQW['fine_deadline'] = max(daystart, policeQW['fine_deadline']) + max(2, 14 - 2 * policeQW['missed_fine_deadlines'] - 2 * policeQW['missed_court_dates'])
 end
 
-!the text showing up when the week is up, same function as when meeting up for a date, only appears between 7:00 - 11:00
-!if the player chooses to ignore to show up add to the counter missedCourtDate
-!!'Head to the <a href="exec:gt ''start'', ''sentence''">courthouse</a> for your sentencing.'
+
+if $ARGS[0] = 'sort_policeQW_arrays':
+	:courthearing_loop
+	if arrsize('policeQW_courthearing_dates') > 0:
+		temp_pos = arrpos('policeQW_courthearing_dates', min('policeQW_courthearing_dates')
+		
+		temp_array1[] = policeQW_courthearing_dates[temp_pos]
+		temp_array2[] = policeQW_courthearing_subjects[temp_pos]
+		
+		killvar 'policeQW_courthearing_dates', temp_pos
+		killvar 'policeQW_courthearing_subjects', temp_pos
+		jump 'courthearing_loop'
+	end
+	copyarr('policeQW_courthearing_dates', 'temp_array1')
+	copyarr('policeQW_courthearing_subjects', 'temp_array2')
+	killvar 'courthearing_loop'
+
+	:courtletter_loop
+	if arrsize('policeQW_courtletter_dates') > 0:
+		temp_pos = arrpos('policeQW_courtletter_dates', min('policeQW_courtletter_dates')
+		
+		temp_array1[] = policeQW_courtletter_dates[temp_pos]
+		temp_array2[] = policeQW_courtletter_subjects[temp_pos]
+		
+		killvar 'policeQW_courtletter_dates', temp_pos
+		killvar 'policeQW_courtletter_subjects', temp_pos
+		jump 'courthearing_loop'
+	end
+	copyarr('policeQW_courtletter_dates', 'temp_array1')
+	copyarr('policeQW_courtletter_subjects', 'temp_array2')
+	killvar 'courthearing_loop'
+	killvar 'temp_pos'
+	killvar 'temp_array1'
+	killvar 'temp_array2'
+end
 
 
 if $ARGS[0] = 'start':
 	*clr & cla
 	minut += 2
 	gs'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/court/courthouse.jpg"></center>'
 	'You are standing in the middle of the Greco-Roman inspired main courthouse for the whole city of St. Petersburg.'
 	'There are many statues of political and legal figures in the region going right back to a bust of Catherine the Great.'
 
-    act 'Leave': gt 'city_center'
-	if courthearing_date = daystart and hour >= 7 and hour < 11: act 'Go to your hearing': gt 'sentence', 'hearing'
-	
+	act 'Leave': gt 'city_center'
+
+	if policeQW['courthearing_date'] = daystart and hour >= 7 and hour < 11: act 'Go to your hearing': gt 'sentence', 'hearing'
+
 	if AlexandriaQW = 13: 
-        act 'Look for Filipp Kudashov''s office.': gt 'alexandriaEv', 'filipp'
-    elseif $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich' and pregchem < 1800 and AlexandriaQW = 15:
-        act 'You found Ana': gt 'alexandriaEv', 'anachase1'
-    end
+		act 'Look for Filipp Kudashov''s office.': gt 'alexandriaEv', 'filipp'
+
+	elseif $clothingworntype = 'danilovich_outfits' and $shoeworntype = 'danilovich' and pregchem < 1800 and AlexandriaQW = 15:
+		act 'You found Ana': gt 'alexandriaEv', 'anachase1'
+	end
 end
 
+
 if $ARGS[0] = 'hearing':
-	*clr & cla
 	minut += 10
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/court/entrance.jpg"></center>'
 	'You walk inside the courthouse dragging your legs and as you enter you notice a line has formed while people are walking through a body scanner. You patiently await your turn and head straight to the reception area.'
 	'"Hello, my name is <<$pcs_firstname>> <<$pcs_lastname>> and I got this summon in the mail," you tell the woman sitting there.'
@@ -77,6 +269,7 @@ if $ARGS[0] = 'hearing':
 		*clr & cla
 		minut += 10
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/city/shared/court/courtroom.jpg"></center>'
 		'You spend some time searching for the correct courtroom and you stop and ask several people where the room is located. Thankfully, they''re really helpful and point you in the right direction.'
 		'Before opening the door you take a deep breath as you try to shake off the nervousness and after a few seconds you grab the handle and push the door to let yourself in.'
@@ -86,64 +279,64 @@ if $ARGS[0] = 'hearing':
 			*clr & cla
 			minut += 120
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/court/wait.jpg"></center>'
 			'For what feels like an eternity you sit there and listen to a court-case after another. The process seems to be quite streamlined, the judge starts out by telling the accused what they''re accused of and then lets the defendant state their case.'
 			'You try your best to listen to some of the defenses maybe you can pick up something useful before seeing the judge but it doesn''t take long before you lose focus and dream yourself away not really focusing on what''s happening around you.'
 			'All of a sudden you''re interrupted as you hear your name being called out. Startled, you quickly let the whole room know that you''re here as you hear some people quietly let out a laugh.'
 
-			if shplft_tmp = 1:
+			if policeQW['shoplift_flag'] = 1:
 				act 'Stand in front of the judge':
 					*clr & cla
 					minut += 20
 					gs 'stat'
+
 					'<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
 					'The judge speaks up with a stern voice, "So I see that you''re here because of you''ve gotten caught stealing."'
 					'You sink your glance in shame and nod meekly.'
 					'The judge continues on, "Let''s see what the detectives concluded during their investigation."'
 
-					if $detec_type = 'easy':
+					if $policeQW['detective_type'] = 'easy':
 						'The judge sits and quietly glances through the report, looking towards you from time to time, "Miss <<$pcs_lastname>>, the detective seem to be quite positive in the report."'
 						'Suddenly, you feel a bit emboldened as the detective seems to have come through for you. You even manage to let out a little smirk.'
 						'"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
 						'"Yes your honor." you respectfully answer.'
 
-						!do a check if the player missed any earlier sentencing
-						!if there''s a missed sentencing
-							!!'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
-							!!'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
-							!!'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
-							!!'You try your best to hold back the tears as you nod that you understand.'
+!!do a check if the player missed any earlier sentencing
+						if policeQW['missed_court_dates'] > 0:
+							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
+							'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
+							'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
+							'You try your best to hold back the tears as you nod that you understand.'
 
-							!!act 'Await punishment': gt 'sentence', 'punishment'
+							act 'Await punishment': gt 'sentence', 'punishment'
 
-						!else
+						else
 							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>, shall we proceed to the punishment?" the judge asks.'
 							'You nod and take a deep breath as you await your punishment.'
 
 							act 'Await punishment': gt 'sentence', 'punishment'
-						!end
+						end
 
-					elseif $detec_type = 'norm':
+					elseif $policeQW['detective_type'] = 'norm':
 						'The judge sits and quietly glances through the report, looking towards you from time to time, "Miss <<$pcs_lastname>>, the detective has only written neutral comments in the report."'
 						'Suddenly, you feel a bit looser as you can probably expect a lighter sentencing than usual. You let out a relieving sigh.'
 						'"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
 						'"Yes your honor." you respectfully answer.'
 
-						!do a check if the player missed any earlier sentencing
-						!if there''s a missed sentencing
-							!!'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
-							!!'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
-							!!'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
-							!!'You try your best to hold back the tears as you nod that you understand.'
-
-							!!act 'Await punishment': gt 'sentence', 'punishment'
+!!do a check if the player missed any earlier sentencing
+						if policeQW['missed_court_dates'] > 0:
+							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
+							'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
+							'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
+							'You try your best to hold back the tears as you nod that you understand.'
+							act 'Await punishment': gt 'sentence', 'punishment'
 
-						!else
+						else
 							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>, shall we proceed to the punishment?" the judge asks.'
 							'You nod and take a deep breath as you await your punishment.'
-
 							act 'Await punishment': gt 'sentence', 'punishment'
-						!end
+						end
 
 					else
 						'The judge sits and quietly glances through the report, looking towards you from time to time, "Miss <<$pcs_lastname>>, what is wrong with you? The report written by the detective is quite damaging and you will be getting a harsher sentencing."'
@@ -151,76 +344,77 @@ if $ARGS[0] = 'hearing':
 						'"Well as you''ve already admitted being guilty, no need listening to your pleading," he sternly looks at you.'
 						'"Whatever." you shrug your shoulders.'
 
-						!do a check if the player missed any earlier sentencing
-						!if there''s a missed sentencing
-							!!'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
-							!!'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
-							!!'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
-							!!'You try your best to hold back the tears as you nod that you understand.'
+!!do a check if the player missed any earlier sentencing
+						if policeQW['missed_court_dates'] > 0:
+							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
+							'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
+							'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
+							'You try your best to hold back the tears as you nod that you understand.'
 
-							!!act 'Await punishment': gt 'sentence', 'punishment'
+							act 'Await punishment': gt 'sentence', 'punishment'
 
-						!else
+						else
 							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>, shall we proceed to the punishment?" the judge asks.'
 							'You nod and take a deep breath as you await your punishment.'
 
 							act 'Await punishment': gt 'sentence', 'punishment'
-						!end
+						end
 					end
 				end
 
-			elseif prst_tmp = 1:
+			elseif policeQW['prostitution_flag'] = 1:
 				act 'Stand in front of the judge':
 					*clr & cla
 					minut += 20
 					gs 'stat'
+
 					'<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
 					'The judge speaks up with a stern voice, "So I see that you''re here because of you''ve gotten caught prostituting."'
 					'You sink your glance in shame and nod meekly.'
 					'The judge continues on, "Let''s see what the detectives concluded during their investigation."'
 
-					if $detec_type = 'easy':
+					if $policeQW['detective_type'] = 'easy':
 						'Suddenly, you feel a bit emboldened as the detective seems to have come through for you. You even manage to let out a little smirk.'
 						'"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
 						'"Yes your honor." you respectfully answer.'
 
-						!do a check if the player missed any earlier sentencing
-						!if there''s a missed sentencing
-							!!'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
-							!!'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
-							!!'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
-							!!'You try your best to hold back the tears as you nod that you understand.'
+!!do a check if the player missed any earlier sentencing
+						if there''s a missed sentencing
+							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
+							'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
+							'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
+							'You try your best to hold back the tears as you nod that you understand.'
 
-							!!act 'Await punishment': gt 'sentence', 'punishment'
+							act 'Await punishment': gt 'sentence', 'punishment'
 
-						!else
+						else
 							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>, shall we proceed to the punishment?" the judge asks.'
 							'You nod and take a deep breath as you await your punishment.'
 
 							act 'Await punishment': gt 'sentence', 'punishment'
-						!end
+						end
 
-					elseif $detec_type = 'norm':
+					elseif $policeQW['detective_type'] = 'norm':
 						'The judge sits and quietly glances through the report, looking towards you from time to time, "Miss <<$pcs_lastname>>, the detective has only written neutral comments in the report."'
 						'Suddenly, you feel a bit looser as you can probably expect a lighter sentencing than usual. You let out a relieving sigh.'
 						'"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
 						'"Yes your honor." you respectfully answer.'
 
-						!do a check if the player missed any earlier sentencing
-						!if there''s a missed sentencing
-							!!'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
-							!!'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
-							!!'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
-							!!'You try your best to hold back the tears as you nod that you understand.'
+!!do a check if the player missed any earlier sentencing
+						if !!there''s a missed sentencing
+							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
+							'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
+							'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
+							'You try your best to hold back the tears as you nod that you understand.'
 
-							!!act 'Await punishment': gt 'sentence', 'punishment'
+							act 'Await punishment': gt 'sentence', 'punishment'
 
-						!else
+						else
 							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>, shall we proceed to the punishment?" the judge asks.'
 							'You nod and take a deep breath as you await your punishment.'
 
 							act 'Await punishment': gt 'sentence', 'punishment'
-						!end
+						end
 
 					else
 						'The judge sits and quietly glances through the report, looking towards you from time to time, "Miss <<$pcs_lastname>>, what is wrong with you? The report written by the detective is quite damaging and you will be getting a harsher sentencing."'
@@ -228,21 +422,21 @@ if $ARGS[0] = 'hearing':
 						'"Well as you''ve already admitted being guilty, no need listening to your pleading," he sternly looks at you.'
 						'"Whatever." you shrug your shoulders.'
 
-						!do a check if the player missed any earlier sentencing
-						!if there''s a missed sentencing
-							!!'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
-							!!'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
-							!!'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
-							!!'You try your best to hold back the tears as you nod that you understand.'
+!!do a check if the player missed any earlier sentencing
+						if !!there''s a missed sentencing
+							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>," and just as he''s about to close it, he stops at the last page, "Wait! What is this? Have you missed a sentencing?" he inquirers.'
+							'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "Yes..." you meekly answer.'
+							'With the judges eyes piercing through you, they clear their throat, "Well then this will affect your punishment. This is a serious thing Miss <<$pcs_lastname>>. The court can''t turn a blind eye to this. We''ll have to take this into the consideration when deciding your punishment."'
+							'You try your best to hold back the tears as you nod that you understand.'
 
-							!!act 'Await punishment': gt 'sentence', 'punishment'
+							act 'Await punishment': gt 'sentence', 'punishment'
 
-						!else
+						else
 							'The judge continues on flipping throughout the report, "Well everything seems to check out <<$pcs_lastname>>, shall we proceed to the punishment?" the judge asks.'
 							'You nod and take a deep breath as you await your punishment.'
 
 							act 'Await punishment': gt 'sentence', 'punishment'
-						!end
+						end
 					end
 				end
 			end
@@ -252,345 +446,377 @@ end
 
 
 if $ARGS[0] = 'punishment':
-	! I''m thinking that the punishment will be incremental if possible
-	!if Sveta skipped a sentencing, one up her level so if she was supposed to have the easy going detective route, the player gets the normal detective punishment instead. When the last stage is reached always go to the biggest punishment possible if the player failed to appear in front of the court.
-	*clr & cla
 	minut += 20
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/court/sentence.jpg"></center>'
 	'The judge is looking sternly at you, "So miss <<$pcs_lastname>>. You''ve caused quite ruckus. Now the law is quite stern when it comes to even petty crimes."'
 	'You tremble a bit in fear as he keeps on talking, "With that said, I believe in a more soft approach and that you can improve yourself by learning from your mistakes."'
 	'You meekly nod and feel a bit relieved as you hear that.'
 
-	!Shoplifting
-	! Stage 1 / 1-5 sentences / Punishment level = 50% of the amount Sveta stole if easy going detective, 100% normal detective, 150% bad detective - fixed based sum for the trial 5000 rubles
-	! Stage 2 / 6-10 sentences / Punishment level = 75% of the amount Sveta stole if easy going detective, 150% normal detective, 200% bad detective and 20 hours at the Mercy Clinic - fixed based sum for the trial 7500 rubles
-	! Stage 3 / 11-15 sentences / Punishment level = 100% of the amount Sveta stole if easy going detective, 200% normal detective and 20 hours at the Mercy Clinic, 250% bad detective and 40 hours at the Mercy Clinic - fixed based sum for the trial 10000 rubles
-	! Stage 4 / 16-20 sentences / Punishment level = 125% of the amount Sveta stole if easy going detective and 20 hours at the Mercy Clinic, 250% normal detective and 40 hours at the Mercy Clinic, 300% bad detective and 80 hours at the Mercy Clinic - fixed based sum for the trial 15000 rubles
-	! Stage 5 / 21-25 sentences / Punishment level = 150% of the amount Sveta stole if easy going detective and 40 hours at the Mercy Clinic, 300% normal detective and 80 hours at the Mercy Clinic, 400% bad detective and 120 hours at the Mercy Clinic - fixed based sum for the trial 25000 rubles
-	! Stage 6 / 26+ sentences / Punishment level = 200% of the amount Sveta stole if easy going detective and 80 hours at the Mercy Clinic, 400% normal detective and 120 hours at the Mercy Clinic, 500% bad detective and 160 hours at the Mercy Clinic - fixed based sum for the trial 50000 rubles
+	temp_fine = 0
+	if policeQW['shoplift_flag'] = 1:
+		policeQW['shoplift_counter'] += 1
 
-	if shplft_tmp = 1:
-		shplft_counter += 1
-
-		if shplft_counter <= 5:
+		if policeQW['shoplift_counter'] <= 5:
 			!present how much the player needs to pay
-			if $detec_type = 'easy':
-				legal_fine += 5000 + (shplft_value/2)
-				'"I hereby sentence you to a fine of <<legal_fine>> <b>₽</b>." the judge reads out your sentence.'
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 5000 + (policeQW['shoplift_value'] / 2)
+
+				'"I hereby sentence you to a fine of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office. You''ve been lucky this time Miss <<$pcs_lastname>>." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 5000 + policeQW['shoplift_value']
 
-			elseif $detec_type = 'norm':
-				legal_fine += 5000 + shplft_value
-				'"I hereby sentence you to a fine of <<legal_fine>> <b>₽</b>." the judge reads out your sentence.'
+				'"I hereby sentence you to a fine of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 5000 + (shplft_value/2*3)
-				'"I hereby sentence you to a fine of <<legal_fine>> <b>₽</b>." the judge reads out your sentence.'
+				temp_fine += 5000 + (3 * policeQW['shoplift_value'] / 2)
+
+				'"I hereby sentence you to a fine of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office. And if it happens that you appear in front of this court again, check your attitude." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif shplft_counter <= 10:
+
+		elseif policeQW['shoplift_counter'] <= 10:
 		!present how much the player needs to pay
-			if $detec_type = 'easy':
-				legal_fine += 7500 + (shplft_value/4*3)
-				'"Seems that I need to increase the fine for you to pay back to a sum of <<legal_fine>> <b>₽</b>. Hopefully, this will teach you a lesson." the judge reads out your sentence.'
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 7500 + (3 * policeQW['shoplift_value'] / 4)
+
+				'"Seems that I need to increase the fine for you to pay back to a sum of <<temp_fine>> <b>₽</b>. Hopefully, this will teach you a lesson." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 7500 + (3 * policeQW['shoplift_value'] / 2)
 
-			elseif $detec_type = 'norm':
-				legal_fine += 7500 + (shplft_value/2*3)
-				'"Seems that I need to increase the fine for you to pay back to a sum of <<legal_fine>> <b>₽</b>. Hopefully, this will teach you a lesson." the judge reads out your sentence.'
+				'"Seems that I need to increase the fine for you to pay back to a sum of <<temp_fine>> <b>₽</b>. Hopefully, this will teach you a lesson." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 7500 + (shplft_value*2)
-				'"I sentence you hereby to pay back a sum of <<legal_fine>> <b>₽</b> and I''ll also sentence you to some community service at the Mercy Clinic to 20 hours, hopefully this will help." the judge reads out your sentence.'
+				temp_fine += 7500 + (9 * policeQW['shoplift_value'] / 4)
+
+				'"I sentence you hereby to pay back a sum of <<temp_fine>> <b>₽</b> and I''ll also sentence you to some community service at the Mercy Clinic to 20 hours, hopefully this will help." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic? I see you''ve still got an attitude issue." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif shplft_counter <= 15:
-			if $detec_type = 'easy':
-				legal_fine += 10000 + shplft_value
-				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to a sum of <<legal_fine>> <b>₽</b>." the judge reads out your sentence.'
+
+		elseif policeQW['shoplift_counter'] <= 15:
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 10000 + policeQW['shoplift_value']
+
+				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to a sum of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 10000 + (2 * policeQW['shoplift_value'])
 
-			elseif $detec_type = 'norm':
-				legal_fine += 10000 + (shplft_value*2)
-				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to a sum of <<legal_fine>> <b>₽</b> and sentence you to community service at the Mercy Clinic to 20 hours." the judge reads out your sentence.'
+				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to a sum of <<temp_fine>> <b>₽</b> and sentence you to community service at the Mercy Clinic to 20 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 10000 + (shplft_value/2*5)
-				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to a sum of <<legal_fine>> <b>₽</b> and increase the community service at the Mercy Clinic to 40 hours." the judge reads out your sentence.'
+				temp_fine += 10000 + (5 * policeQW['shoplift_value'] / 2)
+
+				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to a sum of <<temp_fine>> <b>₽</b> and increase the community service at the Mercy Clinic to 40 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif shplft_counter <= 20:
-			if $detec_type = 'easy':
-				legal_fine += 15000 + (shplft_value/4*5)
-				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to a sum of <<legal_fine>> <b>₽</b> and sentence you to community service at the Mercy Clinic to 20 hours." the judge reads out your sentence.'
+
+		elseif policeQW['shoplift_counter'] <= 20:
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 15000 + (5 * policeQW['shoplift_value'] / 4)
+
+				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to a sum of <<temp_fine>> <b>₽</b> and sentence you to community service at the Mercy Clinic to 20 hours." the judge reads out your sentence.'
 				'"You already know what you need to do." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 15000 + (5 * policeQW['shoplift_value'] / 2)
 
-			elseif $detec_type = 'norm':
-				legal_fine += 15000 + (shplft_value/2*5)
-				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to a sum of <<legal_fine>> <b>₽</b> and increase the community service at the Mercy Clinic to 40 hours." the judge reads out your sentence.'
+				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to a sum of <<temp_fine>> <b>₽</b> and increase the community service at the Mercy Clinic to 40 hours." the judge reads out your sentence.'
 				'"You already know what you need to do." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 15000 + (shplft_value*3)
-				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to a sum of <<legal_fine>> <b>₽</b> and increase the community service at the Mercy Clinic to 80 hours." the judge reads out your sentence.'
+				temp_fine += 15000 + (3 * policeQW['shoplift_value'])
+
+				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to a sum of <<temp_fine>> <b>₽</b> and increase the community service at the Mercy Clinic to 80 hours." the judge reads out your sentence.'
 				'"You already know what you need to do." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif shplft_counter <= 25:
-			if $detec_type = 'easy':
-				legal_fine += 25000 + (shplft_value/2*3)
-				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay this fine of <<legal_fine>> <b>₽</b> and enjoy your community service at the Mercy Clinic for 40 hours." the judge reads out your sentence.'
+
+		elseif policeQW['shoplift_counter'] <= 25:
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 25000 + (3 * policeQW['shoplift_value'] / 2)
+
+				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay this fine of <<temp_fine>> <b>₽</b> and enjoy your community service at the Mercy Clinic for 40 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 25000 + (3 * policeQW['shoplift_value'])
 
-			elseif $detec_type = 'norm':
-				legal_fine += 25000 + (shplft_value*3)
-				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay the fine of <<legal_fine>> <b>₽</b> and enjoy your community service at the Mercy Clinic for 80 hours." the judge reads out your sentence.'
+				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay the fine of <<temp_fine>> <b>₽</b> and enjoy your community service at the Mercy Clinic for 80 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 25000 + (shplft_value*4)
-				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay the fine of <<legal_fine>> <b>₽</b> and enjoy your community service at the Mercy Clinic for 120 hours." the judge reads out your sentence.'
+				temp_fine += 25000 + (4 * policeQW['shoplift_value'])
+
+				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay the fine of <<temp_fine>> <b>₽</b> and enjoy your community service at the Mercy Clinic for 120 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
 			end
+
 		else
-			if $detec_type = 'easy':
-				legal_fine += 50000 + (shplft_value*2)
-				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to <<legal_fine>> <b>₽</b> and the community service at the Mercy Clinic for 80 hours." the judge reads out your sentence.'
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 50000 + (2 * policeQW['shoplift_value'])
+
+				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to <<temp_fine>> <b>₽</b> and the community service at the Mercy Clinic for 80 hours." the judge reads out your sentence.'
 				'"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 50000 + (4 * policeQW['shoplift_value'])
 
-			elseif $detec_type = 'norm':
-				legal_fine += 50000 + (shplft_value*4)
-				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to <<legal_fine>> <b>₽</b> and the community service at the Mercy Clinic for 120 hours." the judge reads out your sentence.'
+				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to <<temp_fine>> <b>₽</b> and the community service at the Mercy Clinic for 120 hours." the judge reads out your sentence.'
 				'"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 50000 + (shplft_value*5)
-				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to <<legal_fine>> <b>₽</b> and the community service at the Mercy Clinic for 160 hours." the judge reads out your sentence.'
+				temp_fine += 50000 + (5 * policeQW['shoplift_value'])
+				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to <<temp_fine>> <b>₽</b> and the community service at the Mercy Clinic for 160 hours." the judge reads out your sentence.'
 				'"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
 			end
 		end
 
-	!Prostitution
-	! Stage 1 / 1-5 sentences / Punishment level = 1000 rubles if easy going detective, 2000 rubles normal detective, 3000 rubles bad detective - fixed based sum for the trial 5000 rubles
-	! Stage 2 / 6-10 sentences / Punishment level = 1500 rubles if easy going detective, 3000 rubles normal detective, 4000 rubles bad detective and 20 hours at the Mercy Clinic - fixed based sum for the trial 7500 rubles
-	! Stage 3 / 11-15 sentences / Punishment level = 2000 rubles if easy going detective, 4000 rubles normal detective and 20 hours at the Mercy Clinic, 5000 rubles bad detective and 40 hours at the Mercy Clinic - fixed based sum for the trial 10000 rubles
-	! Stage 4 / 16-20 sentences / Punishment level = 2500 rubles if easy going detective and 20 hours at the Mercy Clinic, 5000 rubles normal detective and 40 hours at the Mercy Clinic, 6000 rubles bad detective and 80 hours at the Mercy Clinic - fixed based sum for the trial 15000 rubles
-	! Stage 5 / 21-25 sentences / Punishment level = 3000 rubles if easy going detective and 40 hours at the Mercy Clinic, 6000 rubles normal detective and 80 hours at the Mercy Clinic, 7000 rubles bad detective and 140 hours at the Mercy Clinic - fixed based sum for the trial 25000 rubles
-	! Stage 6 / 26+ sentences / Punishment level = 5000 rubles if easy going detective and 80 hours at the Mercy Clinic, 7500 rubles normal detective and 140 hours at the Mercy Clinic, 10000 rubles bad detective and 200 hours at the Mercy Clinic - fixed based sum for the trial 50000 rubles
-
-	elseif prst_tmp = 1:
-		prst_counter += 1
+	elseif policeQW['prostitution_flag'] = 1:
+		policeQW['prostitution_counter'] += 1
 
-		if shplft_counter <= 5:
+		if policeQW['shoplift_counter'] <= 5:
 			!present how much the player needs to pay
-			if $detec_type = 'easy':
-				legal_fine += 6000
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 6000
+
 				'"I hereby sentence you to a fine of 6000 <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office. You''ve been lucky this time Miss <<$pcs_lastname>>." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 7000
 
-			elseif $detec_type = 'norm':
-				legal_fine += 7000
 				'"I hereby sentence you to a fine of 7000 <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 8000
+				temp_fine += 8000
+
 				'"I hereby sentence you to a fine of 8000 <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office. And if it happens that you appear in front of this court again, check your attitude." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif prost_counter <= 10:
+
+		elseif policeQW['prostitution_counter'] <= 10:
 		!present how much the player needs to pay
-			if $detec_type = 'easy':
-				legal_fine += 9000
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 9000
+
 				'"I need to increase the fine to 9000 <b>₽</b>. Hopefully, this will get you to reconsider your actions." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 10500
 
-			elseif $detec_type = 'norm':
-				legal_fine += 10500
 				'"I need to increase the fine to 10,500 <b>₽</b>. Hopefully, this will get you to reconsider your actions." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 11500
+				temp_fine += 11500
+
 				'"I sentence you hereby to pay back 11,500 <b>₽</b> you''ve stolen and I''ll also add some community service at the Mercy Clinic to 20 hours, hopefully this will help you reconsider your actions." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic? I see you''ve still got an attitude issue." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif prost_counter <= 15:
+
+		elseif policeQW['prostitution_counter'] <= 15:
 		!Stage 3
-			if $detec_type = 'easy':
-				legal_fine += 12000
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 12000
+
 				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to 12000 <b>₽</b>." the judge reads out your sentence.'
 				'"You can pay your fine at the post office." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 14000
 
-			elseif $detec_type = 'norm':
-				legal_fine += 14000
 				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to 14000 <b>₽</b> and sentence you to community service at the Mercy Clinic for 20 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 15000
+				temp_fine += 15000
+
 				'"<<$pcs_lastname>> I see that name come up quite often here. Seems like I need to increase the fine even further to 15000 <b>₽</b> and increase the community service at the Mercy Clinic to 40 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif prost_counter <= 20:
+
+		elseif policeQW['prostitution_counter'] <= 20:
 		!Stage 4
-			if $detec_type = 'easy':
-				legal_fine += 17500
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 17500
+
 				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to 17500 <b>₽</b> and sentence you to community service at the Mercy Clinic to 20 hours." the judge reads out your sentence.'
 				'"You already know what you need to do." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 20000
 
-			elseif $detec_type = 'norm':
-				legal_fine += 20000
 				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to 20000 <b>₽</b> and increase the community service at the Mercy Clinic to 40 hours." the judge reads out your sentence.'
 				'"You already know what you need to do." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 21000
+				temp_fine += 21000
+
 				'"This is starting to get out of hand, <<$pcs_lastname>>! Seems like I need to increase the fine even further to 21000 <b>₽</b> and increase the community service at the Mercy Clinic to 80 hours." the judge reads out your sentence.'
 				'"You already know what you need to do." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
-		elseif prost_counter <= 25:
+
+		elseif policeQW['prostitution_counter'] <= 25:
 		!Stage 5
-			if $detec_type = 'easy':
-				legal_fine += 28000
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 28000
+
 				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay this fine of 28000 <b>₽</b> and enjoy your community service at the Mercy Clinic for 40 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 21000
 
-			elseif $detec_type = 'norm':
-				legal_fine += 21000
 				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay the fine of 31000 <b>₽</b> and enjoy your community service at the Mercy Clinic for 80 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine +=32000
+				temp_fine +=32000
+
 				'"Well well, what a surprise, <<$pcs_lastname>> stands in front of me again. You''re starting to annoy me! Are you doing this on purpose? Don''t answer and instead pay the fine of 32000 <b>₽</b> and enjoy your community service at the Mercy Clinic for 120 hours." the judge reads out your sentence.'
 				'"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
-
-				act 'Leave the court':gt 'city_center'
 			end
+
 		else
 		!Stage 6
-			if $detec_type = 'easy':
-				legal_fine += 55000
+			if $policeQW['detective_type'] = 'easy':
+				temp_fine += 55000
+
 				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to 55000 <b>₽</b> and the community service at the Mercy Clinic for 80 hours." the judge reads out your sentence.'
 				'"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
+			elseif $policeQW['detective_type'] = 'norm':
+				temp_fine += 57500
 
-			elseif $detec_type = 'norm':
-				legal_fine += 57500
 				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to 57500 <b>₽</b> and the community service at the Mercy Clinic for 120 hours." the judge reads out your sentence.'
 				'"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
 
-				act 'Leave the court':gt 'city_center'
-
 			else
-				legal_fine += 60000
+				temp_fine += 60000
+
 				'The judge sighs, "Here we are again <<$pcs_lastname>>! I''m getting tired of being lenient so you''re getting the maximum sentence. The fine will be set to 60000 <b>₽</b> and the community service at the Mercy Clinic for 160 hours." the judge reads out your sentence.'
 				'"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
 				'You nod and quickly make your way out of courtroom.'
+			end
+		end
+	end
+
+	gs 'sentence', 'add_fine', temp_fine
+	policeQW['fine_deadline'] += 14
+	killvar 'temp_fine'
+	act 'Leave the court':gt 'city_center'
+end
+
+
+!!this should trigger the next time Sveta is home after having not gone to court
+if $ARGS[0] = 'police_arrest1':
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/police/police_door.jpg"></center>'
+	'There is a loud knock at the door. You walk up to the door and open it. You see a two police officers in uniform standing in the hallway. "<<$pcs_firstname>> <<$pcs_lastname>>! You are under arrest."'
+
+	act 'Get Arrested':
+		*clr & cla
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/police_arrested.jpg"></center>'
+		'Wondering what they want from you, you ask. "What is this all about?"'
+		'One of them holds up a piece of paper for you to read. "This is a warrant for your arrest for failure to show up for court or pay your fines." You get to read part of it before he puts it away. It seems all those letters you got about court was not a joke. The other office handcuffs your hands behind your back. Then they take you down to their police car and drive you to the city police station, where they throw you in a holding cell.'
+
+		act 'Next morning':
+			*clr & cla
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
+			'You are taken out of holding and over to the courthouse to await your hearing. The judge reviews your case, "It seems you have missed your hearings, Miss <<$pcs_lastname>>, what do you have to say for yourself?"'
+			'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "I have no excuse your honor." you meekly answer.'
+
+			act 'Await punishment': gt 'sentence', 'punishment'
+		end
+	end
+end
+
+
+!!this should trigger the next time Sveta is home after having not payed the fine
+if $ARGS[0] = 'police_arrest2':
+	policeQW['arrest_fine'] = 1
+!!this code will stay until Sveta pays her fine, not sure how to code it so it is removed when she pays her fine
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/shared/police/police_door.jpg"></center>'
+	'There is a loud knock at the door. You walk up to the door and open it. You see a two police officers in uniform standing in the hallway. "<<$pcs_firstname>> <<$pcs_lastname>>! You are under arrest."'
+
+	act 'Get Arrested':
+		*clr & cla
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/police_arrested.jpg"></center>'
+		'Wondering what they want from you, you ask. "What is this all about?"'
+		'One of them holds up a piece of paper for you to read. "This is a warrant for your arrest for failure to show up for court or pay your fines." You get to read part of it before he puts it away. It seems all those letters you got about court was not a joke. The other office handcuffs your hands behind your back. Then they take you down to their police car and drive you to the city police station, where they throw you in a holding cell.'
+
+		act 'Next morning':
+			*clr & cla
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
+			if policeQW['arrest_court'] = 1
+				'You are taken out of holding and over to the courthouse to await your hearing. The judge reviews your case, "It seems you believe you are above the law, I assure you, you are not. I sentence you to one year in prison." You break down into tears as you are hauled away to serve your time.'
+				'Game Over' !!can we make this in big red letters and then it is a game over not sure how to code that.
+
+			else
+				'You are taken out of holding and over to the courthouse to await your hearing. The judge reviews your case, "It seems you refused to pay your fines Miss <<$pcs_lastname>>, what do you have to say for yourself?"'
+				'You begin to look around, trying to come up with an excuse. But in the end you decide it''s best to admit, "I have no excuse your honor." you meekly answer.'
+				'With the judges eyes piercing through you, they clear their throat, "I see, you have thirty days to pay your fine. If you fail to do so you will be arrested again and next time I will sentence you to one year in prison."'
+				'You try your best to hold back the tears as you nod that you understand.'
+!!can we add a out of character note that stats. If you fail to pay your fines again and get arrested a second time it will lead to a game over.
 
 				act 'Leave the court':gt 'city_center'
 			end

+ 47 - 33
locations/shop.qsrc

@@ -1,8 +1,7 @@
 # shop
 !! This is the supermarket, located in several places
-!! Main entrance
-!!2022/03/17
 
+!! Main entrance
 if $ARGS[0] = 'start':
 	$menu_loc = 'shop'
 	$menu_arg = 'start'
@@ -34,7 +33,8 @@ if $shoplocation = 'main':
 				$loc = $loc_bak
 			end
 		end
-		act 'Leave the store':minut += 3 & gt $loc
+
+		act 'Leave the store': minut += 3 & gt $loc
 		exit
 	end
 
@@ -73,13 +73,13 @@ if $shoplocation = 'main':
 					'"Come with me. My wife''s away..." he says with a grin.'
 					
 					gs 'willpower', 'sex', 'resist'
-					if will_cost <= pcs_willpwr:
+					if pcs_willpwr < will_cost:
+						act 'No (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+					else
 						act 'No (<<will_cost>> Willpower)':
 							gs 'willpower', 'pay', 'resist'
 							gt 'shop', 'start'
 						end
-					else
-						act 'No (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 					end
 					
 					act 'I deserve this':
@@ -87,7 +87,6 @@ if $shoplocation = 'main':
 
 						if rand(1, 2) = 1:
 							cla
-							
 							'Dima takes you to his house and orders you to lie across the sofa. You get into position and he calls you a bitch before he starts fucking you in the mouth.'
 							'<center><img <<$set_imgh>> src="images/locations/city/residential/street/sex/gostdt2.jpg"></center>'
 							'Dima finally finishes in your mouth. You obediently swallow and lick the remnants of sperm off his cock.'
@@ -98,10 +97,12 @@ if $shoplocation = 'main':
 							gs 'stat'
 							
 							act 'Leave': minut += 3 & gt 'city_residential'
+
 						else
 							cla
 							gs 'pain', 6, 'asscheeks', 'slap'
 							spank += 1
+
 							'Dima brings you to his house and begins to kiss and undress you in the hall. Once you''re naked, he takes you to the bathroom.'
 							'He unscrews the shower head and shoves the hose in your ass. You feel the rush of water quickly filling you before Dima sits you on the toilet. After the rough enema, he bends you over and inserts his dick into your ass.'
 							'<center><img <<$set_imgh>> src="images/locations/city/residential/street/sex/gostanal2.jpg"></center>'
@@ -137,10 +138,11 @@ if $shoplocation = 'main':
 				TorgPredZ -= 1
 				TorgPredZV += 1
 				gs 'stat'
+
 				'<center><img <<$set_imgh>> src="images/locations/shared/store/shop.jpg"></center>'
 				'You promote the products for quite a while, and when you finally finish, you go to the cashier and tell them that they sold.'
 
-				act 'Leave':gt 'shop', 'start'
+				act 'Leave': gt 'shop', 'start'
 			end
 
 		end
@@ -177,7 +179,7 @@ if $shoplocation = 'ATM':
 					karta += kartaINATM - 100
 					atmDepositDate = daystart + 2
 					money -= kartaINATM
-					
+
 					'<br>You deposit <<kartaINATM>> <b>₽</b> into your account.'
 					'It will take 2 days for funds to be available. Your new balance will be <<karta+atmDeposit>> <b>₽</b>.'
 				end
@@ -222,11 +224,11 @@ if $shoplocation = 'ATM':
 	act 'Move away':gt 'shop', 'start'
 end
 
-if $shoplocation= 'grocery':
+if $shoplocation = 'grocery':
 	$loc_s = 'shop'
 	$args_s = 'grocery'
 	*clr & cla
-
+	
 	gs 'themes', 'clothing', 1
 	'<center><table><TR BGCOLOR="' + $bgcolor + '"><TD><b>Grocery Department</b></TD></TR></table></center>'
 	$backimage= 'images/locations/shared/store/shop1.jpg'
@@ -234,7 +236,7 @@ if $shoplocation= 'grocery':
 	if hour < 8 or hour > 20:
 		'The grocery department is currently closed.'
 
-		act 'Leave':$backimage = '' & gt 'shop', 'start'
+		act 'Leave': $backimage = '' & gt 'shop', 'start'
 		exit
 	end
 
@@ -245,7 +247,9 @@ if $shoplocation= 'grocery':
 	else
 		''
 	end
+
 	gs 'item_cart', 'shoppping_aisle', 'food'
+
 	gs 'stat'
 	gs 'themes', 'indoors'
 
@@ -261,6 +265,7 @@ if $ARGS[0] = 'dog_items':
 	$location_type = 'public_indoors'
 	gs 'stat'
 	$backimage = ''
+
 	'<center><img <<$set_imgh>> src="images/characters/shared/rex/pet_isle.jpg"></center>'
 	'You''re currently in the pet aisle, where you can buy food, treats and other things for your dog.'
 	
@@ -306,7 +311,7 @@ if $ARGS[0] = 'dog_items':
 	
 	act 'Buy some dog treats':
 		*clr & cla
-		minut += 1			
+		minut += 1
 		gs 'stat'
 		'<center><img <<$set_imgh>> src="images/characters/shared/rex/treat_'+rand(0,2)+'.jpg"></center>'
 		'The store sells dog treats for 300 <b>₽</b>. Inside each pack are 20 treats. You have <<objects[''treats'']>>.'
@@ -333,7 +338,7 @@ if $ARGS[0] = 'dog_items':
 
 		act 'Go back': gt 'shop', 'dog_items'
 			
-		if money >= 800: 
+		if money >= 800:
 			act 'Buy one (800 <b>₽</b>, pay cash)':
 				money -= 800
 				objects['chew'] += 10
@@ -354,7 +359,7 @@ if $ARGS[0] = 'dog_items':
 			
 			act 'Go back': gt 'shop', 'dog_items'
 			
-			if money >= 900: 
+			if money >= 900:
 				act 'Buy them (900 <b>₽</b>, pay cash)':
 					money -= 900
 					objects['toys'] = 1
@@ -379,7 +384,7 @@ if $shoplocation= 'cosmetics':
 	if hour < 8 or hour > 20:
 		'The cosmetics department is currently closed.'
 
-		act 'Leave':$backimage = '' & gt 'shop', 'start'
+		act 'Leave': $backimage = '' & gt 'shop', 'start'
 		exit
 	end
 
@@ -390,12 +395,15 @@ if $shoplocation= 'cosmetics':
 	else
 		''
 	end
+
 	gs 'item_cart', 'shoppping_aisle', 'beauty'
+
 	gs 'stat'
 	gs 'themes', 'indoors'
 
 	act 'Leave the cosmetics department': $backimage = '' & gt 'shop', 'start'
 	if $loc = 'torgcentr': gs 'shoplifting', 'city'
+	if $loc = 'pav_commercial': gs 'shoplifting', 'pav'
 end
 
 if $shoplocation = 'hardware':
@@ -408,7 +416,7 @@ if $shoplocation = 'hardware':
 	if hour < 8 or hour > 20:
 		'The hardware department is currently closed.'
 
-		act 'Leave':$backimage = '' & gt 'shop', 'start'
+		act 'Leave': $backimage = '' & gt 'shop', 'start'
 		exit
 	end
 
@@ -421,10 +429,11 @@ if $shoplocation = 'hardware':
 	end
 
 	gs 'item_cart', 'shoppping_aisle', 'hardware'
+
 	gs 'stat'
 	gs 'themes', 'indoors'
 
-	act 'Leave the hardware department':$backimage = '' & gt 'shop', 'start'
+	act 'Leave the hardware department': $backimage = '' & gt 'shop', 'start'
 
 	'<center><table><TR BGCOLOR="' + $bgcolor + '"><TD>You see fabric suitable for sewing on the counter. It''s sold in large squares costing 50 <b>₽</b> each. You have <<mc_inventory[''sewing_fabric'']>> squares of fabric.</TD></TR></table></center>'
 	if pod_whore_countQW > 15 and paint_blue = 0 and money >= 200:
@@ -450,7 +459,7 @@ if $shoplocation = 'clothing':
 	else
 
 		if $message ! '':
-			'<center>'+$message+'</center>'
+			'<center>' + $message + '</center>'
 			killvar '$message'
 		else
 			''
@@ -459,7 +468,7 @@ if $shoplocation = 'clothing':
 		gs 'stat'
 		gs 'themes', 'indoors'
 
-		act 'Leave the women''s clothing department':gt 'shop', 'start'
+		act 'Leave the women''s clothing department': gt 'shop', 'start'
 
 		act 'View underwear': $shoplocation = 'underwear' & gt 'shop'
 
@@ -474,7 +483,7 @@ if $shoplocation = 'clothing':
 					'<center><img <<$set_imgh>> src="images/locations/pavlovsk/lake/konki_shop.jpg"></center>'
 					'You buy a pair of ice skates.'
 
-					act 'Move away from the counter':gt'shop'
+					act 'Move away from the counter': gt'shop'
 				end
 			end
 		end
@@ -489,7 +498,7 @@ if $shoplocation = 'clothing':
 					'<center><img <<$set_imgh>> src="images/pc/activities/ski_buy.jpg"></center>'
 					'You buy a pair of skis and poles.'
 
-					act 'Move away from the counter':gt'shop'
+					act 'Move away from the counter': gt'shop'
 				end
 			end
 		end
@@ -503,16 +512,16 @@ if $shoplocation = 'underwear':
 	$loc = 'shop'
 	'<center><B>Click on an item to view details</B></center>'
 
-	if gm_panties[7] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 7, 300"><img src="images/pc/items/gm/panties/7.jpg" 	height="150" /></a>'
-	if gm_panties[9] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 9, 300"><img src="images/pc/items/gm/panties/9.jpg" 	height="150" /></a>'
-	if gm_panties[12] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 12, 300"><img src="images/pc/items/gm/panties/12.jpg" 	height="150" /></a>'
-	if gm_panties[21] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 21, 300"><img src="images/pc/items/gm/panties/21.jpg" 	height="150" /></a>'
-	if gm_panties[37] = 0:*p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 37, 300"><img src="images/pc/items/gm/panties/37.jpg" 	height="150" /></a>'
+	if gm_panties[7] = 0: *p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 7, 300"><img src="images/pc/items/gm/panties/7.jpg" 	height="150" /></a>'
+	if gm_panties[9] = 0: *p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 9, 300"><img src="images/pc/items/gm/panties/9.jpg" 	height="150" /></a>'
+	if gm_panties[12] = 0: *p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 12, 300"><img src="images/pc/items/gm/panties/12.jpg" 	height="150" /></a>'
+	if gm_panties[21] = 0: *p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 21, 300"><img src="images/pc/items/gm/panties/21.jpg" 	height="150" /></a>'
+	if gm_panties[37] = 0: *p '<a href="exec:gt ''panties'', ''view_panty_item'', ''shop'', ''gm'', 37, 300"><img src="images/pc/items/gm/panties/37.jpg" 	height="150" /></a>'
 	*nl
-	if gm_bras[11] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 11, 300"><img src="images/pc/items/gm/bras/11.jpg" 	height="150" /></a>'
-	if gm_bras[12] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 12, 300"><img src="images/pc/items/gm/bras/12.jpg" 	height="150" /></a>'
-	if gm_bras[16] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 16, 300"><img src="images/pc/items/gm/bras/16.jpg" 	height="150" /></a>'
-	if gm_bras[18] = 0:*p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 18, 300"><img src="images/pc/items/gm/bras/18.jpg" 	height="150" /></a>'
+	if gm_bras[11] = 0: *p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 11, 300"><img src="images/pc/items/gm/bras/11.jpg" 	height="150" /></a>'
+	if gm_bras[12] = 0: *p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 12, 300"><img src="images/pc/items/gm/bras/12.jpg" 	height="150" /></a>'
+	if gm_bras[16] = 0: *p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 16, 300"><img src="images/pc/items/gm/bras/16.jpg" 	height="150" /></a>'
+	if gm_bras[18] = 0: *p '<a href="exec:gt ''bras'', ''view_bra_item'', ''shop'', ''gm'', 18, 300"><img src="images/pc/items/gm/bras/18.jpg" 	height="150" /></a>'
 
 	act 'Return':
 		$loc = $loc_bak
@@ -532,7 +541,7 @@ if $shoplocation = 'tech':
 	if hour < 8 or hour > 20:
 		'The household appliance department is currently closed.'
 
-		act 'Leave':$backimage= '' & gt 'shop', 'start'
+		act 'Leave': $backimage= '' & gt 'shop', 'start'
 		exit
 	end
 
@@ -542,15 +551,19 @@ if $shoplocation = 'tech':
 	else
 		''
 	end
+
 	gs 'item_cart', 'shoppping_aisle', 'tech'
+
 	gs 'stat'
 	gs 'themes', 'indoors'
+
 	!! mc_inventory['tech_game_ds'] and mc_inventory['tech_webcam'] need a mc_inventory['tech_computer'] requirement
 	!! also for some reason mc_inventory['tech_webcam'] doesn't work.
 	!! It shows up as an item and you can put it into the item cart but buying it doesn't increase the value of mc_inventory['tech_webcam'].
 	!!also having a Plasma TV shows up as having 2 TVs since I couldn''t change TV = 2 to a new variables without changing a lot of code and text.
 
-	act 'Leave the appliance department':$backimage= '' & gt 'shop', 'start'
+
+	act 'Leave the appliance department': $backimage= '' & gt 'shop', 'start'
 end
 
 !! Ice cream counter
@@ -581,6 +594,7 @@ if $shoplocation = 'megafon':
 	*clr & cla
 	minut+=3
 	gs'stat'
+
 	'<center><b><font color = maroon>MegaFon shop</font></b></center>'
 	'<center><img src="images/system/phone/megafon2.jpg" ></center>'
 

+ 474 - 94
locations/shoplifting.qsrc

@@ -9,11 +9,12 @@
 
 if $ARGS[0] = 'city':
 	act 'Attempt to steal':
-		$backimage = ''
 		*clr & cla
+		$backimage = ''
 		menu_off = 1
 		picrand = rand(0,7)
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/steal<<picrand>>.jpg"></center>'
 		'Standing in front of the make-up section of the supermarket, you nervously look over your shoulder to make sure none of the employees are able to spot you.'
 		'Seeing no one, you casually reach out for the make-up you usually use and tuck it away...'
@@ -22,6 +23,7 @@ if $ARGS[0] = 'city':
 		act 'Leave the store':
 			*clr & cla
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/leave.jpg"></center>'
 			'"Okay <<$pcs_nickname>>, just act normal..." you sigh quietly as you step towards the exit, trying to not draw any attention towards yourself.'
 			'Don''t panic...'
@@ -32,17 +34,18 @@ if $ARGS[0] = 'city':
 			'Almost there...'
 			'The exit of the supermarket comes closer and closer with every step, and you try to do whatever you can to control your nerves.'
 
-			if ((pcs_observ+pcs_persuas > 50) and (hour = 12 or hour = 17)) or pcs_observ+pcs_persuas > 150 or rand(0,4) > 0:
+			if rand(0, 4) ! 0 or pcs_observ + pcs_persuas > 150 or ((pcs_observ + pcs_persuas > 50) and (hour = 12 or hour = 17)):
 				!if observation and persuasion = sufficient: and certain time of the day (when the store is full with people)
 				mc_inventory['cosmetics'] += 50
+
 				'As you walk by the counters and leave the supermarket, you feel a rush of excitement. You''re almost there now, feeling relieved as well as triumphant. You''re going to make it for sure!'
 				'You feel your hands trembling in your pockets, getting worse with every step. No matter what you do, you can''t shake the feeling that someone must''ve spotted you... surely they''ve spotted you!'
 				'You desperately try to calm yourself down as with every step you get closer to the exit. No one seems to be stopping you so far... maybe you got lucky?'
 				'Before you know it, you''re standing outside, having managed to get away with your loot. You turn back one last time to make sure that no one is following you.'
 
-				act 'Keep on walking':gt 'torgcentr'
+				act 'Keep on walking': gt 'torgcentr'
 
-			elseif pcs_observ+pcs_persuas+pcs_run > 200:
+			elseif pcs_observ + pcs_persuas + pcs_run > 200:
 				!elseif observation, persuasion and running level = sufficient and certain time of day (less people around):
 				!ADD COOLDOWN ON ATTEMPT TO STEAL, TWO WEEKS
 				'You feel your hands trembling in your pockets, getting worse with every step. No matter what you do, you can''t shake the feeling that someone must''ve spotted you... surely they''ve spotted you!'
@@ -62,19 +65,21 @@ if $ARGS[0] = 'city':
 						gs 'exp_gain', 'run', 5
 						!Boost the stats observation and running by 1
 						mc_inventory['cosmetics'] += 50
+
 						'You keep running while the security guard follows close behind... You turn a corner and then quickly take another corner as you try to shake him off...'
 						'The guard is not easily giving up, but after a few minutes, you''ve managed to outrun him as you make your escape from the supermarket. You can hear the guard screaming behind you...'
 
-						act 'Catch your breath':gt 'city_center'
+						act 'Catch your breath': gt 'city_center'
 
 					else
-						shlif_caught += 1
+						policeQW['shoplift_caught'] += 1
 						!ADD 1 TO THE CAUGHT COUNTER
+
 						'You keep running while the security guard follows close behind... You turn a corner and then quickly take another corner as you try to shake him off...'
 						'But the guard is not easily giving up, and as you turn the corner, you reach a dead-end. You quickly try to turn around and run another way but it''s too late as you''re tackled.'
 						'Lying on the ground, the security guard quickly lifts you up and leads you toward the security room.'
 
-						act 'Get lead to the security room':gt 'shoplifting', 'securityroom'
+						act 'Get lead to the security room': gt 'shoplifting', 'securityroom'
 					end
 				end
 			else
@@ -83,33 +88,37 @@ if $ARGS[0] = 'city':
 				'You pass by the counter, and seeing no one reacting, you relax for a bit and let down your guard. Just as you''re about to leave through the entrance, you feel a hand grab you by the shoulder.'
 				'You instantly turn around, seeing a security guard is holding you and dragging you back inside. Before you''re even able to speak up, he is forcefully leading you back to his office.'
 
-				act 'Get dragged into the back room':gt 'shoplifting', 'securityroom'
+				act 'Get dragged into the back room': gt 'shoplifting', 'securityroom'
 			end
 		end
 	end
 end
 
+
 if $ARGS[0] = 'securityroom':
-	if toldonguard = 1: gt 'shoplifting', 'punish'
-	!option one, have the guard tell you what to do while he jerks off.
-	!option two, offer the guard a blow job, lower risk to get the cops get called on you but it can still happen
-	!option three, offer to pay for what you''ve stolen, takes extra money and if you don''t have enough he calls the cops
-	!option four, keep quiet, have the cops called on you straight away
-	!if you''ve snitched on the security guard to the easy-going or normal cop, he fucks the shit out of you and calls the cops again, one-off event
-	*clr & cla
+	if policeQW['toldonguard'] = 1: gt 'shoplifting', 'punish'
+
 	minut += 5
-	shplft_value = 1300
+	policeQW['shoplift_value'] = 1300
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/caught.jpg"></center>'
 	'"Where are you taking me?" you shout out, "I haven''t done anything wrong!" You look around trying to catch someone''s attention. People are staring at you in disgust and turning their heads.'
 	'The security guard keeps quiet as he forcefully pushes you away from the supermarket. You go through a dark hallway and stop at a door, which he unlocks before pushing you inside.'
 	'He orders you to take a seat on a basic chair, and you quietly comply...'
 	'He sits down next to you and lets out a deep sigh, "You might as well admit what you''ve done. We have you on tape stealing..."'
 
+	!option one, have the guard tell you what to do while he jerks off.
+	!option two, offer the guard a blow job, lower risk to get the cops get called on you but it can still happen
+	!option three, offer to pay for what you''ve stolen, takes extra money and if you don''t have enough he calls the cops
+	!option four, keep quiet, have the cops called on you straight away
+	!if you''ve snitched on the security guard to the easy-going or normal cop, he fucks the shit out of you and calls the cops again, one-off event
+
 	act 'Admit':
 		*clr & cla
 		minut += 5
 		gs 'stat'
+
 		'You hang your head in resignation, realizing there''s no denying that you''ve been caught. Your eyes tear up with crocodile tears as you try to come up with a way to get out of this, "I admit I''ve stolen..."'
 		'The guard clears his throat, "Well, that''s a start... Now I just need to go and have a talk with the store manager on how we''ll deal with you..."'
 		'Pleadingly, you look at him, "Can''t we work something out? Do you really have to go and talk to the manager?"'
@@ -120,14 +129,16 @@ if $ARGS[0] = 'securityroom':
 		if pcs_money >= 5000: act 'Offer a bribe (5000 <b>₽</b>)': gt 'shoplifting', 'bribe'
 		act 'Keep quiet': gt 'shoplifting', 'quiet'
 	end
-
 	gs 'willpower', 'misc', 'self', 'medium'
-    if will_cost <= pcs_willpwr:
+	if pcs_willpwr < will_cost:
+		act 'Deny (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+	else
 		act 'Deny':
 			*clr & cla
 			minut += 5
 			gs 'willpower', 'pay', 'self'
 			gs 'stat'
+
 			'You defiantly tell him that he''s grabbed the wrong person and that you have no idea what he''s talking about.'
 			'"Listen here, girl. We''ve got you on tape as you shoplifted..." he proudly boasts.'
 			'You know you''ve been caught, but you keep on sticking to you story, "That could be whoever on that tape, how can you prove that''s me?"'
@@ -140,89 +151,87 @@ if $ARGS[0] = 'securityroom':
 			if pcs_money >= 5000: act 'Offer a bribe (5000 <b>₽</b>)': gt 'shoplifting', 'bribe'
 			act 'Keep quiet': gt 'shoplifting', 'quiet'
 		end
-	else
-        act 'Deny (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-    end
+	end
 end
 
-	!add a trigger so that you know that you''ve had sex with security guard, sexguard = 1 or something, will be used later in the police file
+
+!add a trigger so that you know that you''ve had sex with security guard, sexguard = 1 or something, will be used later in the police file
 if $ARGS[0] = 'show':
 	*clr & cla
+	gs 'arousal', 'foreplay', 3, 'sub', 'exhibition'
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show1.jpg"></center>'
 	'"How about a little show? I''ll help you get off, and you can even direct me on how the show will carry on..." you desperately proclaim.'
 	'The security guard stops, pondering about it for a moment... All of a sudden you can see him smirking, "And you''ll follow my instructions to the latter?"'
 	'You nod and slyly smile, giving into the fantasy that you''re going to be entirely subdued by him...'
 	'"Fine, let''s begin then," he excitingly exclaims, "Stand up and let me take a look at you. I want you to tease yourself for a while, I love seeing girls getting off."'
 
-	gs 'arousal', 'foreplay', 3, 'sub', 'exhibition'
-	gs 'stat'
-
 	act 'Comply':
 		*clr & cla
+		$orgasm_or = 'no'
+		gs 'arousal', 'clit_finger', 3, 'masturbate', 'sub', 'exhibition'
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show2.jpg"></center>'
 		'You comply and stand up, pressing yourself against the wall. He begins grabbing your clothes, wanting to remove them. While he''s doing this, you hear him say, "I want you to touch yourself." You prepare yourself by taking a deep breath and slowly slide your hand down towards your panties. As you finally reach your clit, you slowly begin touching it, biting your lip as your body reacts to the soft touches.'
 		'The security guard is observing you satisfied, rubbing his cock throughout his pants. He''s clearly aroused, and you fear a bit what might come next, but you manage to keep focus as you know this will determine your fate.'
 		'"I wonder, are your panties soaked yet, girl?" he asks.'
 
-		$orgasm_or = 'no'
-		gs 'arousal', 'clit_finger', 3, 'masturbate', 'sub', 'exhibition'
-		gs 'stat'
-
 		act 'Nod':
 			*clr & cla
+			gs 'arousal', 'foreplay', 3, 'sub', 'exhibition'
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show3.jpg"></center>'
 			'Your answer comes as a gentle nod and a soft moan letting him know that his orders has succeeded in making you wet.'
 			'Pleased, he nods his head as he continues on, "Remove your clothing, I want to see them wet panties."'
 			'Once again, you comply and remove you clothing piece by piece as he carefully scans your body, "Good, now sit back down again and spread your legs, slide your panties down, I want to see that vulva exposed..."'
 
-			gs 'arousal', 'foreplay', 3, 'sub', 'exhibition'
-			gs 'stat'
-
 			act 'Remove your panties':
 				*clr & cla
+				$orgasm_or = 'no'
+				gs 'arousal', 'clit_finger', 3, 'masturbate', 'sub', 'exhibition'
 				gs 'stat'
+
 				'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show4.jpg"></center>'
 				'"I hate you..." you whisper softly as you obey.'
 				'He starts chuckling, "Good, I want you to hate me, this is making you feel humiliated. Use that frustration to begin touching yourself and pick up the pace this time."'
 				'You look madly at him as you use your fingers to rub on your exposed clit, picking up the pace. Just as you''re feeling excited, he tells you to slow down as he doesn''t want you to get too much pleasure out of this...'
 
-				$orgasm_or = 'no'
-				gs 'arousal', 'clit_finger', 3, 'masturbate', 'sub', 'exhibition'
-				gs 'stat'
-
 				act 'Keep going':
 					*clr & cla
+					$orgasm_or = 'no'
+					gs 'arousal', 'clit_finger', 3, 'masturbate', 'sub', 'exhibition'
 					gs 'stat'
+
 					'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show5.jpg"></center>'
 					'By the time you''ve gradually slowed down, the security guard himself has started jerking off as he closely observes your every move, turned on by your obedience.'
 					'Suddenly, an urge overcomes you, and without him commanding you, your other hand travels upward, stopping at your breast. You carefully begin to play with one of your nipples, gently rubbing it in a circular motion building up your arousal.'
 					'You don''t even care anymore if he approves or not. You''re too excited, and it''s getting the best of you as you begin picking up the pace again, moaning loudly by now.'
 					'"You little minx! Who told you to take the control?" he manages to say between his panting, "I''ll let you off this time as I love seeing you squirm, as you appease me... but use this instead" as he hands over a fake cock.'
-					
-					$orgasm_or = 'no'
-					gs 'arousal', 'clit_finger', 3, 'masturbate', 'sub', 'exhibition'
-					gs 'stat'
 
 					act 'Continue on':
 						*clr & cla
 						gs 'boyStat', 'D2'
 						gs 'stat'
-						'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show6.jpg"></center>'
-						'Your eagerly grab the fake cock and rub it against your clit swiftly. Your pussy lips have turned bright pink, and you just want to explode. You look at him pleadingly, begging him to let you orgasm.'
-						'But to your dismay, the security guard is only focused on himself as he''s furiously stroking his cock...'
-						'You pick up the pace, not wanting to be outpaced by him, but just as you''re about to orgasm, the security guard seems to decide that it''s time for some payback, as he smugly commands you to stop touching yourself right away...'
 
 						gs 'boyStat', 'd3'
 						$orgasm_or = 'no'
 						gs 'arousal', 'vaginal_dildo', 3, 'masturbate', 'sub', 'exhibition'
 						gs 'stat'
 
+						'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show6.jpg"></center>'
+						'Your eagerly grab the fake cock and rub it against your clit swiftly. Your pussy lips have turned bright pink, and you just want to explode. You look at him pleadingly, begging him to let you orgasm.'
+						'But to your dismay, the security guard is only focused on himself as he''s furiously stroking his cock...'
+						'You pick up the pace, not wanting to be outpaced by him, but just as you''re about to orgasm, the security guard seems to decide that it''s time for some payback, as he smugly commands you to stop touching yourself right away...'
+
 						act 'Stop':
 							*clr & cla
+							$orgasm_or = 'custom'
+							gs 'arousal', 'vaginal_dildo', 3, 'sub', 'exhibition'
 							gs 'stat'
+
 							'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show7.jpg"></center>'
 							'All of your body is screaming in agony as you obey and stop, your pulsating pussy deprived of an orgasm and your mind about to snap...'
 							'The security guard continues stroking as you look at him pleadingly again, letting out a small whimper, "Please, let me continue, I was so close..."'
@@ -230,28 +239,24 @@ if $ARGS[0] = 'show':
 							'It doesn''t take long before you hear loud panting and groaning as he finishes, but you''ve managed to faze him out as you''re approaching an orgasm once again, now furiously penetrating yourself. You want to make sure that you''re able to finish before he''s able to stop you.'
 							'His commanding tone and the build up has finally come to fruition as your legs stiffen, your pussy goes numb and you orgasm violently, trembling, barely able to sit still on the chair. The orgasm is so immense that you feel your ears ringing afterwards for a few minutes.'
 
-							$orgasm_or = 'custom'
-							gs 'arousal', 'vaginal_dildo', 3, 'sub', 'exhibition'
-							gs 'stat'
-
 							act 'Get dressed':
 								*clr & cla
+								gs 'arousal', 'end'
 								gs 'stat'
+
 								'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show8.jpg"></center>'
 								'You keep the fake cock inside you for a while as you calm down. The security guard is looking pleased at you.'
 								'Ashamed, you quickly grab your clothes and start putting them on. While you''re getting dressed, you look at him with disgust and impatiently ask, "Are we done now?"'
 								'The security guard grins and tells you to wait for a moment while he goes away, explaining that he needs to go to take care of a thing and that he will be right back...'
 								'You make yourself look as compliant as possible as you smile and nod, just wanting this to be over with so you can continue on with your day.'
 
-								gs 'arousal', 'end'
-								gs 'stat'
-
 								act 'Wait':
 									!A random decider if he will still call the cops on Sveta or not
 									*clr & cla
 									minut += 10
-									policeCalled = rand(0,12)
+									policeCalled = rand(0, 12)
 									gs 'stat'
+
 									'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/show/show9.jpg"></center>'
 									'You patiently sit and wait for the security guard to return. You closely listen to every little sound happening outside the office hoping that he''ll return soon and let you go.'
 									'All of a sudden, you hear footsteps and someone opening the door...'
@@ -262,16 +267,16 @@ if $ARGS[0] = 'show':
 										'The manager nods while the police officer approaches you resolutely, telling you to stand and turn around so he can handcuff you.'
 										'You obediently turn around, and the police officer tightens his cuffs so they sit real tight. As he finishes, he grabs you by the arm and leads you away...'
 
-										act 'Go to the police station':gt 'police_station', 'entrance', 'shplft'
-
+										act 'Go to the police station': gt 'police_station', 'entrance', 'shoplift'
 									else
 										'The door opens, and thankfully, there''s only the security guard standing there holding a video cassette in his hand. "Sorry for the wait, it took me a while to get hold of the cassette."'
 										'Your face brightens as you know that he went through all sorts of trouble to leave no trace behind that you''ve ever been here.'
 										'"Here take the tape and destroy it," he states, "Be gone now before anyone spots you and we both get in trouble."'
 										'You nod and hurriedly jump away from the chair, grabbing the tape as you walk by the security guard...'
 
-										act 'Head outside':gt 'city_center'
+										act 'Head outside': gt 'city_center'
 									end
+									killvar 'policeCalled'
 								end
 							end
 						end
@@ -282,11 +287,12 @@ if $ARGS[0] = 'show':
 	end
 end
 
+
 !add a trigger so that you know that you''ve had sex with security guard, sexguard = 1 or something, will be used later in the police file
 if $ARGS[0] = 'bj':
-	*clr & cla
 	minut += 5
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj1.jpg"></center>'
 	'"How about I give you a blowjob and you let me go?" you calmly suggest.'
 	'The security guard is taken aback a little by your suggestion, but it doesn''t take long before you notice a smirk on his face. "How about this, if you perform well enough, I''ll let you go, otherwise I''ll be calling the cops."'
@@ -297,6 +303,7 @@ if $ARGS[0] = 'bj':
 		*clr & cla
 		minut += 2
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj2.jpg"></center>'
 		'You happily stand up and smile as you can hear his cellphone camera snap.'
 		'"This will do. I can''t wait to show you off to my friends," he tells you.'
@@ -305,76 +312,70 @@ if $ARGS[0] = 'bj':
 
 		act 'Strip':
 			*clr & cla
+			gs 'arousal', 'foreplay', 5, 'sub'
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj3.jpg"></center>'
 			'You pleadingly look at him, but he turns his head around to avoid meeting your eyes. Seeing he won''t budge, you slowly start taking off your clothes.'
 			'The security guard''s gaze turns to you again, and he carefully watches as you remove one cloth after another as you try to cover up your naked body.'
 			'"Good job, girl! Look at your fine breasts. Don''t be shy and cover yourself, the plan is to arouse me..." he smirks, "Now get on your knees."'
 
-			gs 'arousal', 'foreplay', 5, 'sub'
-			gs 'stat'
-
 			act 'Get down on your knees':
 				*clr & cla
+				gs 'arousal', 'foreplay', 5, 'sub'
 				gs 'stat'
+
 				'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj4.jpg"></center>'
 				'You get down on your knees and wait while he rubs his cock through his pants.'
 				'After a short while, he unzips the pants and releases his cock. As it pops out, you let out a gasp, surprised by the massive size. "You''re way bigger than I expected," you say as you observe his stiff cock.'
 				'He lets out a laugh and jokes, "Are you sure that it will be able to fit in your mouth?"'
 
-				gs 'arousal', 'foreplay', 5, 'sub'
-				gs 'stat'
-
 				act 'Play with his glans':
 					*clr & cla
+					gs 'arousal', 'bj', 5, 'sub'
 					gs 'stat'
+
 					'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj5.jpg"></center>'
 					'Triggered by his joke and wanting to show him up, you slowly move your lips near his cock and give his glans a little kiss. You can hear him let out a soft groan. He must be really sensitive.'
 					'Feeling encouraged, you start moving your lips around his glans, letting out your tongue to tease his penis head.'
 					'The security guard doesn''t say anything and seems to be pleased by your performance...'
 					'You look up at him and give him a little smile, biting your lip before moving your tongue up and down his shaft...'
 
-					gs 'arousal', 'bj', 5, 'sub'
-					gs 'stat'
-
 					act 'Suck him off':
 						*clr & cla
+						gs 'arousal', 'bj', 5, 'sub'
 						gs 'stat'
+
 						'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj6.jpg"></center>'
 						'Not wanting to tease him anymore, you wrap your lips around his glans and slowly let the head glide deeper inside your mouth. You didn''t expect him to taste this good...'
 						'The security guard didn''t expect you to be this bold as you feel his whole body stiffen...'
 						'After a few moments, you pick up the pace, and before you know it, you''ve swallowed half his cock. You''re totally engulfed and even manage to forget why you''re sucking him off.'
 						'It doesn''t take long before his cock is twitching and he tells you to pull out before he cums...'
 
-						gs 'arousal', 'bj', 5, 'sub'
-						gs 'stat'
-
 						act 'Tug his cock':
 							*clr & cla
+							gs 'arousal', 'hj', 5, 'dom'
 							gs 'stat'
+
 							'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj7.jpg"></center>'
 							'Disappointed, you pull out and let out a loud mouth sound as you remove your lips from his cock.'
 							'By now, the security guard is panting heavily, and you give him a minute to recover before you start tugging his cock.'
 							'You grab his cock quite hard, and you start quickly stroking him up and down. You''re enjoying yourself as you''re in command and he''s at your mercy.'
 							'You notice a little pre-cum come out, and you feel this urge to slow down and tease him as you want to drag this out for as long as possible...'
 
-							gs 'arousal', 'hj', 5, 'dom'
-							gs 'stat'
-
 							act 'Let him cum':
 								*clr & cla
 								gs 'cum_call', 'breasts', 'Security guard'
 								spafinloc = 15
+								gs 'arousal', 'hj', 2, 'dom'
 								gs 'stat'
+
 								'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj8.jpg"></center>'
 								'"Don''t you dare slowing down!" he manages to yell out just as you start to...'
 								'Surprised by his reaction, you quickly pick up the pace, and as your hand moves up and down his cock, it stops twitching and gets really stiff. After two more tugs, he shoots all over your chest area...'
 								'As you look down, you notice you''re covered in his thick cum... You give his cock a few more tugs to get it all out and then let go of it as it continues to twitch.'
 								'"Get cleaned up, and I''ll be back soon!" he tells you as he zips his pants and leaves the office...'
 
-								gs 'arousal', 'hj', 2, 'dom'
-								gs 'stat'
-
 								act 'Wait':
 									!A random decider if he will still call the cops on Sveta or not
 									!Need to add a cum cleaner function
@@ -384,12 +385,14 @@ if $ARGS[0] = 'bj':
 									cumspclnt = 16
 									gs 'cum_cleanup'
 									gs 'stat'
+
 									'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj9.jpg"></center>'
 									'You clean yourself up and get dressed as soon you hear the door close. There''s nothing more to do than patiently sit and wait for the security guard to return.'
 									'You closely pay attention to every little sound happening outside the office, hoping that he''ll return soon and let you go. All of a sudden you hear footsteps and someone opening the door...'
 
 									if policeCalled <= 3:
-										toldonguard = 2
+										policeQW['toldonguard'] = 2
+
 										'To your dismay, the security guard has not only called the manager but there''s even a police officer standing there with them.'
 										'The security guard smugly proclaims, "Here she is officer I had her locked up the whole time..." He turns to the manager, "Don''t worry sir, I''ve already recovered the video evidence..."'
 										'The manager nods while the police officer approaches you resolutely, telling you to stand and turn around so he can handcuff you.'
@@ -397,7 +400,6 @@ if $ARGS[0] = 'bj':
 
 										gs 'arousal', 'end'
 										gs 'stat'
-
 										act 'Go to the police station': gt 'police_station', 'entrance', 'shplft'
 
 									else
@@ -408,7 +410,6 @@ if $ARGS[0] = 'bj':
 
 										gs 'arousal', 'end'
 										gs 'stat'
-
 										act 'Head outside':gt 'city_center'
 									end
 								end
@@ -421,11 +422,13 @@ if $ARGS[0] = 'bj':
 	end
 end
 
+
 !only triggers if the player has enough money, 5000 rubles
 if $ARGS[0] = 'bribe':
 	*clr & cla
 	minut += 10
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/offermoney.jpg"></center>'
 	'You look the security guard straight in the eyes, "I can offer you money if you let me go."'
 	'The security guard begins to chuckle, "You? Offer me money? Don''t be silly girl, you can''t possibly bribe me... Where would you have the money for that..."'
@@ -436,6 +439,7 @@ if $ARGS[0] = 'bribe':
 		*clr & cla
 		minut += 5
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/offermoney.jpg"></center>'
 		'"You want my honest answer?" you look at him, a serious expression on your face, "Simply put, because I can and the adrenaline kick is amazing!"'
 		'The security guard smirks, "So you''re only doing it for the fun of it?"'
@@ -449,6 +453,7 @@ if $ARGS[0] = 'bribe':
 			minut += 5
 			pcs_money -= 5000
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/offermoney.jpg"></center>'
 			'You burst out in laughter, "Fine, fine. I''ll pay up don''t worry... Relax, I was only joking around with you."'
 			'"Sure, sure... Hurry up now, show me the money before anyone shows up..." he hurries you on.'
@@ -463,12 +468,14 @@ if $ARGS[0] = 'bribe':
 			*clr & cla
 			minut += 5
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
 			'You shake your head, "I''m not interested in paying you off. Do your worst..." you challenge him.'
 			'His face turns red with anger as he turns away from you and walks out of the office...'
 			*nl
 			'Some minutes pass while you patiently wait for him to return. You closely pay attention to every little sound happening outside the office. All of a sudden, you hear footsteps and someone opening the door...'
 			'To your dismay, you see the security guard has returned with a police officer in tow. "There she is officer. This girl was stealing from the supermarket. We''ve got evidence and everything," the guard states, clearly irritated by your arrogance.'
+			*nl
 			'The officer sighs and determinedly walks over to you, "Turn around girl, I need to cuff you..."'
 			'Without uttering a word, you turn around and let the officer cuff you. The cuffs are sitting tight, but you refuse to give the security guard the smallest satisfaction by letting him know that.'
 			'The police officer chats with the security guard before leading you away to the police station...'
@@ -478,10 +485,12 @@ if $ARGS[0] = 'bribe':
 	end
 end
 
+
 if $ARGS[0] = 'quiet':
 	*clr & cla
 	minut += 10
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/quiet.jpg"></center>'
 	'All of a sudden you hesitate. Why should you offer him anything? You might as well keep quiet as the end result will still be the same.'
 	'"Well girl, don''t test my patience, I don''t have all the day. Tell me now what do you have to offer."'
@@ -492,9 +501,11 @@ if $ARGS[0] = 'quiet':
 		*clr & cla
 		minut += 10
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
 		'Some minutes pass while you patiently wait for him to return. You closely pay attention to every little sound happening outside the office. All of a sudden, you hear footsteps and someone opening the door...'
 		'To your dismay, you see the security guard has returned with a police officer in tow. "There she is officer. This girl was stealing from the supermarket. We''ve got evidence and everything," the guard states, clearly irritated by your arrogance.'
+		*nl
 		'The officer sighs and determinedly walks over to you, "Turn around girl, I need to cuff you..."'
 		'Without uttering a word, you turn around and let the officer cuff you. The cuffs are sitting tight, but you refuse to give the security guard the smallest satisfaction by letting him know that.'
 		'The police officer chats with the security guard before leading you away to the police station...'
@@ -503,12 +514,14 @@ if $ARGS[0] = 'quiet':
 	end
 end
 
-!One-off event, happens as you''ve squealed on the security guard to the police, add toldonguard = 1 so that the event triggers
+
+!One-off event, happens as you''ve squealed on the security guard to the police, add policeQW['toldonguard'] = 1 so that the event triggers
 if $ARGS[0] = 'punish':
-	toldonguard = 0
+	policeQW['toldonguard'] = 0
 	*clr & cla
 	minut += 10
 	gs 'stat'
+
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge1.jpg"></center>'
 	'The guard forcefully drags you into the room and shoves you towards the chair. "Well well, look who''s back... if it isn''t the little rat!" he heatedly comments.'
 	'<i>Fuck it''s the same guard, now you''ve done it, <<$pcs_nickname>>, get prepared for whatever awaits you... your fate is in his hands...</i>'
@@ -518,6 +531,7 @@ if $ARGS[0] = 'punish':
 		*clr & cla
 		minut += 5
 		gs 'stat'
+
 		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge2.jpg"></center>'
 		'You squirm and look apologetically at him. "Please... You have to believe me, I didn''t have any option. They made me confess that you forced yourself onto me..." you try to deceive him.'
 		'Fuming, he lunges towards you, "Listen here, you little slut. I don''t give a shit if they forced you into anything. You ratted and you need to be taught a lesson."'
@@ -527,65 +541,63 @@ if $ARGS[0] = 'punish':
 		act 'Squeak':
 			*clr & cla
 			gs 'pain', 4, 'breasts', 'twist'
+			gs 'arousal', 'foreplay', 5, 'sub', 'humiliation'
 			gs 'stat'
+
 			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge3.jpg"></center>'
 			'Before you''re able to react to what he''s saying, you feel a cold hand sliding down your body towards your breasts.'
 			'Reacting instinctively, you look up only to see the security guard''s eyes filled with rage and arousal. His hand keeps sliding down, and it doesn''t take long before he is fondling one of your breasts.'
 			'You let out a soft moan as he softly touches your nipple, making you shiver with excitement. "You''re enjoying yourself, aren''t you slut?" he inquires as you let out another moan as an answer.'
 			'All of a sudden, you can feel the mood change as he violently grabs hold of your breast and starts roughly kneading it. "It''s not one of those times where you''re supposed to feel excited, slut." The pain you feel in your breast is almost unbearable.'
 
-			gs 'arousal', 'foreplay', 5, 'sub', 'humiliation'
-			gs 'stat'
-
 			act 'Plead':
 				*clr & cla
 				gs 'npcgeneratec', 0, 'Security Guard', 42
 				gs 'boyStat', $npclastgenerated
-
+				gs 'arousal', 'bj', 5, 'sub', 'humiliation', 'deepthroat'
 				gs 'stat'
+
 				'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge4.jpg"></center>'
 				'In sheer desperation, you begin to look for a way to convince him to stop. You try looking at him pleadingly but to no avail. Next you try to speak up, but he kneads your breast even harder. "Want this to stop?" he asks.'
 				'Urgently wanting that, you uncontrollably nod. "On your knees then whore. I want you to go deep and don''t you dare let me feel those teeth either," he says as he lets go of your sore breast.'
 				'You quickly get down on your knees and unbutton his pants, exposing his bare cock. You grab hold of his shaft and gently lick on his glans to get him ready. You open your mouth and wrap your lips around his cock and slowly begin working your way up and down.'
+				*nl
 				'While you''re doing this, you hear an annoyed sigh, and you feel a hand on the back of your head locking you in. Without any hesitation, the security guard begins thrusting, going deeper with every thrust. "Remember what I said, I don''t want to feel any teeth!"'
 				'Fearing what he might do, you try your best to accommodate him. His thrusts become more rapid, and he goes really deep down your throat. There are several times you feel that you''re close to throwing up. "Lube it up whore if you don''t want to feel any pain..." you hear him say as you gag once more on his cock.'
 
-				gs 'arousal', 'bj', 5, 'sub', 'humiliation', 'deepthroat'
-				gs 'stat'
-
 				act 'Comply':
 					*clr & cla
 					gs 'pain', 7, 'vaginal', 'tear'
+					gs 'arousal', 'vaginal', 10, 'sub', 'humiliation', 'rough'
 					gs 'stat'
+
 					'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge5.jpg"></center>'
 					'"That''s enough of that!" he yells out as he pulls quickly out of your mouth with a wet plop. He grabs you harshly by the shoulders and leads you over to the desk, which he bends you over, giving him a full look at your orifices.'
 					'"Which one should we take," he teases as you await him to decide, hoping whichever he picks he''ll be gentle. "This one will suffice today!" he declares as he furiously pushes inside your pussy without any care in the world. As he penetrates, you let out a loud scream from the sheer pain you''re experiencing.'
 					'"Scream as much as you want!" he yells out between his thrusts, "It only turns me on even more!" he continues frantically pounding you. He''s going deep, and you can feel his cock hitting your cervix.'
 					'After a few minutes, you expect him to slow down, but he persists, grabbing you by the hair and continuing on pounding you, leaving you in despair between pain and pleasure.'
 
-					gs 'arousal', 'vaginal', 10, 'sub', 'humiliation', 'rough'
-					gs 'stat'
-
 					act 'Keep going':
 						*clr & cla
 						gs 'cum_call', 'breasts', 'Security guard'
 						spafinloc = 15
+						gs 'arousal', 'vaginal', 5, 'sub', 'humiliation', 'rough'
 						gs 'stat'
+
 						'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge6.jpg"></center>'
 						'You can feel your excitement being built up as you near an orgasm and prepare for it. The security guard is still pounding you away, but you''ve adjusted really well, and by now, you''re feeling more pleasure than pain.'
 						'You''re loudly moaning but so is he as your pussy walls tighten and squish his cock. Just as you''re about to orgasm, he pulls out, leaving your hole empty, craving for his cock to enter you again. "Did you really expect that I would let you orgasm?" he smirks, "Didn''t I tell you no pleasure for you today!"'
 						'You look meekly at him as he pushes you down on your knees and begins jerking off himself. You''re still feeling cheated on your orgasm and pout as he begins to groan, and it doesn''t take long before your breasts are covered by his warm cum.'
 						'He gives his cock a few more jerks, making sure he''s drained it, and he keenly looks at your chest, admiring his work. As everything settles down, you almost tear up, reminded by the pain you feel in your vagina and breast.'
 
-						gs 'arousal', 'vaginal', 5, 'sub', 'humiliation', 'rough'
-						gs 'stat'
-
 						act 'Get dressed':
 							*clr & cla
 							minut += 20
 							cumspclnt = 16
 							gs 'cum_cleanup'
+							gs 'arousal', 'end'
 							gs 'stat'
+
 							'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/revenge/revenge7.jpg"></center>'
 							!Clean yourself up as he watches, can''t believe what you''ve just done, he calls the cops and threatens Sveta not to say anything cause next time he won''t be this gentle
 							'"Here, get cleaned up and dress yourself!" he hands you over a towel. The security guard remains observing you while you clean yourself up, making sure you do it properly not leaving a trace behind.'
@@ -595,10 +607,284 @@ if $ARGS[0] = 'punish':
 							'Some minutes pass by, and you hear several voices approaching the door. As it opens up, you see the security guard standing there with a police officer. "This one?" the officer asks as he points at you. The security guard nods his head, "Yeah she''s a real pain in the ass."'
 							'The officer walks over to you, cuffs you and begins leading you away. As you''re being led by the security guard, he flashes you a smile, mocking you.'
 
-							gs 'arousal', 'end'
+							act 'Go to the police station': gt 'police_station', 'entrance', 'shplft'
+						end
+					end
+				end
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'pav':
+	act 'Attempt to steal':
+		*clr & cla
+		menu_off = 1
+		observ_exp += 5
+		picrand = rand(0,7)
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/steal<<picrand>>.jpg"></center>'
+		'Standing in front of the make-up section of the supermarket, you nervously look over your shoulder to make sure none of the employees are able to spot you.'
+		'Seeing no one, you casually reach out for the make-up you usually use and tuck it away...'
+		'After looking around the cosmetic section for a while more, you decide it''s time to make your escape.'
+
+		act 'Leave the store':
+			*clr & cla
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/leave.jpg"></center>'
+			'"Okay <<$pcs_nickname>>, just act normal..." you sigh quietly as you step towards the exit, trying to not draw any attention towards yourself.'
+			'Don''t panic...'
+			'Walk casually...'
+			'Almost there...'
+			'Don''t panic...'
+			'Walk casually...'
+			'Almost there...'
+			'The exit of the supermarket comes closer and closer with every step, and you try to do whatever you can to control your nerves.'
+
+			if ((pcs_observ+pcs_persuas > 50) and (hour = 12 or hour = 17)) or pcs_observ+pcs_persuas > 150 or rand(0,4) > 0:
+				!if observation and persuasion = sufficient: and certain time of the day (when the store is full with people)
+				mc_inventory['cosmetics'] += 50
+
+				'As you walk by the counters and leave the supermarket, you feel a rush of excitement. You''re almost there now, feeling relieved as well as triumphant. You''re going to make it for sure!'
+				'You feel your hands trembling in your pockets, getting worse with every step. No matter what you do, you can''t shake the feeling that someone must''ve spotted you... surely they''ve spotted you!'
+				'You desperately try to calm yourself down as with every step you get closer to the exit. No one seems to be stopping you so far... maybe you got lucky?'
+				'Before you know it, you''re standing outside, having managed to get away with your loot. You turn back one last time to make sure that no one is following you.'
+
+				act 'Keep on walking':gt 'pav_commercial'
+
+			elseif pcs_observ+pcs_persuas+pcs_run > 200:
+				!elseif observation, persuasion and running level = sufficient and certain time of day (less people around):
+				!ADD COOLDOWN ON ATTEMPT TO STEAL, TWO WEEKS
+
+				'You feel your hands trembling in your pockets, getting worse with every step. No matter what you do, you can''t shake the feeling that someone must''ve spotted you... surely they''ve spotted you!'
+				'You desperately try to calm yourself down as with every step you get closer to the exit. No one seems to be stopping you so far... maybe you got lucky?'
+				'You nervously look around, making sure there isn''t anyone following you as you pass the counter. All of a sudden, you see a guard appear and walk towards you...'
+
+				act 'Try to escape':
+					*clr & cla
+					minut += 10
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/running.jpg"></center>'
+					'Realizing he''s out after you and not wanting to get caught, you make a dash for it. You can''t get caught for a small thing like this.'
+
+					if pcs_run > 70:
+						!if running skills are over a certain level, higher than the first check
+						run_exp += 5
+						!Boost the stats observation and running by 1
+						mc_inventory['cosmetics'] += 50
+						'You keep running while the security guard follows close behind... You turn a corner and then quickly take another corner as you try to shake him off...'
+						'The guard is not easily giving up, but after a few minutes, you''ve managed to outrun him as you make your escape from the supermarket. You can hear the guard screaming behind you...'
+						act 'Catch your breath':gt 'pav_commercial'
+					else
+						shlif_caught += 1
+						!ADD 1 TO THE CAUGHT COUNTER
+						'You keep running while the security guard follows close behind... You turn a corner and then quickly take another corner as you try to shake him off...'
+						'But the guard is not easily giving up, and as you turn the corner, you reach a dead-end. You quickly try to turn around and run another way but it''s too late as you''re tackled.'
+						'Lying on the ground, the security guard quickly lifts you up and leads you toward the security room.'
+						act 'Get lead to the security room':gt 'shoplifting', 'securityroom_pav'
+					end
+				end
+
+			else
+				'You feel your hands trembling in your pockets, getting worse with every step. No matter what you do, you can''t shake the feeling that someone must''ve spotted you... surely they''ve spotted you!'
+				'You desperately try to calm yourself down as with every step you get closer to the exit. No one seems to be stopping you so far... maybe you got lucky?'
+				'You pass by the counter, and seeing no one reacting, you relax for a bit and let down your guard. Just as you''re about to leave through the entrance, you feel a hand grab you by the shoulder.'
+				'You instantly turn around, seeing a security guard is holding you and dragging you back inside. Before you''re even able to speak up, he is forcefully leading you back to his office.'
+
+				act 'Get dragged into the back room':gt 'shoplifting', 'securityroom_pav'
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'securityroom_pav':
+	*clr & cla
+	minut += 5
+	policeQW['shoplift_value'] = 1300
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/caught.jpg"></center>'
+	if shlif_caught = 0
+		'"Where are you taking me?" you shout out, "I haven''t done anything wrong!" You look around trying to catch someone''s attention. People are staring at you in disgust and turning their heads.'
+		'The security guard keeps quiet as he forcefully pushes you away from the supermarket. You go through a dark hallway and stop at a door, which he unlocks before pushing you inside.'
+		'He orders you to take a seat on a basic chair, and you quietly comply...'
+		'He sits down next to you and lets out a deep sigh, "You''re Anya''s little sister are you not?"'
+		'You brighten a bit, maybe he has a crush on your sister, so you nod. "Yes I am."'
+		'He frowns a bit. "Ok well I guess we all make mistakes. So I will let you off with just a warning this time, next time I am calling the cops. Got it?"'
+		'You nod. "Yes, thank you. Don''t you worry I won''t do it again." With that he takes the cosmetics you stole off you and then lets you out of his office.'
+
+		act 'Head outside':gt 'pav_commercial'
+
+	else
+		'"Where are you taking me?" you shout out, "I haven''t done anything wrong!" You look around trying to catch someone''s attention. People are staring at you in disgust and turning their heads.'
+		'The security guard keeps quiet as he forcefully pushes you away from the supermarket. You go through a dark hallway and stop at a door, which he unlocks before pushing you inside.'
+		'He orders you to take a seat on a basic chair, and you quietly comply...'
+		'He sits down next to you and lets out a deep sigh, "I gave you a chance last time and here we are again. So you might as well admit it, we have you on tape. Either way I will be calling the police to have your arrested this time."'
+
+		act 'Admit':
+			*clr & cla
+			minut += 5
+			gs 'stat'
+
+			'You hang your head in resignation, realizing there''s no denying that you''ve been caught. Your eyes tear up with crocodile tears as you try to come up with a way to get out of this, "I admit I''ve stolen..."'
+			'The guard clears his throat, "Well, that''s a start... Now I just need to call the police and have them come pick you up."'
+			'Pleadingly, you look at him, "Can''t we work something out? Do you really have to call the police?"'
+			'Looking at you, the security guard starts pondering, and after a short moment, he speaks up, "So what would you be able to offer me?"'
+
+			act 'Offer him a blowjob': gt 'shoplifting', 'bj_pav'
+			if pcs_money >= 5000: act 'Offer a bribe (5000 <b>₽</b>)': gt 'shoplifting', 'bribe_pav'
+			act 'Keep quiet': gt 'shoplifting', 'quiet_pav'
+		end
+
+		gs 'willpower', 'misc', 'self', 'medium'
+		if pcs_willpwr < will_cost:
+			act 'Deny (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+		else
+			act 'Deny':
+				*clr & cla
+				minut += 5
+				gs 'willpower', 'pay', 'self'
+				gs 'stat'
+
+				'You defiantly tell him that he''s grabbed the wrong person and that you have no idea what he''s talking about.'
+				'"Listen here, girl. We''ve got you on tape as you shoplifted and I already let you off because your sister works here." he says.'
+				'You know you''ve been caught, but you keep on sticking to you story, "That could be whoever on that tape, how can you prove that''s me?"'
+				'The security guard chuckles, "Don''t worry about that. I''ll call the police and they can deal with you."'
+				'"Wait!" you squeal, "We don''t need to get them involved..."'
+				'The security guard crosses his hands, "Why not?"'
+
+				act 'Offer him blowjob': gt 'shoplifting', 'bj_pav'
+				if pcs_money >= 5000: act 'Offer a bribe (5000 <b>₽</b>)': gt 'shoplifting', 'bribe_pav'
+				act 'Keep quiet': gt 'shoplifting', 'quiet_pav'
+			end
+		end
+	end
+end
+
+
+if $ARGS[0] = 'bj_pav':
+	*clr & cla
+	minut += 5
+	pav_securitybj += 1
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj1.jpg"></center>'
+	if pav_securitybj = 0
+		'"How about I give you a blowjob and you let me go?" you calmly suggest.'
+		'The security guard is taken aback a little by your suggestion, but it doesn''t take long before you notice a smirk on his face. "How about this, if you perform well enough, I''ll let you go, otherwise I''ll be calling the cops."'
+		'Not having lot of choice, you look him in the eyes and nod.'
+		'"Good! But before we begin I want a memento to remember you by," he adds as he pulls out his cellphone.'
+
+	else
+		'"How about I give you a blowjob again and you let me go?" you calmly suggest.'
+		'The security guard is taken aback a little by your suggestion, but it doesn''t take long before you notice a smirk on his face. "How about this, if you perform well enough, I''ll let you go, otherwise I''ll be calling the cops."'
+		'Not having lot of choice, you look him in the eyes and nod.'
+		'"Good! But before we begin I want a memento to remember you by," he adds as he pulls out his cellphone.'
+	end
+	act 'Take picture':
+		*clr & cla
+		minut += 2
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj2.jpg"></center>'
+		'You happily stand up and smile as you can hear his cellphone camera snap.'
+		'"This will do. I can''t wait to show you off to my friends," he tells you.'
+		'You can''t do anything more than smile and nod as you need to play along so he lets you go.'
+		'"That''s enough, girl! Time to get to it. Remove your clothes, let me see your naked body!" he commands.'
+
+		act 'Strip':
+			*clr & cla
+			gs 'arousal', 'foreplay', 5, 'sub'
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj3.jpg"></center>'
+			'You pleadingly look at him, but he turns his head around to avoid meeting your eyes. Seeing he won''t budge, you slowly start taking off your clothes.'
+			'The security guard''s gaze turns to you again, and he carefully watches as you remove one cloth after another as you try to cover up your naked body.'
+			'"Good job, girl! Look at your fine breasts. Don''t be shy and cover yourself, the plan is to arouse me..." he smirks, "Now get on your knees."'
+
+			act 'Get down on your knees':
+				*clr & cla
+				gs 'arousal', 'foreplay', 5, 'sub'
+				gs 'stat'
+
+				'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj4.jpg"></center>'
+				'You get down on your knees and wait while he rubs his cock through his pants.'
+				'After a short while, he unzips the pants and releases his cock. As it pops out, you let out a gasp, surprised by the massive size. "You''re way bigger than I expected," you say as you observe his stiff cock.'
+				'He lets out a laugh and jokes, "Are you sure that it will be able to fit in your mouth?"'
+
+				act 'Play with his glans':
+					*clr & cla
+					gs 'arousal', 'bj', 5, 'sub'
+					gs 'stat'
+
+					'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj5.jpg"></center>'
+					'Triggered by his joke and wanting to show him up, you slowly move your lips near his cock and give his glans a little kiss. You can hear him let out a soft groan. He must be really sensitive.'
+					'Feeling encouraged, you start moving your lips around his glans, letting out your tongue to tease his penis head.'
+					'The security guard doesn''t say anything and seems to be pleased by your performance...'
+					'You look up at him and give him a little smile, biting your lip before moving your tongue up and down his shaft...'
+
+					act 'Suck him off':
+						*clr & cla
+						gs 'arousal', 'bj', 5, 'sub'
+						gs 'stat'
+
+						'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj6.jpg"></center>'
+						'Not wanting to tease him anymore, you wrap your lips around his glans and slowly let the head glide deeper inside your mouth. You didn''t expect him to taste this good...'
+						'The security guard didn''t expect you to be this bold as you feel his whole body stiffen...'
+						'After a few moments, you pick up the pace, and before you know it, you''ve swallowed half his cock. You''re totally engulfed and even manage to forget why you''re sucking him off.'
+						'It doesn''t take long before his cock is twitching and he tells you to pull out before he cums...'
+
+						act 'Tug his cock':
+							*clr & cla
+							gs 'arousal', 'hj', 5, 'dom'
 							gs 'stat'
 
-							act 'Go to the police station': gt 'police_station', 'entrance', 'shplft'
+							'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj7.jpg"></center>'
+							'Disappointed, you pull out and let out a loud mouth sound as you remove your lips from his cock.'
+							'By now, the security guard is panting heavily, and you give him a minute to recover before you start tugging his cock.'
+							'You grab his cock quite hard, and you start quickly stroking him up and down. You''re enjoying yourself as you''re in command and he''s at your mercy.'
+							'You notice a little pre-cum come out, and you feel this urge to slow down and tease him as you want to drag this out for as long as possible...'
+
+							act 'Let him cum':
+								*clr & cla
+								gs 'cum_call', 'breasts', 'Security guard'
+								spafinloc = 15
+								gs 'arousal', 'hj', 2, 'dom'
+								gs 'stat'
+
+								'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj8.jpg"></center>'
+								'"Don''t you dare slowing down!" he manages to yell out just as you start to...'
+								'Surprised by his reaction, you quickly pick up the pace, and as your hand moves up and down his cock, it stops twitching and gets really stiff. After two more tugs, he shoots all over your chest area...'
+								'As you look down, you notice you''re covered in his thick cum... You give his cock a few more tugs to get it all out and then let go of it as it continues to twitch.'
+								'"Get cleaned up, and I''ll be back soon!" he tells you as he zips his pants and leaves the office...'
+
+								act 'Wait':
+									!A random decider if he will still call the cops on Sveta or not
+									!Need to add a cum cleaner function
+									*clr & cla
+									minut += 10
+									cumspclnt = 16
+									gs 'cum_cleanup'
+									gs 'arousal', 'end'
+									gs 'stat'
+
+									'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/sex/bj/bj9.jpg"></center>'
+									'You clean yourself up and get dressed as soon you hear the door close. There''s nothing more to do than patiently sit and wait for the security guard to return.'
+									'You closely pay attention to every little sound happening outside the office, hoping that he''ll return soon and let you go. All of a sudden you hear footsteps and someone opening the door...'
+									*nl
+									'The door opens, and thankfully, there''s only the security guard standing there holding a video cassette in his hand. "Sorry for the wait, it took me a while to get hold of the cassette."'
+									'Your face brightens as you know that he went through all sorts of trouble to leave no trace behind that you''ve ever been here.'
+									'"Here take the tape and destroy it," he states, "Be gone now before anyone spots you and we both get in trouble."'
+									'You nod and hurriedly jump away from the chair, grabbing the tape as you walk by the security guard...'
+
+									act 'Head outside':gt 'pav_commercial'
+								end
+							end
 						end
 					end
 				end
@@ -607,5 +893,99 @@ if $ARGS[0] = 'punish':
 	end
 end
 
+
+!only triggers if the player has enough money, 5000 rubles
+if $ARGS[0] = 'bribe_pav':
+	*clr & cla
+	minut += 10
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/offermoney.jpg"></center>'
+	'You look the security guard straight in the eyes, "I can offer you money if you let me go."'
+	'The security guard begins to chuckle, "You? Offer me money? Don''t be silly girl, you can''t possibly bribe me... Where would you have the money for that..."'
+	'You pout a little as you listen to him, "Just tell me how much you want, and I''ll pay you off..." As you finish, you give him a little wink.'
+	'"If you can afford the stuff, why did you steal?" he remarks.'
+
+	act 'Explain':
+		*clr & cla
+		minut += 5
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/offermoney.jpg"></center>'
+		'"You want my honest answer?" you look at him, a serious expression on your face, "Simply put, because I can and the adrenaline kick is amazing!"'
+		'The security guard smirks, "So you''re only doing it for the fun of it?"'
+		'Looking pleased, you give him a satisfied nod.'
+		'All of a sudden, he changes his posture, "I don''t usually do this, but if you give me 5000 <b>₽</b>, then we''re all good."'
+		'"And if I don''t?" you curiously inquire.'
+		'"You''ll have to face the consequences then..." he shortly replies.'
+
+		act 'Pay up':
+			*clr & cla
+			minut += 5
+			pcs_money -= 5000
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/offermoney.jpg"></center>'
+			'You burst out in laughter, "Fine, fine. I''ll pay up don''t worry... Relax, I was only joking around with you."'
+			'"Sure, sure... Hurry up now, show me the money before anyone shows up..." he hurries you on.'
+			'You keep on laughing as you hand over the money to him.'
+			'He quickly counts the money and then has you stand up and hurries you outside the office, pushing you on. He tells you which way to take and not to talk to anyone.'
+			'You give him a smile and thank him for being so nice to you... You turn around one last time to tease him before turning the corner.'
+
+			act 'Walk out':gt 'pav_commercial'
+		end
+
+		act 'Refuse':
+			*clr & cla
+			minut += 5
+			gs 'stat'
+
+			'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
+			'You shake your head, "I''m not interested in paying you off. Do your worst..." you challenge him.'
+			'His face turns red with anger as he turns away from you and walks out of the office...'
+			*nl
+			'Some minutes pass while you patiently wait for him to return. You closely pay attention to every little sound happening outside the office. All of a sudden, you hear footsteps and someone opening the door...'
+			'To your dismay, you see the security guard has returned with a police officer in tow. "There she is officer. This girl was stealing from the supermarket. We''ve got evidence and everything," the guard states, clearly irritated by your arrogance.'
+			'The officer sighs and determinedly walks over to you, "Turn around girl, I need to cuff you..."'
+			'Without uttering a word, you turn around and let the officer cuff you. The cuffs are sitting tight, but you refuse to give the security guard the smallest satisfaction by letting him know that.'
+			'The police officer chats with the security guard before leading you away to the police station...'
+
+			act 'Go to the police station': gt 'pav_station', 'entrance', 'shplft'
+		end
+	end
+end
+
+
+if $ARGS[0] = 'quiet_pav':
+	*clr & cla
+	minut += 10
+	gs 'stat'
+
+	'<center><img <<$set_imgh>> src="images/locations/city/shared/shoplift/quiet.jpg"></center>'
+	'All of a sudden you hesitate. Why should you offer him anything? You might as well keep quiet as the end result will still be the same.'
+	'"Well girl, don''t test my patience, I don''t have all the day. Tell me now what do you have to offer."'
+	'You give him a look full of disgust. You''re going to see this through, no matter the consequences.'
+	'"Well? Why did you go all quiet all of a sudden?" he demands. Then he walks out of the room.'
+
+	act 'Offer him blowjob': gt 'shoplifting', 'bj_pav'
+	if pcs_money >= 5000: act 'Offer a bribe (5000 <b>₽</b>)': gt 'shoplifting', 'bribe_pav'
+
+	act 'Wait':
+		*clr & cla
+		minut += 10
+		gs 'stat'
+
+		'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
+		'Some minutes pass while you patiently wait for him to return. You closely pay attention to every little sound happening outside the office. All of a sudden, you hear footsteps and someone opening the door...'
+		'To your dismay, you see the security guard has returned with a police officer in tow. "There she is officer. This girl was stealing from the supermarket. We''ve got evidence and everything," the guard states, clearly irritated by your arrogance.'
+		'The officer sighs and determinedly walks over to you, "Turn around girl, I need to cuff you..."'
+		'Without uttering a word, you turn around and let the officer cuff you. The cuffs are sitting tight, but you refuse to give the security guard the smallest satisfaction by letting him know that.'
+		'The police officer chats with the security guard before leading you away to the police station...'
+
+		act 'Go to the police station': gt 'pav_station', 'entrance', 'shplft'
+	end
+end
+
+
 --- shoplifting ---------------------------------
 

+ 14 - 2
locations/stat_display.qsrc

@@ -263,16 +263,27 @@ if mc_inventory['contraceptive_pill'] = 0 and pillsleft[ptype] = 0:
 	$stat_out_of_birth_control_msg = 'You need to buy more birth control pills'
 end
 
-if courthearing_date - 1 = daystart:
+
+if policeQW_courhearing_dates[0] - 1 = daystart:
 	$stat_court_msg = 'You have a court hearing tomorrow between 07:00 and 11:00. The court is located in the city center of St. Petersburg.'
 	$stat_court_tooltip = 'Court hearing tomorrow (07:00 and 11:00).'
-elseif courthearing_date = daystart and hour < 11:
+elseif policeQW_courhearing_dates[0] = daystart and hour < 11:
 	$stat_court_msg = 'You have a court hearing today between 07:00 and 11:00. The court is located in the city center of St. Petersburg.'
 	$stat_court_tooltip = 'Court hearing today (07:00 - 11:00).'
 else
 	$stat_court_msg = ''
 end
 
+if policeQW['legal_fine'] > 0:
+	$stat_fines_msg = 'You have outstanding fines totalling ₽<<policeQW[''legal_fine'']>> and you have <<policeQW[''fine_deadline'']-daystart>> days left to pay them. You can settle your debt at the post office.'
+	$stat_fines_tooltip = ''
+else
+	$stat_fines_msg = ''
+	$stat_fines_tooltip = ''
+
+end
+
+
 killvar '$stat_hypno_msg'
 killvar '$stat_hypno_tooltip'
 if hypnoAddict > 0:
@@ -1267,6 +1278,7 @@ if cheatStatusIcons = 0:
 	end
 
 	if $stat_court_msg ! '': $statusIconBarTab += '<td><a href="exec:msg $stat_court_msg"><img title="<<$stat_court_tooltip>>" height = <<set_siconht>> src="images/system/icons/status/court.png"></a></td>'
+	if $stat_fines_msg ! '': $statusIconBarTab += '<td><a href="exec:msg $stat_fines_msg"><img title="<<$stat_fines_tooltip>>" height = <<set_siconht>> src="images/system/icons/status/court.png"></a></td>'
 
 	if $stat_musiclesson_msg ! '': $statusIconBarTab += '<td><a href="exec:msg $stat_musiclesson_msg "><img title="<<$stat_musiclesson_tip>>" height = <<set_siconht>> src="images/system/icons/status/musiclesson.png"></a></td>'
 

+ 5 - 5
locations/street_walker.qsrc

@@ -569,7 +569,7 @@ if $ARGS[0] = 'policeblowjob':
 					else
 						act 'Finish him':
 							*clr & cla
-							prst_bribe = 2
+							policeQW['prostitution_bribe'] = 2
 							gs 'cum_call', 'mouth', 'a police officer', 1
 							'<center><img <<$set_imgh>> src="images/locations/city/shared/streetwalker/sex/bj4.jpg"></center>'
 							'You soon feel the hot splash of cum hitting your throat as spurt after spurt fills your mouth. He moans loudly as he fills your mouth with sperm, and you keep sucking until he stops. You sit up and show him your cum coated tongue before swallowing it. He gives you a brief smile, then quickly puts his dick away and rebuttons his pants.'
@@ -585,7 +585,7 @@ if $ARGS[0] = 'policeblowjob':
 			end
 		end
 	else
-		prst_bribe = 2
+		policeQW['prostitution_bribe'] = 2
 		*nl
 		'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
 		'"Are you trying to solicit an officer of the law?" he angrily responds.'
@@ -679,7 +679,7 @@ if $ARGS[0] = 'briberyreaction':
 		
 		act 'Walk away': gt 'street_walker', 'work'
 	elseif temp_rand <= 7:
-		prst_bribe = 1
+		policeQW['prostitution_bribe'] = 1
 		gs 'pain', 6, 'armL', 'break'
 		gs 'stat'
 		'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
@@ -689,7 +689,7 @@ if $ARGS[0] = 'briberyreaction':
 
 		act 'Drive to the police station': gt 'police_station', 'entrance', 'prst'
 	elseif temp_rand <= 9:
-		prst_bribe = 1
+		policeQW['prostitution_bribe'] = 1
 		'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
 		'The cop sighs heavily before taking the money and counting it, occasionally glancing your way as he does. "It''s one thing to be a whore, but to be dumb too?" he laughs cruelly as he pockets the money. You stare at him, hurt and confused before you realize that he''s still planning to arrest you. Your first instinct is to run, but if he''s being serious then it could mean you getting hurt.'
 		'"But... but I gave you the money..." you whine in defeat, but it only makes the sadistic grin on his face widen.'
@@ -709,7 +709,7 @@ if $ARGS[0] = 'briberyreaction':
 		act 'Agree': gt 'street_walker', 'policesub1'
 		act 'Refuse':
 			*clr & cla
-			prst_bribe = 1
+			policeQW['prostitution_bribe'] = 1
 			gs 'stat'
 			'<center><img <<$set_imgh>> src="images/locations/shared/police/arrested.jpg"></center>'
 			'"No... no, I can''t do that..." you tell him as you pull your hand back and pocket your money again. The officer looks disappointed but doesn''t seem to dwell on it. He probably has another girl like you he''s forced into fucking him...'

+ 2 - 3
locations/uni_dorm.qsrc

@@ -473,9 +473,8 @@ if $ARGS[0] = 'tenth_floor':
 	act 'Elevator': gt 'uni_dorm', 'elevator'
 
 	if func('homes_properties', 'has_access', 'university_dorm'):
-		if courtletter_date <= daystart and courtletter_date ! 0:
-			gt 'sentence', 'letter'
-		end
+		if policeQW_courtletter_dates[0] > 0 and daystart >= policeQW_courtletter_dates[0]: gt 'sentence', 'letter'
+
 		act 'Your room': gt 'uni_dorm', 'dorm_room'
 		act 'Go to the shared kitchen': gt 'uni_dorm', 'dorm_kitchen'
 		act 'Go to the shared shower': gt 'vann', 'start'

Some files were not shown because too many files changed in this diff