rinok 7.6 KB

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