Browse Source

[added] willpower checks to katalkin when paying fines

sovietmercader 4 years ago
parent
commit
b6b0a3c491
1 changed files with 67 additions and 14 deletions
  1. 67 14
      locations/katalkin.qsrc

+ 67 - 14
locations/katalkin.qsrc

@@ -17,7 +17,7 @@ if hour >= 8 and hour < 22:
 				gs 'stat'
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
 				'You agree and sit down at a table near his desk, while captain Katalkin pours two cups of tea. He puts the two cups on the table and sits down next to you. While you chat about Pavlovsk, you can tell he''s practically undressing you with his eyes. Suddenly, you feel his hand resting on your thigh, gently squeezing it. You quietly begin to sputter some objections just as he moves his face closer to yours and cuts you off: "You''re cute, miss. You have to forgive me, us police officers are just people too..."'
-				
+
 				gs 'willpower', 'sex', 'resist', 'hard'
 				if will_cost <= pcs_willpwr:
 					act 'Leave (<<will_cost>> Willpower)':
@@ -29,7 +29,7 @@ if hour >= 8 and hour < 22:
 				else
 					act 'Leave (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
 				end	
-				
+
 				act 'Do not move':gt 'katalkinSex','sex'
 			end
 		elseif schtraf > 0:
@@ -71,9 +71,8 @@ if hour >= 8 and hour < 22:
 				'You can''t go to jail! You try to look cute and innocent for him when you say: "Please sir, I can''t go to jail! Can''t you let me go just this once?"'
 				'He checks to make sure the room is empty, and turns his face to you. His eyes are exploring your body while he puts his sweaty hand on your knee: "Well, we might be able to arrange something..."'
 
+				'You think to yourself: "Do I really have to sex with him, just to avoid a fine? '+iif(money >= schtraf,'I do have the money, so I could just pay..."','I can''t afford to pay the fine. If I have to have sex with him to avoid going to jail, I guess that''s something I might be willing to do..."')
 				if money >= schtraf:
-					'You think to yourself: "Do I really have sex with him, just to avoid a fine? I do have the money, so I could just pay..."'
-
 					act 'Pay the fine after all':
 						*clr & cla
 						money -= schtraf
@@ -85,10 +84,32 @@ if hour >= 8 and hour < 22:
 
 						act 'Leave the police station':minut += 1 & gt 'pavtrainhall'
 					end
-				elseif money < schtraf:
-					'You think to yourself: "I can''t afford to pay the fine. If I have to have sex with him to avoid going to jail, I guess that''s just the way it has to be..."'
-					
-					act 'Smile at him':gt 'katalkinSex','sex'
+				else
+					act 'Spend the night in jail':
+						*clr & cla
+						money = 0
+						schtraf = 0
+						katalkinNoexit = 0
+						kutime = 24
+						gs 'stat'
+						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
+						'You shake your head sadly: "I''m sorry officer, I can''t afford that."'
+						'He looks at you indifferently and says in a matter-of-factly tone: "In that case, you spend the next 24 hours in jail."'
+						'He collects your possessions, and counts out the money you do have. You lose that money, but because you can''t pay the full amount you have to spend the next 24 hours in jail. He tells you to follow him and guides you to a prison cell.'
+
+						act 'Enter the prison cell':gt 'kutuzka'
+					end
+				end
+
+				gs 'willpower', 'sex', 'self', 'hard'
+				if will_cost <= pcs_willpwr:
+					act 'Accept his offer (<<will_cost>> Willpower)':
+						gs 'willpower', 'pay', 'self'
+						gs 'stat'
+						gt 'katalkinSex','sex'
+					end
+				else
+					act 'Accept his offer (<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
@@ -112,16 +133,36 @@ if hour >= 8 and hour < 22:
 			'Captain Katalkin has a greedy smile on his face when he asks: "Well <<$pcs_nickname>>, I see you have to pay a fine. Do you have the money, or are you going to entertain me to make it go away?"'
 
 			if money >= schtraf:
-				act 'Give him the money':
+				gs 'willpower', 'sex', 'resist', 'hard'
+				if will_cost <= pcs_willpwr:
+					act 'Give him the money (<<will_cost>> Willpower)':
+						*clr & cla
+						money -= schtraf
+						schtraf = 0
+						katalkinNoexit = 0
+						gs 'stat'
+						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
+						'You see a tinge of regret in his face when you give him the money. "Oh. Very well then, miss <<$pcs_lastname>>. You''re free to go."'
+
+						act 'Leave the police station':minut += 1 & gt 'pavtrainhall'
+					end
+				else
+					act 'Give him the money (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
+				end
+			else
+				act 'Spend the night in jail':
 					*clr & cla
-					money -= schtraf
+					money = 0
 					schtraf = 0
 					katalkinNoexit = 0
+					kutime = 24
 					gs 'stat'
 					'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/katalkin/katalkin.jpg"></center>'
-					'You see a tinge of regret in his face when you give him the money. "Oh. Very well then, miss <<$pcs_lastname>>. You''re free to go."'
+					'You shake your head sadly: "I''m sorry officer, I can''t afford that."'
+					'He looks at you with regret and says: "In that case, you spend the next 24 hours in jail."'
+					'He collects your possessions, and counts out the money you do have. You lose that money, but because you can''t pay the full amount you have to spend the next 24 hours in jail. He tells you to follow him and guides you to a prison cell.'
 
-					act 'Leave the police station':minut += 1 & gt 'pavtrainhall'
+					act 'Enter the prison cell':gt 'kutuzka'
 				end
 			end
 
@@ -200,12 +241,13 @@ elseif hour >= 22:
 					end
 				else
 					act 'Leave (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
-				end	
-				
+				end
+
 				act 'Do not move':gt 'katalkinSex','sex'
 			end
 		elseif schtraf > 0:
 			'Captain Katalkin looks at you with an uninterested look in his eyes. Even though he''s drunk, he won''t let you off the hook: "You have to pay a fine of <<schtraf>> <b>₽</b>. Once you pay, you can go."'
+			'He checks to make sure the room is empty, and turns his face to you. His eyes are exploring your body while he puts his sweaty hand on your knee: "Even if you don''t have the money, well, we might be able to arrange something..."'
 
 			if money >= schtraf:
 				act 'Pay the fine':
@@ -235,6 +277,17 @@ elseif hour >= 22:
 					act 'Enter the prison cell':gt 'kutuzka'
 				end
 			end
+
+			gs 'willpower', 'sex', 'self', 'hard'
+			if will_cost <= pcs_willpwr:
+				act 'Accept his offer (<<will_cost>> Willpower)':
+					gs 'willpower', 'pay', 'self'
+					gs 'stat'
+					gt 'katalkinSex','sex'
+				end
+			else
+				act 'Accept his offer (<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
 end