pav_industrial.qsrc 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. # pav_industrial
  2. CLOSE ALL
  3. $loc_arg = ''
  4. $loc = 'pav_industrial'
  5. $region = 'pav'
  6. $location_type = 'public_outdoors'
  7. $menu_loc = 'pav_industrial'
  8. $menu_arg = ''
  9. menu_off = 0
  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 & cla
  20. litltown = 1
  21. alkoblock = 0
  22. boynumBlock = 0
  23. !call random events from [street_events], and display them before show location.
  24. if streetevent_hour + 2 < hour:gt'street_event','pav_industrial', 'main'
  25. '<center><h2>Pavlovsk Industrial District</h2></center>'
  26. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/pav_factory.jpg"></center>'
  27. *nl
  28. 'This is the Industrial region of Pavlovsk. It houses some factories and warehouses, along with the old houses that are small and run down.'
  29. *nl
  30. 'This area is dominated by one of the biggest employers in Pavlovsk, the local textile factory. It''s owned by G&M, who opened up a store opposite.'
  31. if hour >= 8 and hour < 20 and week >= 1 and week <= 5:
  32. 'Behind the security checkpoint, you can see the <a href="exec:minut += 5 & gt ''pav_factory'', ''enter''">entrance</a> that every employee passes through.'
  33. elseif hour < 8 or hour > 20 or week > 5:
  34. 'The factory is currently closed.'
  35. end
  36. 'Opening hours are Monday through Friday:'
  37. 'First shift - 08:00 to 16:00'
  38. 'Second shift - 16:00 to 20:00'
  39. *nl
  40. 'In a smaller building right next to the factory is the local '+iif(week < 7 and hour >= 8 and hour < 18,'<a href="exec: gt ''pav_factory'', ''tailor''">tailor</a>', 'tailor')+' shop, a service offered by the factory. Opening hours are Monday to Saturday, between 08:00 to 17:00.'
  41. gs'street_event','pav_industrial', 'extras'
  42. if ((month = 9 and day > 16) or month >= 10) and (AlbinaQW['StarletsShutDown'] = 0 or AlbinaQW['Chernov'] = 0): 'You can see election posters on the walls all over town. They say: "Vote for Boris Barlovsky!" Wait a minute... isn''t that Albina''s father?'
  43. 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'
  44. if rand(1,5) >= 4 and fame['pav_slut'] >= 100:
  45. if fame['pav_slut'] < 150:
  46. '<br>You catch people staring at you intently, as if they''re supposed to know who you are but can''t quite remember why. You sincerely hope they don''t realize your promiscuous adventures are the reason why. The occasional person chuckling and pointing at you crushes those hopes, and you quickly keep walking before they get a chance to say anything.'
  47. elseif fame['pav_slut'] < 200:
  48. '<br>People look at you with lewd grins on their faces, some of them even making vulgar gestures. Looks like they know what you''ve been up to.'
  49. else
  50. '<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 when they do, or claiming they want 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.'
  51. end
  52. end
  53. gs 'stat'
  54. if car > 0 and cardrive = 26:
  55. cardrive = 26
  56. 'Your <a href="exec:gs ''carF'', ''start''"><<$car>></a> is parked in the street.'
  57. end
  58. if week < 7 and hour >= 8 and hour < 20:
  59. *pl 'The local <a href="exec:torg = 0 & gt ''budgetclothes'',''start''">G&M Store</a> is currently open.'
  60. else
  61. *pl 'The local G&M store is currently closed. Opening hours are Monday to Saturday, between 08:00 to 20:00.'
  62. end
  63. act 'Walk to the Five Eight estate (0:05)':minut += 5 & gt 'pav_complex', 'start'
  64. act 'Walk to the Residential area (0:05)':minut += 5 & gt 'pav_residential'
  65. act 'Walk to the Commercial area (0:05)':minut += 5 & gt 'pav_commercial'
  66. act 'Walk to the Market (0:15)':minut += 15 & gt 'pav_market'
  67. act 'Walk to the train station (0:15)':minut += 15 & gt 'pav_train_hall'
  68. act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
  69. act 'Walk to Pushkin (0:30)':minut += 30 & gt 'pushkin'
  70. if week < 7 and hour >= 8 and hour < 18:
  71. act 'Visit the tailor': gt 'pav_factory', 'tailor'
  72. else
  73. '<br>The tailor is closed right now.'
  74. end
  75. act 'Wait':gs 'obj_din', 'wait'
  76. !!if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
  77. if npc_QW['A113'] = 1 and daybelisex ! daystart and hour >= 9 and hour <= 23 and week = 7:
  78. menu_off = 1
  79. cla & *clr
  80. daybelisex = daystart
  81. minut += 5
  82. gs 'stat'
  83. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/vadim/belyjeep.jpg"></center>'
  84. 'As you walk through Pavlovsk, Vadim Belys Mitsubishi Pajero stops near you.'
  85. act 'Go to the jeep': gt 'belgang', 'payday'
  86. 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:
  87. menu_off = 1
  88. cla & *clr
  89. daybelisex = daystart
  90. minut += 5
  91. gs 'stat'
  92. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/vadim/belyjeep.jpg"></center>'
  93. 'You see the by now familiar old Mitsubishi Pajero driving through the streets with Vadim Bely and his gang. Your heart skips a beat as you notice one of them pointing at you, and soon they pull over.'
  94. act 'Go to the jeep': gt 'belgang', 'workofdebt'
  95. end
  96. !-- Random prostitution solicitation check ------------------------
  97. gs 'prostitution_functions', 'check_solicitation_event'
  98. --- pav_industrial ---------------------------------