1
0

pav_market.qsrc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. # pav_market
  2. !2021/05/12
  3. $region = 'pav'
  4. $loc = 'pav_market'
  5. $loc_arg = ''
  6. $menu_loc = 'pav_market'
  7. $menu_arg = ''
  8. menu_off = 0
  9. $location_type = 'public_outdoors'
  10. CLOSE ALL
  11. if sound = 0:
  12. if month >=11 and month <= 12 or month >=1 and month <=3:
  13. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  14. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  15. else
  16. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  17. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  18. end
  19. end
  20. clr
  21. gs 'stat'
  22. '<center><h2>Pavlovsk''s Market Square</h2></center>'
  23. if month >= 11 or month <= 3:
  24. if hour >= 9 and hour <= 16:
  25. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  26. else
  27. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  28. end
  29. else
  30. if hour >= 7 and hour <= 18:
  31. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  32. else
  33. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  34. end
  35. end
  36. *nl
  37. 'Pavlovsk''s modest train station, is near the Pavlovsk market Square. You can enter the central hall of the <a href="exec:minut += 3 & gt ''pav_train_hall''">train station</a>. Down the street from the train station is the <a href="exec:minut += 5 & gt ''gkafe''">Borislav''s cafe</a>' + iif(mid($start_type,1,2) = 'sg',' where your mother works','') + '. Next to the train station you can see the <a href="exec:minut += 5 & gt ''pav_station'', ''station_outside''">Pavlovsk police station</a> where you can find Pavlovsk''s finest.'
  38. *nl
  39. 'The other side of the train station is a large square, where you can find a <a href="exec:minut += 1 & gt ''pav_train_market'', ''start''">market</a> on most days.'
  40. *nl
  41. 'A rather run-down <a href="exec:minut += 1 & gt ''pav_hotel''">hotel</a> is just across the square, where travelers can spend the night. The manager is always looking for maids among the local young girls. Because of it''s frequent use by the local prostitutes, most people prefer to stay at the middle-class hotel by the main road.'
  42. if mother['kickedout_timer'] ! 0 and mother['kickedout_timer'] + 3 <= daystart and hour > 6 and hour <= 15 and cumloc[11] = 0:
  43. gs 'mother_chats', 'reconciliation_talk'
  44. exit
  45. end
  46. if prostitute['wl_block'] = 0 and prostitute['full_block'] = 0 and prostitute['gas_station'] = 1:
  47. *nl
  48. if money >= 75:
  49. 'Next to the train station you can find the bus terminal. Here you can catch the bus that will take you to <a href="exec:minut += 87 & money -= 75 & gt ''gas_station_gp_117'', ''outside''">the gas station on the M11</a>.'
  50. else
  51. 'Next to the train station you can find the bus terminal. Here you can catch the bus that would take you to the gas station on the M111, unfortunately you don''t have enough money for the ticket.'
  52. end
  53. end
  54. if $home['current'] = 'pavlovsk_hotel':
  55. if vladimirQW['day'] = daystart and vladimirQW['stage'] = 30 and hour >= 16 and week = 6:'<a href="exec:gt ''vladimirQW_meet'',''2''">There''s an Audi parked in front of the hotel, and standing beside it, you notice Vladimir</a>.'
  56. if vladimirQW['day'] = daystart and vladimirQW['stage'] = 40 and hour >= 16 and week = 6:'<a href="exec:gt ''vladimirQW_meet'',''3''">There''s an Audi parked in front of the hotel, and standing beside it, you notice Vladimir</a>.'
  57. if hour = meethour[0]:
  58. if svidanie[0] = 1:'<b><a href="exec:lover_number = 0 & gt ''lover_meet'', ''start''"><<$loverdesc[0]>></a> is waiting in front of the hotel.</b>'
  59. end
  60. if hour = meethour[1]:
  61. if svidanie[1] = 1:'<b><a href="exec:lover_number = 1 & gt ''lover_meet'', ''start''"><<$loverdesc[1]>></a> is waiting in front of the hotel.</b>'
  62. end
  63. if hour = meethour[2]:
  64. if svidanie[2] = 1:'<b><a href="exec:lover_number = 2 & gt ''lover_meet'', ''start''"><<$loverdesc[2]>></a> is waiting in front of the hotel.</b>'
  65. end
  66. end
  67. if dimaRevChoice = 5 and dimaRevenge = 4 and dimaTrain = 0: gt 'dimaRevenge', dimaRevenge
  68. if kidaloa = 0:
  69. podrand = rand(0, 5)
  70. if money >= 5000 and hour >= 8 and hour <= 20 and podrand = 0 and monthKidalo ! month:
  71. *clr & cla
  72. menu_off = 1
  73. monthKidalo = month
  74. gs 'stat'
  75. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  76. if month >= 11 or month <= 3:
  77. if hour >= 9 and hour <= 16:
  78. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  79. else
  80. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  81. end
  82. else
  83. if hour >= 7 and hour <= 18:
  84. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  85. else
  86. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  87. end
  88. end
  89. 'When you arrive at the Market Square, it''s impossible to not notice a girl holding a microphone and a man following her with a large camera. They''re coming straight towards you. The girl beckons you to come closer and glances over at towards the man holding the camera, who gives her a subtle nod.'
  90. 'She turns back to you and happily exclaims: "Hello! We''re shooting a pilot for TV. It''s going to be a novel program: it is a show in which we hand out gifts to random strangers, and then film their response. It''s called "Happiness in Russia", we''re hoping it will catch on all over the world. We have chosen you to be part of our pilot, congratulations!"'
  91. 'She grabs hold of a large box the camera man handed to her. It''s beautifully wrapped, with a nice bow to boot. She whispers to you: "This box contains a brand new laptop! Just act surprised when you open it!"'
  92. act 'Say you have no time':
  93. *clr & cla
  94. gs 'stat'
  95. kidaloa = 1
  96. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  97. if month >= 11 or month <= 3:
  98. if hour >= 9 and hour <= 16:
  99. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  100. else
  101. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  102. end
  103. else
  104. if hour >= 7 and hour <= 18:
  105. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  106. else
  107. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  108. end
  109. end
  110. 'Even though you definitely wouldn''t mind a new laptop, you simply don''t have time to talk to them right now. You politely decline and walk away before they can protest. A few minutes later you see the two of them hastily running across the square, while some poor guy opens the fancily packed box only to find a brick in it. By the time he realizes he got scammed, they are long gone. Looks like you dodged a bullet there!'
  111. act 'Return to the station' :minut += 15 & gt $curloc
  112. end
  113. act 'Wow, this must be your lucky day!':
  114. *clr & cla
  115. gs 'stat'
  116. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  117. if month >= 11 or month <= 3:
  118. if hour >= 9 and hour <= 16:
  119. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  120. else
  121. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  122. end
  123. else
  124. if hour >= 7 and hour <= 18:
  125. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  126. else
  127. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  128. end
  129. end
  130. 'You happily take the box from the girl''s hands as the man starts filming. The girl holds the microphone closer to her mouth, and invites you to give some shout-outs to relatives and friends while you''re on TV. Then she points the microphone at you. You gladly accept the invitation and address your friends and family enthusiastically while looking at the camera, sincerely hoping you did not leave anyone out. Then the man turns the camera away for a second.'
  131. 'The girl tells you: "Unfortunately, the government doesn''t just let us give away items for nothing. We''re legally obligated to have our winners pay VAT over the amount of money their gift is worth. In your case, this comes down to 5000 <b>₽</b>."'
  132. act 'Pay the VAT and check out your new laptop':
  133. *clr & cla
  134. money -= 5000
  135. kidaloa = 1
  136. if pcs_mood > 5: pcs_mood = 5
  137. gs 'stat'
  138. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  139. if month >= 11 or month <= 3:
  140. if hour >= 9 and hour <= 16:
  141. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  142. else
  143. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  144. end
  145. else
  146. if hour >= 7 and hour <= 18:
  147. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  148. else
  149. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  150. end
  151. end
  152. 'You quickly give them the money and enthusiastically begin to pull at the bow. When you finally manage to tear the wrapping paper off and open the box, you only find a brick wrapped in newspaper. You look up trying to find the man and girl to get your money back, but they are nowhere to be found. You feel terrible for being scammed out of your money, and angrily stuff the box in a garbage can before you move on.'
  153. act 'Return to the train station':minut += 15 & gt $curloc
  154. end
  155. act 'Say you can''t afford it right now':
  156. *clr & cla
  157. gs 'stat'
  158. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  159. if month >= 11 or month <= 3:
  160. if hour >= 9 and hour <= 16:
  161. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  162. else
  163. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  164. end
  165. else
  166. if hour >= 7 and hour <= 18:
  167. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  168. else
  169. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  170. end
  171. end
  172. 'With some regret in your voice, you apologize to the man and girl and explain that you can''t afford to pay the VAT right now. They try to explain to you that this could very well be a one-time opportunity and that you are missing out on a free laptop, but you have to decline. You simply cannot afford to spend the money you have right now on a frivolous purchase like a laptop, even if it comes really cheap.'
  173. 'Sympathizing with you, they promise to look for you if they ever come back to Pavlovsk for another episode of the show.'
  174. act 'Thank them and leave': minut +=15 & gt $curloc
  175. end
  176. end
  177. exit
  178. end
  179. end
  180. if kidalob = 0:
  181. podrand = rand(0, 5)
  182. if money >= 1000 and hour >= 8 and hour <= 20 and podrand = 5 and ($clothingworntype = 'moncheri_dress' or $clothingworntype = 'moncheri_gown' or $clothingworntype = 'fashionista_dress') and monthKidalo ! month:
  183. *clr & cla
  184. menu_off = 1
  185. monthKidalo = month
  186. minut += 5
  187. gs 'stat'
  188. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  189. if month >= 11 or month <= 3:
  190. if hour >= 9 and hour <= 16:
  191. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  192. else
  193. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  194. end
  195. else
  196. if hour >= 7 and hour <= 18:
  197. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  198. else
  199. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  200. end
  201. end
  202. 'As you walk across the square towards the station, you notice two well dressed men staring at you. After some brief consideration they come towards you, and you can just about hear what they''re saying: "Wow, she''s just the model we need. She has this... Claudia Schiffer feel to her, don''t you agree?"'
  203. 'You can see the other man nod just as they get close to you, and one of the men stops you: "Excuse me, miss. We are opening a new fashion store in the city and are looking for a model to feature in our advertisements. We have been looking for just the right girl all day and... I think we just found her!"'
  204. 'The second man nods enthusiastically as the first man continues: "We would be able to offer you 10.000 <b>₽</b> for an extensive photo shoot, featuring our clothing line."'
  205. gs 'willpower', 'misc', 'resist', 'medium'
  206. if will_cost <= pcs_willpwr:
  207. act 'You''re not interested (<<will_cost>> Willpower)':
  208. *clr & cla
  209. gs 'willpower', 'pay', 'resist'
  210. gs 'stat'
  211. gt $curloc
  212. end
  213. else
  214. act 'You''re not interested (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  215. end
  216. act 'Agree to do the photo shoot':
  217. *clr & cla
  218. minut += 2
  219. gs 'stat'
  220. !!need image
  221. 'Wow, this offer sounds amazing! There is no way you can decline. The guys take you to the back of the railway station, and the guy who hasn''t said anything to you pulls out an expensive looking camera, mounting it on a tripod near some trees.'
  222. 'The first guy approaches you and says: "The shoot will be against a natural background. We''ve done market research, and have determined that the picturesque background of the outdoors is by far the most desirable option for our campaign. There is only one problem... your dress is not what we are looking for at all. You''ll have to change."'
  223. 'The guy opens the trunk of his car and gives you a rather cheap looking sundress. "You can change your clothes inside the car, no one will notice", he says.'
  224. gs 'willpower', 'exhib', 'resist', 'medium'
  225. if will_cost <= pcs_willpwr:
  226. act 'Refuse and leave, you''re not taking off your clothes! (<<will_cost>> Willpower)':
  227. *clr & cla
  228. gs 'willpower', 'pay', 'resist'
  229. gs 'stat'
  230. gt $curloc
  231. end
  232. else
  233. act 'Refuse and leave, you''re not taking off your clothes!(<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  234. end
  235. act 'Change into the sundress':
  236. *clr & cla
  237. !! ths will either add the sundress or simply set it to a certain damage level
  238. dynamic '<<$clothingworntype>>[<<clothingwornnumber>>] = 0'
  239. dynamic '<<$clothingworntype>>_h[<<clothingwornnumber>>] = 0'
  240. dynamic '<<$clothingworntype>>_s[<<clothingwornnumber>>] = 0'
  241. gm_dress[52] = 1
  242. gm_dress_h[52] = 20
  243. gm_dress_b[52] = pcs_hips
  244. gm_dress_s[52] = 0
  245. minut += 10
  246. gs 'clothing', 'wear', 'gm_dress', 52
  247. KILLVAR '$lastwornclothingtype'
  248. KILLVAR 'lastwornclothingnumber'
  249. gs 'stat'
  250. !!need image
  251. 'You quickly get into the car and take off your dress, and put on the dress the man gave you. You give your <<$titsize>> breasts a squeeze through the fabric, adjusting the dress a bit so it fits well around them for the photo shoot.'
  252. act 'Pose for the camera':
  253. *clr & cla
  254. kidalob = 1
  255. minut += 5
  256. gs 'stat'
  257. !!need image
  258. 'You get out of the car leaving your possessions in there, figuring it''s easier to just collect them when you change back to your regular clothes. You get out and walk to the tree the camera is aimed at. The guy who hasn''t said a word mans the camera, while the first guy instructs you how to stand in several poses. "Very nice, very nice... now turn your back to the camera!" The camera clicks several times. "Excellent. Now tilt your head backwards and close your eyes." You do as instructed, waiting for the now familiar click of the camera. It never comes.'
  259. act 'Ask what''s taking so long':
  260. *clr & cla
  261. money = 0
  262. minut += 5
  263. if pcs_mood > 50: pcs_mood = 50
  264. gs 'stat'
  265. !!need image
  266. 'After a while you turn around and open your eyes, wanting to ask the guys what''s taking so long. You open your eyes right on time to see the car, with the guys in it, speed off and zip around a corner. Then you realize: all your stuff is still on the back seat of the car! Slowly realizing you have just been scammed out of your good dress and all of your money, you sit down on a tree stump and hold your head in your hands for a minute or two, pondering how you could''ve been so stupid as to believe them.'
  267. act 'Return to the train station':gt $curloc
  268. end
  269. end
  270. end
  271. end
  272. exit
  273. end
  274. end
  275. if maidqw >= 1 and hour >= 16 and hour < 17:
  276. act 'Start your maid job':gt 'pav_hotel'
  277. end
  278. act 'Walk to the train station (0:03)': minut += 3 & gt 'pav_train_hall'
  279. if transportVars['trainpass_day'] > daystart:
  280. func('transport_functions', 'display_trainpass_time')
  281. act 'Go direct to train station platforms': gt 'pav_train_hall', 'platform'
  282. end
  283. act 'Walk to the Commercial area (0:10)':minut += 10 & gt 'pav_commercial'
  284. act 'Walk to the Residential area (0:15)':minut += 15 & gt 'pav_residential'
  285. act 'Walk to the Industrial region (0:15)':minut += 15 & gt 'pav_industrial'
  286. act 'Walk to the Five Eight estate (0:15)':minut += 15 & gt 'pav_complex', 'start'
  287. act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
  288. act 'Walk to Pushkin (0:20)':minut += 20 & gt 'pushkin'
  289. gs 'camera', 'check_location'
  290. !-- Random prostitution solicitation check ------------------------
  291. gs 'prostitution_functions', 'check_solicitation_event'
  292. --- pav_market ---------------------------------