Browse Source

[added] Seeded the letter from the court to various hallways
Now get court hearing and fines but community service still pending and no consequences for missing court date.

KevinSmarts 5 years ago
parent
commit
680a298ec4

+ 1 - 0
locations/dorm.qsrc

@@ -101,6 +101,7 @@ if $ARGS[0] = 'korr':
 	end
 
 	if student > 0:
+		gs 'sentence', 'letter'
 		act 'Your room':gt 'obroom', 'start'
 
 		act 'Go to the shared kitchen':

+ 6 - 4
locations/korr.qsrc

@@ -2,14 +2,16 @@
 
 music_loop = 0
 CLOSE ALL
-$metkaM = $ARGS[0]
-$locM = $CURLOC
-$metka = $ARGS[0]
-$loc = $CURLOC
+$metkaM = ''
+$locM = 'korr'
+$metka = ''
+$loc = 'korr'
 $location_type = 'private'
 killvar '$locclass'
 if sound = 0:PLAY 'sound/korr.mp3',30
 
+gs 'sentence', 'letter'
+
 if lesbiday + 14 <= daystart and lesbiQW >= 11 and hour >= 19 and santehnikDolg = 0:
 	if RAND(0,100) > 82 and husband = 0:
 		gt 'lesbimistress','mistvisit'

+ 3 - 0
locations/korr2x.qsrc

@@ -26,6 +26,9 @@ else
 	bcolor = rgb(255, 255, 255)
 	lcolor = rgb(106, 90, 205)
 end
+
+gs 'sentence', 'letter'
+
 '<center><b><font color = maroon>Corridor</font></b></center>'
 '<center><img <<$set_imgh>> src="images/locations/oldtown/apartment/korr2x.jpg"></center>'
 

+ 7 - 4
locations/korrPar.qsrc

@@ -4,10 +4,10 @@ music_loop = 0
 CLOSE ALL
 if sound = 0:PLAY 'sound/korr.mp3',30
 
-$metkaM = $ARGS[0]
-$locM = $CURLOC
-$metka = $ARGS[0]
-$loc = $CURLOC
+$metkaM = ''
+$locM = 'korrPar'
+$metka = ''
+$loc = 'korrPar'
 $location_type = 'private'
 killvar '$locclass'
 clr
@@ -27,6 +27,9 @@ else
 	bcolor = rgb(255, 255, 255)
 	lcolor = rgb(106, 90, 205)
 end
+
+gs 'sentence', 'letter'
+
 if hour ! 18 and blockBedrPar = 1:blockBedrPar = 0
 
 if blockBedrPar = 0:

+ 2 - 0
locations/pavSharedApt.qsrc

@@ -206,6 +206,8 @@ if $ARGS[0] = 'start':
 	minut += 2
 	gs 'stat'
 
+	gs 'sentence', 'letter'
+
 	! do this once a day
 	if daystart >= tomorrow:
 		tomorrow = daystart + 1

+ 2 - 2
locations/police_station.qsrc

@@ -1456,7 +1456,7 @@ if $ARGS[0] = 'returncell':
 				'"Go on before they change their mind," she smiles.'
 				'You say good bye to each other and the officer leads you towards the entrance and as the police station doors open you can feel the fresh wind breeze against your face.'
 
-				Sentence_date = daystart + 7
+				courtletter_date = daystart + 7
 				act 'Walk outside':gt 'down'
 
 			end
@@ -1473,7 +1473,7 @@ if $ARGS[0] = 'returncell':
 		'Some time passes by and the cell door opens, "<<$pcs_lastname>>, it''s your time to get released."'
 		'You quickly jump up and hurry out from the holding cell. The officer leads you towards the entrance and as the police station doors open you can feel the fresh wind breeze against your face.'
 
-		Sentence_date = daystart + 7
+		courtletter_date = daystart + 7
 		act 'Walk outside':gt 'down'
 	end
 end

+ 335 - 309
locations/sentence.qsrc

@@ -1,34 +1,44 @@
 # sentence
 
 !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
 if $ARGS[0] = 'letter':
-	if sentencing_letter < 10:
-		sentencing_letter += 1
-		*clr & cla
-		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.'
-		'Going through the letter you read that you''ve been summoned to appear in court a week from now.'
-		'<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 into the apartment': gt 'korr'
-		! or 'etoexhib', 'pos51'
-	else
-
-		!after ten times Sveta gets an envelope home
-		*clr & cla
-		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 courtletter_date <= daystart and 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
+			*clr & cla
+			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.'
+			else
+				'Going through the letter you read that you''ve been summoned to appear in court on Monday, a week from now.'
+			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 into the apartment': gt $loc, $metka
+			! or 'etoexhib', 'pos51'
+		else
+
+			!after ten times Sveta gets an envelope home
+			*clr & cla
+			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...'
 
-		act 'Continue into the apartment': gt 'korr'
-		! or 'etoexhib', 'pos51'
+			act 'Continue into the apartment': gt $loc, $metka
+			! or 'etoexhib', 'pos51'
+		end
 	end
 end
 
@@ -44,6 +54,9 @@ if $ARGS[0] = 'start':
 	'<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 St Petersburg region.'
 	'There are many statues of political and legal figures in the region going right back to a bust of Catherine the Great.'
+
+	if courthearing_date = daystart and hour >= 7 and hour < 11:
+		act 'Go to your hearing': gt 'sentence', 'hearing'
 	act 'Leave': gt 'down'
 end
 
@@ -75,7 +88,7 @@ if $ARGS[0] = 'hearing':
 			'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 shoplifted
+			if shplft_tmp = 1:
 				act 'Stand in front of the judge':
 					*clr & cla
 					minut += 20
@@ -85,7 +98,7 @@ if $ARGS[0] = 'hearing':
 					'You sink your glance in shame and nod meekly.'
 					'The judge continues on, "Let''s see what the detectives concluded during their investigation."'
 
-					!if easy-going detective
+					if $detec_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.'
@@ -93,12 +106,12 @@ if $ARGS[0] = 'hearing':
 
 						!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.'
+							!!'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
 							'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.'
@@ -107,7 +120,7 @@ if $ARGS[0] = 'hearing':
 							act 'Await punishment': gt 'sentence', 'punishment'
 						!end
 
-					!else if normal detective
+					elseif if $detec_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.'
@@ -115,12 +128,12 @@ if $ARGS[0] = 'hearing':
 
 						!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.'
+							!!'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
 							'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.'
@@ -129,7 +142,7 @@ if $ARGS[0] = 'hearing':
 							act 'Await punishment': gt 'sentence', 'punishment'
 						!end
 
-					!else
+					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."'
 						'You look nonchalantly at the judge, almost ignoring what he has to say.'
 						'"Well as you''ve already admitted being guilty, no need listening to your pleading," he sternly looks at you.'
@@ -137,12 +150,12 @@ if $ARGS[0] = 'hearing':
 
 						!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.'
+							!!'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
 							'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.'
@@ -150,10 +163,10 @@ if $ARGS[0] = 'hearing':
 
 							act 'Await punishment': gt 'sentence', 'punishment'
 						!end
-					!end
+					end
 				end
 
-			!elseif prostitution
+			elseif prst_tmp = 1:
 				act 'Stand in front of the judge':
 					*clr & cla
 					minut += 20
@@ -163,19 +176,19 @@ if $ARGS[0] = 'hearing':
 					'You sink your glance in shame and nod meekly.'
 					'The judge continues on, "Let''s see what the detectives concluded during their investigation."'
 
-					!if easy-going detective
+					if $detec_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.'
+							!!'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
 							'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.'
@@ -184,7 +197,7 @@ if $ARGS[0] = 'hearing':
 							act 'Await punishment': gt 'sentence', 'punishment'
 						!end
 
-					!else if normal detective
+					elseif if $detec_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.'
@@ -192,12 +205,12 @@ if $ARGS[0] = 'hearing':
 
 						!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.'
+							!!'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
 							'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.'
@@ -206,7 +219,7 @@ if $ARGS[0] = 'hearing':
 							act 'Await punishment': gt 'sentence', 'punishment'
 						!end
 
-					!else
+					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."'
 						'You look nonchalantly at the judge, almost ignoring what he has to say.'
 						'"Well as you''ve already admitted being guilty, no need listening to your pleading," he sternly looks at you.'
@@ -214,12 +227,12 @@ if $ARGS[0] = 'hearing':
 
 						!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.'
+							!!'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
 							'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.'
@@ -227,7 +240,7 @@ if $ARGS[0] = 'hearing':
 
 							act 'Await punishment': gt 'sentence', 'punishment'
 						!end
-					!end
+					end
 				end
 			!end
 		end
@@ -254,151 +267,162 @@ if $ARGS[0] = 'punishment':
 	! 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
 
-	!Stage 1
-		!present how much the player needs to pay
-		!if easy going detective
-			'"I hereby sentence you to a fine of <<sum>> <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 'down'
-
-		!else if normal detective
-			'"I hereby sentence you to a fine of <<sum>> <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 'down'
-
-		!else
-			'"I hereby sentence you to a fine of <<sum>> <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 'down'
-		!end
-	!end
-
-	!Stage 2
-	!present how much the player needs to pay
-		!if easy going detective
-			'"Seems that I need to increase the fine for you to pay back to a sum of <<sum>> <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 'down'
-
-		!else if normal detective
-			'"Seems that I need to increase the fine for you to pay back to a sum of <<sum>> <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.'
+	if shplft_tmp = 1:
+		shplft_counter += 1
 
-			act 'Leave the court':gt 'down'
-
-		!else
-			'"I sentence you hereby to pay back a sum of <<sum>> <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 'down'
-		!end
-	!end
+		if shplft_counter <= 5:
+			!present how much the player needs to pay
+			if $detec_type = 'easy':
+				sum = 5000 + (shplft_value/2)
+				'"I hereby sentence you to a fine of <<sum>> <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.'
 
-	!Stage 3
-		!if easy going detective
-			'"<<$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 <<sum>> <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 'down'
 
-			act 'Leave the court':gt 'down'
+			elseif if $detec_type = 'norm':
+				sum = 5000 + shplft_value
+				'"I hereby sentence you to a fine of <<sum>> <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.'
 
-		!else if normal detective
-			'"<<$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 <<sum>> <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 'down'
 
-			act 'Leave the court':gt 'down'
+			else
+				sum = 5000 + (shplft_value/2*3)
+				'"I hereby sentence you to a fine of <<sum>> <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.'
 
-		!else
-			'"<<$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 <<sum>> <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 'down'
-		!end
-	!end
-
-	!Stage 4
-		!if easy going detective
-			'"This is starting to get out of hand, <<$pcs_lastname>>!  Seems like I need to increase the fine even further to a sum of <<sum>> <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 'down'
-
-		!else if normal detective
-			'"This is starting to get out of hand, <<$pcs_lastname>>!  Seems like I need to increase the fine even further to a sum of <<sum>> <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 'down'
-
-		!else
-			'"This is starting to get out of hand, <<$pcs_lastname>>!  Seems like I need to increase the fine even further to a sum of <<sum>> <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 'down'
-		!end
-	!end
-
-	!Stage 5
-		!if easy going detective
-			'"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 <<sum>> <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 'down'
-
-		!else if normal detective
-			'"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 <<sum>> <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 'down'
-
-		!else
-			'"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 <<sum>> <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 'down'
-		!end
-	!end
-
-	!Stage 6
-		!if easy going detective
-			'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 <<sum>> <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 'down'
-
-		!else if normal detective
-			'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 <<sum>> <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 'down'
-
-		!else
-			'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 <<sum>> <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 'down'
-		!end
-	!end
+				act 'Leave the court':gt 'down'
+			end
+		elseif shplft_counter <= 10:
+		!present how much the player needs to pay
+			if $detec_type = 'easy':
+				sum = 7500 + (shplft_value/4*3)
+				'"Seems that I need to increase the fine for you to pay back to a sum of <<sum>> <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 'down'
+
+			elseif if $detec_type = 'norm':
+				sum = 7500 + (shplft_value/2*3)
+				'"Seems that I need to increase the fine for you to pay back to a sum of <<sum>> <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 'down'
+
+			else
+				sum = 7500 + (shplft_value*2)
+				'"I sentence you hereby to pay back a sum of <<sum>> <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 'down'
+			end
+		elseif shplft_counter <= 15:
+			if $detec_type = 'easy':
+				sum = 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 <<sum>> <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 'down'
+
+			elseif if $detec_type = 'norm':
+				sum = 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 <<sum>> <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 'down'
+
+			else
+				sum = 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 <<sum>> <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 'down'
+			end
+		elseif shplft_counter <= 20:
+			if $detec_type = 'easy':
+				sum = 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 <<sum>> <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 'down'
+
+			elseif if $detec_type = 'norm':
+				sum = 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 <<sum>> <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 'down'
+
+			else
+				sum = 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 <<sum>> <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 'down'
+			end
+		elseif shplft_counter <= 25:
+			if $detec_type = 'easy':
+				sum = 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 <<sum>> <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 'down'
+
+			elseif if $detec_type = 'norm':
+				sum = 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 <<sum>> <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 'down'
+
+			else
+				sum = 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 <<sum>> <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 'down'
+			end
+		else
+			if $detec_type = 'easy':
+				sum = 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 <<sum>> <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 'down'
+
+			elseif if $detec_type = 'norm':
+				sum = 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 <<sum>> <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 'down'
+
+			else
+				sum = 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 <<sum>> <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 'down'
+			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
@@ -408,151 +432,153 @@ if $ARGS[0] = 'punishment':
 	! 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
 
-	!Stage 1
-		!present how much the player needs to pay
-		!if easy going detective
-			'"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.'
+	elseif prst_tmp = 1:
+		!Stage 1
+			!present how much the player needs to pay
+			if $detec_type = 'easy':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else if normal detective
-			'"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.'
+			elseif if $detec_type = 'norm':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else
-			'"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.'
+			else
+				'"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 'down'
+				act 'Leave the court':gt 'down'
+			end
 		!end
-	!end
 
-	!Stage 2
-	!present how much the player needs to pay
-		!if easy going detective
-			'"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.'
+		!Stage 2
+		!present how much the player needs to pay
+			if $detec_type = 'easy':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else if normal detective
-			'"I need to increase the fine to 10500 <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.'
+			elseif if $detec_type = 'norm':
+				'"I need to increase the fine to 10500 <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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else
-			'"I sentence you hereby to pay back 11500 <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.'
+			else
+				'"I sentence you hereby to pay back 11500 <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 'down'
+				act 'Leave the court':gt 'down'
+			end
 		!end
-	!end
 
-	!Stage 3
-		!if easy going detective
-			'"<<$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.'
+		!Stage 3
+			if $detec_type = 'easy':
+				'"<<$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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else if normal detective
-			'"<<$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.'
+			elseif if $detec_type = 'norm':
+				'"<<$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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else
-			'"<<$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.'
+			else
+				'"<<$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 'down'
+				act 'Leave the court':gt 'down'
+			end
 		!end
-	!end
 
-	!Stage 4
-	!if easy going detective
-			'"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.'
+		!Stage 4
+			if $detec_type = 'easy':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else if normal detective
-			'"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.'
+			elseif if $detec_type = 'norm':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else
-			'"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.'
+			else
+				'"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 'down'
+				act 'Leave the court':gt 'down'
+			end
 		!end
-	!end
 
-	!Stage 5
-		!if easy going detective
-			'"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.'
+		!Stage 5
+			if $detec_type = 'easy':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else if normal detective
-			'"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.'
+			elseif if $detec_type = 'norm':
+				'"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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else
-			'"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.'
+			else
+				'"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 'down'
+				act 'Leave the court':gt 'down'
+			end
 		!end
-	!end
 
-	!Stage 6
-		!if easy going detective
-			'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.'
+		!Stage 6
+			if $detec_type = 'easy':
+				'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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else if normal detective
-			'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.'
+			elseif if $detec_type = 'norm':
+				'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 'down'
+				act 'Leave the court':gt 'down'
 
-		!else
-			'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.'
+			else
+				'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.'
 
-			act 'Leave the court':gt 'down'
+				act 'Leave the court':gt 'down'
+			end
 		!end
-	!end
+	end
 end
 
 

+ 1 - 0
locations/shoplifting.qsrc

@@ -98,6 +98,7 @@ if $ARGS[0] = 'securityroom':
 	!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
 	minut += 5
+	shplft_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.'

+ 3 - 0
locations/ymans.qsrc

@@ -16,6 +16,9 @@ else
 	bcolor = rgb(255, 255, 255)
 	lcolor = rgb(106, 90, 205)
 end
+
+gs 'sentence', 'letter'
+
 '<center><b><font color="maroon">House</font></b></center>'
 '<center>Hall</center>'
 '<center>The main hall of the mansion. From here you can visit the different rooms in the mansion.</center>'