city_market.qsrc 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. # city_market
  2. !2021/04/29
  3. $location_type = 'public_outdoors'
  4. if $ARGS[0] = 'start' or $loc_arg = 'start':
  5. killvar 'clothingfilter'
  6. CLOSE ALL
  7. if sound = 0:
  8. if month >=11 and month <= 12 or month >=1 and month <=3:
  9. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/zima.mp3',30
  10. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  11. else
  12. if hour >= 8 and hour <= 23: PLAY 'sound/rynok.mp3',30 & PLAY 'sound/street_leto.mp3',30
  13. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  14. end
  15. end
  16. !if sound = 0:PLAY 'sound/street.mp3',30
  17. gs 'shortgs', 'setloc', 'city_market', 'start'
  18. minut += 5
  19. menu_off = 0
  20. gs 'stat'
  21. gs 'themes', 'outdoors'
  22. 'One of the stalls has a sign attached to it that reads "Cash paid for secondhand clothes". 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 here</a>.'
  23. if analplugIN = 1 and $pantyworntype = 'none' and PCloSkirt > 2:
  24. nurand = rand(0, 100)
  25. if nurand >= 80:
  26. pcs_mood -= 5
  27. 'You feel a hand gently pawing at <a href="exec:gt ''etoexhib'', ''pos15''">your ass</a>.'
  28. gs 'arousal', 'foreplay', 3
  29. gs 'stat'
  30. end
  31. end
  32. act 'Leave':
  33. minut += 5
  34. gs 'arousal', 'end'
  35. gs 'stat'
  36. gt 'city_residential'
  37. end
  38. act 'Browse wares': gt 'city_market', 'wares'
  39. if workrin = 1:
  40. if week = 2 or week = 4 or week = 6:
  41. if hour < 9:
  42. 'Arthur is waiting to set up a stall for you.'
  43. act '<b>Set up stall</b>':
  44. *clr & cla
  45. menu_off = 1
  46. hour = 9
  47. minut = 0
  48. prodpayum = 1200
  49. gs 'stat'
  50. 'Arthur unloads boxes from his truck and gives them to you. You start hanging the clothes inside around the stall.'
  51. 'Before leaving, Arthur gives you instructions. "Sell it all at whatever price you want, but at the end of your shift, I''ll charge you 1000 <b>₽</b> for each item sold. You should be making me no less than <<arturplan>> <b>₽</b>."'
  52. act 'Start working': gt 'city_marketwork', 'start'
  53. end
  54. end
  55. end
  56. act 'Quit':
  57. cla
  58. menu_off = 1
  59. work = 0
  60. workrin = 0
  61. gs 'stat'
  62. 'You quit your job at the market and collect your papers.'
  63. act 'Leave': gt 'city_market', 'start'
  64. end
  65. end
  66. if workrin = 0 and (work = 0 or cheatVars['work'] = 1):
  67. nl
  68. 'A messily written ad hangs from one of the stalls. "Need female market stall staff. Paychecks big."'
  69. act 'Approach the owner of the ad':
  70. *clr & cla
  71. menu_off = 1
  72. gs 'stat'
  73. 'Hi, my name is Arthur. I own many stalls here and I need a saleswoman. Want the job?'
  74. 'Pay is a percentage of sales, paid at end of shift. Your shifts would be Tuesdays, Thursdays and Saturdays from 08:00 to 14:00.'
  75. 'Government insist I have your papers, so it would be your main job.'
  76. act 'Leave': gt 'city_market', 'start'
  77. act 'Take the job':
  78. cla
  79. work = 1
  80. workrin = 1
  81. arturplan = 5000
  82. 'You give your papers to Arthur and he shakes your hand, welcoming you aboard.'
  83. act 'Leave': gt 'city_market', 'start'
  84. end
  85. end
  86. end
  87. act 'Go to the book tray':
  88. *clr & cla
  89. menu_off = 1
  90. minut += 15
  91. gs 'stat'
  92. 'You wlak up to the stall and inspect what''s on sale. You see a fantasy book, a science fiction book and various romance novels. They all cost 350 <b>₽</b> each.'
  93. gs 'library_functions', 'set_book_buy_acts'
  94. act 'Leave': gt 'city_market', 'start'
  95. end
  96. act 'View clothing': minut += 5 & gt 'city_market', 'clo'
  97. end
  98. if $ARGS[0] = 'clo':
  99. gs 'shortgs', 'setloc', 'city_market', 'clo'
  100. menu_off = 0
  101. gs 'stat'
  102. gs 'themes', 'indoors'
  103. '<center><b><font color="maroon">Clothes.</font></b></center>'
  104. 'You inspect the cheap clothing the stall has to offer.'
  105. act 'Return': minut += 5 & gt 'city_market', 'start'
  106. gs 'clothing_QV', 'shop_filter_header'
  107. gs 'clothing', 'totals', 'market_outfits'
  108. !!To filter just this set
  109. clo_i = 0
  110. :loopmarket_outfits_filter
  111. i = 1
  112. :loopmarket_outfits
  113. if market_outfits[i] = 0:
  114. gs 'clothing_attributes', 'market_outfits', i
  115. gs 'clothing_QV', 'shop_filter'
  116. !!sort by filter
  117. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  118. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1:*p '<a href="exec: i = <<i>> & gt ''city_market'', ''marketclo''"><img <<$set_imgh>> src="images/pc/items/market/clothes/<<i>>.jpg" height="250" /></a>'
  119. end
  120. end
  121. i += 1
  122. if i <= total: jump 'loopmarket_outfits'
  123. clo_i += 1
  124. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  125. jump 'loopmarket_outfits_filter'
  126. end
  127. end
  128. if $ARGS[0] = 'marketclo':
  129. if market_outfits[i] ! 0:
  130. msg 'You already own these clothes.'
  131. gt 'city_market', 'clo'
  132. end
  133. gt 'clothing', 'view_clothing_item', 'market_outfits', i, 750, 'shop'
  134. end
  135. if $ARGS[0] = 'wares':
  136. *clr & cla
  137. $loc_s = 'city_market'
  138. $args_s = 'wares'
  139. menu_off = 1
  140. gs 'item_cart', 'shoppping_aisle', 'market'
  141. gs 'stat'
  142. gs 'themes', 'outdoors'
  143. $backimage= 'images/locations/city/residential/market/rinok.jpg'
  144. act 'Stop looking at the wares': gt 'city_market', 'start'
  145. end
  146. if $ARGS[0] = 'tailor':
  147. CLOSE ALL
  148. gs 'shortgs', 'setloc', 'city_market', 'tailor'
  149. menu_off = 0
  150. gs 'stat'
  151. 'A sign reads, "Jacob Solomonovich Schneersohn, tailor, 8:00-16:00 Monday - Friday"'
  152. act 'Speak to the tailor':
  153. *clr & cla
  154. 'An elderly Jewish man is sitting at a table. He pulls his glasses down a little and looks over the top of them as he points at you.'
  155. if portnoyQW > 0:
  156. '"So <<$pcs_nickname>>. Do you need any clothing adjusted?"'
  157. if money >= 500:
  158. act 'Resize the clothes you''re wearing (500 <b>₽</b>)':
  159. *clr & cla
  160. if PCloStyle = 5 or PCloStyle2 = 6:
  161. 'The tailor is looking irritatingly at you, "Why are you wasting my time with exercise clothing? That type of clothing does not need to be resized..."'
  162. elseif dyneval('RESULT = <<$clothingworntype>>_b[<<clothingwornnumber>>]') = pcs_hips:
  163. 'The tailor is looking irritatingly at you, "Is this joke? Your clothes could not fit you better if they had been made for you. I have no time for such foolishness."'
  164. elseif (dyneval('RESULT = <<$clothingworntype>>_b[<<clothingwornnumber>>]') > pcs_hips + 4) or (dyneval('RESULT = <<$clothingworntype>>_b[<<clothingwornnumber>>]') < pcs_hips - 4):
  165. 'The tailor is looking irritatingly at you, "Why are you wasting my time? Your clothing does not need to be resized. It might not be perfect but it is still fine."'
  166. else
  167. minut += 10
  168. money -= 500
  169. gs 'stat'
  170. dynamic '<<$clothingworntype>>_b[<<clothingwornnumber>>] = pcs_hips'
  171. 'You are handed a t-shirt and shorts as you undress and give the clothes to the tailor for adjustment.'
  172. 'Jacob quickly measures your waist and hips, then only takes a few minutes to adjust your outfit.'
  173. 'You are handed your clothes back and quickly get dressed. You''re pleased with the job that the tailor has done.'
  174. end
  175. act 'Continue': gt 'city_market', 'tailor'
  176. end
  177. act 'Take in different clothes': gt 'clothing', 'view_clothing_list', 'resize'
  178. act 'Take in all the clothes': gt 'tailor'
  179. end
  180. else
  181. '"Hello young lady. I am Jacob Solomonovich, but you can call me Yasha. And what is your name?"'
  182. act 'Tell him your name':
  183. cla
  184. portnoyQW = 1
  185. '"<<$pcs_nickname>>"'
  186. '"<<$pcs_nickname>>....What a pretty name. Come, sit here on this chair. How can I help you?"'
  187. act 'Ask him about your clothes':
  188. *clr & cla
  189. minut += 15
  190. gs 'stat'
  191. '"Can you tailor my clothes to fit me better?"'
  192. '"Of course I can! Otherwise, what kind of tailor would I be? Here, let me see what you''re wearing."'
  193. 'He jumps up and nimbly removes the tape from his neck and begins to measure your chest, waist and hips.'
  194. '"I can adjust any clothing that doesn''t fit you for 500 <b>₽</b> per item."'
  195. act 'Continue': gt 'city_market', 'tailor'
  196. end
  197. end
  198. end
  199. act 'Leave': minut += 10 & gt 'city_residential'
  200. end
  201. end
  202. --- city_market ---------------------------------