vokzalGin.qsrc 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. # vokzalGin
  2. if $ARGS[0] = '':
  3. $metka = ''
  4. $loc = 'vokzalGin'
  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 'vokdin'
  12. gs 'stat'
  13. if night_mode = 1:
  14. fcolor = rgb(255, 255, 255)
  15. bcolor = rgb(0, 0, 0)
  16. lcolor = rgb(106, 90, 205)
  17. else
  18. fcolor = rgb(0, 0, 0)
  19. bcolor = rgb(255, 255, 255)
  20. lcolor = rgb(106, 90, 205)
  21. end
  22. '<center><h4>Pavlovsk train station interior</h4></center>'
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  24. '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:dynamic $din_vokzalg_kabinet">station manager''s office</a>, and the <a href="exec:minut += 1 & gt ''vokmantoiev'', ''start''">toilets</a> on the other end of the building.'
  25. 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
  26. *nl
  27. if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
  28. *nl
  29. if StoryLine = 1 and SchoolAtestat = 0:
  30. if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:
  31. 'You see your classmates <a href="exec:minut += 3 & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
  32. end
  33. end
  34. if podbros = 0:
  35. podrand = rand(0, 1)
  36. 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:dynamic $din_vokzalg_podbros">wallet</a> dropping from his pocket, not far away from you.'
  37. *nl
  38. end
  39. act 'Leave the station building':minut += 3 & gt 'vokzalG'
  40. if Trainpass_day > daystart:
  41. 'You have <<Trainpass_day - daystart>> days left on your train pass.'
  42. act 'Go to the platforms': gt 'vokzalperG', 'start'
  43. else
  44. act 'Go to the ticket office': gt 'vokzalGin', 'ticket'
  45. end
  46. if vokzalVork >= 1:
  47. if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
  48. act 'Work': gt 'vokzalGin', 'work'
  49. elseif cleZarplatDay ! daystart:
  50. act 'Collect your salary':
  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 'vokzalGin'
  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 'vokzaltorg'
  88. end
  89. end
  90. act 'Wait':gs 'obj_din', 'wait'
  91. end
  92. if $ARGS[0] = 'work':
  93. *clr & cla
  94. '<center><h4>Pavlovsk train station interior</h4></center>'
  95. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  96. if cleZalDay ! daystart:
  97. act 'Mop the waiting room floor (1:00)':
  98. cls
  99. cleZalDay = daystart
  100. gs 'exercise', 'tier1', 60, 'stren_exp', 'vital_exp'
  101. pcs_mood -= 6
  102. gs 'stat'
  103. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  104. '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.'
  105. act 'Continue':minut += 1 & gt 'vokzalGin', 'work'
  106. end
  107. end
  108. if cleMTDay ! daystart:
  109. act 'Clean the men''s restroom (0:30)':
  110. cls
  111. cleMTDay = daystart
  112. gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
  113. pcs_mood -= 6
  114. gs 'stat'
  115. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  116. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and go to the men''s room.'
  117. gs 'vokmantoiev', 'toilet_event'
  118. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
  119. act 'Leave restroom':minut += 1 & gt 'vokzalGin', 'work'
  120. end
  121. end
  122. if cleWTDay ! daystart:
  123. act 'Clean the women''s restroom (0:30)':
  124. cls
  125. cleWTDay = daystart
  126. gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
  127. pcs_mood -= 6
  128. gs 'stat'
  129. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  130. '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.'
  131. gs 'vokdinvera'
  132. act 'Leave restroom':minut += 1 & gt 'vokzalGin', 'work'
  133. end
  134. end
  135. act 'Return': gt 'vokzalGin'
  136. end
  137. if $ARGS[0] = 'ticket':
  138. cls
  139. gs 'stat'
  140. '<center><h4>Ticket office</h4></center>'
  141. '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
  142. if money >= 50:
  143. act 'Buy a ticket':
  144. cla
  145. gs 'vokzalGin', 'buy_ticket'
  146. end
  147. end
  148. if money >= 1500 and Trainpass_day <= daystart:
  149. act 'Buy a weekly pass (7 days - 1500 <b>₽</b>) ':
  150. cla
  151. money -= 1500
  152. Trainpass_day = daystart + 7
  153. act 'Return': gt 'vokzalGin'
  154. end
  155. end
  156. if money >= 5500 and Trainpass_day <= daystart:
  157. act 'Buy a monthly pass (30day - 5500 <b>₽</b>)':
  158. cla
  159. money -= 5500
  160. Trainpass_day = daystart + 30
  161. act 'Return': gt 'vokzalGin'
  162. end
  163. end
  164. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  165. end
  166. if $ARGS[0] = 'buy_ticket':
  167. if money >= 50:
  168. act 'Buy a ticket to the old town (50 <b>₽</b>)':
  169. money -= 50
  170. gt 'vokzalGin', 'oldtown'
  171. end
  172. end
  173. if money >= 75:
  174. act 'Buy a ticket to the village of Gadukino (75 <b>₽</b>)':
  175. money -= 75
  176. gt 'vokzalGin', 'village'
  177. end
  178. end
  179. if money >= 100:
  180. act 'Buy a ticket to the the communal village (100 <b>₽</b>)':
  181. money -= 100
  182. gt 'vokzalGin', 'communal'
  183. end
  184. end
  185. if money >= 125:
  186. act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
  187. money -= 125
  188. gt 'vokzalGin', 'ind'
  189. end
  190. end
  191. if money >= 150:
  192. act 'Buy a ticket to city center (150 <b>₽</b>)':
  193. money -= 150
  194. gt 'vokzalGin', 'centre'
  195. end
  196. end
  197. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  198. end
  199. if $ARGS[0] = 'oldtown':
  200. $loc = 'train'
  201. $metka = 'oldtown'
  202. minut += 5
  203. if rand(1, 100) < 20: gt 'train', 'events'
  204. gs 'stat'
  205. '<center><img <<$set_imgh>> src="images/locations/shared/train/pushplat.jpg" ></center>'
  206. '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.'
  207. act 'Get off the train':
  208. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  209. gt 'train', 'oldtown'
  210. end
  211. end
  212. if $ARGS[0] = 'village':
  213. $loc = 'train'
  214. $metka = 'village'
  215. minut += 15
  216. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  217. if rand(1, 100) < 20: gt 'train', 'events'
  218. gs 'stat'
  219. '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
  220. 'After 15 minutes, the train stops at the small station near the village of Gadukino.'
  221. act 'Get off the train':
  222. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  223. gt 'train', 'village'
  224. end
  225. end
  226. if $ARGS[0] = 'communal':
  227. $loc = 'train'
  228. $metka = 'communal'
  229. minut += 25
  230. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  231. if rand(1, 100) <= 20: gt 'train', 'events'
  232. gs 'stat'
  233. '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
  234. 'After 20 minutes you arrive at an old railway platform near the communal village.'
  235. act 'Get off the train':
  236. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  237. gt 'train', 'communal'
  238. end
  239. end
  240. if $ARGS[0] = 'ind':
  241. $loc = 'vokzalholle'
  242. $metka = ''
  243. minut += 35
  244. if rand(1, 100) < 15: gt 'train', 'private'
  245. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  246. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  247. if rand(1, 100) <= 20: gt 'train', 'events'
  248. gs 'stat'
  249. '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
  250. 'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
  251. act 'Get off the train':
  252. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  253. gt 'vokzalholle'
  254. end
  255. end
  256. if $ARGS[0] = 'centre':
  257. $loc = 'cityTrain'
  258. $metka = 'inside'
  259. minut += 40
  260. if rand(1, 100) < 15: gt 'train', 'private'
  261. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  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/cityplat.jpg" ></center>'
  266. 'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
  267. act 'Get off the train':
  268. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  269. gt 'cityTrain', 'inside'
  270. end
  271. end
  272. --- vokzalGin ---------------------------------