vokzalGin 9.3 KB

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