city_market.qsrc 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. # city_market
  2. !2021/04/29
  3. $location_type = 'public_outdoors'
  4. if $ARGS[0] = 'start' or $loc_arg = 'start':
  5. CLOSE ALL
  6. if sound = 0:
  7. if month >=11 and month <= 12 or month >=1 and month <=3:
  8. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  9. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  10. else
  11. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  12. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  13. end
  14. end
  15. !if sound = 0:PLAY 'sound/street.mp3',30
  16. cls
  17. gs 'stat'
  18. minut = minut + 5
  19. mag = 1
  20. $loc_arg = 'start'
  21. $loc = 'city_market'
  22. $menu_loc = 'city_market'
  23. $menu_arg = 'start'
  24. '<center><b><font color="maroon">Marketplace</font></b></center>'
  25. '<center><img <<$set_imgh>> src="images/locations/city/residential/market/rinok.jpg"></center>'
  26. ''
  27. '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>.'
  28. if $message ! '':
  29. '<center>'+$message+'</center>'
  30. killvar '$message'
  31. else
  32. ''
  33. end
  34. *pl '<center><table align="center" width=80%>'
  35. *P FUNC ('$stock_item', 10, 'Dishwashing detergent', 400, 'fairy', 'city_market')
  36. *P FUNC ('$stock_item', 10, 'Clothing detergent', 400, 'poroshok', 'city_market')
  37. *P FUNC ('$stock_item', 8, 'Plates', 450, 'cltarelka', 'city_market')
  38. *P FUNC ('$stock_item', 20, 'Cosmetics', 1000, 'kosmetica', 'city_market')
  39. *P FUNC ('$stock_item', 25, 'Razors (number of shaves)', 300, 'stanok', 'city_market')
  40. *P FUNC ('$stock_item', 10, 'Tampons', 160, 'tampon', 'city_market')
  41. *P FUNC ('$stock_item', 10, 'Sanitary napkins', 80, 'sanpad', 'city_market')
  42. *P FUNC ('$single_stock_item', 1, 'Umbrella', 1000, 'umbrella', 'city_market', '', iif(bag > 0, 0, 1), 'You need a purse')
  43. '</table></center>'
  44. *pl
  45. if analplugIN = 1 and $pantyworntype = 'none' and PCloSkirt > 2:
  46. nurand = rand(0, 100)
  47. if nurand >= 80:
  48. pcs_mood -= 5
  49. gs 'exhibitionism', 1
  50. 'You feel someones hand gently touch <a href="exec:gt ''etoexhib'', ''pos15''">your butt</a>.'
  51. gs 'arousal', 'foreplay', 3
  52. gs 'stat'
  53. end
  54. end
  55. act 'Leave':
  56. cla
  57. minut += 5
  58. $loc_arg = ''
  59. gs 'arousal', 'end'
  60. gs 'stat'
  61. gt 'city_residential'
  62. end
  63. if workrin = 1:
  64. if week = 2 or week = 4 or week = 6:
  65. if hour < 9:
  66. 'Arthur is waiting to set up a stall for you.'
  67. act '<b>Set up stall</b>':
  68. cla
  69. *clr
  70. hour = 9
  71. minut = 0
  72. prodpayum = 1200
  73. 'Arthur unloads stuff from his truck and gives them to you. You start hanging the clothes on the stall.'
  74. '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>."'
  75. act 'To work':gt 'city_marketwork', 'start'
  76. end
  77. end
  78. end
  79. act 'Retire from work':
  80. cla
  81. work = 0
  82. workrin = 0
  83. 'You retired from work and collect papers.'
  84. act 'Leave':gt 'city_market', 'start'
  85. end
  86. end
  87. if (work = 0 or cheatWork = 1) and workrin = 0:
  88. nl
  89. 'On one of the tents hangs an ad, "Need female market stall staff. Paychecks big."'
  90. act 'Approach the owner of the ad':
  91. cla
  92. *clr
  93. 'Hi, my name is Arthur. I own many stalls here, I need a saleswoman. The last one moved to St. Petersburg. Want the job?'
  94. 'Pay is a percentage of sales, paid at end of shift. Your shifts would be Tuesdays, Thursdays and Saturdays. From 8 till 14.'
  95. 'Government insist I have your papers, so it would be your main job.'
  96. act 'Leave':gt 'city_market', 'start'
  97. act 'Take the job':
  98. cla
  99. work = 1
  100. workrin = 1
  101. arturplan = 5000
  102. 'You give your papers to Arthur and shaking your hand he welcomes you on board.'
  103. act 'Leave':gt 'city_market', 'start'
  104. end
  105. end
  106. end
  107. act 'Go to the book tray':
  108. cls
  109. minut += 15
  110. gs'stat'
  111. 'On the counter is a very entertaining fantasy book, a science fiction book and women''s romance novels. They all cost 350 <b>₽</b>.'
  112. if money >= 350:
  113. act 'Buy a book of fantasy 350 <b>₽</b>':
  114. cls
  115. minut += 15
  116. money -= 350
  117. f_book += 1
  118. gs'stat'
  119. 'You bought the book for fantasy 350 <b>₽</b>.'
  120. act 'Leave':gt'city_market','start'
  121. end
  122. end
  123. if money >= 350:
  124. act 'Buy a book of science fiction 350 <b>₽</b>':
  125. cls
  126. minut += 15
  127. money -= 350
  128. f_book += 1
  129. gs'stat'
  130. 'You bought the book for science fiction 350 <b>₽</b>.'
  131. act 'Leave':gt'city_market','start'
  132. end
  133. end
  134. if money >= 350:
  135. act 'Buy ladies for romance 350 <b>₽</b>':
  136. cls
  137. minut += 15
  138. money -= 350
  139. w_book += 1
  140. gs'stat'
  141. 'You bought the novel for the ladies 350 <b>₽</b>.'
  142. act 'Leave':gt'city_market','start'
  143. end
  144. end
  145. act 'Leave':gt'city_market','start'
  146. end
  147. act 'View clothing':
  148. cla
  149. minut += 5
  150. gt 'city_market', 'clo'
  151. end
  152. end
  153. if $ARGS[0] = 'clo':
  154. $loc_arg = 'clo'
  155. $loc = 'city_market'
  156. cls
  157. gs'stat'
  158. gs 'themes', 'indoors'
  159. '<center><b><font color="maroon">Clothes.</font></b></center>'
  160. 'Cheap clothing on the market stall.'
  161. act 'Return':
  162. cla
  163. minut += 5
  164. gt 'city_market', 'start'
  165. end
  166. i = 1
  167. :loopmarket_outfits
  168. if market_outfits[i] = 0:*p '<a href="exec: i = <<i>> & gt ''city_market'', ''marketclo''"><img <<$set_imgh>> src="images/pc/items/market/clothes/<<i>>.jpg" height="250" /></a>'
  169. i += 1
  170. if i <= 10:jump 'loopmarket_outfits'
  171. end
  172. if $ARGS[0] = 'marketclo':
  173. cla
  174. if market_outfits[i] ! 0:
  175. msg 'You already own these clothes.'
  176. gt 'city_market', 'clo'
  177. end
  178. gt 'clothing', 'view_clothing_item', 'shop', 'market_outfits',i, 750
  179. end
  180. if $ARGS[0] = 'tailor':
  181. CLOSE ALL
  182. cls
  183. gs 'stat'
  184. 'Above the window the sign says, Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday'
  185. act 'Speak to the tailor':
  186. cla
  187. *clr
  188. '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.'
  189. if portnoyQW > 0:
  190. 'Aah <<$pcs_nickname>>, come, come to adjust clothes again?'
  191. if money >= 500:
  192. act 'Take in the clothes you are wearing (500 <b>₽</b>)':
  193. cla
  194. *clr
  195. minut += 15
  196. if CloStyle = 5 or $clothingworntype = 'danilovich':
  197. 'What are you wasting my time for? This type of clothing does not need to be resized.'
  198. else
  199. money -= 500
  200. dynamic '<<$clothingworntype>>_b[<<clothingwornnumber>>] = pcs_hips'
  201. 'You undress and give the clothes you need adjusting to Jacob Solomonovich, it is fifteen minutes until your clothes and returned to you.'
  202. end
  203. act 'Leave': minut += 10 & gt 'city_residential'
  204. end
  205. act 'Take in different clothes':gt 'clothing', 'view_clothing_list', 'resize'
  206. act 'Take in all the clothes':gt 'portnoi2'
  207. end
  208. else
  209. 'Hello young lady. I am Solomonovich Jacob, for you simply Yasha. And what is your name?'
  210. act 'Tell him your name':
  211. cla
  212. portnoyQW = 1
  213. '"<<$pcs_nickname>>"'
  214. '"What a pretty name. <<$pcs_nickname>>, come, sit here on this chair. Anyway how can I help you?'
  215. act 'Ask him about your clothes':
  216. cla
  217. *clr
  218. minut += 15
  219. gs 'stat'
  220. '"Can you tailor my clothes to fit me better?"'
  221. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  222. 'Jacob Solomonovich jumps up smartly and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  223. '"Well, I can adjust any clothing that doesn''t fit you any more for 500 <b>₽</b> per item."'
  224. act 'Leave': minut += 10 & gt 'city_residential'
  225. end
  226. end
  227. end
  228. act 'Leave': minut += 10 & gt 'city_residential'
  229. end
  230. end
  231. --- city_market ---------------------------------