1
0

vokzalGin.qsrc 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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 snarkozak = 1 and narkossista = 0 and narkozakday!day:
  47. if money >= 1500:
  48. act 'Find the drug dealer':gs 'events', 'snarkozaka'
  49. end
  50. end
  51. if vokzalVork >= 1:
  52. if cleZalDay ! daystart or cleMTDay ! daystart or cleWTDay ! daystart:
  53. act 'Work': gt 'vokzalGin', 'work'
  54. elseif cleZarplatDay ! daystart:
  55. act 'Collect your salary':
  56. *clr & cla
  57. '<center><h4>Pavlovsk train station interior</h4></center>'
  58. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  59. cleZarplatDay = daystart
  60. vokzalVork += 1
  61. money += 130
  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 'vokzalGin'
  66. end
  67. end
  68. end
  69. *nl
  70. if hour = 11 and minut = 0:
  71. poezddalsled = 1
  72. 'The 11:30 long-distance train is currently approaching the platform.'
  73. elseif hour = 11 and minut > 0 and minut < 30:
  74. poezddalsled = 1
  75. 'The 11:30 long-distance train is currently waiting at the platform.'
  76. elseif hour = 11 and minut = 30:
  77. poezddalsled = 1
  78. 'The 11:30 long-distance train is currently leaving the station.'
  79. elseif hour = 18 and minut = 0:
  80. poezddalsled = 1
  81. 'The 18:30 long-distance train is currently approaching the platform.'
  82. elseif hour = 18 and minut > 0 and minut < 30:
  83. poezddalsled = 1
  84. 'The 18:30 long-distance train is currently waiting at the platform.'
  85. elseif hour = 18 and minut = 30:
  86. poezddalsled = 1
  87. 'The 18:30 long-distance train is currently leaving the station.'
  88. end
  89. if poezddalsled = 1:
  90. '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.'
  91. if tovarL > 0:
  92. act 'Sell your goods to passengers':gt 'vokzaltorg'
  93. end
  94. end
  95. act 'Wait':gs 'obj_din', 'wait'
  96. end
  97. if $ARGS[0] = 'work':
  98. *clr & cla
  99. '<center><h4>Pavlovsk train station interior</h4></center>'
  100. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzal.jpg"></center>'
  101. if cleZalDay ! daystart:
  102. act 'Mop the waiting room floor (1:00)':
  103. cls
  104. cleZalDay = daystart
  105. gs 'exercise', 'tier1', 60, 'stren_exp', 'vital_exp'
  106. pcs_mood -= 6
  107. gs 'stat'
  108. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  109. '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.'
  110. act 'Continue':minut += 1 & gt 'vokzalGin', 'work'
  111. end
  112. end
  113. if cleMTDay ! daystart:
  114. act 'Clean the men''s restroom (0:30)':
  115. cls
  116. cleMTDay = daystart
  117. gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
  118. pcs_mood -= 6
  119. gs 'stat'
  120. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  121. 'You take some cleaning supplies from the maintenance closet, pour some water and soap into a bucket and go to the men''s room.'
  122. gs 'vokmantoiev', 'toilet_event'
  123. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
  124. act 'Leave restroom':minut += 1 & gt 'vokzalGin', 'work'
  125. end
  126. end
  127. if cleWTDay ! daystart:
  128. act 'Clean the women''s restroom (0:30)':
  129. cls
  130. cleWTDay = daystart
  131. gs 'exercise', 'tier1', 30, 'stren_exp', 'vital_exp'
  132. pcs_mood -= 6
  133. gs 'stat'
  134. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  135. '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.'
  136. gs 'vokdinvera'
  137. act 'Leave restroom':minut += 1 & gt 'vokzalGin', 'work'
  138. end
  139. end
  140. act 'Return': gt 'vokzalGin'
  141. end
  142. if $ARGS[0] = 'ticket':
  143. cls
  144. gs 'stat'
  145. '<center><h4>Ticket office</h4></center>'
  146. '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
  147. if money >= 50:
  148. act 'Buy a ticket':
  149. cla
  150. gs 'vokzalGin', 'buy_ticket'
  151. end
  152. end
  153. if money >= 1500 and Trainpass_day <= daystart:
  154. act 'Buy a weekly pass (7 days - 1500 <b>₽</b>) ':
  155. cla
  156. money -= 1500
  157. Trainpass_day = daystart + 7
  158. act 'Return': gt 'vokzalGin'
  159. end
  160. end
  161. if money >= 5500 and Trainpass_day <= daystart:
  162. act 'Buy a monthly pass (30day - 5500 <b>₽</b>)':
  163. cla
  164. money -= 5500
  165. Trainpass_day = daystart + 30
  166. act 'Return': gt 'vokzalGin'
  167. end
  168. end
  169. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  170. end
  171. if $ARGS[0] = 'buy_ticket':
  172. if money >= 50:
  173. act 'Buy a ticket to the old town (50 <b>₽</b>)':
  174. money -= 50
  175. gt 'vokzalGin', 'oldtown'
  176. end
  177. end
  178. if money >= 75:
  179. act 'Buy a ticket to the village of Gadukino (75 <b>₽</b>)':
  180. money -= 75
  181. gt 'vokzalGin', 'village'
  182. end
  183. end
  184. if money >= 100:
  185. act 'Buy a ticket to the the communal village (100 <b>₽</b>)':
  186. money -= 100
  187. gt 'vokzalGin', 'communal'
  188. end
  189. end
  190. if money >= 125:
  191. act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
  192. money -= 125
  193. gt 'vokzalGin', 'ind'
  194. end
  195. end
  196. if money >= 150:
  197. act 'Buy a ticket to city center (150 <b>₽</b>)':
  198. money -= 150
  199. gt 'vokzalGin', 'centre'
  200. end
  201. end
  202. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  203. end
  204. if $ARGS[0] = 'oldtown':
  205. $loc = 'train'
  206. $metka = 'oldtown'
  207. minut += 5
  208. if rand(1, 100) < 20: gt 'train', 'events'
  209. gs 'stat'
  210. '<center><img <<$set_imgh>> src="images/locations/shared/train/pushplat.jpg" ></center>'
  211. '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.'
  212. act 'Get off the train':
  213. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  214. gt 'train', 'oldtown'
  215. end
  216. end
  217. if $ARGS[0] = 'village':
  218. $loc = 'train'
  219. $metka = 'village'
  220. minut += 15
  221. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  222. if rand(1, 100) < 20: gt 'train', 'events'
  223. gs 'stat'
  224. '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
  225. 'After 15 minutes, the train stops at the small station near the village of Gadukino.'
  226. act 'Get off the train':
  227. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  228. gt 'train', 'village'
  229. end
  230. end
  231. if $ARGS[0] = 'communal':
  232. $loc = 'train'
  233. $metka = 'communal'
  234. minut += 25
  235. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  236. if rand(1, 100) <= 20: gt 'train', 'events'
  237. gs 'stat'
  238. '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
  239. 'After 20 minutes you arrive at an old railway platform near the communal village.'
  240. act 'Get off the train':
  241. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  242. gt 'train', 'communal'
  243. end
  244. end
  245. if $ARGS[0] = 'ind':
  246. $loc = 'vokzalholle'
  247. $metka = ''
  248. minut += 35
  249. if rand(1, 100) < 15: gt 'train', 'private'
  250. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  251. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  252. if rand(1, 100) <= 20: gt 'train', 'events'
  253. gs 'stat'
  254. '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
  255. 'After 35 minutes, the train stops at the St. Petersburg city industrial area station.'
  256. act 'Get off the train':
  257. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  258. gt 'vokzalholle'
  259. end
  260. end
  261. if $ARGS[0] = 'centre':
  262. $loc = 'cityTrain'
  263. $metka = 'inside'
  264. minut += 40
  265. if rand(1, 100) < 15: gt 'train', 'private'
  266. if rand(1, 100) < 30: gt 'train', 'Gopnik'
  267. if rand(1, 100) <= 10: gt 'train_incidental', 'events'
  268. if rand(1, 100) <= 20: gt 'train', 'events'
  269. gs 'stat'
  270. '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
  271. 'After 40 minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
  272. act 'Get off the train':
  273. if rand(1, 100) <= 5: gt 'train_incidental', 'end'
  274. gt 'cityTrain', 'inside'
  275. end
  276. end
  277. --- vokzalGin ---------------------------------