1
0

pavtrainhall.qsrc 13 KB

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