rinok 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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 = $CURLOC
  21. $metkaM = $ARGS[0]
  22. $locM = $CURLOC
  23. '<center><b><font color="maroon">Marketplace</font></b></center>'
  24. '<center><img src="images/etogame/rinok.jpg"></center>'
  25. '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>.'
  26. if $message ! '':
  27. '<center>'+$message+'</center>'
  28. killvar '$message'
  29. else
  30. ''
  31. end
  32. *pl '<center><table align="center" width=80%>'
  33. *P FUNC ('$stock_item', 10, 'Dishwashing detergent', 45, 'fairy', 'rinok')
  34. *P FUNC ('$stock_item', 10, 'Clothing detergent', 90, 'poroshok', 'rinok')
  35. *P FUNC ('$stock_item', 8, 'Plates', 500, 'cltarelka', 'rinok')
  36. *P FUNC ('$stock_item', 20, 'Cosmetics', 380, 'kosmetica', 'rinok')
  37. *P FUNC ('$stock_item', 5, 'Razors', 200, 'stanok', 'rinok')
  38. *P FUNC ('$stock_item', 10, 'Tampons', 120, 'tampon', 'rinok')
  39. *P FUNC ('$stock_item', 10, 'Sanitary napkins', 120, 'sanpad', 'rinok')
  40. *P FUNC ('$stock_item', 5, 'Underwear', 1450, 'clrbelo', 'rinok')
  41. *P iif(umbrella = 0, FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'rinok'), '')
  42. '</table></center>'
  43. *pl
  44. if analplugIN = 1 and tanga = 0 and PCloSkirt > 2:
  45. nurand = rand(0, 100)
  46. if nurand >= 80:
  47. manna -= 5
  48. SUB += 1
  49. pcs_horny += SUB
  50. nudity += 1
  51. 'You feel someones hand gently touch <a href="exec:gt ''etoexhib'', ''pos15''">your butt</a>.'
  52. end
  53. end
  54. act 'Leave':
  55. cla
  56. minut += 5
  57. $metka = ''
  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. fcolor = rgb(0, 0, 0)
  149. bcolor = rgb(255, 255, 255)
  150. lcolor = rgb(106, 90, 205)
  151. '<center><b><font color="maroon">Clothes.</font></b></center>'
  152. 'Cheap clothing on the market stall.'
  153. act 'Return':
  154. cla
  155. minut += 5
  156. gt 'rinok', 'start'
  157. end
  158. i = 15
  159. :loopcheap
  160. if cheap[i] = 0:*p '<a href="exec: i = <<i>> & gt ''rinok'', ''marketclo''"><img src="images/clothing/1cheap/cheap<<i>>.jpg" height="400" /></a>'
  161. i += 1
  162. if i <= 20:jump 'loopcheap'
  163. end
  164. if $ARGS[0] = 'marketclo':
  165. cla
  166. if cheap[i] ! 0:
  167. msg 'You already own these clothes.'
  168. gt 'rinok', 'clo'
  169. end
  170. gt 'clothing', 'view_clothing_item', 'shop', 'cheap',i, 1500
  171. end
  172. if $ARGS[0] = 'tailor':
  173. CLOSE ALL
  174. cls
  175. gs 'stat'
  176. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  177. act 'Speak to the tailor':
  178. cla
  179. *clr
  180. '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.'
  181. if portnoyQW > 0:
  182. 'Aah <<$pcs_nickname>>, come, come to adjust clothes again?'
  183. if money >= 500:
  184. act 'Take in the clothes you are wearing (500 <b>₽</b>)':
  185. cla
  186. *clr
  187. minut += 15
  188. if CloStyle = 5 or $clothingworntype = 'exercise':
  189. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  190. else
  191. money -= 500
  192. dynamic '<<$clothingworntype>>B[<<clothingwornnumber>>] = bedra'
  193. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  194. end
  195. act 'Leave':gt 'street'
  196. end
  197. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  198. act 'Take in all the clothes':gt 'portnoi2'
  199. end
  200. else
  201. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  202. act 'Tell him your name':
  203. cla
  204. portnoyQW = 1
  205. '"<<$pcs_nickname>>"'
  206. '"What a pretty name. <<$pcs_nickname>>, come, sit here on this chair. Anyway how can I help you?'
  207. act 'Ask him about your clothes':
  208. cla
  209. *clr
  210. minut += 15
  211. gs 'stat'
  212. '"Can you tailor my clothes to fit me better?"'
  213. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  214. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  215. '"Well, I can take in whatever clothing you bring to me for 500 <b>₽</b>."'
  216. act 'Leave':gt 'street'
  217. end
  218. end
  219. end
  220. act 'Leave':gt 'street'
  221. end
  222. end
  223. --- rinok ---------------------------------