1
0

pavtrainhall.qsrc 14 KB

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