rinok.qsrc 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  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', 5, 'Razors', 800, '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 iif(umbrella = 0, FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'rinok'), '')
  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, that is all 150 <b>₽</b> and women''s novels are in paperback standing 300 <b>₽</b>.'
  109. if money >= 350:
  110. act 'Buy a book of fantasy 350r':
  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 350r':
  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 350r':
  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. if night_mode = 1:
  160. fcolor = rgb(255, 255, 255)
  161. bcolor = rgb(0, 0, 0)
  162. lcolor = rgb(106, 90, 205)
  163. else
  164. fcolor = rgb(0, 0, 0)
  165. bcolor = rgb(255, 255, 255)
  166. lcolor = rgb(106, 90, 205)
  167. end
  168. '<center><b><font color="maroon">Clothes.</font></b></center>'
  169. 'Cheap clothing on the market stall.'
  170. act 'Return':
  171. cla
  172. minut += 5
  173. gt 'rinok', 'start'
  174. end
  175. i = 15
  176. :loopcheap
  177. 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>'
  178. i += 1
  179. if i <= 20:jump 'loopcheap'
  180. end
  181. if $ARGS[0] = 'marketclo':
  182. cla
  183. if cheap[i] ! 0:
  184. msg 'You already own these clothes.'
  185. gt 'rinok', 'clo'
  186. end
  187. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 750
  188. end
  189. if $ARGS[0] = 'tailor':
  190. CLOSE ALL
  191. cls
  192. gs 'stat'
  193. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  194. act 'Speak to the tailor':
  195. cla
  196. *clr
  197. '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.'
  198. if portnoyQW > 0:
  199. 'Aah <<$pcs_nickname>>, come, come to adjust clothes again?'
  200. if money >= 500:
  201. act 'Take in the clothes you are wearing (500 <b>₽</b>)':
  202. cla
  203. *clr
  204. minut += 15
  205. if CloStyle = 5 or $clothingworntype = 'exercise':
  206. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  207. else
  208. money -= 500
  209. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = pcs_hips'
  210. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  211. end
  212. act 'Leave': minut += 10 & gt 'street'
  213. end
  214. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  215. act 'Take in all the clothes':gt 'portnoi2'
  216. end
  217. else
  218. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  219. act 'Tell him your name':
  220. cla
  221. portnoyQW = 1
  222. '"<<$pcs_nickname>>"'
  223. '"What a pretty name. <<$pcs_nickname>>, come, sit here on this chair. Anyway how can I help you?'
  224. act 'Ask him about your clothes':
  225. cla
  226. *clr
  227. minut += 15
  228. gs 'stat'
  229. '"Can you tailor my clothes to fit me better?"'
  230. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  231. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  232. '"Well, I can take in whatever clothing you bring to me for 500 <b>₽</b>."'
  233. act 'Leave': minut += 10 & gt 'street'
  234. end
  235. end
  236. end
  237. act 'Leave': minut += 10 & gt 'street'
  238. end
  239. end
  240. --- rinok ---------------------------------