pavtrainhall.qsrc 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. # pavtrainhall
  2. if $ARGS[0] = '':
  3. $metka = ''
  4. $loc = 'pavtrainhall'
  5. $location_type = 'public_indoors'
  6. CLOSE ALL
  7. if sound = 0:PLAY 'sound/vokzal2.mp3',30
  8. clr
  9. frost = 0
  10. poezddalsled = 0
  11. gs 'stat'
  12. if night_mode = 1:
  13. fcolor = rgb(255, 255, 255)
  14. bcolor = rgb(0, 0, 0)
  15. lcolor = rgb(106, 90, 205)
  16. else
  17. fcolor = rgb(0, 0, 0)
  18. bcolor = rgb(255, 255, 255)
  19. lcolor = rgb(106, 90, 205)
  20. end
  21. '<center><h4>Pavlovsk train station interior</h4></center>'
  22. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  23. '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.'
  24. 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
  25. *nl
  26. if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
  27. *nl
  28. if StoryLine = 1 and SchoolAtestat = 0:
  29. if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:
  30. 'You see your classmates <a href="exec:minut += 3 & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
  31. end
  32. end
  33. if podbros = 0:
  34. podrand = rand(0, 1)
  35. 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.'
  36. *nl
  37. end
  38. act 'Leave the station building':minut += 3 & gt 'pavtrain'
  39. if Trainpass_day > daystart:
  40. 'You have <<Trainpass_day - daystart>> days left on your train pass.'
  41. act 'Go to the platforms': gt 'pavtrainhall', 'platform'
  42. else
  43. act 'Go to the ticket office': gt 'pavtrainhall', 'ticket'
  44. end
  45. if snarkozak = 1 and narkossista = 0 and narkozakday!day:
  46. if money >= 1500:
  47. act 'Find the drug dealer':gs 'events', 'snarkozaka'
  48. end
  49. end
  50. if vokzalVork >= 1:
  51. if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
  52. act 'Work': gt 'pavtrainhall', 'work'
  53. elseif cleZarplatDay ! daystart:
  54. act 'Collect your salary':
  55. *clr & cla
  56. '<center><h4>Pavlovsk train station interior</h4></center>'
  57. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  58. cleZarplatDay = daystart
  59. vokzalVork += 1
  60. money += 130
  61. minut += 3
  62. gs 'stat'
  63. 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
  64. act 'Continue':minut += 1 & gt 'pavtrainhall'
  65. end
  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. $metka = $ARGS[0]
  98. $loc = $CURLOC
  99. $location_type = 'public_outdoors'
  100. CLOSE ALL
  101. if sound = 0:
  102. if month >=11 and month <= 12 or month >=1 and month <=3:
  103. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/zima.mp3',30
  104. if hour >= 0 and hour <= 7: PLAY 'sound/street_night.mp3',30 & PLAY 'sound/zima.mp3',30
  105. else
  106. if hour >= 8 and hour <= 23: PLAY 'sound/street2.mp3',30 & PLAY 'sound/street_leto.mp3',30
  107. if hour >= 0 and hour <= 7:PLAY 'sound/street_night.mp3',30
  108. end
  109. end
  110. *clr & cla
  111. gs'stat'
  112. '<center><H4>Pavlovsk station platforms</H4></center>'
  113. '<center><img <<$set_imgh>> src="images/locations/shared/train/pavplat.jpg"></center>'
  114. '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.'
  115. act 'Return to the station building': gt'pavtrainhall'
  116. if Trainpass_day > daystart:
  117. act 'Take a train to the old town': gt 'pavtrainhall', 'oldtown'
  118. act 'Take a train to the village of Gadukino': gt 'pavtrainhall', 'village'
  119. act 'Take a train to the the communal village': gt 'pavtrainhall', 'communal'
  120. act 'Take a train to city industrial area': gt 'pavtrainhall', 'ind'
  121. act 'Take a train to city center': gt 'pavtrainhall', 'centre'
  122. end
  123. end
  124. if $ARGS[0] = 'work':
  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. cls
  171. gs 'stat'
  172. '<center><h4>Ticket office</h4></center>'
  173. '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
  174. act 'Leave the ticket office':minut += 1 & gt 'pavtrainhall'
  175. if money >= 50:
  176. act 'Buy a ticket':
  177. cla
  178. gs 'pavtrainhall', 'buy_ticket'
  179. end
  180. end
  181. if money >= 1500 and Trainpass_day <= daystart:
  182. act 'Buy a weekly pass (7 days - 1500 <b>₽</b>) ':
  183. cla
  184. money -= 1500
  185. Trainpass_day = daystart + 7
  186. act 'Return': gt 'pavtrainhall'
  187. end
  188. end
  189. if money >= 5500 and Trainpass_day <= daystart:
  190. act 'Buy a monthly pass (30day - 5500 <b>₽</b>)':
  191. cla
  192. money -= 5500
  193. Trainpass_day = daystart + 30
  194. act 'Return': gt 'pavtrainhall'
  195. end
  196. end
  197. end
  198. if $ARGS[0] = 'buy_ticket':
  199. act 'Leave the ticket office':minut += 1 & gt 'pavtrainhall'
  200. if money >= 50:
  201. act 'Buy a ticket to the old town (50 <b>₽</b>)':
  202. money -= 50
  203. gt 'pavtrainhall', 'oldtown'
  204. end
  205. end
  206. if money >= 75:
  207. act 'Buy a ticket to the village of Gadukino (75 <b>₽</b>)':
  208. money -= 75
  209. gt 'pavtrainhall', 'village'
  210. end
  211. end
  212. if money >= 100:
  213. act 'Buy a ticket to the the communal village (100 <b>₽</b>)':
  214. money -= 100
  215. gt 'pavtrainhall', 'communal'
  216. end
  217. end
  218. if money >= 125:
  219. act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
  220. money -= 125
  221. gt 'pavtrainhall', 'ind'
  222. end
  223. end
  224. if money >= 150:
  225. act 'Buy a ticket to city center (150 <b>₽</b>)':
  226. money -= 150
  227. gt 'pavtrainhall', 'centre'
  228. end
  229. end
  230. end
  231. if $ARGS[0] = 'oldtown':
  232. $loc = 'train'
  233. $metka = 'oldtown'
  234. minut += 5
  235. if rand(1, 100) < 20: gt 'train', 'events'
  236. gs 'stat'
  237. '<center><img <<$set_imgh>> src="images/locations/shared/train/pushplat.jpg" ></center>'
  238. '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.'
  239. act 'Get off the train':
  240. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  241. gt 'train', 'oldtown'
  242. end
  243. end
  244. if $ARGS[0] = 'village':
  245. $loc = 'train'
  246. $metka = 'village'
  247. minut += 15
  248. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  249. if rand(1, 100) < 20: gt 'train', 'events'
  250. gs 'stat'
  251. '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
  252. 'After 15 minutes, the train stops at the small station near the village of Gadukino.'
  253. act 'Get off the train':
  254. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  255. gt 'train', 'village'
  256. end
  257. end
  258. if $ARGS[0] = 'communal':
  259. $loc = 'train'
  260. $metka = 'communal'
  261. minut += 25
  262. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  263. if rand(1, 100) <= 20: gt 'train', 'events'
  264. gs 'stat'
  265. '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
  266. 'After 20 minutes you arrive at an old railway platform near the communal village.'
  267. act 'Get off the train':
  268. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  269. gt 'train', 'communal'
  270. end
  271. end
  272. if $ARGS[0] = 'ind':
  273. $loc = 'nordtrain'
  274. $metka = 'platform'
  275. minut += 35
  276. if rand(1, 100) < 15: gt 'train', 'private'
  277. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  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/indusplat.jpg" ></center>'
  282. 'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
  283. act 'Get off the train':
  284. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  285. gt 'nordtrain', 'platform'
  286. end
  287. end
  288. if $ARGS[0] = 'centre':
  289. $loc = 'cityTrain'
  290. $metka = 'inside'
  291. minut += 40
  292. if rand(1, 100) < 15: gt 'train', 'private'
  293. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  294. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  295. if rand(1, 100) <= 20: gt 'train', 'events'
  296. gs 'stat'
  297. '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
  298. 'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
  299. act 'Get off the train':
  300. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  301. gt 'cityTrain', 'inside'
  302. end
  303. end
  304. if $ARGS[0] = 'toilet':
  305. cls
  306. vokzalToilet = 0
  307. gs 'stat'
  308. '<center><h4>Pavlovsk train station interior</h4></center>'
  309. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  310. '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.'
  311. act 'Return to the station':minut += 1 & gt 'pavtrainhall'
  312. end
  313. if $ARGS[0] = 'female':
  314. $metkaM = $ARGS[0]
  315. $locM = $CURLOC
  316. $metka = $ARGS[0]
  317. $loc = $CURLOC
  318. $location_type = 'bathroom'
  319. cls
  320. vokzalToilet = 1
  321. gs 'stat'
  322. '<center><h4>The ladies'' room</h4></center>'
  323. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  324. 'You open the door to the ladies'' room and go in.'
  325. act 'Leave':minut += 1 & gt 'pavtrainhall', 'toilet'
  326. act 'Look in the mirror': gt 'mirror', 'start'
  327. dynamic $tampon
  328. dynamic $quickwash
  329. dynamic $basin
  330. dynamic $removepan
  331. end
  332. if $ARGS[0] = 'male':
  333. $metkaM = $ARGS[0]
  334. $locM = $CURLOC
  335. $metka = $ARGS[0]
  336. $loc = $CURLOC
  337. $location_type = 'bathroom'
  338. cls
  339. vokzalToilet = 2
  340. gs 'stat'
  341. '<center><h4>The men''s room</h4></center>'
  342. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  343. 'You open the door to the men''s room and go in.'
  344. act 'Leave':minut += 1 & gt 'pavtrainhall', 'toilet'
  345. if bimbolevel >= 1:
  346. act 'Wait and see if someone finds you':gt 'trainbimbo', 'pos1'
  347. act 'Quickly enter a stall':gt 'trainbimbo', 'pos5'
  348. end
  349. act 'Look in the mirror':gt 'mirror', 'start'
  350. dynamic $tampon
  351. dynamic $quickwash
  352. dynamic $basin
  353. end
  354. --- pavtrainhall ---------------------------------