rinok 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  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 iif(umbrella = 0, FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'rinok'), '')
  39. '</table></center>'
  40. *pl
  41. if analplugIN = 1 and $pantyworntype = 'none' and PCloSkirt > 2:
  42. nurand = rand(0, 100)
  43. if nurand >= 80:
  44. pcs_mood -= 5
  45. exhibition_exp += 2
  46. 'You feel someones hand gently touch <a href="exec:gt ''etoexhib'', ''pos15''">your butt</a>.'
  47. gs 'arousal', 'foreplay', 3
  48. gs 'stat'
  49. end
  50. end
  51. act 'Leave':
  52. cla
  53. minut += 5
  54. $metka = ''
  55. gs 'arousal', 'end'
  56. gs 'stat'
  57. gt 'street'
  58. end
  59. if workrin = 1:
  60. if week = 2 or week = 4 or week = 6:
  61. if hour < 9:
  62. 'Arthur is waiting to set up a stall for you.'
  63. act '<b>Set up stall</b>':
  64. cla
  65. *clr
  66. hour = 9
  67. minut = 0
  68. prodpayum = 1200
  69. 'Arthur unloads stuff from his truck and gives them to you. You start hanging the clothes on the stall.'
  70. '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>."'
  71. act 'To work':gt 'rinwork', 'start'
  72. end
  73. end
  74. end
  75. act 'Retire from work':
  76. cla
  77. work = 0
  78. workrin = 0
  79. 'You retired from work and collect papers.'
  80. act 'Leave':gt 'rinok', 'start'
  81. end
  82. end
  83. if (work = 0 or cheatWork = 1) and workrin = 0:
  84. nl
  85. 'On one of the tents hangs an ad, "Need female market stall staff. Paychecks big."'
  86. act 'Approach the owner of the ad':
  87. cla
  88. *clr
  89. 'Hi, my name is Arthur. I own many stalls here, I need a saleswoman. The last one moved to St. Petersburg. Want the job?'
  90. 'Pay is a percentage of sales, paid at end of shift. Your shifts would be Tuesdays, Thursdays and Saturdays. From 8 till 14.'
  91. 'Government insist I have your papers, so it would be your main job.'
  92. act 'Leave':gt 'rinok', 'start'
  93. act 'Take the job':
  94. cla
  95. work = 1
  96. workrin = 1
  97. arturplan = 5000
  98. 'You give your papers to Arthur and shaking your hand he welcomes you on board.'
  99. act 'Leave':gt 'rinok', 'start'
  100. end
  101. end
  102. end
  103. act 'Go to the book tray':
  104. cls
  105. minut += 15
  106. gs'stat'
  107. '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>.'
  108. if money >= 150:
  109. act 'Buy a book of fantasy 150r':
  110. cls
  111. minut += 15
  112. money -= 150
  113. f_book += 1
  114. gs'stat'
  115. 'You bought the book for fantasy 150 <b>₽</b>.'
  116. act 'Leave':gt'rinok','start'
  117. end
  118. end
  119. if money >= 300:
  120. act 'Buy ladies for romance 300r':
  121. cls
  122. minut += 15
  123. money -= 300
  124. w_book += 1
  125. gs'stat'
  126. 'You bought the novel for the ladies 300 <b>₽</b>.'
  127. act 'Leave':gt'rinok','start'
  128. end
  129. end
  130. act 'Leave':gt'rinok','start'
  131. end
  132. if coat[5] < 1:
  133. 'On the market you see winter jackets for sale - 4,000 <b>₽</b>'
  134. if coat[5] = 0:dynamic 'act ''Look at cheap coat 5'':gt ''clothing'', ''view_clothing_item'', ''shop'', ''coat'', 5, 4000'
  135. end
  136. act 'View clothing':
  137. cla
  138. minut += 5
  139. gt 'rinok', 'clo'
  140. end
  141. end
  142. if $ARGS[0] = 'clo':
  143. $metka = $ARGS[0]
  144. $loc = $CURLOC
  145. cls
  146. gs'stat'
  147. if night_mode = 1:
  148. fcolor = rgb(255, 255, 255)
  149. bcolor = rgb(0, 0, 0)
  150. lcolor = rgb(106, 90, 205)
  151. else
  152. fcolor = rgb(0, 0, 0)
  153. bcolor = rgb(255, 255, 255)
  154. lcolor = rgb(106, 90, 205)
  155. end
  156. '<center><b><font color="maroon">Clothes.</font></b></center>'
  157. 'Cheap clothing on the market stall.'
  158. act 'Return':
  159. cla
  160. minut += 5
  161. gt 'rinok', 'start'
  162. end
  163. i = 15
  164. :loopcheap
  165. 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>'
  166. i += 1
  167. if i <= 20:jump 'loopcheap'
  168. end
  169. if $ARGS[0] = 'marketclo':
  170. cla
  171. if cheap[i] ! 0:
  172. msg 'You already own these clothes.'
  173. gt 'rinok', 'clo'
  174. end
  175. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 1500
  176. end
  177. if $ARGS[0] = 'tailor':
  178. CLOSE ALL
  179. cls
  180. gs 'stat'
  181. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  182. act 'Speak to the tailor':
  183. cla
  184. *clr
  185. '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.'
  186. if portnoyQW > 0:
  187. 'Aah <<$pcs_nickname>>, come, come to adjust clothes again?'
  188. if money >= 500:
  189. act 'Take in the clothes you are wearing (500 <b>₽</b>)':
  190. cla
  191. *clr
  192. minut += 15
  193. if CloStyle = 5 or $clothingworntype = 'exercise':
  194. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  195. else
  196. money -= 500
  197. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = pcs_hips'
  198. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  199. end
  200. act 'Leave':gt 'street'
  201. end
  202. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  203. act 'Take in all the clothes':gt 'portnoi2'
  204. end
  205. else
  206. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  207. act 'Tell him your name':
  208. cla
  209. portnoyQW = 1
  210. '"<<$pcs_nickname>>"'
  211. '"What a pretty name. <<$pcs_nickname>>, come, sit here on this chair. Anyway how can I help you?'
  212. act 'Ask him about your clothes':
  213. cla
  214. *clr
  215. minut += 15
  216. gs 'stat'
  217. '"Can you tailor my clothes to fit me better?"'
  218. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  219. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  220. '"Well, I can take in whatever clothing you bring to me for 500 <b>₽</b>."'
  221. act 'Leave':gt 'street'
  222. end
  223. end
  224. end
  225. act 'Leave':gt 'street'
  226. end
  227. end
  228. --- rinok ---------------------------------