pavIndustrial.qsrc 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # pavIndustrial
  2. CLOSE ALL
  3. $metka = ''
  4. $loc = 'pavIndustrial'
  5. $location_type = 'public_outdoors'
  6. $metkaStreet = ''
  7. $locStreet = 'pavIndustrial'
  8. $menu_loc = 'pavIndustrial'
  9. $menu_arg = ''
  10. menu_off = 0
  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. cla
  21. *clr
  22. litltown = 1
  23. alkoblock = 0
  24. boynumBlock = 0
  25. !call random events from [street_events], and display them before show location.
  26. if streetevent_hour + 2 < hour:gt'street_event','pavIndustrial', 'main'
  27. '<center><h2>Pavlovsk Industrial District</h2></center>'
  28. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/factory/gshveyfab.jpg"></center>'
  29. *nl
  30. 'This is the Industrial region of Pavlovsk, it houses some factories and warehouses along with the old houses that are small and run down.'
  31. *nl
  32. 'This area is dominated by one biggest employers in Pavlovsk, the local textile factory. It''s owned by G&M who opened up a store opposite.'
  33. if hour >= 8 and hour < 20 and week >= 1 and week <= 5:
  34. 'Behind the security checkpoint you can see the <a href="exec:minut += 5 & GT ''Gshveyfab'', ''enter''">entrance</a> that every employee passes through.'
  35. elseif hour < 8 or hour > 20 or week > 5:
  36. 'The factory is currently closed.'
  37. end
  38. 'Opening hours are Monday through Friday:'
  39. 'First shift - 08:00 to 16:00'
  40. 'Second shift - 16:00 to 20:00'
  41. *nl
  42. 'In a smaller building right next to the factory is the local tailor shop, a service offered by the factory. Opening hours are Monday to Saturday, between 08:00 to 15:00.'
  43. gs'street_event','pavIndustrial', 'extras'
  44. if AlbFather >= 1:
  45. if AlbFaterBlackTime = 0:AlbFaterBlackTime = totminut + 2880
  46. '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?'
  47. end
  48. if AlbFaterBlackTime > 0 and AlbFaterBlackTime <= totminut and hour >= 14 and AlbFather = 1:gt 'AlbFatherQW'
  49. if hour >= 14 and hour <= 22 and AlbFather = 2 and AlbZaDay + 30 < daystart and year > 2015:
  50. gt 'AlbStarsEnd'
  51. end
  52. if StoryLine > 0 and hour < 4 and motherWorry = 0 and SchoolAtestat = 0 and age < 18 and home_owned[2] = 1:
  53. motherWorry = 1
  54. end
  55. if rand(1, 5) >= 4 and pav_slut >= 50:
  56. if pav_slut < 75:
  57. '<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.'
  58. elseif pav_slut < 100:
  59. '<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.'
  60. else
  61. '<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.'
  62. end
  63. end
  64. gs 'stat'
  65. if car > 0 and cardrive = 26:
  66. cardrive = 26
  67. 'Your <a href="exec:gs ''carF'', ''start''">car<<$car>></a> is parked in the street.'
  68. end
  69. if week < 7 and hour >= 8 and hour < 15:
  70. act 'Visit the tailor': gt 'Gshveyfab', 'tailor'
  71. end
  72. if week < 6 and hour >= 8 and hour < 20:
  73. *pl 'The local <a href="exec:torg = 0 & GT ''budgetclothes'',''start''">G&M Store</a> is currently open.'
  74. else
  75. *pl 'The local G&M Store is currently closed. Opening hours are Monday to Friday, between 08:00 to 20:00.'
  76. end
  77. act 'Walk to the residential area':minut += 5 & gt 'pavResidential'
  78. act 'Walk to the Five Eight estate':minut += 2 & gt 'pavcomplex', 'start'
  79. act 'Walk to the commercial area':minut += 5 & gt 'pavCommercial'
  80. act 'Wait':gs 'obj_din', 'wait'
  81. if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
  82. --- pavCommercial ---------------------------------