pav_train_hall.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. # pav_train_hall
  2. if $ARGS[0] = '':
  3. $loc_arg = ''
  4. $loc = 'pav_train_hall'
  5. $menu_loc = 'pav_train_hall'
  6. $menu_arg = ''
  7. menu_off = 0
  8. $location_type = 'public_indoors'
  9. CLOSE ALL
  10. if sound = 0:PLAY 'sound/vokzal2.mp3',30
  11. clr
  12. frost = 0
  13. poezddalsled = 0
  14. gs 'stat'
  15. gs 'themes', 'indoors'
  16. '<center><h2>Pavlovsk train station interior</h2></center>'
  17. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  18. *nl
  19. '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.'
  20. *nl
  21. 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
  22. *nl
  23. *nl
  24. if rand(0,2) = 0 and week < 5 and hour >= 8 and hour < 18:
  25. !!a 1 in 3 chances at those times he is here
  26. if OluQW['met'] = 0:
  27. !!this is just added to the above description of the train station with no interactions
  28. '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.'
  29. else
  30. VK = rand (1,5)
  31. if week = 1 and VK = 1:
  32. DjibrilQW['taxi'] = 1
  33. if DjibrilQW['meet'] = 1:
  34. '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.'
  35. else
  36. '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.'
  37. end
  38. else
  39. '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.'
  40. end
  41. end
  42. end
  43. if mid($start_type,1,2) = 'sg' and SchoolAtestat = 0:
  44. 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.'
  45. end
  46. *nl
  47. if podbros = 0:
  48. podrand = rand(0, 1)
  49. 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.'
  50. *nl
  51. end
  52. act 'Walk to the Market (0:03)':minut += 3 & gt 'pav_market'
  53. act 'Walk to the Commercial area (0:10)':minut += 10 & gt 'pav_commercial'
  54. act 'Walk to the Residential area (0:15)':minut += 15 & gt 'pav_residential'
  55. act 'Walk to the Industrial region (0:15)':minut += 15 & gt 'pav_industrial'
  56. act 'Walk to the Five Eight estate (0:15)':minut += 15 & gt 'pav_complex', 'start'
  57. act 'Walk to the highway (0:15)':minut += 15 & nroad = 20 & gt 'road'
  58. act 'Walk to Pushkin (0:15)':minut += 15 & nroad = 19 & gt 'liam'
  59. if Trainpass_day > daystart:
  60. 'You have <<Trainpass_day - daystart>> days left on your train pass.'
  61. act 'Go to the platforms': gt 'pav_train_hall', 'platform'
  62. else
  63. act 'Go to the ticket office': gt 'pav_train_hall', 'ticket'
  64. end
  65. if snarkozak = 1 and narkozakday ! day and money >= 1500: act 'Find the drug dealer':gs 'events', 'snarkozaka'
  66. if vokzalVork >= 1:
  67. if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
  68. act 'Work': gt 'pav_train_hall', 'work'
  69. elseif cleZarplatDay ! daystart:
  70. cleZarplatDay = daystart
  71. cleanDailypay += 250
  72. vokzalVork += 1
  73. gs 'stat'
  74. end
  75. end
  76. if cleanDailypay > 0:
  77. act 'Collect your salary':
  78. menu_off = 1
  79. *clr & cla
  80. '<center><h2>Pavlovsk train station interior</h2></center>'
  81. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  82. money += cleanDailypay
  83. cleanDailypay = 0
  84. minut += 3
  85. gs 'stat'
  86. 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
  87. act 'Continue':minut += 1 & gt 'pav_train_hall'
  88. end
  89. end
  90. *nl
  91. if hour = 11 and minut = 0:
  92. poezddalsled = 1
  93. 'The 11:30 long-distance train is currently approaching the platform.'
  94. elseif hour = 11 and minut > 0 and minut < 30:
  95. poezddalsled = 1
  96. 'The 11:30 long-distance train is currently waiting at the platform.'
  97. elseif hour = 11 and minut = 30:
  98. poezddalsled = 1
  99. 'The 11:30 long-distance train is currently leaving the station.'
  100. elseif hour = 18 and minut = 0:
  101. poezddalsled = 1
  102. 'The 18:30 long-distance train is currently approaching the platform.'
  103. elseif hour = 18 and minut > 0 and minut < 30:
  104. poezddalsled = 1
  105. 'The 18:30 long-distance train is currently waiting at the platform.'
  106. elseif hour = 18 and minut = 30:
  107. poezddalsled = 1
  108. 'The 18:30 long-distance train is currently leaving the station.'
  109. end
  110. if poezddalsled = 1:
  111. '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.'
  112. if tovarL > 0:act 'Sell your goods to passengers':gt 'pav_train_hall_events', 'trinkets'
  113. end
  114. act 'Wait':gs 'obj_din', 'wait'
  115. end
  116. if $ARGS[0] = 'platform':
  117. $loc = 'pav_train_hall'
  118. $loc_arg = 'platform'
  119. $menu_loc = 'pav_train_hall'
  120. $menu_arg = 'platform'
  121. menu_off = 0
  122. $location_type = 'public_outdoors'
  123. CLOSE ALL
  124. if sound = 0:
  125. if month >=11 and month <= 12 or month >=1 and month <=3:
  126. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  127. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  128. else
  129. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  130. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  131. end
  132. end
  133. *clr & cla
  134. gs'stat'
  135. '<center><h2>Pavlovsk station platforms</h2></center>'
  136. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  137. *nl
  138. '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.'
  139. *nl
  140. 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.'
  141. act 'Enter the station building': gt'pav_train_hall'
  142. if Trainpass_day > daystart:
  143. act 'Take the train to the village of Gadukino': gt 'pav_train_hall', 'village'
  144. act 'Take the train to the communal village': gt 'pav_train_hall', 'communal'
  145. act 'Take the train to city industrial area': gt 'pav_train_hall', 'ind'
  146. act 'Take the train to city center': gt 'pav_train_hall', 'centre'
  147. end
  148. end
  149. if $ARGS[0] = 'work':
  150. menu_off = 1
  151. *clr & cla
  152. '<center><h2>Pavlovsk train station interior</h2></center>'
  153. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  154. if cleZalDay ! daystart:
  155. act 'Mop the waiting room floor (1:00)':
  156. cls
  157. cleZalDay = daystart
  158. gs 'exercise', 'tier1', 60, 'stren', 'vital'
  159. pcs_mood -= 6
  160. gs 'stat'
  161. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  162. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and mop the station building floor.'
  163. act 'Continue':minut += 1 & gt 'pav_train_hall', 'work'
  164. end
  165. end
  166. if cleMTDay ! daystart:
  167. act 'Clean the men''s restroom (0:30)':
  168. cls
  169. cleMTDay = daystart
  170. gs 'exercise', 'tier1', 30, 'stren', 'vital'
  171. pcs_mood -= 6
  172. gs 'stat'
  173. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  174. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and head into the men''s restroom.'
  175. gs 'pav_train_hall_events', 'toilet_event'
  176. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.' <== How exciting! <3 VK
  177. act 'Leave restroom':minut += 1 & gt 'pav_train_hall', 'work'
  178. end
  179. end
  180. if cleWTDay ! daystart:
  181. act 'Clean the women''s restroom (0:30)':
  182. cls
  183. cleWTDay = daystart
  184. gs 'exercise', 'tier1', 30, 'stren', 'vital'
  185. pcs_mood -= 6
  186. gs 'stat'
  187. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  188. '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.'
  189. gs 'pav_train_hall_events', 'vera'
  190. act 'Leave restroom':minut += 1 & gt 'pav_train_hall', 'work'
  191. end
  192. end
  193. act 'Return': gt 'pav_train_hall'
  194. end
  195. if $ARGS[0] = 'ticket':
  196. $menu_loc = 'pav_train_hall'
  197. $menu_arg = 'ticket'
  198. menu_off = 0
  199. *clr & cla
  200. gs 'stat'
  201. '<center><h2>Ticket office</h2></center>'
  202. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/ticketoffice.jpg"></center>'
  203. act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
  204. if money >= 50:
  205. act 'Buy a ticket':
  206. cla
  207. gs 'pav_train_hall', 'buy_ticket'
  208. end
  209. end
  210. if money >= 1500 and Trainpass_day <= daystart:
  211. act 'Buy a weekly pass (7 days - 1500 <b>₽</b>) ':
  212. cla
  213. money -= 1500
  214. Trainpass_day = daystart + 7
  215. act 'Return': gt 'pav_train_hall'
  216. end
  217. end
  218. if money >= 5500 and Trainpass_day <= daystart:
  219. act 'Buy a monthly pass (30day - 5500 <b>₽</b>)':
  220. cla
  221. money -= 5500
  222. Trainpass_day = daystart + 30
  223. act 'Return': gt 'pav_train_hall'
  224. end
  225. end
  226. end
  227. if $ARGS[0] = 'buy_ticket':
  228. $menu_loc = 'pav_train_hall'
  229. $menu_arg = 'buy_ticket'
  230. menu_off = 0
  231. act 'Leave the ticket office':minut += 1 & gt 'pav_train_hall'
  232. if money >= 75:
  233. act 'Buy a ticket to the village of Gadukino (75 <b>₽</b>)':
  234. money -= 75
  235. gt 'pav_train_hall', 'village'
  236. end
  237. end
  238. if money >= 100:
  239. act 'Buy a ticket to the communal village (100 <b>₽</b>)':
  240. money -= 100
  241. gt 'pav_train_hall', 'communal'
  242. end
  243. end
  244. if money >= 125:
  245. act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
  246. money -= 125
  247. gt 'pav_train_hall', 'ind'
  248. end
  249. end
  250. if money >= 150:
  251. act 'Buy a ticket to city center (150 <b>₽</b>)':
  252. money -= 150
  253. if rand(0,10) = 0: gt 'train', 'weed'
  254. gt 'pav_train_hall', 'centre'
  255. end
  256. end
  257. end
  258. if $ARGS[0] = 'village':
  259. $loc = 'train'
  260. $loc_arg = 'village'
  261. menu_off = 1
  262. minut += 15
  263. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  264. if rand(1, 100) < 20: gt 'train', 'events'
  265. gs 'stat'
  266. '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
  267. 'After 15 minutes, the train stops at the small station near the village of Gadukino.'
  268. act 'Get off the train':
  269. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  270. gt 'train', 'village'
  271. end
  272. end
  273. if $ARGS[0] = 'communal':
  274. $loc = 'train'
  275. $loc_arg = 'communal'
  276. menu_off = 1
  277. minut += 25
  278. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  279. if rand(1, 100) <= 20: gt 'train', 'events'
  280. gs 'stat'
  281. '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
  282. 'After 20 minutes you arrive at an old railway platform near the communal village.'
  283. act 'Get off the train':
  284. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  285. gt 'train', 'communal'
  286. end
  287. end
  288. if $ARGS[0] = 'ind':
  289. $loc = 'city_industrial_train'
  290. $loc_arg = 'platform'
  291. menu_off = 1
  292. minut += 35
  293. if rand(1, 100) < 15: gt 'train', 'private'
  294. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  295. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  296. if rand(1, 100) <= 20: gt 'train', 'events'
  297. gs 'stat'
  298. '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
  299. 'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
  300. act 'Get off the train':
  301. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  302. gt 'city_industrial_train', 'inside'
  303. end
  304. end
  305. if $ARGS[0] = 'centre':
  306. $loc = 'city_train'
  307. $loc_arg = 'start'
  308. menu_off = 1
  309. minut += 40
  310. if rand(1, 100) < 15: gt 'train', 'private'
  311. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  312. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  313. if rand(1, 100) <= 20: gt 'train', 'events'
  314. gs 'stat'
  315. '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
  316. 'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
  317. act 'Get off the train':
  318. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  319. gt 'city_train', 'start'
  320. end
  321. end
  322. if $ARGS[0] = 'toilet':
  323. $menu_loc = 'pav_train_hall'
  324. $menu_arg = 'toilet'
  325. killvar '$locclass'
  326. menu_off = 0
  327. *clr & cla
  328. vokzalToilet = 0
  329. gs 'stat'
  330. '<center><h2>Pavlovsk train station interior</h2></center>'
  331. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  332. *nl
  333. '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.'
  334. act 'Return to the train station':minut += 1 & gt 'pav_train_hall'
  335. end
  336. if $ARGS[0] = 'female':
  337. $locM = 'pav_train_hall'
  338. $locM_arg = 'female'
  339. $loc = 'pav_train_hall'
  340. $loc_arg = 'female'
  341. $menu_loc = 'pav_train_hall'
  342. $menu_arg = 'female'
  343. menu_off = 0
  344. $location_type = 'bathroom'
  345. $locclass = 'restroom'
  346. *clr & cla
  347. vokzalToilet = 1
  348. gs 'stat'
  349. '<center><h4>The ladies'' room</h4></center>'
  350. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  351. 'You open the door to the ladies'' restroom and head inside.'
  352. act 'Leave':minut += 1 & gt 'pav_train_hall', 'toilet'
  353. act 'Look in the mirror': gt 'mirror', 'start'
  354. dynamic $tampon
  355. dynamic $quickwash
  356. dynamic $basin
  357. dynamic $publicpan
  358. end
  359. if $ARGS[0] = 'male':
  360. $locM = 'pav_train_hall'
  361. $locM_arg = 'male'
  362. $loc = 'pav_train_hall'
  363. $loc_arg = 'male'
  364. $menu_loc = 'pav_train_hall'
  365. $menu_arg = 'male'
  366. menu_off = 0
  367. $location_type = 'bathroom'
  368. $locclass = 'restroom'
  369. *clr & cla
  370. vokzalToilet = 2
  371. gs 'stat'
  372. '<center><h4>The men''s room</h4></center>'
  373. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  374. 'You open the door to the men''s restroom and head inside.'
  375. act 'Leave':minut += 1 & gt 'pav_train_hall', 'toilet'
  376. if bimbolevel >= 1:
  377. act 'Wait and see if someone finds you':gt 'trainbimbo', 'pos1'
  378. act 'Quickly enter a stall':gt 'trainbimbo', 'pos5'
  379. end
  380. act 'Look in the mirror':gt 'mirror', 'start'
  381. dynamic $tampon
  382. dynamic $quickwash
  383. dynamic $basin
  384. end
  385. --- pav_train_hall ---------------------------------