pav_train_hall.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. # pav_train_hall
  2. if $ARGS[0] = '':
  3. $region = 'pav'
  4. $loc = 'pav_train_hall'
  5. $loc_arg = ''
  6. $menu_loc = 'pav_train_hall'
  7. $menu_arg = ''
  8. menu_off = 0
  9. $location_type = 'public_indoors'
  10. CLOSE ALL
  11. if sound = 0:PLAY 'sound/vokzal2.mp3',30
  12. clr
  13. frost = 0
  14. poezddalsled = 0
  15. gs 'stat'
  16. gs 'themes', 'indoors'
  17. '<center><h2>Pavlovsk train station interior</h2></center>'
  18. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  19. *nl
  20. 'Stepping into the station building you are greated by a large waiting room, where passengers await the trains. In one of the corners you can clearly see the <a href="exec: gt ''pav_train_hall_events'', ''manager''">station manager''s office</a>. The <a href="exec:minut += 1 & gt ''pav_train_hall'', ''toilet''">toilets</a> are located farthest back of the building.'
  21. *nl
  22. 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
  23. *nl
  24. *nl
  25. if rand(0,2) = 0 and week < 5 and hour >= 8 and hour < 18:
  26. !!a 1 in 3 chances at those times he is here
  27. if OluQW['met'] = 0:
  28. !!this is just added to the above description of the train station with no interactions
  29. 'You see a very large black man, dressed fairly nice sitting on one of the benches. When some people head for the exit he gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
  30. else
  31. VK = rand (1,5)
  32. if week = 1 and VK = 1:
  33. DjibrilQW['taxi'] = 1
  34. if DjibrilQW['meet'] = 1:
  35. 'You see your aunts boyfriend <a href="exec:minut += 1 & gt ''olutaxi'', ''station''">Olu</a> sitting on one of the benches, dressed fairly nicely, next to him sits his nephew Djibril. When some people head for the exit Olu gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
  36. else
  37. 'You see your aunts boyfriend <a href="exec:minut += 1 & gt ''olutaxi'', ''station''">Olu</a> sitting on one of the benches, dressed fairly nicely, next to him sits a younger man that looks similar enough to them that they might be related. When some people head for the exit Olu gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
  38. end
  39. else
  40. 'You see your aunts boyfriend <a href="exec:minut += 1 & gt ''olutaxi'', ''station''">Olu</a> sitting on one of the benches, dressed fairly nicely. When some people head for the exit he gets up and walks up to them, asking them if they need a taxi, so far it doesn''t look like anyone is taking him up on his offer.'
  41. end
  42. end
  43. end
  44. if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0:
  45. if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:'You see your classmates <a href="exec:minut += 3 & $prevloc = $loc & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
  46. end
  47. *nl
  48. if podbros = 0:
  49. podrand = rand(0, 1)
  50. if money >= 1000 and hour >= 8 and hour <= 20 and podrand = 0:'As you walk through the station building, you notice a man''s thick <a href="exec: gt ''pav_train_hall_events'', ''wallet1''">wallet</a> fall out from his pocket, not far away from you.'
  51. *nl
  52. end
  53. act 'Walk to the Market (0:03)':minut += 3 & gt 'pav_market'
  54. act 'Walk to the Commercial area (0:10)':minut += 10 & gt 'pav_commercial'
  55. act 'Walk to the Residential area (0:15)':minut += 15 & gt 'pav_residential'
  56. act 'Walk to the Industrial region (0:15)':minut += 15 & gt 'pav_industrial'
  57. act 'Walk to the Five Eight estate (0:15)':minut += 15 & gt 'pav_complex', 'start'
  58. act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
  59. act 'Walk to Pushkin (0:15)':minut += 15 & nroad = 19 & gt 'pushkin'
  60. if transportVars['trainpass_day'] > daystart:
  61. func('transport_functions', 'display_trainpass_time')
  62. act 'Go to the platforms': gt 'pav_train_hall', 'platform'
  63. else
  64. act 'Go to the ticket office': gt 'pav_train_hall', 'ticket'
  65. end
  66. if snarkozak = 1 and narkozakday ! day and money >= 1500: act 'Find the drug dealer':gs 'events', 'snarkozaka'
  67. if vokzalVork >= 1:
  68. if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
  69. act 'Work': gt 'pav_train_hall', 'work'
  70. elseif cleZarplatDay ! daystart:
  71. cleZarplatDay = daystart
  72. cleanDailypay += 250
  73. vokzalVork += 1
  74. gs 'stat'
  75. end
  76. end
  77. if cleanDailypay > 0:
  78. act 'Collect your salary':
  79. menu_off = 1
  80. *clr & cla
  81. '<center><h2>Pavlovsk train station interior</h2></center>'
  82. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  83. money += cleanDailypay
  84. cleanDailypay = 0
  85. minut += 3
  86. gs 'stat'
  87. 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
  88. act 'Continue':minut += 1 & gt 'pav_train_hall'
  89. end
  90. end
  91. *nl
  92. if hour = 11 and minut = 0:
  93. poezddalsled = 1
  94. 'The 11:30 long-distance train is currently approaching the platform.'
  95. elseif hour = 11 and minut > 0 and minut < 30:
  96. poezddalsled = 1
  97. 'The 11:30 long-distance train is currently waiting at the platform.'
  98. elseif hour = 11 and minut = 30:
  99. poezddalsled = 1
  100. 'The 11:30 long-distance train is currently leaving the station.'
  101. elseif hour = 18 and minut = 0:
  102. poezddalsled = 1
  103. 'The 18:30 long-distance train is currently approaching the platform.'
  104. elseif hour = 18 and minut > 0 and minut < 30:
  105. poezddalsled = 1
  106. 'The 18:30 long-distance train is currently waiting at the platform.'
  107. elseif hour = 18 and minut = 30:
  108. poezddalsled = 1
  109. 'The 18:30 long-distance train is currently leaving the station.'
  110. end
  111. if poezddalsled = 1:
  112. 'The platform is bustling with passengers that are entering or leaving the currently waiting train, carrying their heavy bags with them. Several police officers are patrolling the platforms while the train is here, keeping an eye out for any unruly activities.'
  113. if tovarL > 0:act 'Sell your goods to passengers':gt 'pav_train_hall_events', 'trinkets'
  114. end
  115. act 'Wait':gs 'obj_din', 'wait'
  116. end
  117. if $ARGS[0] = 'platform':
  118. $loc = 'pav_train_hall'
  119. $loc_arg = 'platform'
  120. $menu_loc = 'pav_train_hall'
  121. $menu_arg = 'platform'
  122. menu_off = 0
  123. $location_type = 'public_outdoors'
  124. CLOSE ALL
  125. if sound = 0:
  126. if month >=11 and month <= 12 or month >=1 and month <=3:
  127. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  128. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  129. else
  130. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  131. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  132. end
  133. end
  134. *clr & cla
  135. gs'stat'
  136. '<center><h2>Pavlovsk station platforms</h2></center>'
  137. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  138. *nl
  139. 'Because Pavlovsk is a place that attracts a fair amount of tourists, the station can be quite busy at times. The busiest times on the platforms are between 11:00 and 11:30, and between 18:00 and 18:30 when the long-distance trains are ready for boarding.'
  140. *nl
  141. if week >= 6 and hour >= 9 and hour <= 10:'You notice <a href="exec:gt ''gschool_socialchg1'', ''tBella''">Bella</a> standing at the train station platform, looking at the time table.'
  142. act 'Enter the station building': gt'pav_train_hall'
  143. if transportVars['trainpass_day'] > daystart:
  144. act 'Take the train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''village'')>>)': gt 'train', 'pavlovsk_village'
  145. act 'Take the train to the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''communal'')>>)': gt 'train', 'pavlovsk_communal'
  146. act 'Take the train to the city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''ind'')>>)': gt 'train', 'pavlovsk_ind'
  147. act 'Take the train to the city center (<<func(''transport_functions'', ''display_train_timecost'', ''pavlovsk'', ''center'')>>)': gt 'train', 'pavlovsk_center'
  148. end
  149. end
  150. if $ARGS[0] = 'work':
  151. menu_off = 1
  152. *clr & cla
  153. '<center><h2>Pavlovsk train station interior</h2></center>'
  154. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  155. if cleZalDay ! daystart:
  156. act 'Mop the waiting room floor (1:00)':
  157. cls
  158. cleZalDay = daystart
  159. gs 'exercise', 'tier1', 60, 'stren', 'vital'
  160. gs 'exp_gain', 'cleaning', rand(0,2)
  161. pcs_mood -= 6
  162. gs 'stat'
  163. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  164. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and mop the station building floor.'
  165. act 'Continue':minut += 1 & gt 'pav_train_hall', 'work'
  166. end
  167. end
  168. if cleMTDay ! daystart:
  169. act 'Clean the men''s restroom (0:30)':
  170. cls
  171. cleMTDay = daystart
  172. gs 'exercise', 'tier1', 30, 'stren', 'vital'
  173. gs 'exp_gain', 'cleaning', rand(0,2)
  174. pcs_mood -= 6
  175. gs 'stat'
  176. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  177. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and head into the men''s restroom.'
  178. gs 'pav_train_hall_events', 'toilet_event'
  179. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.' <== How exciting! <3 VK
  180. act 'Leave restroom':minut += 1 & gt 'pav_train_hall', 'work'
  181. end
  182. end
  183. if cleWTDay ! daystart:
  184. act 'Clean the women''s restroom (0:30)':
  185. cls
  186. cleWTDay = daystart
  187. gs 'exercise', 'tier1', 30, 'stren', 'vital'
  188. gs 'exp_gain', 'cleaning', rand(0,2)
  189. pcs_mood -= 6
  190. gs 'stat'
  191. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  192. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and scrub the toilets in the ladies'' restroom before you finish up by mopping the floor.'
  193. gs 'pav_train_hall_events', 'vera'
  194. act 'Leave restroom':minut += 1 & gt 'pav_train_hall', 'work'
  195. end
  196. end
  197. act 'Return': gt 'pav_train_hall'
  198. end
  199. if $ARGS[0] = 'ticket':
  200. $menu_loc = 'pav_train_hall'
  201. $menu_arg = 'ticket'
  202. menu_off = 0
  203. *clr & cla
  204. gs 'stat'
  205. '<center><h2>Ticket office</h2></center>'
  206. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/ticketoffice.jpg"></center>'
  207. act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
  208. if money >= 50:
  209. act 'Buy a ticket':
  210. cla
  211. gs 'pav_train_hall', 'buy_ticket'
  212. end
  213. end
  214. gs 'transport_functions', 'buy_train_pass'
  215. end
  216. if $ARGS[0] = 'buy_ticket':
  217. $menu_loc = 'pav_train_hall'
  218. $menu_arg = 'buy_ticket'
  219. menu_off = 0
  220. act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
  221. gs 'transport_functions', 'buy_train_ticket', 'pavlovsk', 'pc'
  222. end
  223. if $ARGS[0] = 'toilet':
  224. $menu_loc = 'pav_train_hall'
  225. $menu_arg = 'toilet'
  226. killvar '$locclass'
  227. menu_off = 0
  228. *clr & cla
  229. vokzalToilet = 0
  230. gs 'stat'
  231. '<center><h2>Pavlovsk train station interior</h2></center>'
  232. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  233. *nl
  234. 'You stand by the station''s restrooms, you see the <a href="exec:minut += 1 & gt ''pav_train_hall'', ''female''">ladies'' restroom</a> to the right and <a href="exec:minut += 1 & gt ''pav_train_hall'', ''male''">men''s restroom</a> to the left, clearly marked by signs on the door.'
  235. act 'Return to the train station':minut += 1 & gt 'pav_train_hall'
  236. end
  237. if $ARGS[0] = 'female':
  238. $locM = 'pav_train_hall'
  239. $locM_arg = 'female'
  240. $loc = 'pav_train_hall'
  241. $loc_arg = 'female'
  242. $menu_loc = 'pav_train_hall'
  243. $menu_arg = 'female'
  244. menu_off = 0
  245. $location_type = 'bathroom'
  246. $locclass = 'restroom'
  247. *clr & cla
  248. vokzalToilet = 1
  249. gs 'stat'
  250. '<center><h4>The ladies'' room</h4></center>'
  251. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  252. 'You open the door to the ladies'' restroom and head inside.'
  253. act 'Leave':minut += 1 & gt 'pav_train_hall', 'toilet'
  254. act 'Look in the mirror': gt 'mirror', 'start'
  255. dynamic $tampon
  256. dynamic $quickwash
  257. dynamic $basin
  258. dynamic $publicpan
  259. end
  260. if $ARGS[0] = 'male':
  261. $locM = 'pav_train_hall'
  262. $locM_arg = 'male'
  263. $loc = 'pav_train_hall'
  264. $loc_arg = 'male'
  265. $menu_loc = 'pav_train_hall'
  266. $menu_arg = 'male'
  267. menu_off = 0
  268. $location_type = 'bathroom'
  269. $locclass = 'restroom'
  270. *clr & cla
  271. vokzalToilet = 2
  272. gs 'stat'
  273. '<center><h4>The men''s room</h4></center>'
  274. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  275. 'You open the door to the men''s restroom and head inside.'
  276. act 'Leave':minut += 1 & gt 'pav_train_hall', 'toilet'
  277. if bimbolevel >= 1:
  278. act 'Wait and see if someone finds you':gt 'trainbimbo', 'pos1'
  279. act 'Quickly enter a stall':gt 'trainbimbo', 'pos5'
  280. end
  281. act 'Look in the mirror':gt 'mirror', 'start'
  282. dynamic $tampon
  283. dynamic $quickwash
  284. dynamic $basin
  285. end
  286. --- pav_train_hall ---------------------------------