rinok 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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. '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>.'
  24. if $message ! '':
  25. '<center>'+$message+'</center>'
  26. killvar '$message'
  27. else
  28. ''
  29. end
  30. *pl '<center><table align="center" width=80%>'
  31. *P FUNC ('$stock_item', 10, 'Dishwashing detergent', 45, 'fairy', 'rinok')
  32. *P FUNC ('$stock_item', 10, 'Clothing detergent', 90, 'poroshok', 'rinok')
  33. *P FUNC ('$stock_item', 8, 'Plates', 500, 'cltarelka', 'rinok')
  34. *P FUNC ('$stock_item', 20, 'Cosmetics', 380, 'kosmetica', 'rinok')
  35. *P FUNC ('$stock_item', 5, 'Razors', 200, 'stanok', 'rinok')
  36. *P FUNC ('$stock_item', 10, 'Tampons', 120, 'tampon', 'rinok')
  37. *P FUNC ('$stock_item', 10, 'Sanitary napkins', 120, 'sanpad', 'rinok')
  38. *P FUNC ('$stock_item', 5, 'Underwear', 1450, 'clrbelo', '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 tanga = 0 and PCloSkirt > 2:
  43. nurand = rand(0, 100)
  44. if nurand >= 80:
  45. pcs_mood -= 5
  46. nudity += 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 >= 150:
  110. act 'Buy a book of fantasy 150r':
  111. cls
  112. minut += 15
  113. money -= 150
  114. f_book += 1
  115. gs'stat'
  116. 'You bought the book for fantasy 150 <b>₽</b>.'
  117. act 'Leave':gt'rinok','start'
  118. end
  119. end
  120. if money >= 300:
  121. act 'Buy ladies for romance 300r':
  122. cls
  123. minut += 15
  124. money -= 300
  125. w_book += 1
  126. gs'stat'
  127. 'You bought the novel for the ladies 300 <b>₽</b>.'
  128. act 'Leave':gt'rinok','start'
  129. end
  130. end
  131. act 'Leave':gt'rinok','start'
  132. end
  133. if coat[5] < 1:
  134. 'On the market you see winter jackets for sale - 4,000 <b>₽</b>'
  135. if coat[5] = 0:dynamic 'act ''Look at cheap coat 5'':gt ''clothing'', ''view_clothing_item'', ''shop'', ''coat'', 5, 4000'
  136. end
  137. act 'View clothing':
  138. cla
  139. minut += 5
  140. gt 'rinok', 'clo'
  141. end
  142. end
  143. if $ARGS[0] = 'clo':
  144. $metka = $ARGS[0]
  145. $loc = $CURLOC
  146. cls
  147. gs'stat'
  148. if night_mode = 1:
  149. fcolor = rgb(255, 255, 255)
  150. bcolor = rgb(0, 0, 0)
  151. lcolor = rgb(106, 90, 205)
  152. else
  153. fcolor = rgb(0, 0, 0)
  154. bcolor = rgb(255, 255, 255)
  155. lcolor = rgb(106, 90, 205)
  156. end
  157. '<center><b><font color="maroon">Clothes.</font></b></center>'
  158. 'Cheap clothing on the market stall.'
  159. act 'Return':
  160. cla
  161. minut += 5
  162. gt 'rinok', 'start'
  163. end
  164. i = 15
  165. :loopcheap
  166. 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>'
  167. i += 1
  168. if i <= 20:jump 'loopcheap'
  169. end
  170. if $ARGS[0] = 'marketclo':
  171. cla
  172. if cheap[i] ! 0:
  173. msg 'You already own these clothes.'
  174. gt 'rinok', 'clo'
  175. end
  176. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 1500
  177. end
  178. if $ARGS[0] = 'tailor':
  179. CLOSE ALL
  180. cls
  181. gs 'stat'
  182. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  183. act 'Speak to the tailor':
  184. cla
  185. *clr
  186. '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.'
  187. if portnoyQW > 0:
  188. 'Aah <<$pcs_nickname>>, come, come to adjust clothes again?'
  189. if money >= 500:
  190. act 'Take in the clothes you are wearing (500 <b>₽</b>)':
  191. cla
  192. *clr
  193. minut += 15
  194. if CloStyle = 5 or $clothingworntype = 'exercise':
  195. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  196. else
  197. money -= 500
  198. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = pcs_hips'
  199. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  200. end
  201. act 'Leave':gt 'street'
  202. end
  203. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  204. act 'Take in all the clothes':gt 'portnoi2'
  205. end
  206. else
  207. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  208. act 'Tell him your name':
  209. cla
  210. portnoyQW = 1
  211. '"<<$pcs_nickname>>"'
  212. '"What a pretty name. <<$pcs_nickname>>, come, sit here on this chair. Anyway how can I help you?'
  213. act 'Ask him about your clothes':
  214. cla
  215. *clr
  216. minut += 15
  217. gs 'stat'
  218. '"Can you tailor my clothes to fit me better?"'
  219. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  220. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  221. '"Well, I can take in whatever clothing you bring to me for 500 <b>₽</b>."'
  222. act 'Leave':gt 'street'
  223. end
  224. end
  225. end
  226. act 'Leave':gt 'street'
  227. end
  228. end
  229. --- rinok ---------------------------------