bank.qsrc 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  1. # bank
  2. if $ARGS[0] = 'start':
  3. *clr & cla
  4. $loc = 'bank'
  5. $loc_arg = 'start'
  6. $menu_loc = 'bank'
  7. $menu_arg = 'start'
  8. menu_off = 0
  9. $location_type = 'public_indoors'
  10. minut += 2
  11. gs 'themes', 'indoors'
  12. '<center><b><font color="maroon">Bank</font></b></center>'
  13. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/bank.jpg"></center>'
  14. 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.'
  15. if bankAccount = 0:
  16. 'Do you want to open an account?'
  17. if money > 50:
  18. act 'Open account':
  19. cla
  20. bankAccount = 1
  21. bankDebtLimit = 5000
  22. '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'
  23. '"Your account is now open with your 50 <b>₽</b> and an overdraft protection of 5,000 <b>₽</b>"'
  24. gs 'stat'
  25. act 'Continue': gt 'bank', 'start'
  26. end
  27. else
  28. 'You require 50 <b>₽</b> in cash to be able to open an account.'
  29. end
  30. else
  31. if money > 0:
  32. act 'Deposit money':
  33. cla
  34. menu_off = 1
  35. kartaIN = input ("How much money you want to deposit into the account?")
  36. if kartaIN <= 0 or kartaIN > money:
  37. 'That is not a valid operation.'
  38. else
  39. karta += kartaIN
  40. money -= kartaIN
  41. '<br>You deposited <<kartaIN>> <b>₽</b>, your account balance is now ' + iif(karta >= 0,'<<karta>>','<font color="red"><<karta>></font>') + ' <b>₽</b>.'
  42. end
  43. killvar 'kartaIN'
  44. gs 'stat'
  45. act 'Walk away':gt 'bank', 'start'
  46. end
  47. end
  48. if karta + bankDebtLimit > 0:
  49. act 'Withdraw money':
  50. cla
  51. menu_off = 1
  52. kartaOUT = input ("How much do you want to withdraw from account?")
  53. if kartaOUT <= 0 or kartaOUT > karta + bankDebtLimit:
  54. 'That is not a valid operation.'
  55. else
  56. karta -= kartaOUT
  57. money += kartaOUT
  58. if karta > 0:
  59. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have <<karta>> <b>₽</b> left in your bank account.'
  60. elseif karta = 0:
  61. '<br>You withdraw <<kartaOUT>> <b>₽</b>. You have no money left in your bank account.'
  62. else
  63. '<br>You withdraw <<kartaOUT>> <b>₽</b>. <font color="red">Your bank account is overdrawn by <b><<karta>> ₽</b>.</font>'
  64. end
  65. end
  66. killvar 'kartaOUT'
  67. gs 'stat'
  68. act 'Walk away':gt 'bank', 'start'
  69. end
  70. if bankDebtLimitRaised = 0 and karta >= 10000:
  71. act 'See about increasing your credit limit':
  72. if bankloc = 1:
  73. gt 'bank', 'loan_officer', 'start'
  74. else
  75. 'You approach the teller and say, “Hello, I’d like to talk to someone about increasing my credit limit.”'
  76. *nl
  77. '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.”'
  78. delact 'See about increasing your credit limit'
  79. end
  80. end
  81. end
  82. end
  83. if karta >= 0:
  84. 'You have <<karta>> <b>₽</b> in your account.'
  85. 'You can take out a loan of <font color="blue"><<bankDebtLimit>></font>!'
  86. else
  87. 'You hava a debt of <font color="red"><<-1 * karta>></font> <b>₽</b>.'
  88. 'You can take out a loan of <font color="blue"><<bankDebtLimit + karta>></font>!'
  89. end
  90. end
  91. act 'Leave':
  92. minut += 2
  93. if bankloc = 1:
  94. gt 'city_center'
  95. else
  96. gt 'pav_commercial'
  97. end
  98. end
  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':
  108. minut += 5
  109. if bankloc = 1:
  110. gt 'city_center'
  111. else
  112. gt 'pav_commercial'
  113. end
  114. end
  115. end
  116. end
  117. gs 'stat'
  118. end
  119. if $ARGS[0] = 'loan_officer':
  120. if $ARGS[1] = 'start':
  121. *clr & cla
  122. menu_off = 1
  123. minut += 15
  124. gs 'stat'
  125. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  126. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/001.jpg"></center>'
  127. 'You speak to the teller, who tells you to have a seat in the waiting room.'
  128. 'After waiting about 15 minutes, you are called back to an office, where a handsome young executive awaits.'
  129. '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?"'
  130. act 'I''d like to talk about increasing my credit limit, please.':
  131. *clr & cla
  132. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  133. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/002.jpg"></center>'
  134. 'Karpenko nods and asks, "How large a loan were you thinking of taking out?"'
  135. 'Marshaling your nerve and trying to appear confident, you say, "I was thinking of maybe... 50.000 rubles?"'
  136. *nl
  137. '"Let me just review your information for a moment," Karpenko says, typing into his computer.'
  138. '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!'
  139. *nl
  140. '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."'
  141. gs 'stat'
  142. act 'Isn''t there some way you could reconsider, Mr. Karpenko?':
  143. *clr & cla
  144. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  145. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/003.jpg"></center>'
  146. '"I''m sorry, Miss <<$pcs_lastname>>, but my decision is final," Karpenko says firmly.'
  147. *nl
  148. '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.'
  149. '"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."'
  150. *nl
  151. '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."'
  152. gs 'bank', 'loan_officer', 'sex_start'
  153. end
  154. act 'Sadly rise and head for the door':
  155. *clr & cla
  156. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  157. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/004.jpg"></center>'
  158. '"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."'
  159. *nl
  160. '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.'
  161. '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?'
  162. gs 'bank', 'loan_officer', 'sex_start'
  163. end
  164. end
  165. act 'Actually, I''ve changed my mind. Sorry to bother you.':
  166. minut += 3
  167. gt 'bank', 'start'
  168. end
  169. elseif $ARGS[1] = 'sex_start':
  170. menu_off = 1
  171. gs 'stat'
  172. if pcs_inhib >= 35 and stat['vaginal'] ! 0:
  173. gs 'willpower', 'sex', 'self', 'medium'
  174. if will_cost <= pcs_willpwr:
  175. act 'I think you''ll find that I can be very cooperative, Mr. Karpenko..." (<<will_cost>> Willpower)':
  176. *clr & cla
  177. gs 'willpower', 'pay', 'self'
  178. gs 'stat'
  179. gs 'npcgeneratec', 0, 'Mr. Karpenko, Loan Officer for VTB Bank', rand(21,27)
  180. $npc_thdick[$npclastgenerated] = 'thick'
  181. npc_dick[$npclastgenerated] = 21
  182. $npc_firstname[$npclastgenerated] = 'Filip'
  183. $npc_nickname[$npclastgenerated] = 'Mr. Karpenko'
  184. $npc_lastname[$npclastgenerated] = 'Karpenko'
  185. $npc_notes[$npclastgenerated] = 'A young Loan Officer for VTB Bank'
  186. gs 'npcpreservec', $npclastgenerated
  187. $boy = $npclastsaved
  188. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  189. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/005.jpg"></center>'
  190. '"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.'
  191. *nl
  192. '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.'
  193. *nl
  194. '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.'
  195. *nl
  196. gs 'arousal', 'kiss', 10, 'sub'
  197. gs 'stat'
  198. act 'Get his cock ready to fuck you':
  199. *clr & cla
  200. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  201. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/007.jpg"></center>'
  202. '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."'
  203. *nl
  204. '"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!'
  205. *nl
  206. '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.'
  207. *nl
  208. 'Finally your efforts bear fruit as Karpenko says, "Let''s move over to the sofa. Time to put that pussy of yours to work!"'
  209. gs 'arousal', 'bj', 15, 'sub'
  210. gs 'stat'
  211. act 'Lie on your side':
  212. *clr & cla
  213. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  214. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/008.jpg"></center>'
  215. '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.'
  216. *nl
  217. gs 'arousal', 'kiss', -5, 'sub'
  218. gs 'arousal', 'vaginal', 15, 'sub'
  219. gs 'stat'
  220. act 'Climb on top and ride him':
  221. *clr & cla
  222. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  223. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/009.jpg"></center>'
  224. '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.'
  225. *nl
  226. '"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.'
  227. *nl
  228. gs 'arousal', 'vaginal', 15, 'sub'
  229. gs 'stat'
  230. act 'Taking it like a bitch': gt 'bank', 'loan_officer', 'sex_finish'
  231. end
  232. end
  233. act 'Get on top':
  234. *clr & cla
  235. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  236. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/009.jpg"></center>'
  237. '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.'
  238. *nl
  239. '"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.'
  240. *nl
  241. gs 'arousal', 'vaginal', 15, 'sub'
  242. gs 'stat'
  243. act 'Spoon-fucking':
  244. *clr & cla
  245. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  246. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/008.jpg"></center>'
  247. '"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.'
  248. *nl
  249. gs 'arousal', 'kiss', -5
  250. gs 'arousal', 'vaginal', 15, 'sub'
  251. gs 'stat'
  252. act 'Taking it like a bitch': gt 'bank', 'loan_officer', 'sex_finish'
  253. end
  254. end
  255. end
  256. end
  257. else
  258. 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>'
  259. end
  260. end
  261. act 'No, sleeping with a man for money is not something you''re willing to do!':
  262. *clr & cla
  263. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  264. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/006.jpg"></center>'
  265. '"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."'
  266. '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."'
  267. '"I... will keep that in mind," you mutter as you throw open the door and run back to the safety of the lobby.'
  268. *nl
  269. gs 'stat'
  270. act 'Flee the room':
  271. minut += 10
  272. gt 'bank', 'start'
  273. end
  274. end
  275. elseif $ARGS[1] = 'sex_finish':
  276. *clr & cla
  277. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  278. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/010.jpg"></center>'
  279. '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."'
  280. *nl
  281. '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.'
  282. *nl
  283. '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.'
  284. *nl
  285. gs 'arousal', 'vaginal', 15, 'sub'
  286. gs 'stat'
  287. act 'What did you do?!':
  288. *clr & cla
  289. '<center><b><font color="maroon">Mr. Karpenko</font></b></center>'
  290. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/bank/sex/011.jpg"></center>'
  291. 'Sudden panic surges in you chest and dispels the pleasure-cobwebs in an instant as you demand, "Did you just come inside me?!?"'
  292. *nl
  293. '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?"'
  294. *nl
  295. '"But I could get pregnant!" you object.'
  296. *nl
  297. '"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."'
  298. *nl
  299. '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.'
  300. *nl
  301. gs 'cum_call', '', $boy, 1, '', '', 110
  302. gs 'cuminsidereact', 'Mr. Karpenko'
  303. gs 'fame', 'city', 'sex', 3
  304. gs 'arousal', 'end'
  305. bankDebtLimit = 50000
  306. money += karta + bankDebtLimit
  307. karta = -bankDebtLimit
  308. bankDebtLimitRaised = 1
  309. minut += 30
  310. gs 'stat'
  311. act 'Head back to the lobby': gt 'bank', 'start'
  312. end
  313. end
  314. end
  315. if $ARGS[0] = 'cikl':
  316. !!------------------------------------------------------------------------------------------------------------
  317. !! Banking
  318. !!------------------------------------------------------------------------------------------------------------
  319. !!MJ: Add some (daily) interest to the bank account.
  320. !!Not very realistic but won''t make anyone too rich.
  321. if bankAccount = 1:
  322. kartatotal = karta
  323. :kartaloop
  324. if kartatotal > 20000000:
  325. kartacount += 1
  326. largekarta[kartacount] = 20000000
  327. kartatotal -= 20000000
  328. jump 'kartaloop'
  329. else
  330. largekarta[0] = kartatotal
  331. end
  332. if karta >= 2000000:
  333. !! yearly interest of 2.3% recalculated into daily interest = 0.006% daily
  334. intrate = 60
  335. elseif karta >= 0:
  336. !! yearly interest of 1.15% recalculated into daily interest = 0.003% daily
  337. intrate = 30
  338. else
  339. !! yearly overdraft interest of 20% recalculated into daily interest = 0.055% daily
  340. intrate = 550
  341. end
  342. :intloop
  343. if kartacount > 0:
  344. smallmoneypos += (largekarta[kartacount] * intrate)
  345. if smallmoneypos >= 1000000 or smallmoneypos <= -1000000: karta += smallmoneypos / 1000000 & smallmoneypos = smallmoneypos mod 1000000
  346. largekarta[kartacount] = 0
  347. kartacount -= 1
  348. jump 'intloop'
  349. else
  350. smallmoneypos += (largekarta[0] * intrate)
  351. largekarta[0] = 0
  352. if kartacount ! 0: kartacount = 0
  353. end
  354. if smallmoneypos >= 1000000 or smallmoneypos <= -1000000:
  355. karta += smallmoneypos / 1000000
  356. smallmoneypos = smallmoneypos mod 1000000
  357. end
  358. if atmDeposit > 0 and atmDepositDate <= daystart:
  359. karta += atmDeposit
  360. atmDeposit = 0
  361. end
  362. ! Daily Internet and mobile checks
  363. $internet_action_messages = func('internet_mobile', 'check_subscription_actions')
  364. count = ARRSIZE('$internet_action_messages')
  365. i = 0
  366. :loop_messages
  367. '<<$internet_action_messages[i]>>'
  368. i += 1
  369. if i < count: jump 'loop_messages'
  370. killvar 'i'
  371. killvar 'count'
  372. end
  373. !!------------------------------------------------------------------------------------------------------------
  374. !! Payments
  375. !!------------------------------------------------------------------------------------------------------------
  376. if day = 25:
  377. !! meynold payment
  378. if mey_vika['mey_vika_qw'] >= 35 and mey_tamara['help_count'] < 10 and mey_tamara['qw_end'] = 0:
  379. karta += 10000
  380. '<b><font color=green>For your efforts aunt Tamara gave you 10,000 rubles</font></b>'
  381. mey_tamara['help_count'] = 0
  382. elseif mey_vika['mey_vika_qw'] >= 35 and mey_tamara['help_count'] >= 10 and mey_tamara['qw_end'] = 0:
  383. karta += 15000
  384. '<b><font color=green>For your efforts aunt Tamara gave you 15,000 rubles</font></b>'
  385. mey_tamara['help_count'] = 0
  386. end
  387. if BurgerQW['Secretary'] = 1 and BurgerQW['SecretaryTimesWorked'] > 0 and paydaybistrosec = 0:
  388. Pay = BurgerQW['SecretaryTimesWorked'] * 1250
  389. BurgerQW['SecretaryTimesWorked'] = 0
  390. karta += Pay
  391. paydaybistrosec = 1
  392. '<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>'
  393. end
  394. if workKafe['job'] = 1 and paydayKafe = 0:
  395. paydayKafe = 1
  396. pay = smenaKafe * 600
  397. karta += pay
  398. smenaKafe = 0
  399. '<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>'
  400. end
  401. if workhosp = 1 and nopaypoly = 0:
  402. pay = smena * 1000
  403. karta += pay
  404. smena = 0
  405. nopaypoly = 1
  406. '<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>'
  407. end
  408. if worksalon = 1 and nopaysalon = 0:
  409. pay = smenaSalon * 1560
  410. karta += pay
  411. smenaSalon = 0
  412. nopaysalon = 1
  413. '<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>'
  414. end
  415. if tanwork = 1 and nopaytanwork = 0:
  416. nopaytanwork = 1
  417. karta += 10000
  418. '<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>'
  419. end
  420. if workSec = 1 and paydaySec = 0:
  421. paydaySec = 1
  422. pay = sekDay * 1500
  423. karta += pay
  424. sekDay = 0
  425. '<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>'
  426. end
  427. if workFabrika = 1:
  428. pay = smenaFabrika * 600
  429. smenaFabrika = 0
  430. karta += pay
  431. '<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>'
  432. end
  433. if husband > 0 and paydayHusb = 0:
  434. paydayHusb = 1
  435. if husbFin = 0:huspay = 20000
  436. if husbFin = 1:huspay = 30000
  437. if husbFin = 2:huspay = 40000
  438. karta += huspay
  439. '<b><font color="green">Your husband has paid <<huspay>> <b>₽</b> into your bank account.</font></b>'
  440. end
  441. if func('uniutil', 'scholarship' , 'is_active') and scholarshipday = 0:
  442. scholarshipday = 1
  443. karta += func('uniutil', 'scholarship', 'get')
  444. '<b><font color="green">You have received '+func('uniutil', 'scholarship', 'get')+' <b>₽</b> from your scholarship.</font></b>'
  445. end
  446. ! Utilities for all apartments.
  447. if func('homes_properties', 'get_owned_homes_count') > 0 and electroday = 0:
  448. gs 'housing', 'util'
  449. if bankAccount = 1 and karta >= elektro:
  450. '<b><font color="green"><<elektro>> <b>₽</b> for utilities, has been automatically deducted from your bank account.</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 = 1 and karta + bankDebtLimit >= elektro:
  457. '<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>'
  458. electroday = 1
  459. if elektro >= 2000:
  460. elektro = 2000 + rand(0, 100)
  461. karta -= elektro * hcount_util
  462. end
  463. elseif bankAccount = 0 and money >= elektro:
  464. '<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>'
  465. electroday = 1
  466. if elektro >= 2000:
  467. elektro = 2000 + rand(0, 100)
  468. money -= elektro * hcount_util
  469. end
  470. else
  471. '<b><font color="red">Your card was declined during automatic debit of <<elektro>> <b>₽</b>, for automatic utilities payment.</font></b>'
  472. end
  473. end
  474. ! Cable for all apartments
  475. if kabel > 0 and kabelday = 0:
  476. gs 'housing', 'cable'
  477. if bankAccount = 1 and karta >= (300 * hcount_cable):
  478. '<b><font color="green">300 <b>₽</b> has been deducted from your bank account, for you cable TV subscription.</font></b>'
  479. kabelday = 1
  480. karta -= 300 * hcount_cable
  481. elseif bankAccount = 1 and karta + bankDebtLimit >= (300 * hcount_cable):
  482. '<b><font color="green">300 <b>₽</b> has been deducted from your bank account and overdraw facility, for you cable TV subscription.</font></b>'
  483. kabelday = 1
  484. karta -= 300 * hcount_cable
  485. elseif bankAccount = 0 and money >= (300 * hcount_cable):
  486. '<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>'
  487. kabelday = 1
  488. money -= 300 * hcount_cable
  489. else
  490. '<b><font color="red">Your card was declined during automatic debit of 300 <b>₽</b> for cable TV subscription.</font></b>'
  491. end
  492. end
  493. end
  494. if day ! 25:
  495. if paydayHusb = 1:paydayHusb = 0
  496. if workKafe['job'] = 1 and paydayKafe = 1:paydayKafe = 0
  497. if workSec = 1 and paydaySec = 1:paydaySec = 0
  498. !! No idea what haday is, it does not show up anywhere else beyond this one line
  499. !! All the checks for the whether Sveta owns certain properties make no sense, if it is the 25th, haday, electroday and
  500. !! kabelday are set to 0. The fact that Sveta doesn''t own or rent properties only means that their value is meaningless
  501. !! anyway.
  502. if haday = 1: haday = 0
  503. if electroday = 1: electroday = 0
  504. if kabelday = 1: kabelday = 0
  505. if scholarshipday = 1: scholarshipday = 0
  506. if nopaytanwork = 1: nopaytanwork = 0
  507. if nopaypoly = 1: nopaypoly = 0
  508. if nopaysalon = 1: nopaysalon = 0
  509. if paydaybistrosec = 1: paydaybistrosec = 0
  510. end
  511. !! Checking for tenants moving out
  512. gs 'homes_properties', 'tenant_move_out_check'
  513. !!----------------------------------------
  514. !! Rent
  515. !!----------------------------------------
  516. !! property_rent, property_days, $property_name, $property_display $property_code
  517. gs 'homes_properties', 'get_rented_properties'
  518. count = ARRSIZE('property_name')
  519. if count > 0:
  520. i = 0
  521. :loop_rent_payments
  522. if property_days[i] <= 2:
  523. !From bank
  524. if property_days[i] <= 0:
  525. gs 'homes_properties', 'cancel_rent', $property_code[i]
  526. elseif bankAccount = 1 and karta >= property_rent[i]:
  527. '<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>'
  528. karta -= property_rent[i]
  529. gs 'homes_properties', 'add_rent_days', $property_code[i]
  530. elseif bankAccount = 1 and karta + bankDebtLimit >= property_rent[i]:
  531. '<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>'
  532. karta -= property_rent[i]
  533. gs 'homes_properties', 'add_rent_days', $property_code[i]
  534. elseif bankAccount = 0:
  535. '<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 manual payment as soon as possible.</font></b>'
  536. else
  537. nl
  538. '<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>'
  539. end
  540. end
  541. i += 1
  542. if i < count: jump 'loop_rent_payments'
  543. gs 'homes_properties', 'clean_up_property_data'
  544. killvar 'i'
  545. end
  546. !!------------------------------------------------------------------------------------------------------------
  547. end
  548. --- bank ---------------------------------