rinwork 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  1. # rinwork
  2. $location_type = 'event_outdoors'
  3. if $ARGS[0] = 'start':
  4. $metka = 'start'
  5. $loc = 'rinwork'
  6. cls
  7. gs 'stat'
  8. '<center><b><font color="maroon">Marketplace</font></b></center>'
  9. '<center><img <<$set_imgh>> src="images/locations/city/residential/market/rinok.jpg"></center>'
  10. 'You stand at your clothes stall waiting for buyers.'
  11. 'Cash taken <<rinmon>> <b>₽</b>, You have sold <<rinvesh>> items.'
  12. 'The average price on the market <<prodpayum>>'
  13. if hour = 14:
  14. 'Arthur comes to you and you start to calculate how much you should give him.'
  15. act 'Give money to Arthur':
  16. cla
  17. *clr
  18. rinart = rinvesh * 1000
  19. rinmon -= rinart
  20. money += rinmon
  21. gs 'stat'
  22. 'You gave Arthur <<rinart>> per sold <<rinvesh>> things.'
  23. 'Today you have earned <<rinmon>> <b>₽</b>'
  24. if rinart < arturplan:
  25. arturnoo += 1
  26. 'Uh, <<$pcs_nickname>>, this is bad, you haven''t made enough money. You will completely ruin me.'
  27. else
  28. arturyes += 1
  29. 'Well done <<$pcs_nickname>>, good job.'
  30. end
  31. if arturnoo > arturyes:arturnoo = arturnoo - arturyes & arturyes = 0
  32. if arturyes > arturnoo:arturyes = arturyes - arturnoo & arturnoo = 0
  33. if arturnoo = arturyes:arturnoo = 0 & arturyes = 0
  34. rinmon = 0
  35. rinvesh = 0
  36. if arturnoo > 10:
  37. arturnoo = 0
  38. work = 0
  39. workrin = 0
  40. 'Uh, you''re fucking useless. Here''s your papers. Hit the road, I do not want to see you ever again!'
  41. act 'Leave':gt 'street'
  42. exit
  43. end
  44. rinrand = rand(1, 400)
  45. if rinrand < pcs_apprnc:
  46. if palevorin = 0 and rinhoz = 0:
  47. '"Hey <<$pcs_nickname>>, you and I have not even met properly. Come into the warehouse, eat barbecue, drink and get acquainted.'
  48. act 'Refuse':
  49. cla
  50. 'You start making excuses. Arthur says to you, "Hey, don''t insult me, your stall is dirty, it has dust and dirt all over it. I should fine you, but if you''re nice I will let you off.'
  51. act 'Goto warehouse':gt 'RynokHoz', 'the_beginning'
  52. act 'No':
  53. cla
  54. arturplan += 1000
  55. if money >= 1000:
  56. money -= 1000
  57. '"Hey, your stall is dirty, you owe a thousand <b>₽</b>, in fine." Arthur takes the money.'
  58. else
  59. 'Go with him, before it gets worse'
  60. end
  61. act 'Leave':gt 'street'
  62. end
  63. end
  64. act 'Go to warehouse':gt 'RynokHoz', 'the_beginning'
  65. elseif palevorin = 0 and rinhoz > 0:
  66. '"Hey <<$pcs_nickname>>, want to Come to the warehouse again, eat barbecue, drink and have some fun.'
  67. act 'Refuse':
  68. cla
  69. 'You start making excuses. Arthur says to you, "Hey, don''t insult me, your stall is dirty, it has dust and dirt all over it. I should fine you, but if you''re nice I will let you off.'
  70. act 'Goto warehouse':gt 'RynokHoz', 'the_beginning'
  71. act 'No':
  72. cla
  73. arturplan += 1000
  74. if money >= 1000:
  75. money -= 1000
  76. '"Hey, your stall is dirty, you owe a thousand <b>₽</b>, in fine." Arthur takes the money.'
  77. else
  78. 'Go with him, before it gets worse'
  79. end
  80. act 'Leave':gt 'street'
  81. end
  82. end
  83. act 'Go to warehouse':gt 'RynokHoz', 'the_beginning'
  84. elseif palevorin = 1:
  85. if rinhoz = 1:
  86. 'Artur goes behind you into the stall carrying some stuff, then he comes up behind you are working and gives your ass a slap and squeeze. "I am glad you turned Abdul and Hasan down. I like having you all to myself."'
  87. 'You turn your head to look at him and smile. "I like that too, but maybe from now on you can lock the door first?"'
  88. 'He laughs and nods. "Of course of course, anything for you my sweet. If you wish the door to be locked from now on the door will be locked from now on. Speaking of which, come let us go try locking the door to make sure it works and have lunch."'
  89. act 'Go with Artur':palevorin = 3 & gt 'RynokHoz', 'the_beginning'
  90. else
  91. 'Artur goes behind you into the stall carrying some stuff. He comes up behind you are working and gives your ass a slap and squeeze, with one hand while the other one snakes around and roughly grabs your tit, as he whispers in your ear. "So you like cock, I didn''t think you was a little slut but that is ok, I like dirty sluts."'
  92. 'He cuts you off before you can make any protest about being slut. "No it is good, I can use this. Now come let us go to the warehouse so I can fuck you."'
  93. act 'Go with him':gt 'RynokHoz', 'sex'
  94. act 'Refuse':
  95. 'You shake your head and pull out of his grasp. "I am not a slut Artur and I am not going with you."'
  96. 'You see the anger flare up in his eyes. "So you think you are to good for me whore? I gave you a job, I treated you nice and then you fuck those two and now I am not good enough?" He shakes his head. "No get your ass in the warehouse now or you are fired and I will tell Abdul and Hasan they are free to tell everyone about how you greedily took their cocks like the little slut you are."'
  97. 'You are a bit shocked at this level of anger and the ultimatum. You are unsure what to do, go with him, keep your job, and your rep. Or refuse and find a new job and hope no one believes them.'
  98. act 'Go with him':gt 'RynokHoz', 'sex'
  99. act 'Get fired':
  100. 'You shake your head no. "No I won''t go with you."'
  101. 'Before you notice him raising his hand, you feel the burning on your cheek as he slaps you. "Then get out of her whore, your fired and I don''t want to see you back here!" He says very loudly as he pushes you out from behind his stall, loud enough that many people are looking your direction now at what is going on.'
  102. 'With shame and a burning cheek you walk away.'
  103. act 'Leave':gt 'street'
  104. end
  105. end
  106. end
  107. elseif palevorin > 2 and rinhoz = 1:
  108. '"Hey <<$pcs_nickname>>. Come into the warehouse, eat barbecue, drink, rest." He walks right up to you and slaps you on the ass.'
  109. act 'Refuse':
  110. cla
  111. 'You start making excuses. Arthur says to you, "Hey, don''t insult me, your stall is dirty, it has dust and dirt all over it. I should fine you, but if you''re nice I will let you off.'
  112. act 'Go to warehouse':gt 'RynokHoz', 'the_beginning'
  113. act 'No':
  114. cla
  115. arturplan += 1000
  116. if money >= 1000:
  117. money -= 1000
  118. '"Hey, your stall is dirty, you owe a thousand <b>₽</b>, in fine." Arthur takes the money.'
  119. else
  120. 'Go with him, before it gets worse'
  121. end
  122. act 'Leave':gt 'street'
  123. end
  124. end
  125. act 'Go with him':gt 'RynokHoz', 'the_beginning'
  126. elseif palevorin = 2 and rinhoz = 2:
  127. if rand(0,1) = 0:
  128. 'Artur walks up and slaps your ass hard and grabs you roughly by one arm. "Bitch get your fucking ass in the warehouse."'
  129. act 'Refuse':
  130. cla
  131. 'You start making excuses. Arthur says to you, "Hey, don''t insult me you fucking slut, I was there. I know what a whore you are. Now get your fucking ass in the warehouse or the whole town will know what a whore you are."'
  132. act 'Go to warehouse':gt 'RynokHoz', 'sex'
  133. act 'No':
  134. cla
  135. arturnoo = 0
  136. work = 0
  137. workrin = 0
  138. if repa < 6:repa = 6
  139. 'Then fuck you, you little fucking whore, your fired and by tomorrow the whole town will know what a whore you are."'
  140. act 'Leave':gt 'street'
  141. end
  142. end
  143. act 'Go with him':gt 'RynokHoz', 'sex'
  144. else
  145. 'Artur walks up and slaps your ass hard and grabs you roughly by one arm. "Hey bitch, how would you like to make some extra money? My friends need company."'
  146. act 'Refuse':
  147. cla
  148. 'You start making excuses. Arthur says to you, "Hey, don''t insult me you fucking slut, I was there. I know what a whore you are. Now get your fucking ass in the warehouse or the whole town will know what a whore you are."'
  149. act 'Go to warehouse':gt 'RynokHoz', 'group'
  150. act 'No':
  151. cla
  152. arturnoo = 0
  153. work = 0
  154. workrin = 0
  155. if repa < 6:repa = 6
  156. 'Then fuck you, you little fucking whore, your fired and by tomorrow the whole town will know what a whore you are."'
  157. act 'Leave':gt 'street'
  158. end
  159. end
  160. act 'Go with him':gt 'RynokHoz', 'group'
  161. end
  162. else
  163. act 'Leave work':gt 'street'
  164. end
  165. else
  166. act 'Leave work':gt 'street'
  167. end
  168. end
  169. exit
  170. elseif hour < 14:
  171. pokrand = rand(0, 1)
  172. if pokrand = 0:
  173. $pokup = 'You have no customers.'
  174. pokupatel = 0
  175. ''
  176. 'Aunt Katya pushes her trolley through the market carrying cakes and coffee.'
  177. else
  178. pokupatel = 1
  179. poktiprand = rand(0, 7)
  180. if poktiprand = 0:$pokup = 'A middle-aged man approaches your stall.' & $poktip = 'Man' & pokti = 1
  181. if poktiprand = 1:$pokup = 'A young man approaches your stall.' & $poktip = 'Guy' & pokti = 2
  182. if poktiprand = 2:$pokup = 'A teenage boy approaches your stall.' & $poktip = 'Boy' & pokti = 3
  183. if poktiprand = 3:$pokup = 'A woman approaches your stall.' & $poktip = 'Woman' & pokti = 1
  184. if poktiprand = 4:$pokup = 'A girl approaches your stall.' & $poktip = 'Girl' & pokti = 2
  185. if poktiprand = 5:$pokup = 'A teen girl approaches your stall.' & $poktip = 'Girlfriend' & pokti = 3
  186. if poktiprand = 6:$pokup = 'An old man approaches your stall.' & $poktip = 'Old man' & pokti = 0
  187. if poktiprand = 7:$pokup = 'A Grandma approaches your stall.' & $poktip = 'Granny' & pokti = 0
  188. end
  189. '<b><<$pokup>></b>'
  190. if pokupatel = 1:
  191. act 'How can I help you?':
  192. cla
  193. minut += 15
  194. pokvnirand = rand(0, 2)
  195. if pokvnirand = 0:
  196. '<<$poktip>> with little interest examines your wares.'
  197. elseif pokvnirand = 1:
  198. '<<$poktip>> with interest looks through the clothes for sale.'
  199. elseif pokvnirand = 2:
  200. '<<$poktip>> picks up the item.'
  201. end
  202. act 'Now this is very fashionable':
  203. cla
  204. tipred = 3
  205. gs 'rinwork', 'answerrin'
  206. '<<$rinitog>>'
  207. if pokupatel = 0:act 'Further':gt 'rinwork', 'start'
  208. if pokupatel = 1:
  209. '<<$poktip>> asks you for a price'
  210. gs 'rinwork', 'answerrin2'
  211. end
  212. end
  213. act 'This item is very high quality and reliable':
  214. cla
  215. tipred = 1
  216. gs 'rinwork', 'answerrin'
  217. '<<$rinitog>>'
  218. if pokupatel = 0:act 'Further':gt 'rinwork', 'start'
  219. if pokupatel = 1:
  220. '<<$poktip>> asks you for a price'
  221. gs 'rinwork', 'answerrin2'
  222. end
  223. end
  224. act 'You''ll find this very reasonable':
  225. cla
  226. tipred = 0
  227. gs 'rinwork', 'answerrin'
  228. '<<$rinitog>>'
  229. if pokupatel = 0:act 'Further':gt 'rinwork', 'start'
  230. if pokupatel = 1:
  231. '<<$poktip>> asks you for a price'
  232. gs 'rinwork', 'answerrin2'
  233. end
  234. end
  235. act 'That is so you':
  236. cla
  237. tipred = 2
  238. gs 'rinwork', 'answerrin'
  239. '<<$rinitog>>'
  240. if pokupatel = 0:act 'Further':gt 'rinwork', 'start'
  241. if pokupatel = 1:
  242. '<<$poktip>> asks you for a price'
  243. gs 'rinwork', 'answerrin2'
  244. end
  245. end
  246. end
  247. end
  248. act 'Laze around (0:15)':
  249. minut += 15
  250. gt 'rinwork', 'start'
  251. end
  252. if hour = 9:
  253. rintakrand = rand(0, 5)
  254. if rintakrand = 0:
  255. $rintak = ' Hassan unloads clothes in front of saleswoman Nadias stall.'
  256. act 'See Hassan and Nadia':
  257. cla
  258. minut += 15
  259. talkrand = rand(0, 2)
  260. if talkrand = 0:'Hassan utters to Nadia. "Today you will sell more, and to the rich ladies, I need the money."'
  261. if talkrand = 1:'Hassan opens trunks and puts clothes on the counter.'
  262. if talkrand = 2:'Hassan drags trunks to his stall.'
  263. act 'Further':gt 'rinwork', 'start'
  264. end
  265. elseif rintakrand = 1:
  266. $rintak = 'On the next stall Abdul is talking loudly and giving clothes to saleswoman Anna.'
  267. act 'Look at Abdul and Anna':
  268. cla
  269. minut += 15
  270. talkrand = rand(0, 2)
  271. if talkrand = 0:'Abdul swears. "We''re fucked, you can not sell anything!" Anna retorts, "You give me this rotten shit to sell, take it nobody wants it."'
  272. if talkrand = 1:'Abdul slaps Annas ass, she pretends that nothing happened.'
  273. if talkrand = 2:'Abdul drags trunks to his stall.'
  274. act 'Further':gt 'rinwork', 'start'
  275. end
  276. elseif rintakrand = 2:
  277. $rintak = 'Abdul and Hassan stand beside your stall and saying something guttural.'
  278. act 'View the Armenians':
  279. cla
  280. minut += 15
  281. talkrand = rand(0, 2)
  282. if talkrand = 0:'Abdul and Hassan continue to talk about something, you do not know the language, and can not understand what they are saying.'
  283. if talkrand = 1:'Abdul and Hassan ignore you and discuss what sounds like clothes prices.'
  284. if talkrand = 2:'Abdul looks at you and says to Hassan, "Look at that a girl, she looks like a good fuck, yeah."'
  285. act 'Further':gt 'rinwork', 'start'
  286. end
  287. elseif rintakrand = 3:
  288. $rintak = 'Anna hangs clothes on her stall shouting at Nadia.'
  289. act 'Chat with girls':
  290. cla
  291. annaQW += 1
  292. NadiaQW += 1
  293. minut += 15
  294. talkrand = rand(0, 2)
  295. if talkrand = 0:
  296. 'Anna tells you that her skirt needed altering, there is a great Jewish tailor, his shop is nearby.'
  297. else
  298. 'Nadia tells her how some pervert molested her on the subway rubbing his dick on her ass.'
  299. end
  300. act 'Further':gt 'rinwork', 'start'
  301. end
  302. elseif rintakrand = 4:
  303. $rintak = 'Arthur is talking about something with Abdullah.'
  304. act 'View the Armenians':
  305. cla
  306. minut += 15
  307. talkrand = rand(0, 2)
  308. if talkrand = 0:'Abdul and Hassan continue to talk about something, you do not know the language, and can not understand what they are saying.'
  309. if talkrand = 1:'Abdul and Arthur ignore you and discuss what sounds like clothes prices.'
  310. if talkrand = 2:'Abdul looks at you and says to Arthur, "Nice girl you got there, you fucking her?."'
  311. act 'Further':gt 'rinwork', 'start'
  312. end
  313. elseif rintakrand = 5:
  314. $rintak = 'Arthur, Abdul Hassan are talking loudly, about something in foreign language.'
  315. act 'View the Armenians':
  316. cla
  317. minut += 15
  318. talkrand = rand(0, 2)
  319. if talkrand = 0:'Abdul and Hassan continue to talk about something, you do not know the language, and can not understand what they are saying.'
  320. if talkrand = 1:'Armenians ignore you and discuss what sounds like clothes prices.'
  321. if talkrand = 2:'Abdul looks at you and says to the other Armenians, "Pretty little girl, can i have her?"'
  322. act 'Further':gt 'rinwork', 'start'
  323. end
  324. end
  325. '<<$rintak>>'
  326. elseif hour = 10:
  327. rintakrand = rand(0, 5)
  328. if rintakrand = 0:
  329. $rintak = 'Hassan sits on a chair dejectedly chewing food and talking with his mouth full to his saleswoman Nadia.'
  330. act 'Watch Hasan':
  331. cla
  332. minut += 15
  333. 'Hassan says to Nadia "Nadia, why you refuse? Come here, have some wine."'
  334. act 'Further':gt 'rinwork', 'start'
  335. end
  336. elseif rintakrand = 1:
  337. $rintak = 'At the stall in front of you sits Nadia doing crossword puzzles.'
  338. act 'Chat with Nadia':
  339. cla
  340. !!annaQW += 1
  341. NadiaQW += 1
  342. minut += 15
  343. 'Nadia leaves the crossword and willingly gossips with you.'
  344. act 'Further':gt 'rinwork', 'start'
  345. end
  346. elseif rintakrand = 2:
  347. $rintak = 'Nadias stall in front of you has many buyers and she fusses before them laying out goods.'
  348. act 'Chat with Nadia':
  349. cla
  350. !!annaQW += 1
  351. NadiaQW -= 1
  352. minut += 15
  353. 'Nadia is not happy, "Shoo, no distractions, I have buyers."'
  354. act 'Further':gt 'rinwork', 'start'
  355. end
  356. elseif rintakrand = 3:
  357. $rintak = 'At the next stall Anna is drinking coffee.'
  358. act 'Chat with Anna':
  359. cla
  360. annaQW += 1
  361. !!NadiaQW -= 1
  362. minut += 15
  363. 'Anna is happy to chat with you about any old nonsense.'
  364. act 'Further':gt 'rinwork', 'start'
  365. end
  366. elseif rintakrand = 4:
  367. $rintak = 'At the next stall Anna tries to interest buyers in her goods.'
  368. act 'Chat with Anna':
  369. cla
  370. annaQW -= 1
  371. !!NadiaQW -= 1
  372. minut += 15
  373. 'Anya is not happy, "Shoo, no distractions, I have buyers."'
  374. act 'Further':gt 'rinwork', 'start'
  375. end
  376. elseif rintakrand = 5:
  377. $rintak = 'Anna is gossiping with Aunt Katya.'
  378. act 'Chat with Anna and Aunt Katya':
  379. cla
  380. annaQW += 1
  381. !!NadiaQW += 1
  382. tetaKataQW += 1
  383. minut += 15
  384. 'Aunt Katya is talking about her pies and Anya complains that it because of her bloody pies that her ass is twice as big as it was.'
  385. act 'Further':gt 'rinwork', 'start'
  386. end
  387. end
  388. '<<$rintak>>'
  389. elseif hour = 11:
  390. rintakrand = rand(0, 5)
  391. if rintakrand = 0:
  392. $rintak = 'Nadia is approached by three Armenians, Aslan, Camille and Mukhtar and they begin to molest her, she swears at them and tries to dodge.'
  393. act 'Look at Nadia and Armenians.':
  394. cla
  395. !!annaQW += 1
  396. !!NadiaQW += 1
  397. !!tetaKataQW += 1
  398. minut += 15
  399. 'The Armenians seem to be trying to persuade Nadia to have sex with them.'
  400. act 'Further':gt 'rinwork', 'start'
  401. end
  402. elseif rintakrand = 1:
  403. $rintak = 'At the stall in front of you sits Nadia eating cake.'
  404. act 'Chat with Nadia':
  405. cla
  406. !!annaQW += 1
  407. NadiaQW += 1
  408. minut += 15
  409. 'Nadia finishes the cake and mumbles about the usual nonsense with you.'
  410. if clener = 0:
  411. clener = 1
  412. 'Nadia tells you about an office building not too far away that is looking for a cleaner.'
  413. end
  414. act 'Further':gt 'rinwork', 'start'
  415. end
  416. elseif rintakrand = 2:
  417. $rintak = 'Nadias stall in front of you has many buyers and she fusses before laying out goods.'
  418. act 'Chat with Nadia':
  419. cla
  420. !!annaQW += 1
  421. NadiaQW -= 1
  422. minut += 15
  423. 'Nadia is not happy, "Shoo, no distractions, I have buyers."'
  424. act 'Further':gt 'rinwork', 'start'
  425. end
  426. elseif rintakrand = 3:
  427. $rintak = 'At the next stall Anna is reading a newspaper.'
  428. act 'Chat with Anna':
  429. cla
  430. annaQW += 1
  431. !!NadiaQW -= 1
  432. minut += 15
  433. 'Anna is happy to chat with you about any old nonsense.'
  434. act 'Further':gt 'rinwork', 'start'
  435. end
  436. elseif rintakrand = 4:
  437. $rintak = 'At the next stall Anna tries to interest buyers in her goods.'
  438. act 'Chat with Anna':
  439. cla
  440. annaQW -= 1
  441. !!NadiaQW -= 1
  442. minut += 15
  443. 'Anya is not happy, "Shoo, no distractions, I have buyers."'
  444. act 'Further':gt 'rinwork', 'start'
  445. end
  446. elseif rintakrand = 5:
  447. $rintak = 'Nadia is approached by three Armenians, Aslan, Camille and Mukhtar and they begin to molest her, she swears at them and tries to dodge.'
  448. act 'Look at Nadia and Armenians.':
  449. cla
  450. !!annaQW += 1
  451. !!NadiaQW += 1
  452. !!tetaKataQW += 1
  453. minut += 15
  454. 'The Armenians seem to be trying to persuade Nadia to have sex with them.'
  455. act 'Further':gt 'rinwork', 'start'
  456. end
  457. end
  458. '<<$rintak>>'
  459. elseif hour = 12:
  460. rintakrand = rand(0, 5)
  461. if rintakrand = 0:
  462. $rintak = 'Hasan has bought chebureki and is eating it while sitting behind Nadia in the stall.'
  463. act 'Chat with Nadia':
  464. cla
  465. !!annaQW += 1
  466. NadiaQW -= 1
  467. minut += 15
  468. 'Nadia shies away from talking in front of Hassan.'
  469. act 'Further':gt 'rinwork', 'start'
  470. end
  471. elseif rintakrand = 1:
  472. $rintak = 'Nadia is surrounded by customers.'
  473. act 'Chat with Nadia':
  474. cla
  475. !!annaQW += 1
  476. NadiaQW -= 1
  477. minut += 15
  478. 'Nadia is not happy, "Shoo, no distractions, I have buyers."'
  479. act 'Further':gt 'rinwork', 'start'
  480. end
  481. elseif rintakrand = 2:
  482. $rintak = 'Nadia talks with Anna.'
  483. act 'Chat with girls':
  484. cla
  485. annaQW += 1
  486. NadiaQW += 1
  487. minut += 15
  488. talkrand = rand(0, 2)
  489. if talkrand = 0:
  490. 'Anna tells you that her friend used to clean an office building not far from here, they are looking for a new cleaner if you need to make some extra cash.'
  491. if clener = 0:clener = 1
  492. elseif talkrand = 1:
  493. 'Nadia tells her how some pervert molested her on the subway rubbing his dick on her ass.'
  494. end
  495. act 'Further':gt 'rinwork', 'start'
  496. end
  497. elseif rintakrand = 3:
  498. $rintak = 'Anna is selling clothing to customers.'
  499. act 'Chat with Anna':
  500. cla
  501. annaQW -= 1
  502. !!NadiaQW -= 1
  503. minut += 15
  504. 'Anna is not happy, "Shoo, no distractions, I have buyers."'
  505. act 'Further':gt 'rinwork', 'start'
  506. end
  507. elseif rintakrand = 4:
  508. $rintak = 'Anna is drinking coffee sitting at her stall.'
  509. act 'Chat with Anna':
  510. cla
  511. annaQW += 1
  512. !!NadiaQW -= 1
  513. minut += 15
  514. 'Anna happily chats with you about nonsense.'
  515. act 'Further':gt 'rinwork', 'start'
  516. end
  517. elseif rintakrand = 5:
  518. $rintak = 'Nadia is idly trying to catch flies.'
  519. act 'Chat with Nadia':
  520. cla
  521. !!annaQW += 1
  522. NadiaQW += 2
  523. minut += 15
  524. 'Nadia glad for the distraction and has fun chatting with you.'
  525. act 'Further':gt 'rinwork', 'start'
  526. end
  527. end
  528. '<<$rintak>>'
  529. elseif hour = 13:
  530. rintakrand = rand(0, 5)
  531. if rintakrand = 0:
  532. $rintak = 'Hassan begins to slowly collect goods from Nadia.'
  533. elseif rintakrand = 1:
  534. $rintak = 'Anya sits and calculates her profit for the day.'
  535. elseif rintakrand = 2:
  536. $rintak = 'Nadia calculates her days profit.'
  537. elseif rintakrand = 3:
  538. $rintak = 'Abdul begins collecting goods from Anna.'
  539. elseif rintakrand = 4:
  540. $rintak = 'Arthur walks past your stall.'
  541. else
  542. $rintak = 'Aunt Katya stops trading pies and leaves.'
  543. end
  544. '<<$rintak>>'
  545. end
  546. if money >= 200:
  547. act 'Buy a snack (200 <b>₽</b>) (0:15)':
  548. tetaKataQW += 1
  549. money -= 200
  550. gs 'kit_din'
  551. gs 'food', 'snack'
  552. end
  553. end
  554. end
  555. end
  556. if $ARGS[0] = 'answerrin':
  557. if tipred = pokti:
  558. $rinitog = ''
  559. if pokvnirand = 0:
  560. pokpay = rand(1000, 1200)
  561. elseif pokvnirand = 1:
  562. pokpay = rand(1200, 1500)
  563. elseif pokvnirand = 2:
  564. pokpay = rand(1500, 2000)
  565. end
  566. else
  567. $rinitog = '<<$poktip>> puts the item back and leaves.'
  568. pokupatel = 0
  569. end
  570. end
  571. if $ARGS[0] = 'answerrin2':
  572. act 'Name the price':
  573. cla
  574. prodpay = input ("Enter the selling price")
  575. if prodpay < 1000:prodpay = prodpayum
  576. 'You tell them <<prodpay>> <b>₽</b>'
  577. if prodpay <= pokpay:
  578. poknorand = rand(1, 100 + pcs_apprnc/4)
  579. if poknorand >= 10:
  580. rinmon += prodpay
  581. rinvesh += 1
  582. 'The buyer takes the item and pays <<prodpay>> <b>₽</b>.'
  583. act 'Sell it':gt 'rinwork', 'start'
  584. else
  585. 'The buyer twirls clothing in their hands <<prodpay>> <b>₽</b> is too expensive.'
  586. gs 'rinwork', 'answerrin3'
  587. act 'You can not take less, take the item back':gt 'rinwork', 'start'
  588. end
  589. elseif prodpay > pokpay and prodpay <= pokpay + 100:
  590. poknorand = rand(1, 100 + pcs_apprnc/4)
  591. if poknorand >= 10:
  592. 'The buyer twirls clothing in their hands <<prodpay>> <b>₽</b> is too expensive.'
  593. gs 'rinwork', 'answerrin3'
  594. act 'I can not take less, take the item back.':gt 'rinwork', 'start'
  595. else
  596. 'Buyer puts the item back and leaves'
  597. act 'Return':gt 'rinwork', 'start'
  598. end
  599. elseif prodpay > pokpay + 100:
  600. 'The buyer puts the item back and leaves.'
  601. act 'Return':gt 'rinwork', 'start'
  602. end
  603. end
  604. end
  605. if $ARGS[0] = 'answerrin3':
  606. if prodpay >= 1100:
  607. act 'Reduce the price by 100 <b>₽</b>':
  608. cla
  609. 'You have reduced the price by 100 <b>₽</b>.'
  610. poknorand = rand(1, 100 + pcs_apprnc/4)
  611. if poknorand >= 10:
  612. rinmon += prodpay - 100
  613. rinvesh += 1
  614. 'The buyer takes the item and pays <<prodpay - 100>> <b>₽</b>'
  615. act 'Haggle':gt 'rinwork', 'start'
  616. else
  617. 'The buyer puts the item back and leaves.'
  618. act 'Haggle':gt 'rinwork', 'start'
  619. end
  620. end
  621. elseif prodpay >= 1050:
  622. act 'Reduce the price by 50 <b>₽</b>':
  623. cla
  624. 'You have reduced the price by 50 <b>₽</b>.'
  625. poknorand = rand(1, 100 + pcs_apprnc/4)
  626. if poknorand >= 30:
  627. rinmon += prodpay - 50
  628. rinvesh += 1
  629. 'The buyer takes the item and pays <<prodpay - 50>> <b>₽</b>'
  630. act 'Haggle':gt 'rinwork', 'start'
  631. else
  632. 'The buyer puts the item back and leaves.'
  633. act 'Haggle':gt 'rinwork', 'start'
  634. end
  635. end
  636. end
  637. end
  638. --- rinwork ---------------------------------