pavtrainhall.qsrc 13 KB

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