pav_residential.qsrc 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289
  1. # pav_residential
  2. !2021/04/30
  3. music_loop = 0
  4. CLOSE ALL
  5. $loc_arg = ''
  6. $loc = 'pav_residential'
  7. $region = 'pav'
  8. $menu_loc = 'pav_residential'
  9. $menu_arg = ''
  10. menu_off = 0
  11. $location_type = 'public_outdoors'
  12. killvar '$locclass'
  13. if sound = 0:
  14. if month >=11 and month <= 12 or month >=1 and month <=3:
  15. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  16. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  17. else
  18. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  19. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  20. end
  21. end
  22. *clr & cla
  23. litltown = 1
  24. alkoblock = 0
  25. boynumBlock = 0
  26. gs 'stat'
  27. !call random events from [street_events], and display them before show location.
  28. if streetevent_hour + 2 < hour:gt'street_event','pav_residential', 'main'
  29. '<center><h2>Pavlovsk</h2></center>'
  30. if month >= 11 or month <= 3:
  31. if daystage = 2 or daystage = 3:
  32. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswinter.jpg"></center>'
  33. else
  34. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswintern.jpg"></center>'
  35. end
  36. else
  37. if daystage = 2 or daystage = 3:
  38. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavres.jpg"></center>'
  39. else
  40. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavresn_'+ rand(1,2) +'.jpg"></center>'
  41. end
  42. end
  43. '<br>The residential area of the town. This area is suburban with more modern houses, dusty roads and pockets of overgrown vegetation stretching out far and wide, but some would say that just adds to the town''s rustic charm. Apart from the old <a href="exec:view''images/locations/pavlovsk/palace/pav_palace.jpg''">Imperial palace</a> built by Catherine the Great, with its surrounding gardens and forest, and the recently remodeled <a href="exec:view''images/locations/pavlovsk/fortress/bip_hotel.png''">Bip fortress</a>, everything else is relatively modern.'
  44. '<br>Even from here, you can spot the <a href="exec:minut += 1 & gt ''pav_church'',''start''">Church of St. Nikolas</a>, the tallest building in town.'
  45. gs'street_event','pav_residential', 'extras'
  46. if flag_rape_1 = 1:
  47. flag_rape_1 = 0
  48. rape_count = rape
  49. rape_day = daystart
  50. 'You stop under the dim light of a streetlight. Breathing heavy, you occasionally stop to wince from the pain coming from your pussy. You convince yourself not to tell anyone, and to just get home, clean up and go to bed as soon as possible. The sooner you do that, the sooner you can forget this ever happened.'
  51. elseif flag_rape_1 = 2:
  52. flag_rape_1 = 0
  53. rape_count = rape
  54. rape_day = daystart
  55. 'Coming out of your daze, you find you''ve walked into the center of town without even realizing it. You feel a bit strange as you stop to think about why you aren''t upset about having been raped. Replaying the encounter in your head, you realize you actually enjoyed it a little. All in all, you''re not too worried about what happened.'
  56. elseif rape > rape_count:
  57. !for normal rape. differ display with bimbolevel
  58. rape_count = rape
  59. rape_day = daystart
  60. if bimbolevel > 2:
  61. 'You feel great after having sex, and don''t understand why they didn''t just ask. Silly man.'
  62. elseif bimbolevel > 0:
  63. 'Coming out of your daze, you find you''ve walked into the center of town without even realizing it. You feel a bit strange as you stop to think about why you aren''t upset about having been raped. Replaying the encounter in your head, you realize you actually had fun and enjoyed it. All in all, you''re not too worried about what happened. '
  64. else
  65. 'You stop under the dim light of a streetlight. Breathing heavy, you occasionally stop to wince from the pain coming from your pussy. You convince yourself not to tell anyone, and to just get home, clean up and go to bed as soon as possible. The sooner you do that, the sooner you can forget this ever happened.'
  66. end
  67. end
  68. !! TODO: Commented out and replaced by the wlife mechanics - see end of the file under !-- Prostitution ----
  69. !!if fame['pav_slut'] >= 250 and rand(1, 10) = 10 and pav_residential_prost_day ! daystart:
  70. !! pav_residential_prost_day = daystart
  71. !! 'A man approaches you, and asks if you want to earn some easy money. He''s offers you 200 <b>₽</b> for a quickie in the bushes.'
  72. !!
  73. !!
  74. !! gs 'willpower', 'prostitution', 'resist'
  75. !! if will_cost <= pcs_willpwr:
  76. !! act 'Decline (<<will_cost>> Willpower)':
  77. !! gs 'willpower', 'pay', 'resist'
  78. !! gt 'pav_residential'
  79. !! end
  80. !! else
  81. !! act 'Decline (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  82. !! end
  83. !! act 'Agree': gs 'npcgeneratec', 0, 'Stranger at the Park', rand(18,45) & gs 'boyStat', $npclastgenerated & gt 'gevent', '5'
  84. !! exit
  85. !!end
  86. if ((month = 9 and day > 16) or month >= 10) and (AlbinaQW['StarletsShutDown'] = 0 or AlbinaQW['Chernov'] = 0): 'You can see election posters plastered on walls all over town. They say: "Vote Boris Barlovsky for mayor!" Wait a minute... isn''t that Albina''s father?'
  87. if AlbinaQW['StarletsJoined'] > 0 and AlbinaQW['StarletsShutDown'] = 0 and npc_pregtalk['A23'] = 0 and AlbinaQW['Chernov'] = 0 and ((month = 11 and day > 18) or month = 12) and hour >= 14: gt 'albina_election_events', 'start'
  88. if rand(1, 5) >= 4 and fame['pav_slut'] >= 150:
  89. if fame['pav_slut'] < 200:
  90. '<br>You catch people staring at you intently, as if they''re supposed to know who you are but can''t quite place you. You sincerely hope they don''t realize your promiscuous adventures are the reason why they recognize you, but the occasional person chuckling and pointing at you crushes those hopes, and you quickly keep walking before they get a chance to say anything.'
  91. elseif fame['pav_slut'] < 250:
  92. '<br>People look at you with lewd grins on their faces, some of them even making vulgar gestures. Your reputation appears to be the talk of the town.'
  93. else
  94. '<br>Everywhere you go, people recognize you as a whore. Some even come over and slap you on the ass, claiming they know you like it or asking to ''sample your goods''. An elderly woman sitting on a bench calls out to you, loudly calling you a slut and a whore. You hide your face and run away as fast as you can before she can draw too much attention to you.'
  95. end
  96. end
  97. gs 'stat'
  98. if car > 0 and cardrive = 20: 'Your <a href="exec:gs ''carF'', ''start''"><<$car>></a> is parked in the street.'
  99. if fedorKozlovQW >= 20 and FedorKozHome = 1 or fedorKozlovQW = -15 and FedorKozHome = 1: '<br><a href="exec: minut += 1 & gt ''FedorEv4'', ''Home Entrance''">Fedor</a> lives in a house nearby.'
  100. if hour >= 8 and hour <= 22:'<br>At the end of the street, there''s a small <a href="exec:$loc = ''pav_residential'' & gt ''kiosk'', ''start''">kiosk</a> selling a variety of items such as cigarettes, magazines, snacks, drinks and even themes for your phone.'
  101. if mid($start_type,1,2) = 'sg':
  102. $schoolname = 'the <a href="exec: minut += 2 & gt ''gschool_grounds'', ''main''">local school</a>.'
  103. else
  104. $schoolname = 'your old school.'
  105. end
  106. '<br>In the center of Pavlovsk is the town square, which features the <a href="exec: minut += 2 & gt ''pav_commcenter''">community center</a>, a popular hotspot for local teenagers to hang out after a long day at <<$schoolname>> Also nearby is the drab grey building of Pavlovsk''s dilapidated public <a href="exec: gt ''pav_pool'',''building''">swimming pool</a>. Connected to the town center is the old palace grounds, which have been turned into a large <a href="exec:minut += 5 & gt ''pav_park'', ''start''">public park</a>. With the <a href="exec: minut += 5 & gt ''pav_lake''">lake</a> nearby, the area can get quite busy, especially during the summer and winter when people can swim or skate at the lake.'
  107. *nl
  108. !!made changes here, to remove direct links to the kids in the apartment complex, make sure this will work with the code left.
  109. if Enable_tablemap = 0:
  110. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0:'<a href="exec:minut += 10 & gt ''dimaHome'', ''home''">Dimka</a> lives in one of the fancier houses in town.'
  111. if (igor_history = 1 or IgorLoverQW > 0 or IgorQW['house_open'] = 1) and IdorBlock = 0:'<a href="exec:minut += 10 & gt ''IgorHome'', ''home''">Igor</a> lives in one of the fancier houses in town.'
  112. if katjaQW['QWstage'] >= 2 or mey_vika['mey_vika_qw'] >= 27 or mey_vika['key'] = 1: 'Nearby is a large house where the <a href="exec:minut += 10 & gt''mey_home'', ''door''">Meynold twins</a> live.'
  113. if LariskaQW['story'] >= 6: '<a href="exec:minut += 10 & gt ''LariskaHome'', ''front_door''">Lariska</a> lives about 10 minutes away from here.'
  114. if christinaQW['subpath'] >= 5: '<a href="exec: gt ''Zvereva_house'', ''front_door''">Christina</a> lives in an expensive house near here.'
  115. if AlbinaQW['KnowsHouse'] = 1:'<a href="exec:minut += 10 & gt ''albinahome'',''gate''">Albina</a> lives in one of the few luxurious mansions Pavlovsk has to offer.'
  116. if soniaQW['homeinvite'] = 1: '<a href="exec:minut += 10 & gt ''soniahome'',''home''">Sonia''s</a> house is up through a garden pathway to a well cared for grey, wooden-clad house.'
  117. else
  118. st_count=0 & $show_table=''
  119. if DimaBeHomeOnce = 1 and DimaRudeBlock = 0: gs'show_table','Fancier house of <a href="exec:minut += 10 & gt ''dimaHome'', ''home''">Dimka Nosov</a>','3'
  120. if (igor_history = 1 or IgorLoverQW > 0 or IgorQW['house_open'] = 1) and IdorBlock = 0: gs'show_table','Fancier house of <a href="exec:minut += 10 & gt ''IgorHome'', ''home''">Igor Kruglov</a>', '3'
  121. if katjaQW['QWstage'] >= 2 or mey_vika['mey_vika_qw'] >= 27 or mey_vika['key'] = 1: gs'show_table','The house of the <a href="exec:minut += 10 & gt''mey_home'', ''door''">Meynold twins</a>','3'
  122. if LariskaQW['story'] >= 6: gs'show_table','House of <a href="exec:minut += 10 & gt ''LariskaHome'', ''front_door''" >Lariska Gruzdev</a> in the richer part of town','3'
  123. if christinaQW['subpath'] >= 5: gs'show_table','<br><a href="exec: gt ''Zvereva_house'', ''front_door''">Christina</a> lives in an expensive house near here.','3'
  124. if AlbinaQW['KnowsHouse'] = 1: gs'show_table','A luxurious mansion that''s home to <a href="exec:minut += 10 & gt ''albinahome'',''gate''">Albina Barlovskaya</a>','3'
  125. if soniaQW['homeinvite'] = 1: gs'show_table','A grey wooden-clad house that''s home to <a href="exec:minut += 10 & gt ''soniahome'',''home''">Sonia Ivanko</a>','3'
  126. if st_count > 0 :'<TABLE BORDER=1><<$show_table>></TR></TABLE>'
  127. end
  128. !!end of code changes.
  129. if kanikuli = 0 and mid($start_type,1,2) = 'sg' and SchoolAtestat = 0 and SchoolBlock = 0 and week < 6 and hour >= 7 and hour < 9:
  130. act '<b>Go to school</b>': minut += 2 & gt 'gschool_grounds', 'main'
  131. end
  132. if InvitationToDimkaNYparty = 1 and month = 12 and day = 31 and hour > 14 and hour <= 18:
  133. act '<b>Go to the New Year''s party at Dimka''s house</b>': killvar 'InvitationToDimkaNYparty' & minut += 30 & gt 'sny', '3'
  134. elseif InvitationToDimkaNYparty = 1 and month ! 12:
  135. killvar 'InvitationToDimkaNYparty'
  136. end
  137. act 'Walk to the Five Eight estate (0:02)':minut += 2 & gt 'pav_complex', 'start'
  138. act 'Walk to the Commercial area (0:05)':minut += 5 & gt 'pav_commercial'
  139. act 'Walk to the Industrial region (0:05)':minut += 5 & gt 'pav_industrial'
  140. act 'Walk to the Market (0:15)':minut += 15 & gt 'pav_market'
  141. act 'Walk to the park (0:05)':minut += 5 & gt 'pav_park', 'start'
  142. act 'Walk to the train station (0:15)':minut += 15 & gt 'pav_train_hall'
  143. act 'Walk to Pushkin (0:30)':minut += 30 & nroad = 19 & gt 'pushkin'
  144. act 'Wait': gs 'obj_din', 'wait'
  145. if (hour > 20 or hour < 4) and succubusQW = 5 and suchuntday ! daystart:
  146. act 'Go hunting near the community center (this can take a lot of time)':
  147. scrand = rand(0,4)
  148. minut += 60 - (5 * (succublvl + scrand))
  149. menu_off = 1
  150. gs 'stat'
  151. if rand(0,7) - succublvl < 2:
  152. gt 'succubus', 'pavResfeed'
  153. else
  154. cls
  155. gs 'stat'
  156. '<center><h2>Pavlovsk</h2></center>'
  157. if month >= 11 or month <= 3:
  158. if hour >= 8 and hour <= 21:
  159. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswinter.jpg"></center>'
  160. else
  161. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswintern.jpg"></center>'
  162. end
  163. else
  164. if hour >= 8 and hour <= 21:
  165. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavres.jpg"></center>'
  166. else
  167. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavresn.jpg"></center>'
  168. end
  169. end
  170. 'The disco is in full swing, which means a lot of adolescents going to and from the community center. You find a spot down the street from the community center to lie in wait for your prey.'
  171. 'You hide for a few minutes, watching groups of students pass by as you wait for a lone victim to pounce on. You lie in wait for almost thirty minutes thinking about the meal ahead, your hand finding its way between your legs a few times.'
  172. 'You are unsuccessful and fail to find a suitable victim.'
  173. act 'Return': gt 'pav_residential'
  174. end
  175. end
  176. end
  177. !!Uncle Misha is npcstatic number 54
  178. if mid($start_type,1,2) = 'sg' and (hour >= 8 or hour < 23) and cumloc[11] = 1 and rand(0, 3) = 0 and npcdaycheck[54] ! daystart:
  179. menu_off = 1
  180. *clr & cla
  181. if month >= 11 or month <= 3:
  182. if hour >= 8 and hour <= 21:
  183. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswinter.jpg"></center>'
  184. else
  185. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavreswintern.jpg"></center>'
  186. end
  187. else
  188. if hour >= 8 and hour <= 21:
  189. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavres.jpg"></center>'
  190. else
  191. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavresn.jpg"></center>'
  192. end
  193. end
  194. npcdaycheck[54] = daystart
  195. gs 'stat'
  196. if sosedknow = 0:
  197. sosedknow = 1
  198. 'As you walk through Pavlovsk, someone calls out to you. "<<$pcs_firstname>>!" You turn around and see uncle Misha, your neighbor. He looks at your face in amazement, "Your face looks like a mess! What is that?"'
  199. 'You blush and hesitate, trying to inconspicuously wipe the sperm off your face. It''s obviously not working; he already noticed. You see his eyes widen when he realizes what it is. "I see. Looks like you had fun." he grins and continues on his way.'
  200. else
  201. 'Once again, you run into uncle Misha, your neighbor. He notices the sperm on your face.'
  202. '"Again? Looks like you''ve been busy, girl. Nice look, it suits you."'
  203. end
  204. act 'Continue':gt 'pav_residential'
  205. exit
  206. end
  207. if pcs_magik >= 1 and mainQW = 0 and mid($start_type,1,2) = 'sg' and $start_type[1] ! 'nomagic':
  208. menu_off = 1
  209. *clr & cla
  210. mainQW = 1
  211. gs 'stat'
  212. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/lab/event/main.jpg"></center>'
  213. 'You see Tatiana and Gustav at the entrance to the apartment building. Tatiana adjusts her glasses and looks around, while Gustav seems to have his head in the clouds not really paying attention to his surroundings. His tattoos are not visible.'
  214. 'Tatiana closely looks around you: "I felt a burst of energy. Were you attacked by a magician?"'
  215. act 'No?':gt 'mainQW'
  216. exit
  217. end
  218. if mid($start_type,1,2) = 'sg' and AndRev = 1 and (hour >= 22 or hour <= 2) and rand(1,100) >= 90 and AndRevstart ! daystart:
  219. menu_off = 1
  220. *clr & cla
  221. gs 'stat'
  222. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/lab/event/main.jpg"></center>'
  223. 'It''s late and you''re hurrying to get home when you''re suddenly grabbed from behind. A large hand covers your mouth and you''re unable to scream as a powerful arm wraps around you and lifts you from your feet. You''re dragged into an alleyway between two buildings and the arm around you loosens for just a minute.'
  224. act 'Continue':
  225. *clr & cla
  226. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/lab/event/main.jpg"></center>'
  227. 'Before you can attempt to escape, you feel something sting your arm and your body relaxes against your will. Just before your eyes close and you lose consciousness, you hear a familiar voice rasp in your ear. "Now you''ll pay for breaking my nose, you little slut."'
  228. act 'Continue': gt 'boilerroom', 'start'
  229. end
  230. end
  231. !!if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
  232. if npc_QW['A113'] = 1 and daybelisex ! daystart and hour >= 9 and hour <= 23 and week = 7:
  233. menu_off = 1
  234. cla & *clr
  235. daybelisex = daystart
  236. minut += 1
  237. gs 'stat'
  238. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/vadim/belyjeep.jpg"></center>'
  239. 'As you walk through Pavlovsk, Vadim Bely''s Mitsubishi Pajero stops near you.'
  240. act 'Go to the jeep': gt 'belgang', 'payday'
  241. elseif npc_QW['A113'] = 1 and daybelisex ! daystart and hour >= 9 and hour <= 23 and week ! 7 and belgangPayWeek >= 300 and belgangProstitute = 1 and rand (0,2) = 0:
  242. menu_off = 1
  243. cla & *clr
  244. daybelisex = daystart
  245. minut += 1
  246. gs 'stat'
  247. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/vadim/belyjeep.jpg"></center>'
  248. 'You see the by now familiar old Mitsubishi Pajero driving through the streets with Vadim Bely and his gang inside. Your heart skips a beat as you notice one of them pointing at you and they pull over.'
  249. act 'Go to the jeep': gt 'belgang', 'workofdebt'
  250. end
  251. !-- Random prostitution solicitation check ------------------------
  252. gs 'prostitution_functions', 'check_solicitation_event'
  253. gs 'booty_call', 'home_links'
  254. --- pav_residential ---------------------------------