pavCommercial 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. # pavCommercial
  2. !{Change log
  3. 25 March 2016
  4. Fixed diplaced period after church link
  5. Fixed visting links to look the same
  6. Added start of Andrei kidnapping
  7. }
  8. $location_type = 'public_outdoors'
  9. $metka = ''
  10. $loc = 'pavCommercial'
  11. $metkaStreet = ''
  12. $locStreet = 'pavCommercial'
  13. CLOSE ALL
  14. if sound = 0:
  15. if month >=11 and month <= 12 or month >=1 and month <=3:
  16. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  17. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  18. else
  19. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  20. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  21. end
  22. end
  23. cla
  24. *clr
  25. litltown = 1
  26. alkoblock = 0
  27. boynumBlock = 0
  28. !call random events from [street_events], and display them before show location.
  29. if streetevent_hour + 2 < hour:gt'street_event','pavCommercial', 'main'
  30. '<center><h2>Pavlovsk</h2></center>'
  31. if Enable_towntable = 1 : $_str = '<center><table><tr><td>' else $_str = ''
  32. if month >= 11 or month <= 3:
  33. if hour >= 8 and hour <= 21:
  34. $_str += '<center><img <<$set_imgh>> src="images/locations/pavlovsk/gorodokw.jpg"></center>'
  35. else
  36. $_str += '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavbuswn.jpg"></center>'
  37. end
  38. else
  39. if hour >= 8 and hour <= 21:
  40. $_str += '<center><img <<$set_imgh>> src="images/locations/pavlovsk/gorodok.jpg"></center>'
  41. else
  42. $_str += '<center><img <<$set_imgh>> src="images/locations/pavlovsk/pavbusn.jpg"></center>'
  43. end
  44. end
  45. if Enable_towntable = 1 : $_str += '</td><td>'
  46. $_str += '<center>The high street of a provincial town in a rural area of Russia. Population: about 15000 inhabitants.</center>'
  47. $_str += '<center>Apart from the old <a href="exec:view''images/locations/pavlovsk/palace/pav_palace.jpg''">Imperial palace</a> with its surrounding gardens and forest, built by Catherine the Great, and the recently rebuilt <a href="exec:view''images/locations/pavlovsk/fortress/bip_hotel.png''">Bip fortress</a> (which is now a Luxury hotel and restaurant), it looks much like all the other towns in the region.</a></center> '
  48. $_str += '<center>The tallest building in town is the <a href="exec:minut += 10 & gt ''ParChurch'',''start''">church of St Nikolas.</a></center>'
  49. if Enable_towntable = 1 : $_str += '</td></tr><table></center>'
  50. *nl $_str
  51. killvar '$_str'
  52. ''
  53. gs'street_event','pavCommercial', 'extras'
  54. if AlbFather >= 1:
  55. if AlbFaterBlackTime = 0:AlbFaterBlackTime = totminut + 2880
  56. '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?'
  57. end
  58. if AlbFaterBlackTime > 0 and AlbFaterBlackTime <= totminut and hour >= 14 and AlbFather = 1:gt 'AlbFatherQW'
  59. if hour >= 14 and hour <= 22 and AlbFather = 2 and AlbZaDay + 30 < daystart and year > 2015:
  60. gt 'AlbStarsEnd'
  61. end
  62. if StoryLine > 0 and hour < 4 and motherWorry = 0 and SchoolAtestat = 0 and age < 18 and Parhomeblock = 0:
  63. motherWorry = 1
  64. end
  65. if rand(1, 5) >= 4 and pav_slut >= 50:
  66. if pav_slut < 75:
  67. '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.'
  68. elseif pav_slut < 100:
  69. '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.'
  70. else
  71. '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.'
  72. end
  73. end
  74. gs 'stat'
  75. if car > 0 and cardrive = 24:
  76. cardrive = 24
  77. 'Your <a href="exec:gs ''carF'', ''start''">car<<$car>></a> is parked in the street.'
  78. end
  79. if hour >= 8 and hour <= 20:
  80. $Pharmname = ', and the <a href="exec: minut += 15 & gt ''gaptek'', ''start''">pharmacy</a> is right across the street.'
  81. else
  82. $Pharmname = '.'
  83. end
  84. 'You are on the high street, at one end is the <a href="exec:minut += 15 & gt ''vokzalG''">train station</a> and access to the highway. Near the highway you can also find a <a href="exec:minut += 5 & gt ''zaprF'', ''start''">gas station</a>.'
  85. 'The nearby residential area is next to the lake and the town surrounds the old palace grounds which are now a large <a href="exec:minut += 5 & gt ''gskver'', ''park''">public park</a>.'
  86. 'There is a small <a href="exec:minut += 5 & gt ''gpoli''">clinic</a><<$Pharmname>>'
  87. if leonidSlave = 1:
  88. 'Near the town hall there is an old <a href="exec:minut += 15 & gt ''pavCommercialOffices''">office building</a>.'
  89. end
  90. if hour >= 8 and hour <= 17:'The local <a href="exec: minut += 3 & gt ''barbershop'', ''start''">barbershop</a> is within walking distance, merely a few minutes away.'
  91. if hour >= 7 and hour <= 18:'Pavlovsk has a <a href="exec:minut += 15 & gt ''etoexhib'', ''pos20''">vocational school</a>, where young adults can learn a trade.'
  92. if hour >= 8 and hour <= 20:'There is a big chain <a href="exec:gt ''shop'', ''start''">supermarket</a> nearby.'
  93. if week < 6 and hour >= 9 and hour <= 18:'You can see the most important <a href="exec:bankloc = 0 & gt ''bank'', ''start''">Bank</a> in the city from here.'
  94. if (week < 6 and hour >= 9 and hour <= 16) or (week = 6 and hour >= 9 and hour <= 13):'The local <a href="exec:minut += 3 & bankloc = 0 & gt ''postoffice'', ''start''">post office</a> branch is open.'
  95. 'A <a href="exec:minut += 15 & gt ''Gshveyfab'', ''start''">garment factory</a> named Paris Commune is situated in the industrial area on the outskirts of town, close to the highway.'
  96. ''
  97. if workPTU > 2:act '<b>Go to the hostel</b>':gt 'etoexhib', 'pos40'
  98. act 'Go to the residential area':minut += 5 & gt 'pavResidential'
  99. act 'Walk to the city highway':minut += 15 & nroad = 20 & gt 'road'
  100. act 'Wait':
  101. cla
  102. waiting = input ("How long would you like to wait? (Not more than 120 minutes)")
  103. if waiting <= 0 or waiting > 120:
  104. minut += 15
  105. elseif waiting > 0 and waiting <= 120:
  106. minut += waiting
  107. end
  108. act 'Check the time':gt $curloc
  109. end
  110. if rand (0,2) ! 0:gs 'din_bad' & dynamic $mobile_check
  111. if npc_QW['A113'] = 1 and belgangday < daystart:
  112. 'As you walk through Pavlovsk, a shabby Mitsubishi Pajero stops near you. Vadim Bely steps out, along with several of his henchmen. He gives you a smile that you know is 100% fake and behaves amicably while he says: "Long time no see, <<$pcs_nickname>>! How are you? I hope you bear good news?"'
  113. if money >= belgangPay:
  114. act'Give him the money':
  115. !!img = handing over money
  116. cls
  117. money -= belgangPay
  118. belgangPay = 0
  119. npc_QW['A113'] = 0
  120. gs'stat'
  121. 'You have the money with you, handing it over to Vadim while his henchmen keep a look out. Once again, he gives you an awkward smile, very pleased how things have turned out. "It''s all there, right? I would hate to have to come back for the rest."'
  122. 'You nod at him, reassuring him. "It''s all there, mister Bely. Count them if you don''t believe me."'
  123. 'He takes a moment to count the money and nods approvingly. "Very good, it''s the full amount. Pleasure doing business with you, <<$pcs_nickname>>. Take care of yourself."'
  124. 'He signals his crew to get back in the jeep. You barely manage to dodge the spray of pebbles and dirt the spinning tires spew your way, as they drive off as fast as they can, probably on their way to another ''business appointment''.'
  125. act 'Continue':gt 'pavCommercial'
  126. end
  127. else
  128. act'You don''t have the money':
  129. cls
  130. gs'stat'
  131. 'You''re tearing up as you look down at your shoes, not daring to look him in the eye. "I''m... I''m sorry, mister Bely. I simply don''t have that kind of money. If you give me some more time, I wi-"'
  132. 'He frowns, abruptly cutting you off. You can see the disapproval in his eyes when you glance up. "That is very unfortunate <<$pcs_nickname>>. I had such high hopes for you," he says. "I guess we will have to find an alternative way for you to pay off your debts."'
  133. 'He then directs his attention to two of his henchmen: "She''s coming with us."'
  134. 'Too scared to resist, you simply let the two men grab you by your arms and pull you into the Mitsubishi. Vadim gets back behind the wheel and within minutes you''ve left Pavlovsk. You notice you''re being taken to the city, and you wonder what they''re planning for you there.'
  135. act'In the city...':
  136. cls
  137. gs'stat'
  138. minut+=60
  139. workDolg=belgangPay
  140. workDolg -= money
  141. money = 0
  142. belgangPay=0
  143. 'The car pulls over in front of the sauna. After one of the criminals makes sure the coast is clear, two of the men pull you out of the car and escort you to a room inside the building. Vadim follows them and asks to be left alone with you for a minute. After the other guys leave the room, he explains: "Until you pay off your debts, we own you. You will live here and work here. Any expenses you incur while you are here will be added to your debt. Understood?"'
  144. 'Silence fills the room as he waits for you to acknowledge what he just said. Mortified about what might happen if you don''t, you nod. He decides to paint the picture anyway: "If you try to escape or refuse to work, we''ll put a bullet in your head, chop you up and bury you in the woods in pieces. And that would be a waste, with such a pretty face as yours." He pinches your cheeks and then slaps your face; not hard enough to be painful, but it certainly drives the message home. You can tell he''s dead serious.'
  145. 'After looking you in the eyes for a few more seconds to make sure you get the message, he turns around and leaves. You are all alone now.'
  146. act 'Look around':gt'saunaroom'
  147. end
  148. end
  149. end
  150. end
  151. --- pavCommercial ---------------------------------