pav_market.qsrc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. # pav_market
  2. !2021/05/12
  3. $loc = 'pav_market'
  4. $loc_arg = ''
  5. $menu_loc = 'pav_market'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'public_outdoors'
  9. CLOSE ALL
  10. if sound = 0:
  11. if month >=11 and month <= 12 or month >=1 and month <=3:
  12. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  13. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  14. else
  15. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  16. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  17. end
  18. end
  19. clr
  20. gs 'stat'
  21. '<center><h2>Pavlovsk''s Market Square</h2></center>'
  22. if month >= 11 or month <= 3:
  23. if hour >= 9 and hour <= 16:
  24. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  25. else
  26. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  27. end
  28. else
  29. if hour >= 7 and hour <= 18:
  30. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  31. else
  32. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  33. end
  34. end
  35. *nl
  36. '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.'
  37. *nl
  38. '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.'
  39. *nl
  40. '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.'
  41. if prostitute['blocked'] = 0 and prostitute['gas_station'] = 1:
  42. *nl
  43. if money >= 75:
  44. '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>.'
  45. else
  46. '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.'
  47. end
  48. end
  49. if curr_home = 6:
  50. if vladimirday = daystart and vladimirQW = 30 and hour >= 16 and week = 6:'<a href="exec:gt ''qwmeet'',''2''">There''s an Audi parked in front of the hotel, and standing beside it, you notice Vladimir</a>.'
  51. if vladimirday = daystart and vladimirQW = 40 and hour >= 16 and week = 6:'<a href="exec:gt ''qwmeet'',''3''">There''s an Audi parked in front of the hotel, and standing beside it, you notice Vladimir</a>.'
  52. if hour = meethour[0]:
  53. 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>'
  54. end
  55. if hour = meethour[1]:
  56. 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>'
  57. end
  58. if hour = meethour[2]:
  59. 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>'
  60. end
  61. end
  62. if dimaRevChoice = 5 and dimaRevenge = 4 and dimaTrain = 0: gt 'dimaRevenge', dimaRevenge
  63. if kidaloa = 0:
  64. podrand = rand(0, 5)
  65. if money >= 5000 and hour >= 8 and hour <= 20 and podrand = 0 and monthKidalo ! month:
  66. *clr & cla
  67. menu_off = 1
  68. monthKidalo = month
  69. gs 'stat'
  70. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  71. if month >= 11 or month <= 3:
  72. if hour >= 9 and hour <= 16:
  73. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  74. else
  75. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  76. end
  77. else
  78. if hour >= 7 and hour <= 18:
  79. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  80. else
  81. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  82. end
  83. end
  84. '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.'
  85. '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!"'
  86. '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!"'
  87. act 'Say you have no time':
  88. *clr & cla
  89. gs 'stat'
  90. kidaloa = 1
  91. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  92. if month >= 11 or month <= 3:
  93. if hour >= 9 and hour <= 16:
  94. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  95. else
  96. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  97. end
  98. else
  99. if hour >= 7 and hour <= 18:
  100. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  101. else
  102. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  103. end
  104. end
  105. '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!'
  106. act 'Return to the station' :minut += 15 & gt $curloc
  107. end
  108. act 'Wow, this must be your lucky day!':
  109. *clr & cla
  110. gs 'stat'
  111. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  112. if month >= 11 or month <= 3:
  113. if hour >= 9 and hour <= 16:
  114. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  115. else
  116. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  117. end
  118. else
  119. if hour >= 7 and hour <= 18:
  120. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  121. else
  122. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  123. end
  124. end
  125. '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.'
  126. '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>."'
  127. act 'Pay the VAT and check out your new laptop':
  128. *clr & cla
  129. money -= 5000
  130. kidaloa = 1
  131. if pcs_mood > 5: pcs_mood = 5
  132. gs 'stat'
  133. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  134. if month >= 11 or month <= 3:
  135. if hour >= 9 and hour <= 16:
  136. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  137. else
  138. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  139. end
  140. else
  141. if hour >= 7 and hour <= 18:
  142. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  143. else
  144. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  145. end
  146. end
  147. '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.'
  148. act 'Return to the train station':minut += 15 & gt $curloc
  149. end
  150. act 'Say you can''t afford it right now':
  151. *clr & cla
  152. gs 'stat'
  153. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  154. if month >= 11 or month <= 3:
  155. if hour >= 9 and hour <= 16:
  156. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  157. else
  158. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  159. end
  160. else
  161. if hour >= 7 and hour <= 18:
  162. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  163. else
  164. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  165. end
  166. end
  167. '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.'
  168. 'Sympathizing with you, they promise to look for you if they ever come back to Pavlovsk for another episode of the show.'
  169. act 'Thank them and leave': minut +=15 & gt $curloc
  170. end
  171. end
  172. exit
  173. end
  174. end
  175. if kidalob = 0:
  176. podrand = rand(0, 5)
  177. if money >= 1000 and hour >= 8 and hour <= 20 and podrand = 5 and ($clothingworntype = 'moncheri_dress' or $clothingworntype = 'moncheri_gown' or $clothingworntype = 'fashionista') and monthKidalo ! month:
  178. *clr & cla
  179. menu_off = 1
  180. monthKidalo = month
  181. minut += 5
  182. gs 'stat'
  183. '<center><h4>Pavlovsk''s Market Square</h4></center>'
  184. if month >= 11 or month <= 3:
  185. if hour >= 9 and hour <= 16:
  186. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_day.jpg"></center>'
  187. else
  188. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_winter_night.jpg"></center>'
  189. end
  190. else
  191. if hour >= 7 and hour <= 18:
  192. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_day.jpg"></center>'
  193. else
  194. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pav_market_night.jpg"></center>'
  195. end
  196. end
  197. '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?"'
  198. '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!"'
  199. '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."'
  200. gs 'willpower', 'misc', 'resist', 'medium'
  201. if will_cost <= pcs_willpwr:
  202. act 'You''re not interested (<<will_cost>> Willpower)':
  203. *clr & cla
  204. gs 'willpower', 'pay', 'resist'
  205. gs 'stat'
  206. gt $curloc
  207. end
  208. else
  209. 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>'
  210. end
  211. act 'Agree to do the photo shoot':
  212. *clr & cla
  213. minut += 2
  214. gs 'stat'
  215. !!need image
  216. '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.'
  217. '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."'
  218. '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.'
  219. gs 'willpower', 'exhib', 'resist', 'medium'
  220. if will_cost <= pcs_willpwr:
  221. act 'Refuse and leave, you''re not taking off your clothes! (<<will_cost>> Willpower)':
  222. *clr & cla
  223. gs 'willpower', 'pay', 'resist'
  224. gs 'stat'
  225. gt $curloc
  226. end
  227. else
  228. 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>'
  229. end
  230. act 'Change into the sundress':
  231. *clr & cla
  232. !! ths will either add the sundress or simply set it to a certain damage level
  233. dynamic '<<$clothingworntype>>[<<clothingwornnumber>>] = 0'
  234. dynamic '<<$clothingworntype>>_h[<<clothingwornnumber>>] = 0'
  235. dynamic '<<$clothingworntype>>_s[<<clothingwornnumber>>] = 0'
  236. gm_dress[52] = 1
  237. gm_dress_h[52] = 20
  238. gm_dress_b[52] = pcs_hips
  239. gm_dress_s[52] = 0
  240. minut += 10
  241. gs 'clothing', 'wear', 'gm_dress', 52
  242. KILLVAR '$lastwornclothingtype'
  243. KILLVAR 'lastwornclothingnumber'
  244. gs 'stat'
  245. !!need image
  246. '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.'
  247. act 'Pose for the camera':
  248. *clr & cla
  249. kidalob = 1
  250. minut += 5
  251. gs 'stat'
  252. !!need image
  253. '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.'
  254. act 'Ask what''s taking so long':
  255. *clr & cla
  256. money = 0
  257. minut += 5
  258. if pcs_mood > 50: pcs_mood = 50
  259. gs 'stat'
  260. !!need image
  261. '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.'
  262. act 'Return to the train station':gt $curloc
  263. end
  264. end
  265. end
  266. end
  267. exit
  268. end
  269. end
  270. act 'Walk to the train station (0:03)': minut += 3 & gt 'pav_train_hall'
  271. if Trainpass_day > daystart:
  272. 'You have <<Trainpass_day - daystart>> days left on your train pass.'
  273. act 'Go direct to train station platforms': gt 'pav_train_hall', 'platform'
  274. end
  275. act 'Walk to the Commercial area (0:10)':minut += 10 & gt 'pav_commercial'
  276. act 'Walk to the Residential area (0:15)':minut += 15 & gt 'pav_residential'
  277. act 'Walk to the Industrial region (0:15)':minut += 15 & gt 'pav_industrial'
  278. act 'Walk to the Five Eight estate (0:15)':minut += 15 & gt 'pav_complex', 'start'
  279. act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
  280. act 'Walk to Pushkin (0:20)':minut += 20 & nroad = 19 & gt 'liam'
  281. gs 'camera', 'check_location'
  282. !-- Random prostitution solicitation check ------------------------
  283. if prostitute['blocked'] = 0: gs 'prostitution_functions', 'check_solicitation_event'
  284. --- pav_market ---------------------------------