1
0

vokzalGin 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  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. Off to one side, the <a href="exec:gt ''vokzalGin'', ''kassi''">ticket office</a> is situated next to the departures board. 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. 'You can go to the train <a href="exec:GT ''vokzalperG'',''start''">platforms</a> through the station building.'
  26. if katalkinSexOnce = 1:'There is a small <a href="exec:minut += 5 & gt ''katalkin''">police station</a> inside the station building.'
  27. if StoryLine = 1 and SchoolAtestat = 0:
  28. if (sunWeather = 0 or temper <= 0) and hour >= 18 and hour < 20 and week < 6:
  29. 'You see your classmates <a href="exec:minut += 3 & gt ''gopskver''">Vitek, Dan and Vasily</a> hanging around here.'
  30. end
  31. end
  32. if podbros = 0:
  33. podrand = rand(0, 1)
  34. 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.'
  35. end
  36. act 'Leave the station building':minut += 3 & gt 'vokzalG'
  37. if vokzalVork >= 1:
  38. if cleZalDay ! daystart:
  39. act 'Mop the waiting room floor (1:00)':
  40. cls
  41. cleZalDay = daystart
  42. minut += 60
  43. gs 'exercise', 'tier1', 1, 'stren_exp', 'vital_exp'
  44. gs 'stat'
  45. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  46. '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.'
  47. act 'Continue':minut += 1 & gt 'vokzalGin'
  48. end
  49. end
  50. if cleMTDay ! daystart:
  51. act 'Clean the men''s restroom (0:30)':
  52. cls
  53. cleMTDay = daystart
  54. minut += 30
  55. gs 'exercise', 'tier1', 1, 'stren_exp', 'vital_exp'
  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 go to the men''s room.'
  59. gs 'vokmantoiev', 'toilet_event'
  60. !!'You began to wash the floor in the men''s room, and then began to scrub toilets.'
  61. act 'Leave':minut += 1 & gt 'vokzalGin'
  62. end
  63. end
  64. if cleWTDay ! daystart:
  65. act 'Clean the women''s restroom (0:30)':
  66. cls
  67. cleWTDay = daystart
  68. minut += 30
  69. gs 'exercise', 'tier1', 1, 'stren_exp', 'vital_exp'
  70. gs 'stat'
  71. '<center><img <<$set_imgh>> src="images/locations/city/residential/office/clener1.jpg"></center>'
  72. '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.'
  73. gs 'vokdinvera'
  74. act 'Leave':minut += 1 & gt 'vokzalGin'
  75. end
  76. end
  77. if cleMTDay = daystart and cleWTDay = daystart and cleZalDay = daystart and cleZarplatDay ! daystart:
  78. act 'Collect your salary':
  79. cls
  80. cleZarplatDay = daystart
  81. vokzalVork += 1
  82. money += 250
  83. minut += 3
  84. gs 'stat'
  85. 'When you are done cleaning all the places you were told to clean, you go to the cashier and collect your well-earned salary.'
  86. act 'Continue':minut += 1 & gt 'vokzalGin'
  87. end
  88. end
  89. end
  90. if hour = 11 and minut = 0:
  91. poezddalsled = 1
  92. 'The 11:30 long-distance train is currently approaching the platform.'
  93. elseif hour = 11 and minut > 0 and minut < 30:
  94. poezddalsled = 1
  95. 'The 11:30 long-distance train is currently waiting at the platform.'
  96. elseif hour = 11 and minut = 30:
  97. poezddalsled = 1
  98. 'The 11:30 long-distance train is currently leaving the station.'
  99. elseif hour = 18 and minut = 0:
  100. poezddalsled = 1
  101. 'The 18:30 long-distance train is currently approaching the platform.'
  102. elseif hour = 18 and minut > 0 and minut < 30:
  103. poezddalsled = 1
  104. 'The 18:30 long-distance train is currently waiting at the platform.'
  105. elseif hour = 18 and minut = 30:
  106. poezddalsled = 1
  107. 'The 18:30 long-distance train is currently leaving the station.'
  108. end
  109. if poezddalsled = 1:
  110. '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.'
  111. if tovarL > 0:
  112. act 'Sell your goods to passengers':gt 'vokzaltorg'
  113. end
  114. end
  115. end
  116. if $ARGS[0] = 'kassi':
  117. cls
  118. !! This is a lie, but a useful one don''t change the $loc and $metka
  119. $loc = 'vokzalGin'
  120. $metka = 'oldtown'
  121. gs 'stat'
  122. '<center><h4>Ticket office</h4></center>'
  123. '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg"></center>'
  124. 'The long-distance trains are at the station platforms between 11:00-11:30 and 18:00-18:30.'
  125. if money >= 50:
  126. act 'Buy a ticket to the old town (50 <b>₽</b>)':
  127. train_event = 0
  128. money -= 50
  129. train_dest = 5
  130. gt 'vokzalGin', 'oldtown'
  131. end
  132. end
  133. if money >= 75:
  134. act 'Buy a ticket to the village of Gadyukino (75 <b>₽</b>)':
  135. train_event = 0
  136. money -= 75
  137. train_dir = 1
  138. train_dest = 4
  139. gt 'vokzalGin', 'oldtown'
  140. end
  141. end
  142. if money >= 100:
  143. act 'Buy a ticket to the the communal village (100 <b>₽</b>)':
  144. train_event = 0
  145. money -= 100
  146. train_dir = 1
  147. train_dest = 3
  148. gt 'vokzalGin', 'oldtown'
  149. end
  150. end
  151. if money >= 125:
  152. act 'Buy a ticket to city industrial area (125 <b>₽</b>)':
  153. train_event = 0
  154. money -= 125
  155. train_dir = 1
  156. train_dest = 2
  157. if rand(1, 100) < 15: gt 'train', 'private'
  158. gt 'vokzalGin', 'oldtown'
  159. end
  160. end
  161. if money >= 150:
  162. act 'Buy a ticket to city center (150 <b>₽</b>)':
  163. train_event = 0
  164. money -= 150
  165. train_dir = 1
  166. train_dest = 1
  167. if rand(1, 100) < 15: gt 'train', 'private'
  168. gt 'vokzalGin', 'oldtown'
  169. end
  170. end
  171. act 'Leave the ticket office':minut += 1 & gt 'vokzalGin'
  172. end
  173. !!For travel north from Pav to old town
  174. if $ARGS[0] = 'oldtown':
  175. close all
  176. if rand(1,100) < 10 and train_event = 0: gt 'train', 'weed'
  177. cls
  178. minut += 5
  179. gs 'stat'
  180. '<center><img <<$set_imgh>> src="images/locations/shared/train/electri.jpg"></center>'
  181. 'You pay for the ticket and board the next train going to St. Petersburg.'
  182. 'After 5 minutes, you see the familiar old buildings and the train stops at the station near the old town.'
  183. act 'Get off the train at this station':
  184. $loc = 'train'
  185. $metka = 'oldtown'
  186. if train_event = 0 and rand(1, 100) <= 5: gt 'train_incidental', 'end'
  187. gt 'train', 'oldtown'
  188. end
  189. if train_dest < 3 and rand(0, 100) < 15: gt 'train', 'private'
  190. if train_dest < 5:
  191. act 'Continue your journey':
  192. gt 'train', 'oldtownN'
  193. end
  194. end
  195. end
  196. --- vokzalGin ---------------------------------