rinok.qsrc 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. # rinok
  2. $location_type = 'public_outdoors'
  3. if $ARGS[0] = 'start' or $metka = 'start':
  4. CLOSE ALL
  5. if sound = 0:
  6. if month >=11 and month <= 12 or month >=1 and month <=3:
  7. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  8. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  9. else
  10. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  11. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  12. end
  13. end
  14. !if sound = 0:PLAY 'sound/street.mp3',30
  15. cls
  16. gs 'stat'
  17. minut = minut + 5
  18. mag = 1
  19. $metka = 'start'
  20. $loc = 'rinok'
  21. '<center><b><font color="maroon">Marketplace</font></b></center>'
  22. '<center><img <<$set_imgh>> src="images/locations/city/residential/market/rinok.jpg"></center>'
  23. ''
  24. 'On one of the stalls has a sign "Cash paid for secondhand clothes", here you can <a href="exec:cloc=2 & gt ''clothing'', ''view_clothing_list'', ''sell''">sell individual items</a> or <a href="exec:gs ''portnoi''">all of your unwanted clothes</a>.'
  25. if $message ! '':
  26. '<center>'+$message+'</center>'
  27. killvar '$message'
  28. else
  29. ''
  30. end
  31. *pl '<center><table align="center" width=80%>'
  32. *P FUNC ('$stock_item', 10, 'Dishwashing detergent', 400, 'fairy', 'rinok')
  33. *P FUNC ('$stock_item', 10, 'Clothing detergent', 400, 'poroshok', 'rinok')
  34. *P FUNC ('$stock_item', 8, 'Plates', 450, 'cltarelka', 'rinok')
  35. *P FUNC ('$stock_item', 20, 'Cosmetics', 1000, 'kosmetica', 'rinok')
  36. *P FUNC ('$stock_item', 30, 'Razors', 600, 'stanok', 'rinok')
  37. *P FUNC ('$stock_item', 10, 'Tampons', 160, 'tampon', 'rinok')
  38. *P FUNC ('$stock_item', 10, 'Sanitary napkins', 80, 'sanpad', 'rinok')
  39. *P FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'rinok', '', iif(bag > 0, 0, 1), 'You need a purse')
  40. '</table></center>'
  41. *pl
  42. if analplugIN = 1 and $pantyworntype = 'none' and PCloSkirt > 2:
  43. nurand = rand(0, 100)
  44. if nurand >= 80:
  45. pcs_mood -= 5
  46. gs 'exhibitionism', 1
  47. 'You feel someones hand gently touch <a href="exec:gt ''etoexhib'', ''pos15''">your butt</a>.'
  48. gs 'arousal', 'foreplay', 3
  49. gs 'stat'
  50. end
  51. end
  52. act 'Leave':
  53. cla
  54. minut += 5
  55. $metka = ''
  56. gs 'arousal', 'end'
  57. gs 'stat'
  58. gt 'street'
  59. end
  60. if workrin = 1:
  61. if week = 2 or week = 4 or week = 6:
  62. if hour < 9:
  63. 'Arthur is waiting to set up a stall for you.'
  64. act '<b>Set up stall</b>':
  65. cla
  66. *clr
  67. hour = 9
  68. minut = 0
  69. prodpayum = 1200
  70. 'Arthur unloads stuff from his truck and gives them to you. You start hanging the clothes on the stall.'
  71. 'Before leaving Arthur gives you instructions. "Sell at whatever price you want, but at the end of your shift I will charge you 1000 <b>₽</b> for each item sold. You should be making me no less than <<arturplan>> <b>₽</b>."'
  72. act 'To work':gt 'rinwork', 'start'
  73. end
  74. end
  75. end
  76. act 'Retire from work':
  77. cla
  78. work = 0
  79. workrin = 0
  80. 'You retired from work and collect papers.'
  81. act 'Leave':gt 'rinok', 'start'
  82. end
  83. end
  84. if (work = 0 or cheatWork = 1) and workrin = 0:
  85. nl
  86. 'On one of the tents hangs an ad, "Need female market stall staff. Paychecks big."'
  87. act 'Approach the owner of the ad':
  88. cla
  89. *clr
  90. 'Hi, my name is Arthur. I own many stalls here, I need a saleswoman. The last one moved to St. Petersburg. Want the job?'
  91. 'Pay is a percentage of sales, paid at end of shift. Your shifts would be Tuesdays, Thursdays and Saturdays. From 8 till 14.'
  92. 'Government insist I have your papers, so it would be your main job.'
  93. act 'Leave':gt 'rinok', 'start'
  94. act 'Take the job':
  95. cla
  96. work = 1
  97. workrin = 1
  98. arturplan = 5000
  99. 'You give your papers to Arthur and shaking your hand he welcomes you on board.'
  100. act 'Leave':gt 'rinok', 'start'
  101. end
  102. end
  103. end
  104. act 'Go to the book tray':
  105. cls
  106. minut += 15
  107. gs'stat'
  108. 'On the counter is a very entertaining fantasy book, a science fiction book and women''s romance novels. They all cost 350 <b>₽</b>.'
  109. if money >= 350:
  110. act 'Buy a book of fantasy 350 <b>₽</b>':
  111. cls
  112. minut += 15
  113. money -= 350
  114. f_book += 1
  115. gs'stat'
  116. 'You bought the book for fantasy 350 <b>₽</b>.'
  117. act 'Leave':gt'rinok','start'
  118. end
  119. end
  120. if money >= 350:
  121. act 'Buy a book of science fiction 350 <b>₽</b>':
  122. cls
  123. minut += 15
  124. money -= 350
  125. f_book += 1
  126. gs'stat'
  127. 'You bought the book for science fiction 350 <b>₽</b>.'
  128. act 'Leave':gt'rinok','start'
  129. end
  130. end
  131. if money >= 350:
  132. act 'Buy ladies for romance 350 <b>₽</b>':
  133. cls
  134. minut += 15
  135. money -= 350
  136. w_book += 1
  137. gs'stat'
  138. 'You bought the novel for the ladies 350 <b>₽</b>.'
  139. act 'Leave':gt'rinok','start'
  140. end
  141. end
  142. act 'Leave':gt'rinok','start'
  143. end
  144. if coat[5] < 1:
  145. 'On the market you see winter jackets for sale - 4,000 <b>₽</b>'
  146. if coat[5] = 0:dynamic 'act ''Look at cheap coat 5'':gt ''clothing'', ''view_clothing_item'', ''shop'', ''coat'', 5, 4000'
  147. end
  148. act 'View clothing':
  149. cla
  150. minut += 5
  151. gt 'rinok', 'clo'
  152. end
  153. end
  154. if $ARGS[0] = 'clo':
  155. $metka = $ARGS[0]
  156. $loc = $CURLOC
  157. cls
  158. gs'stat'
  159. gs 'themes', 'indoors'
  160. '<center><b><font color="maroon">Clothes.</font></b></center>'
  161. 'Cheap clothing on the market stall.'
  162. act 'Return':
  163. cla
  164. minut += 5
  165. gt 'rinok', 'start'
  166. end
  167. i = 15
  168. :loopcheap
  169. if cheap[i] = 0:*p '<a href="exec: i = <<i>> & gt ''rinok'', ''marketclo''"><img <<$set_imgh>> src="images/pc/clothing/1cheap/<<i>>.jpg" height="400" /></a>'
  170. i += 1
  171. if i <= 20:jump 'loopcheap'
  172. end
  173. if $ARGS[0] = 'marketclo':
  174. cla
  175. if cheap[i] ! 0:
  176. msg 'You already own these clothes.'
  177. gt 'rinok', 'clo'
  178. end
  179. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 750
  180. end
  181. if $ARGS[0] = 'tailor':
  182. CLOSE ALL
  183. cls
  184. gs 'stat'
  185. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  186. act 'Speak to the tailor':
  187. cla
  188. *clr
  189. 'Elderly Jewish man makes a pattern at the table, he pulls his glasses down a little and looking over the top of them he points at you.'
  190. if portnoyQW > 0:
  191. 'Aah <<$pcs_nickname>>, come, come to adjust clothes again?'
  192. if money >= 500:
  193. act 'Take in the clothes you are wearing (500 <b>₽</b>)':
  194. cla
  195. *clr
  196. minut += 15
  197. if CloStyle = 5 or $clothingworntype = 'exercise':
  198. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  199. else
  200. money -= 500
  201. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = pcs_hips'
  202. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  203. end
  204. act 'Leave': minut += 10 & gt 'street'
  205. end
  206. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  207. act 'Take in all the clothes':gt 'portnoi2'
  208. end
  209. else
  210. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  211. act 'Tell him your name':
  212. cla
  213. portnoyQW = 1
  214. '"<<$pcs_nickname>>"'
  215. '"What a pretty name. <<$pcs_nickname>>, come, sit here on this chair. Anyway how can I help you?'
  216. act 'Ask him about your clothes':
  217. cla
  218. *clr
  219. minut += 15
  220. gs 'stat'
  221. '"Can you tailor my clothes to fit me better?"'
  222. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  223. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  224. '"Well, I can take in whatever clothing you bring to me for 500 <b>₽</b>."'
  225. act 'Leave': minut += 10 & gt 'street'
  226. end
  227. end
  228. end
  229. act 'Leave': minut += 10 & gt 'street'
  230. end
  231. end
  232. --- rinok ---------------------------------