1
0

sentence.qsrc 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. # sentence
  2. !if Sveta has a home, receives an envelope home from the court to appear. If possible make it trigger as Sveta enters the home
  3. !!shows up when courtletter_date = daystart
  4. !!adding a version if Sveta has gone to court and not paid the fine within 30 days
  5. !! gs 'add_fine', fine
  6. if $ARGS[0] = 'add_fine':
  7. policeQW['legal_fine'] += ARGS[1]
  8. temp_tot_missed = max(0, policeQW['tot_court_dates_missed'] + policeQW['tot_fines_deadlines_missed'])
  9. temp_current_missed = max(0, policeQW['missed_fine_deadlines'] + policeQW['missed_court_dates'] - 1)
  10. if policeQW['fine_deadline'] = 0:
  11. policeQW['fine_deadline'] = daystart + 28 - min(14, temp_tot_missed / 4)
  12. else
  13. policeQW['fine_deadline'] = max(daystart, policeQW['fine_deadline']) + 14 - min(7, 2 * temp_current_missed + temp_tot_missed / 4)
  14. end
  15. killvar 'temp_current_missed'
  16. killvar 'temp_tot_missed'
  17. end
  18. if $ARGS[0] = 'start':
  19. *clr & cla
  20. minut += 2
  21. gs'stat'
  22. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/courthouse.jpg"></center>'
  23. 'You are standing in the middle of the Greco-Roman inspired main courthouse for the whole city of St. Petersburg.'
  24. 'There are many statues of political and legal figures in the region going right back to a bust of Catherine the Great.'
  25. act 'Leave': gt 'city_center'
  26. if policeQW_courthearing_dates[0] = daystart and hour >= 7 and hour < 11: act 'Go to your hearing': gt 'sentence', 'hearing'
  27. if AlexandriaQW = 13:
  28. act 'Look for Filipp Kudashov''s office.': gt 'alexandriaEv', 'filipp'
  29. elseif PCloSport = 0 and pregchem < 1800 and AlexandriaQW = 15:
  30. act 'You found Ana': gt 'alexandriaEv', 'anachase1'
  31. end
  32. end
  33. if $ARGS[0] = 'hearing':
  34. minut += 10
  35. gs 'stat'
  36. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/entrance.jpg"></center>'
  37. '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.'
  38. '"Hello, my name is <<$pcs_firstname>> <<$pcs_lastname>> and I got this summon in the mail," you tell the woman sitting there.'
  39. 'She tells you to hand it over and looks through it and nonchalantly says, "Okay, head to courtroom number 5 and they''ll call out your name when it''s your turn."'
  40. 'Nervously you nod and head over to the designated courtroom.'
  41. act 'Head to the courtroom':
  42. *clr & cla
  43. minut += 10
  44. gs 'stat'
  45. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/courtroom.jpg"></center>'
  46. '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.'
  47. '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.'
  48. 'Hardly anyone pays attention to you as you walk in as there''s already a sentencing in process.'
  49. act 'Wait':
  50. *clr & cla
  51. minut += 120
  52. gs 'stat'
  53. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/wait.jpg"></center>'
  54. '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.'
  55. '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.'
  56. '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.'
  57. if mid($policeQW_courthearing_subjects[0], 1, 8) = 'shoplift':
  58. act 'Stand in front of the judge':
  59. *clr & cla
  60. minut += 20
  61. gs 'stat'
  62. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
  63. 'The judge speaks up with a stern voice, "So I see that you''re here because of you''ve gotten caught stealing."'
  64. 'You sink your glance in shame and nod meekly.'
  65. 'The judge continues on, "Let''s see what the detectives concluded during their investigation."'
  66. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  67. '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."'
  68. '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.'
  69. '"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
  70. '"Yes your honor." you respectfully answer.'
  71. !!do a check if the player missed any earlier sentencing
  72. if policeQW['missed_court_dates'] > 0:
  73. '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.'
  74. '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.'
  75. '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."'
  76. 'You try your best to hold back the tears as you nod that you understand.'
  77. act 'Await punishment': gt 'sentence', 'punishment'
  78. else
  79. '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.'
  80. 'You nod and take a deep breath as you await your punishment.'
  81. act 'Await punishment': gt 'sentence', 'punishment'
  82. end
  83. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  84. '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."'
  85. 'Suddenly, you feel a bit looser as you can probably expect a lighter sentencing than usual. You let out a relieving sigh.'
  86. '"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
  87. '"Yes your honor." you respectfully answer.'
  88. !!do a check if the player missed any earlier sentencing
  89. if policeQW['missed_court_dates'] > 0:
  90. '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.'
  91. '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.'
  92. '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."'
  93. 'You try your best to hold back the tears as you nod that you understand.'
  94. act 'Await punishment': gt 'sentence', 'punishment'
  95. else
  96. '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.'
  97. 'You nod and take a deep breath as you await your punishment.'
  98. act 'Await punishment': gt 'sentence', 'punishment'
  99. end
  100. else
  101. '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."'
  102. 'You look nonchalantly at the judge, almost ignoring what he has to say.'
  103. '"Well as you''ve already admitted being guilty, no need listening to your pleading," he sternly looks at you.'
  104. '"Whatever." you shrug your shoulders.'
  105. !!do a check if the player missed any earlier sentencing
  106. if policeQW['missed_court_dates'] > 0:
  107. '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.'
  108. '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.'
  109. '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."'
  110. 'You try your best to hold back the tears as you nod that you understand.'
  111. act 'Await punishment': gt 'sentence', 'punishment'
  112. else
  113. '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.'
  114. 'You nod and take a deep breath as you await your punishment.'
  115. act 'Await punishment': gt 'sentence', 'punishment'
  116. end
  117. end
  118. end
  119. elseif mid($policeQW_courthearing_subjects[0], 1, 12) = 'prostitution':
  120. act 'Stand in front of the judge':
  121. *clr & cla
  122. minut += 20
  123. gs 'stat'
  124. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
  125. 'The judge speaks up with a stern voice, "So I see that you''re here because of you''ve gotten caught prostituting."'
  126. 'You sink your glance in shame and nod meekly.'
  127. 'The judge continues on, "Let''s see what the detectives concluded during their investigation."'
  128. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  129. '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.'
  130. '"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
  131. '"Yes your honor." you respectfully answer.'
  132. !!do a check if the player missed any earlier sentencing
  133. if policeQW['missed_court_dates'] > 0:
  134. '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.'
  135. '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.'
  136. '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."'
  137. 'You try your best to hold back the tears as you nod that you understand.'
  138. act 'Await punishment': gt 'sentence', 'punishment'
  139. else
  140. '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.'
  141. 'You nod and take a deep breath as you await your punishment.'
  142. act 'Await punishment': gt 'sentence', 'punishment'
  143. end
  144. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  145. '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."'
  146. 'Suddenly, you feel a bit looser as you can probably expect a lighter sentencing than usual. You let out a relieving sigh.'
  147. '"Well as you''ve already admitted being guilty I guess we don''t need to listen to your pleading," he sternly looks at you.'
  148. '"Yes your honor." you respectfully answer.'
  149. !!do a check if the player missed any earlier sentencing
  150. if policeQW['missed_court_dates'] > 0:
  151. '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.'
  152. '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.'
  153. '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."'
  154. 'You try your best to hold back the tears as you nod that you understand.'
  155. act 'Await punishment': gt 'sentence', 'punishment'
  156. else
  157. '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.'
  158. 'You nod and take a deep breath as you await your punishment.'
  159. act 'Await punishment': gt 'sentence', 'punishment'
  160. end
  161. else
  162. '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."'
  163. 'You look nonchalantly at the judge, almost ignoring what he has to say.'
  164. '"Well as you''ve already admitted being guilty, no need listening to your pleading," he sternly looks at you.'
  165. '"Whatever." you shrug your shoulders.'
  166. !!do a check if the player missed any earlier sentencing
  167. if policeQW['missed_court_dates'] > 0:
  168. '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.'
  169. '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.'
  170. '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."'
  171. 'You try your best to hold back the tears as you nod that you understand.'
  172. act 'Await punishment': gt 'sentence', 'punishment'
  173. else
  174. '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.'
  175. 'You nod and take a deep breath as you await your punishment.'
  176. act 'Await punishment': gt 'sentence', 'punishment'
  177. end
  178. end
  179. end
  180. else
  181. gs 'LOCA', 'hearing', 'mod_sentenceevents'
  182. end
  183. end
  184. end
  185. end
  186. if $ARGS[0] = 'punishment':
  187. minut += 20
  188. gs 'stat'
  189. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/sentence.jpg"></center>'
  190. '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."'
  191. '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."'
  192. 'You meekly nod and feel a bit relieved as you hear that.'
  193. temp_fine = 0
  194. if mid($policeQW_courthearing_subjects[0], 1, 8) = 'shoplift':
  195. policeQW['shoplift_counter'] += 1
  196. if policeQW['shoplift_counter'] <= 5:
  197. !Stage 1
  198. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  199. temp_fine += 5000 + (policeQW['shoplift_value'] / 2)
  200. '"I hereby sentence you to a fine of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
  201. '"You can pay your fine at the post office. You''ve been lucky this time Miss <<$pcs_lastname>>." the judge finishes.'
  202. 'You nod and quickly make your way out of courtroom.'
  203. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  204. temp_fine += 5000 + policeQW['shoplift_value']
  205. '"I hereby sentence you to a fine of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
  206. '"You can pay your fine at the post office." the judge finishes.'
  207. 'You nod and quickly make your way out of courtroom.'
  208. else
  209. temp_fine += 5000 + (3 * policeQW['shoplift_value'] / 2)
  210. '"I hereby sentence you to a fine of <<temp_fine>> <b>₽</b>." the judge reads out your sentence.'
  211. '"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.'
  212. 'You nod and quickly make your way out of courtroom.'
  213. end
  214. elseif policeQW['shoplift_counter'] <= 10:
  215. !Stage 2
  216. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  217. temp_fine += 7500 + (3 * policeQW['shoplift_value'] / 4)
  218. '"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.'
  219. '"You can pay your fine at the post office." the judge finishes.'
  220. 'You nod and quickly make your way out of courtroom.'
  221. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  222. temp_fine += 7500 + (3 * policeQW['shoplift_value'] / 2)
  223. '"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.'
  224. '"You can pay your fine at the post office." the judge finishes.'
  225. 'You nod and quickly make your way out of courtroom.'
  226. else
  227. temp_fine += 7500 + (9 * policeQW['shoplift_value'] / 4)
  228. '"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.'
  229. '"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.'
  230. 'You nod and quickly make your way out of courtroom.'
  231. end
  232. elseif policeQW['shoplift_counter'] <= 15:
  233. !Stage 3
  234. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  235. temp_fine += 10000 + policeQW['shoplift_value']
  236. '"<<$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.'
  237. '"You can pay your fine at the post office." the judge finishes.'
  238. 'You nod and quickly make your way out of courtroom.'
  239. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  240. temp_fine += 10000 + (2 * policeQW['shoplift_value'])
  241. '"<<$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.'
  242. '"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
  243. 'You nod and quickly make your way out of courtroom.'
  244. else
  245. temp_fine += 10000 + (5 * policeQW['shoplift_value'] / 2)
  246. '"<<$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.'
  247. '"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
  248. 'You nod and quickly make your way out of courtroom.'
  249. end
  250. elseif policeQW['shoplift_counter'] <= 20:
  251. !Stage 4
  252. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  253. temp_fine += 15000 + (5 * policeQW['shoplift_value'] / 4)
  254. '"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.'
  255. '"You already know what you need to do." the judge finishes.'
  256. 'You nod and quickly make your way out of courtroom.'
  257. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  258. temp_fine += 15000 + (5 * policeQW['shoplift_value'] / 2)
  259. '"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.'
  260. '"You already know what you need to do." the judge finishes.'
  261. 'You nod and quickly make your way out of courtroom.'
  262. else
  263. temp_fine += 15000 + (3 * policeQW['shoplift_value'])
  264. '"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.'
  265. '"You already know what you need to do." the judge finishes.'
  266. 'You nod and quickly make your way out of courtroom.'
  267. end
  268. elseif policeQW['shoplift_counter'] <= 25:
  269. !Stage 5
  270. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  271. temp_fine += 25000 + (3 * policeQW['shoplift_value'] / 2)
  272. '"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.'
  273. '"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
  274. 'You nod and quickly make your way out of courtroom.'
  275. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  276. temp_fine += 25000 + (3 * policeQW['shoplift_value'])
  277. '"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.'
  278. '"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
  279. 'You nod and quickly make your way out of courtroom.'
  280. else
  281. temp_fine += 25000 + (4 * policeQW['shoplift_value'])
  282. '"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.'
  283. '"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
  284. 'You nod and quickly make your way out of courtroom.'
  285. end
  286. else
  287. !Stage 6
  288. if mid($policeQW_courthearing_subjects[0], 10, 4) = 'easy':
  289. temp_fine += 50000 + (2 * policeQW['shoplift_value'])
  290. '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.'
  291. '"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
  292. 'You nod and quickly make your way out of courtroom.'
  293. elseif mid($policeQW_courthearing_subjects[0], 10, 4) = 'norm':
  294. temp_fine += 50000 + (4 * policeQW['shoplift_value'])
  295. '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.'
  296. '"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
  297. 'You nod and quickly make your way out of courtroom.'
  298. else
  299. temp_fine += 50000 + (5 * policeQW['shoplift_value'])
  300. '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.'
  301. '"You already know what you need to do. I hope you will think about your actions before stealing again." the judge finishes.'
  302. 'You nod and quickly make your way out of courtroom.'
  303. end
  304. end
  305. elseif mid($policeQW_courthearing_subjects[0], 1, 12) = 'prostitution':
  306. policeQW['prostitution_counter'] += 1
  307. if policeQW['prostitution_counter'] <= 5:
  308. !Stage 1
  309. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  310. temp_fine += 6000
  311. '"I hereby sentence you to a fine of 6000 <b>₽</b>." the judge reads out your sentence.'
  312. '"You can pay your fine at the post office. You''ve been lucky this time Miss <<$pcs_lastname>>." the judge finishes.'
  313. 'You nod and quickly make your way out of courtroom.'
  314. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  315. temp_fine += 7000
  316. '"I hereby sentence you to a fine of 7000 <b>₽</b>." the judge reads out your sentence.'
  317. '"You can pay your fine at the post office." the judge finishes.'
  318. 'You nod and quickly make your way out of courtroom.'
  319. else
  320. temp_fine += 8000
  321. '"I hereby sentence you to a fine of 8000 <b>₽</b>." the judge reads out your sentence.'
  322. '"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.'
  323. 'You nod and quickly make your way out of courtroom.'
  324. end
  325. elseif policeQW['prostitution_counter'] <= 10:
  326. !Stage 2
  327. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  328. temp_fine += 9000
  329. '"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.'
  330. '"You can pay your fine at the post office." the judge finishes.'
  331. 'You nod and quickly make your way out of courtroom.'
  332. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  333. temp_fine += 10500
  334. '"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.'
  335. '"You can pay your fine at the post office." the judge finishes.'
  336. 'You nod and quickly make your way out of courtroom.'
  337. else
  338. temp_fine += 11500
  339. '"I sentence you hereby to pay a fine of 11,500 <b>₽</b> 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.'
  340. '"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.'
  341. 'You nod and quickly make your way out of courtroom.'
  342. end
  343. elseif policeQW['prostitution_counter'] <= 15:
  344. !Stage 3
  345. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  346. temp_fine += 12000
  347. '"<<$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.'
  348. '"You can pay your fine at the post office." the judge finishes.'
  349. 'You nod and quickly make your way out of courtroom.'
  350. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  351. temp_fine += 14000
  352. '"<<$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.'
  353. '"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
  354. 'You nod and quickly make your way out of courtroom.'
  355. else
  356. temp_fine += 15000
  357. '"<<$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.'
  358. '"You can pay your fine at the post office and by now you should know where to find the Mercy Clinic." the judge finishes.'
  359. 'You nod and quickly make your way out of courtroom.'
  360. end
  361. elseif policeQW['prostitution_counter'] <= 20:
  362. !Stage 4
  363. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  364. temp_fine += 17500
  365. '"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.'
  366. '"You already know what you need to do." the judge finishes.'
  367. 'You nod and quickly make your way out of courtroom.'
  368. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  369. temp_fine += 20000
  370. '"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.'
  371. '"You already know what you need to do." the judge finishes.'
  372. 'You nod and quickly make your way out of courtroom.'
  373. else
  374. temp_fine += 21000
  375. '"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.'
  376. '"You already know what you need to do." the judge finishes.'
  377. 'You nod and quickly make your way out of courtroom.'
  378. end
  379. elseif policeQW['prostitution_counter'] <= 25:
  380. !Stage 5
  381. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  382. temp_fine += 28000
  383. '"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.'
  384. '"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
  385. 'You nod and quickly make your way out of courtroom.'
  386. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  387. temp_fine += 21000
  388. '"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.'
  389. '"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
  390. 'You nod and quickly make your way out of courtroom.'
  391. else
  392. temp_fine +=32000
  393. '"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.'
  394. '"You can pay your fine at the post office and I suppose you know where to find the Mercy Clinic?" the judge finishes.'
  395. 'You nod and quickly make your way out of courtroom.'
  396. end
  397. else
  398. !Stage 6
  399. if mid($policeQW_courthearing_subjects[0], 14, 4) = 'easy':
  400. temp_fine += 55000
  401. '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.'
  402. '"You already know what you need to do. I hope you will think about your actions before prostituting yourself again." the judge finishes.'
  403. 'You nod and quickly make your way out of courtroom.'
  404. elseif mid($policeQW_courthearing_subjects[0], 14, 4) = 'norm':
  405. temp_fine += 57500
  406. '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.'
  407. '"You already know what you need to do. I hope you will think about your actions before prostituting yourself again." the judge finishes.'
  408. 'You nod and quickly make your way out of courtroom.'
  409. else
  410. temp_fine += 60000
  411. '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.'
  412. '"You already know what you need to do. I hope you will think about your actions before prostituting yourself again." the judge finishes.'
  413. 'You nod and quickly make your way out of courtroom.'
  414. end
  415. end
  416. else
  417. gs 'LOCA', 'punishment', 'mod_sentenceevents'
  418. end
  419. gs 'sentence', 'add_fine', temp_fine
  420. policeQW['fine_deadline'] += 14
  421. killvar 'temp_fine'
  422. killvar 'policeQW_courthearing_dates', 0
  423. killvar '$policeQW_courthearing_subjects', 0
  424. act 'Leave the court': gt 'city_center', 'mom_check'
  425. end
  426. !!this should trigger the next time Sveta is home after having not gone to court
  427. if $ARGS[0] = 'police_arrest':
  428. gs 'stat'
  429. '<center><img <<$set_imgh>> src="images/locations/shared/police/police_door.jpg"></center>'
  430. '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."'
  431. act 'Get Arrested':
  432. *clr & cla
  433. gs 'stat'
  434. '<center><img <<$set_imgh>> src="images/locations/shared/police/police_arrested.jpg"></center>'
  435. 'Wondering what they want from you, you ask. "What is this all about?"'
  436. '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.'
  437. act 'Next morning':
  438. if ARGS[1] = 1:
  439. gt 'sentence', 'police_arrest2'
  440. elseif ARGS[1] = 2:
  441. gt 'sentence', 'police_arrest3'
  442. else
  443. gt 'sentence', 'police_arrest1'
  444. end
  445. end
  446. end
  447. end
  448. !!this should trigger the next time Sveta is home after having not gone to court
  449. if $ARGS[0] = 'police_arrest1':
  450. gs 'stat'
  451. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
  452. '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?"'
  453. '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.'
  454. $policeQW_courthearing_subjects[] = mid($policeQW_courtletter_subjects[0], 14)
  455. policeQW_courthearing_dates[] = -1
  456. gs 'shortgs', 'coupled_array_sort', 'policeQW_courthearing_dates', '$policeQW_courthearing_subjects'
  457. killvar 'policeQW_courtletter_dates', 0
  458. killvar 'policeQW_courtletter_subjects', 0
  459. act 'Await punishment': gt 'sentence', 'punishment'
  460. end
  461. !!this should trigger the next time Sveta is home after having not payed the fine
  462. if $ARGS[0] = 'police_arrest2':
  463. gs 'stat'
  464. '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?"'
  465. '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.'
  466. '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."'
  467. 'You try your best to hold back the tears as you nod that you understand.'
  468. !!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.
  469. policeQW['fine_deadline'] = max(policeQW['fine_deadline'], daystart + 30)
  470. killvar 'policeQW_courtletter_dates', 0
  471. killvar 'policeQW_courtletter_subjects', 0
  472. act 'Leave the court': gt 'city_center', 'mom_check'
  473. end
  474. if $ARGS[0] = 'police_arrest3':
  475. gs 'stat'
  476. '<center><img <<$set_imgh>> src="images/locations/city/shared/court/judge.jpg"></center>'
  477. '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.'
  478. act 'Continue':
  479. gs 'gameover', 'check', 14
  480. msg '<font color=red><B>You should thrown in jail, but Cheat Mode keeps you Free.</B></font>'
  481. !!can we make this in big red letters and then it is a game over not sure how to code that.
  482. policeQW['arrest_gameover_flag'] = 0
  483. gt $loc, $loc_arg
  484. end
  485. end
  486. --- sentence ---------------------------------