bank.qsrc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. # bank
  2. if $ARGS[0] = 'leave':
  3. if $region = 'city':
  4. gt 'city_center'
  5. else
  6. gt 'pav_commercial'
  7. end
  8. end
  9. if $ARGS[0] = 'start':
  10. *clr & cla
  11. $loc = 'bank'
  12. $loc_arg = 'start'
  13. $menu_loc = 'bank'
  14. $menu_arg = 'start'
  15. menu_off = 0
  16. $location_type = 'public_indoors'
  17. minut += 2
  18. gs 'themes', 'indoors'
  19. '<center><b><font color="maroon">Bank</font></b></center>'
  20. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/bank.jpg"></center>'
  21. if week <= 5 and hour = 16 and minut >= 30 and mey_vika['mey_vika_qw'] >= 32: 'Seems like <a href="exec:gs''mey_tamara_events'',''tamara''">Tamara Meynold</a> is heading home.'
  22. if bankAccount = 0:
  23. 'Do you want to open an account?'
  24. if money > 50:
  25. act 'Open account':
  26. cla
  27. bankAccount = 1
  28. bankDebtLimit = 5000
  29. 'You are led to on open office and a member of the bank staff goes through your details and ID, then takes 50 <b>₽</b> from you before setting up your account'
  30. '"Your account is now open with your 50 <b>₽</b> and an overdraft protection of 5,000 <b>₽</b>"'
  31. gs 'stat'
  32. act 'Continue': gt 'bank', 'start'
  33. end
  34. else
  35. 'You require 50 <b>₽</b> in cash to be able to open an account.'
  36. end
  37. else
  38. if money > 0:
  39. act 'Deposit money':
  40. cla
  41. menu_off = 1
  42. kartaIN = input ("How much money you want to deposit into the account?")
  43. if kartaIN <= 0 or kartaIN > money:
  44. 'That is not a valid operation.'
  45. else
  46. karta += kartaIN
  47. money -= kartaIN
  48. '<br>You deposited <<kartaIN>> <b>₽</b>, your account balance is now ' + iif(karta >= 0,'<<karta>>','<font color="red"><<karta>></font>') + ' <b>₽</b>.'
  49. end
  50. killvar 'kartaIN'
  51. gs 'stat'
  52. act 'Walk away':gt 'bank', 'start'
  53. end
  54. end
  55. if karta + bankDebtLimit > 0:
  56. act 'Withdraw money':
  57. cla
  58. menu_off = 1
  59. kartaOUT = input ("How much do you want to withdraw from account?")
  60. if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
  61. 'That is not a valid operation.'
  62. else
  63. karta -= kartaOUT
  64. money += kartaOUT
  65. if karta > 0:
  66. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
  67. elseif karta = 0:
  68. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have no money left in your bank account.'
  69. else
  70. '<br>You withdraw <<kartaOUT>> <b>₽</b>. <font color="red">Your bank account is overdrawn by <b><<karta>> ₽</b>.</font>'
  71. end
  72. end
  73. killvar 'kartaOUT'
  74. gs 'stat'
  75. act 'Walk away':gt 'bank', 'start'
  76. end
  77. if bankDebtLimitRaised = 0 and karta >= 10000:
  78. act 'See about increasing your credit limit':
  79. if $region = 'city':
  80. gt 'bank', 'loan_officer', 'start'
  81. else
  82. 'You approach the teller and say, “Hello, I’d like to talk to someone about increasing my credit limit.”'
  83. *nl
  84. 'The teller nods and tells you, “Unfortunately our credit limit functions are being handled through our Saint Petersburg branch. I’m sure they’d be happy to help you there.”'
  85. delact 'See about increasing your credit limit'
  86. end
  87. end
  88. end
  89. end
  90. if karta >= 0:
  91. 'You have <<karta>> <b>₽</b> in your account.'
  92. 'You can take out a loan of <font color="blue"><<bankDebtLimit>></font>!'
  93. else
  94. 'You hava a debt of <font color="red"><<-1 * karta>></font> <b>₽</b>.'
  95. 'You can take out a loan of <font color="blue"><<bankDebtLimit + karta>></font>!'
  96. end
  97. end
  98. act 'Leave': minut += 2 & gt 'bank', 'leave'
  99. if BurgerQW['BankTask'] = 1 and BurgerQW['BankTaskDay'] = daystart:
  100. act 'Show documents':
  101. *clr & cla
  102. menu_off = 1
  103. minut += 15
  104. BurgerQW['BankTask'] = 2
  105. gs 'stat'
  106. 'You went to the office and showed the required documents to the manager.'
  107. act 'Leave': minut += 5 & gt 'bank', 'leave'
  108. end
  109. end
  110. gs 'stat'
  111. end
  112. if $ARGS[0] = 'loan_officer':
  113. if $ARGS[1] = 'start':
  114. *clr & cla
  115. menu_off = 1
  116. minut += 15
  117. gs 'stat'
  118. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  119. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/001.jpg"></center>'
  120. 'You speak to the teller, who tells you to have a seat in the waiting room.'
  121. 'After waiting about 15 minutes, you are called back to an office, where a handsome young executive awaits.'
  122. 'Standing, he extends his hand and says, "Hello, Miss <<$pcs_lastname>>, my name is Filip Karpenko. I''m the Loan Officer here at VTB Bank. How can I help you today?"'
  123. act 'I''d like to talk about increasing my credit limit, please.':
  124. *clr & cla
  125. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  126. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/002.jpg"></center>'
  127. 'Karpenko nods and asks, "How large a loan were you thinking of taking out?"'
  128. 'Marshaling your nerve and trying to appear confident, you say, "I was thinking of maybe... 50.000 rubles?"'
  129. *nl
  130. '"Let me just review your information for a moment," Karpenko says, typing into his computer.'
  131. 'He reads what appears on his monitor, a ghost of a frown appearing on his face. Suddenly you feel rather foolish for asking for so much money when you''re a young girl not even established in the world yet!'
  132. *nl
  133. 'You shift in your chair, and the next couple of minutes seem very long indeed before Karpenko finally looks up from his screen and says, "I''m sorry, but you seem to have very little in the way of assets or collateral, and you''re very young to be taking out such a significant loan. I''m afraid the bank can''t take a risk on this proposition at this time."'
  134. gs 'stat'
  135. act 'Isn''t there some way you could reconsider, Mr. Karpenko?':
  136. *clr & cla
  137. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  138. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/003.jpg"></center>'
  139. '"I''m sorry, Miss <<$pcs_lastname>>, but my decision is final," Karpenko says firmly.'
  140. *nl
  141. 'You rise from your chair, but you don''t turn and walk away. Instead you approach the loan officer and lean in, giving him an excellent view of your cleavage.'
  142. '"It''s true I don''t have any real collateral" you tell him in a soft, sultry voice, "but that doesn''t mean I don''t have something you want. I think if we put our minds to it, we can come up with conditions that benefit us both."'
  143. *nl
  144. 'Karpenko stares at your breasts as they strain against your top, then looks into your eyes. "I suppose there may be some way we can work out a deal, if you''re willing to be... cooperative."'
  145. gs 'bank', 'loan_officer', 'sex_start'
  146. end
  147. act 'Sadly rise and head for the door':
  148. *clr & cla
  149. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  150. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/004.jpg"></center>'
  151. '"Wait, Miss <<$pcs_lastname>>," Karpenko says as you turn away. "You seem like a trustworthy young lady. There may be a way I can arrange this loan if you''re willing to be... cooperative."'
  152. *nl
  153. 'You''re young, but even so there''s little doubt about what sort of cooperation he''s talking about – the way his eyes are undressing you as you stand before him makes his intentions quite plain.'
  154. 'He wants you to use your body as collateral! Is that really something you would consider? Is the loan really worth that much to you?'
  155. gs 'bank', 'loan_officer', 'sex_start'
  156. end
  157. end
  158. act 'Actually, I''ve changed my mind. Sorry to bother you.':
  159. minut += 3
  160. gt 'bank', 'start'
  161. end
  162. elseif $ARGS[1] = 'sex_start':
  163. menu_off = 1
  164. gs 'stat'
  165. if pcs_inhib >= 35 and stat['vaginal'] ! 0:
  166. gs 'willpower', 'sex', 'self', 'medium'
  167. if will_cost <= pcs_willpwr:
  168. act 'I think you''ll find that I can be very cooperative, Mr. Karpenko..." (<<will_cost>> Willpower)':
  169. *clr & cla
  170. gs 'willpower', 'pay', 'self'
  171. gs 'stat'
  172. gs 'npcgeneratec', 0, 'Mr. Karpenko, Loan Officer for VTB Bank', rand(21,27)
  173. $npc_thdick[$npclastgenerated] = 'thick'
  174. npc_dick[$npclastgenerated] = 21
  175. $npc_firstname[$npclastgenerated] = 'Filip'
  176. $npc_nickname[$npclastgenerated] = 'Mr. Karpenko'
  177. $npc_lastname[$npclastgenerated] = 'Karpenko'
  178. $npc_notes[$npclastgenerated] = 'A young Loan Officer for VTB Bank'
  179. gs 'npcpreservec', $npclastgenerated
  180. $boy = $npclastsaved
  181. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  182. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/005.jpg"></center>'
  183. '"Time to put your mouth where my money is, girl," Karpenko says with a grin that''s just a little unnerving. You start to get the sense that you might just be in for more than you bargained for with this man, but it''s too late to back out now.'
  184. *nl
  185. 'Affecting your sultriest walk and your hungriest gaze, you approach him as he rises from his chair. You open your mouth to say some sophisticated-sounding banter, but Karpenko cuts you off by grabbing your waist and pulling you toward him, stopping your speech by filling your mouth with his probing tongue.'
  186. *nl
  187. 'You gasp involuntarily at his forceful approach, but after a moment you regain some sense of composure. You know what you have to do, so you might as well do it. And who knows? You might actually like it too. You begin kissing him back, alternately probing his mouth and sucking his tongue like a miniature cock.'
  188. *nl
  189. gs 'arousal', 'kiss', 10, 'sub'
  190. gs 'stat'
  191. act 'Get his cock ready to fuck you':
  192. *clr & cla
  193. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  194. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/007.jpg"></center>'
  195. 'After a few moments of tangling tongues, Karpenko sits down in his chair with a nasty grin and says, "You came in here to beg for a loan, didn''t you? I think sluts beg best on their knees with their mouths full."'
  196. *nl
  197. '"Yes, sir," you murmur as you sink to your knees and crawl under the table to go between his legs. Fifty thousand rubles is a lot of money, and if Karpenko wants you to perform like a submissive whore for it, then that''s exactly what you''ll do. And if your pussy is getting a little wet at this treatment, well, you can''t be blamed for that. It is rather thrilling!'
  198. *nl
  199. 'His cock is already hard in his pants as you undo his zipper and fish it out. You pause only for a moment to admire the tool – at 21 thick, glorious centimeters, it is worthy of a little admiration – before putting your skilled mouth to work. You run your tongue up the thick vein on the underside, feeling his heat and tasting his salty flavor, until you come to his flaring mushroom head. Your eyes lock with his as you swirl your tongue around the glans before you swallow him into your throat. You spend the next several minutes on your knees and he spends the next several minutes loving your attentions.'
  200. *nl
  201. 'Finally your efforts bear fruit as Karpenko says, "Let''s move over to the sofa. Time to put that pussy of yours to work!"'
  202. gs 'arousal', 'bj', 15, 'sub'
  203. gs 'stat'
  204. act 'Lie on your side':
  205. *clr & cla
  206. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  207. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/008.jpg"></center>'
  208. 'Karpenko leads you to the leather-covered sofa in his room and lies down on it, pulling you in to spoon with him. You barely get settled before he turns your head and puts his mouth on yours, and you''re still kissing him when, a few moments later, he pushes his cock into your tight, hungry pussy. In a single, swift movement he has buried himself into you up to the balls, its thick length making you gasp into his mouth. Without a pause he begins to fuck you, his hips pushing forward into your ass as he plunders your depths, and before long you lose yourself in the pleasure and find yourself pushing back into him to take every millimeter into you.'
  209. *nl
  210. gs 'arousal', 'kiss', -5, 'sub'
  211. gs 'arousal', 'vaginal', 15, 'sub'
  212. gs 'stat'
  213. act 'Climb on top and ride him':
  214. *clr & cla
  215. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  216. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/009.jpg"></center>'
  217. 'With a growled, “I want you on top, you sweet little whore,” Karpenko pulls his dick out of you and rolls to his back. You swing atop him, and he holds your hips as you reach between your legs and grasp his cock to hold it upright, and both of you gasp in unison as you settle down on it and feel it fill your hungry cunt. You take it all the way down until you''re sitting on his balls and then, eyes closed begin to ride him.'
  218. *nl
  219. '"You''re a dirty little slut, Miss <<$pcs_lastname>>," Karpenko muses as you bounce on him, and you can''t really argue the point since you''re fucking him to get a bank loan. And damn but it feels good, with his thick cock stretching you and finding wonderful depths to your pussy. You grind your hips against him putting friction on your clit, then start riding him again, making yourself gasp every time you take him to the hilt.'
  220. *nl
  221. gs 'arousal', 'vaginal', 15, 'sub'
  222. gs 'stat'
  223. act 'Taking it like a bitch': gt 'bank', 'loan_officer', 'sex_finish'
  224. end
  225. end
  226. act 'Get on top':
  227. *clr & cla
  228. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  229. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/009.jpg"></center>'
  230. 'Karpenko leads you to the plush leather sofa and lies down on his back, and you waste no time climbing atop him. He holds your hips as you reach between your legs and grasp his cock to hold it upright, and both of you gasp in unison as you settle down on it and feel it fill your hungry cunt. You take it all the way down until you''re sitting on his balls and then, eyes closed begin to ride him.'
  231. *nl
  232. '"You''re a dirty little slut, Miss <<$pcs_lastname>>," Karpenko muses as you bounce on him, and you can''t really argue the point since you''re fucking him to get a bank loan. And damn but it feels good, with his thick cock stretching you and finding wonderful depths to your pussy. You grind your hips against him putting friction on your clit, then start riding him again, making yourself gasp every time you take him to the hilt.'
  233. *nl
  234. gs 'arousal', 'vaginal', 15, 'sub'
  235. gs 'stat'
  236. act 'Spoon-fucking':
  237. *clr & cla
  238. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  239. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/008.jpg"></center>'
  240. '"On your side now," Karpenko tells you gruffly. You clamber off and let him adjust himself against the back of the sofa before moving to join him. He grabs you roughly, pulling you in to spoon with him. You barely get settled before he turns your head and puts his mouth on yours, and you''re still kissing him when, a few moments later, he pushes his cock into your tight, hungry pussy. In a single, swift movement he has buried himself into you up to the balls, its thick length making you gasp into his mouth. Without a pause he begins to fuck you, his hips pushing forward into your ass as he plunders your depths, and before long you find yourself pushing back into him to take every millimeter into you.'
  241. *nl
  242. gs 'arousal', 'kiss', -5
  243. gs 'arousal', 'vaginal', 15, 'sub'
  244. gs 'stat'
  245. act 'Taking it like a bitch': gt 'bank', 'loan_officer', 'sex_finish'
  246. end
  247. end
  248. end
  249. end
  250. else
  251. act 'I think you''ll find that I can be very cooperative, Mr. Karpenko..." (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  252. end
  253. end
  254. act 'No, sleeping with a man for money is not something you''re willing to do!':
  255. *clr & cla
  256. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  257. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/006.jpg"></center>'
  258. '"I''m sorry, Mr. Karpenko," you say as you pull away, "but I really can''t do this after all I''m just not that sort of girl. I''m sorry to waste your time."'
  259. 'You turn and head for the door, but Karpenko''s voice stops you before you reach it. "Wait a moment, Miss <<$pcs_lastname>>. Before you go, I want you to know that this offer remains open. If you change your mind, you can return at any time and we can arrange the loan you desire."'
  260. '"I... will keep that in mind," you mutter as you throw open the door and run back to the safety of the lobby.'
  261. *nl
  262. gs 'stat'
  263. act 'Flee the room':
  264. minut += 10
  265. gt 'bank', 'start'
  266. end
  267. end
  268. elseif $ARGS[1] = 'sex_finish':
  269. *clr & cla
  270. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  271. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/010.jpg"></center>'
  272. 'After several long, wonderful minutes of railing you hard, Karpenko swats your ass loudly and says, "I want to fuck you from behind now. Bend over the table."'
  273. *nl
  274. 'He''s ordering you around like a whore he paid for, but the whole thing is quite thrilling – and he really knows how to use that big dick he''s swinging! You almost jump off the couch and run to the table, bending over and swinging one leg up onto the surface to brace yourself. An instant later Karepenko''s hands are on your upturned ass and then his cock is back inside you – and this time he''s not holding back a bit! He thrusts so fiercely that your whole body shakes every time his hips collide with your ass, and your pussy sucks fiercely at his rod as it hammers in and out.'
  275. *nl
  276. 'You''re trying to be quiet – it would be mortifying if anyone outside this room heard you being screwed like a cheap prostitute! – but he is too forceful and too skilled, and soon you are giving a loud, moaning gasp with every thrust, too lost in the bliss he is giving you to care a damn what happens after he''s done with you. You don''t even know how long that state lasts, lost in pleasure as you are, but you suddenly become aware that he has given you one last particularly deep thrust and is now still as his cock leaps and jumps inside you.'
  277. *nl
  278. gs 'arousal', 'vaginal', 15, 'sub'
  279. gs 'stat'
  280. act 'What did you do?!':
  281. *clr & cla
  282. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  283. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/011.jpg"></center>'
  284. 'Sudden panic surges in you chest and dispels the pleasure-cobwebs in an instant as you demand, "Did you just come inside me?!?"'
  285. *nl
  286. 'Karpenko steps back and a flood of his spunk pours out of your pussy to run down your thighs, but you have no delusions that all of it came out. With a smug grin he grabs a tissue from his desk and starts wiping his dick off, saying, "You just got a loan of 50.000 rubles. Did you really think I would authorize that sort of loan to a girl like you and not finish inside?"'
  287. *nl
  288. '"But I could get pregnant!" you object.'
  289. *nl
  290. '"You can afford a hell of a lot of morning after pills," he says with a shrug as he tucks his cock away and sits back at his desk. "Remember, you will need to pay this loan back like any other, and don''t think you can come back for another loan like it in the future. Now, if you''ll excuse me, I have work to do. I trust you can see yourself out."'
  291. *nl
  292. 'Feeling humiliated but richer, you adjust your clothing and open the office door to step out into the hallway. The first thing you see is a cluster of three female bank employees looking at you, and you can see from their smirks and how they whisper to each other that they know exactly what you were up to with the loan officer. Cheeks burning with shame, you hurry away.'
  293. *nl
  294. gs 'cum_call', '', $boy, 1, '', '', 110
  295. gs 'cuminsidereact', 'Mr. Karpenko'
  296. gs 'fame', 'city', 'sex', 3
  297. gs 'arousal', 'end'
  298. bankDebtLimit = 50000
  299. money += karta + bankDebtLimit
  300. karta = -bankDebtLimit
  301. bankDebtLimitRaised = 1
  302. minut += 30
  303. gs 'stat'
  304. act 'Head back to the lobby': gt 'bank', 'start'
  305. end
  306. end
  307. end
  308. if $ARGS[0] = 'cikl':
  309. !!------------------------------------------------------------------------------------------------------------
  310. !! Banking
  311. !!------------------------------------------------------------------------------------------------------------
  312. !!MJ: Add some (daily) interest to the bank account.
  313. !!Not very realistic but won''t make anyone too rich.
  314. if bankAccount = 1:
  315. kartatotal = karta
  316. :kartaloop
  317. if kartatotal > 20000000:
  318. kartacount += 1
  319. largekarta[kartacount] = 20000000
  320. kartatotal -= 20000000
  321. jump 'kartaloop'
  322. else
  323. largekarta[0] = kartatotal
  324. end
  325. if karta >= 2000000:
  326. !! yearly interest of 2.3% recalculated into daily interest = 0.006% daily
  327. intrate = 60
  328. elseif karta >= 0:
  329. !! yearly interest of 1.15% recalculated into daily interest = 0.003% daily
  330. intrate = 30
  331. else
  332. !! yearly overdraft interest of 20% recalculated into daily interest = 0.055% daily
  333. intrate = 550
  334. end
  335. :intloop
  336. if kartacount > 0:
  337. smallmoneypos += (largekarta[kartacount] * intrate)
  338. if smallmoneypos >= 1000000 or smallmoneypos <= -1000000: karta += smallmoneypos / 1000000 & smallmoneypos = smallmoneypos mod 1000000
  339. largekarta[kartacount] = 0
  340. kartacount -= 1
  341. jump 'intloop'
  342. else
  343. smallmoneypos += (largekarta[0] * intrate)
  344. largekarta[0] = 0
  345. if kartacount ! 0: kartacount = 0
  346. end
  347. if smallmoneypos >= 1000000 or smallmoneypos <= -1000000:
  348. karta += smallmoneypos / 1000000
  349. smallmoneypos = smallmoneypos mod 1000000
  350. end
  351. if atmDeposit > 0 and atmDepositDate <= daystart:
  352. karta += atmDeposit
  353. atmDeposit = 0
  354. end
  355. ! Daily Internet and mobile checks
  356. $internet_action_messages = func('internet_mobile', 'check_subscription_actions')
  357. count = ARRSIZE('$internet_action_messages')
  358. i = 0
  359. :loop_messages
  360. if $internet_action_messages[i] ! '': *pl $internet_action_messages[i]
  361. i += 1
  362. if i < count: jump 'loop_messages'
  363. killvar 'i'
  364. killvar 'count'
  365. end
  366. !!------------------------------------------------------------------------------------------------------------
  367. !! Payments
  368. !!------------------------------------------------------------------------------------------------------------
  369. if day = 25:
  370. !! meynold payment
  371. if mey_vika['mey_vika_qw'] >= 35 and mey_tamara['help_count'] < 10 and mey_tamara['qw_end'] = 0:
  372. karta += 10000
  373. '<b><font color=green>For your efforts aunt Tamara gave you 10,000 rubles</font></b>'
  374. mey_tamara['help_count'] = 0
  375. elseif mey_vika['mey_vika_qw'] >= 35 and mey_tamara['help_count'] >= 10 and mey_tamara['qw_end'] = 0:
  376. karta += 15000
  377. '<b><font color=green>For your efforts aunt Tamara gave you 15,000 rubles</font></b>'
  378. mey_tamara['help_count'] = 0
  379. end
  380. if BurgerQW['Secretary'] = 1 and BurgerQW['SecretaryTimesWorked'] > 0 and paydaybistrosec = 0:
  381. Pay = BurgerQW['SecretaryTimesWorked'] * 1250
  382. BurgerQW['SecretaryTimesWorked'] = 0
  383. karta += Pay
  384. paydaybistrosec = 1
  385. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job as a secretary.</font></b>'
  386. end
  387. if workKafe['job'] = 1 and paydayKafe = 0:
  388. paydayKafe = 1
  389. pay = smenaKafe * 600
  390. karta += pay
  391. smenaKafe = 0
  392. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job as a waitress in a cafe.</font></b>'
  393. end
  394. if workhosp = 1 and nopaypoly = 0:
  395. pay = smena * 1000
  396. karta += pay
  397. smena = 0
  398. nopaypoly = 1
  399. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your work in the clinic.</font></b>'
  400. end
  401. if worksalon = 1 and nopaysalon = 0:
  402. pay = smenaSalon * 1560
  403. karta += pay
  404. smenaSalon = 0
  405. nopaysalon = 1
  406. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your work in a beauty salon.</font></b>'
  407. end
  408. if tanwork = 1 and nopaytanwork = 0:
  409. nopaytanwork = 1
  410. karta += 10000
  411. '<b><font color="green">Your salary of 10,000 <b>₽</b> has been paid into your bank account for your work as a house maid.</font></b>'
  412. end
  413. if workSec = 1 and paydaySec = 0:
  414. paydaySec = 1
  415. pay = sekDay * 1500
  416. karta += pay
  417. sekDay = 0
  418. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job as a secretary.</font></b>'
  419. end
  420. if workFabrika = 1:
  421. pay = smenaFabrika * 600
  422. smenaFabrika = 0
  423. karta += pay
  424. '<b><font color="green">Your salary of <<pay>> <b>₽</b> has been paid into your bank account for your job at the garment factory.</font></b>'
  425. end
  426. if husband > 0 and paydayHusb = 0:
  427. paydayHusb = 1
  428. if husbFin = 0:huspay = 20000
  429. if husbFin = 1:huspay = 30000
  430. if husbFin = 2:huspay = 40000
  431. karta += huspay
  432. '<b><font color="green">Your husband has paid <<huspay>> <b>₽</b> into your bank account.</font></b>'
  433. end
  434. if func('uniutil', 'scholarship' , 'is_active') and scholarshipday = 0:
  435. scholarshipday = 1
  436. karta += func('uniutil', 'scholarship', 'get')
  437. '<b><font color="green">You have received '+func('uniutil', 'scholarship', 'get')+' <b>₽</b> from your scholarship.</font></b>'
  438. end
  439. ! Utilities for all apartments.
  440. if func('homes_properties', 'get_owned_homes_count') > 0 and electroday = 0:
  441. gs 'housing', 'util'
  442. if bankAccount = 1 and karta >= elektro:
  443. '<b><font color="green"><<elektro>> <b>₽</b> for utilities, has been automatically deducted from your bank account.</font></b>'
  444. electroday = 1
  445. if elektro >= 2000:
  446. elektro = 2000 + rand(0, 100)
  447. karta -= elektro * hcount_util
  448. end
  449. elseif bankAccount = 1 and karta + bankDebtLimit >= elektro:
  450. '<b><font color="green"><<elektro>> <b>₽</b> for utilities, has been automatically deducted from your bank account and overdraw facility. Please contact your bank.</font></b>'
  451. electroday = 1
  452. if elektro >= 2000:
  453. elektro = 2000 + rand(0, 100)
  454. karta -= elektro * hcount_util
  455. end
  456. elseif bankAccount = 0 and money >= elektro:
  457. '<b><font color="red">You currently do not have a bank account setup for automatic utilities payments. <<elektro>> <b>₽</b> has been deducted from your cash holdings.</font></b>'
  458. electroday = 1
  459. if elektro >= 2000:
  460. elektro = 2000 + rand(0, 100)
  461. money -= elektro * hcount_util
  462. end
  463. else
  464. '<b><font color="red">Your card was declined during automatic debit of <<elektro>> <b>₽</b>, for automatic utilities payment.</font></b>'
  465. end
  466. end
  467. ! Cable for all apartments
  468. if kabel > 0 and kabelday = 0:
  469. gs 'housing', 'cable'
  470. if bankAccount = 1 and karta >= (300 * hcount_cable):
  471. '<b><font color="green">300 <b>₽</b> has been deducted from your bank account, for you cable TV subscription.</font></b>'
  472. kabelday = 1
  473. karta -= 300 * hcount_cable
  474. elseif bankAccount = 1 and karta + bankDebtLimit >= (300 * hcount_cable):
  475. '<b><font color="green">300 <b>₽</b> has been deducted from your bank account and overdraw facility, for you cable TV subscription.</font></b>'
  476. kabelday = 1
  477. karta -= 300 * hcount_cable
  478. elseif bankAccount = 0 and money >= (300 * hcount_cable):
  479. '<b><font color="red">You currently do not have a bank account setup for automatic payment of your cable TV subscription. 300 <b>₽</b> has been deducted from your cash holdings.</font></b>'
  480. kabelday = 1
  481. money -= 300 * hcount_cable
  482. else
  483. '<b><font color="red">Your card was declined during automatic debit of 300 <b>₽</b> for cable TV subscription.</font></b>'
  484. end
  485. end
  486. end
  487. if day ! 25:
  488. if paydayHusb = 1:paydayHusb = 0
  489. if workKafe['job'] = 1 and paydayKafe = 1:paydayKafe = 0
  490. if workSec = 1 and paydaySec = 1:paydaySec = 0
  491. !! No idea what haday is, it does not show up anywhere else beyond this one line
  492. !! All the checks for the whether Sveta owns certain properties make no sense, if it is the 25th, haday, electroday and
  493. !! kabelday are set to 0. The fact that Sveta doesn''t own or rent properties only means that their value is meaningless
  494. !! anyway.
  495. if haday = 1: haday = 0
  496. if electroday = 1: electroday = 0
  497. if kabelday = 1: kabelday = 0
  498. if scholarshipday = 1: scholarshipday = 0
  499. if nopaytanwork = 1: nopaytanwork = 0
  500. if nopaypoly = 1: nopaypoly = 0
  501. if nopaysalon = 1: nopaysalon = 0
  502. if paydaybistrosec = 1: paydaybistrosec = 0
  503. end
  504. !! Checking for tenants moving out
  505. gs 'homes_properties', 'tenant_move_out_check'
  506. !!----------------------------------------
  507. !! Rent
  508. !!----------------------------------------
  509. !! property_rent, property_days, $property_name, $property_display $property_code
  510. gs 'homes_properties', 'get_rented_properties'
  511. count = ARRSIZE('property_name')
  512. if count > 0:
  513. i = 0
  514. :loop_rent_payments
  515. if property_days[i] <= 2:
  516. !From bank
  517. if property_days[i] <= 0:
  518. gs 'homes_properties', 'cancel_rent', $property_code[i]
  519. elseif bankAccount = 1 and karta >= property_rent[i]:
  520. '<b><font color="green">Your rent payment of <<property_rent[i]>> <b>₽</b> for your <<$property_name[i]>>, has automatically been deducted from your bank account.</font></b>'
  521. gs 'homes_properties', 'pay_rent', $property_code[i], 'card'
  522. !karta -= property_rent[i]
  523. !gs 'homes_properties', 'add_rent_days', $property_code[i]
  524. elseif bankAccount = 1 and karta + bankDebtLimit >= property_rent[i]:
  525. '<b><font color="green">Your rent payment of <<property_rent[i]>> <b>₽</b> for your <<$property_name[i]>>, has automatically been deducted from your bank account and overdraw facility. Please contact your bank regarding your overdraw repayment.</font></b>'
  526. gs 'homes_properties', 'pay_rent', $property_code[i], 'card'
  527. !karta -= property_rent[i]
  528. !gs 'homes_properties', 'add_rent_days', $property_code[i]
  529. elseif bankAccount = 0:
  530. '<b><font color="red">You currently do not have a bank account setup for automatic rent deduction of <<property_rent[i]>> <b>₽</b> for your <<$property_name[i]>>. To avoid eviction, please make a manual payment as soon as possible.</font></b>'
  531. else
  532. nl
  533. '<b><b><font color="red">Your card was declined during automatic rent deduction of <<property_rent[i]>> <b>₽</b> for your <<$property_name[i]>>. To avoid eviction, please rectify as soon as possible.</font></b>'
  534. end
  535. end
  536. i += 1
  537. if i < count: jump 'loop_rent_payments'
  538. gs 'homes_properties', 'clean_up_property_data'
  539. killvar 'i'
  540. end
  541. !!------------------------------------------------------------------------------------------------------------
  542. end
  543. --- bank ---------------------------------