vokzalGin 7.7 KB

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