city_industrial_train.qsrc 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # city_industrial_train
  2. !2021/05/06
  3. if $ARGS[0] = 'inside':
  4. $loc_arg = 'inside'
  5. $loc = 'city_industrial_train'
  6. $menu_loc = 'city_industrial_train'
  7. $menu_arg = 'inside'
  8. menu_off = 0
  9. $location_type = 'public_indoors'
  10. killvar '$locclass'
  11. CLOSE ALL
  12. if sound = 0:PLAY 'sound/vokzal.mp3',30
  13. *clr & cla
  14. gs'stat'
  15. '<center><img <<$set_imgh>> src="images/locations/shared/train/vokzalholle.jpg" ></center>'
  16. act 'Leave the station': minut += 2 & gt 'city_industrial_train', 'outside'
  17. *nl
  18. if transportVars['trainpass_day'] > daystart:
  19. func('transport_functions', 'display_trainpass_time')
  20. act 'Go to the platforms': gt 'city_industrial_train', 'platform'
  21. else
  22. act 'Go to the ticket office': minut += 1 & gt 'city_industrial_train', 'ticket'
  23. end
  24. act 'Go to the restrooms': minut += 1 & gt 'city_industrial_train', 'toilet'
  25. end
  26. if $ARGS[0] = 'outside':
  27. $loc_arg = 'outside'
  28. $loc = 'city_industrial_train'
  29. $menu_loc = 'city_industrial_train'
  30. $menu_arg = 'outside'
  31. menu_off = 0
  32. $location_type = 'public_outdoors'
  33. *clr & cla
  34. gs'stat'
  35. '<center><B>Railway station</B></center>'
  36. if month >= 11 or month <= 3:
  37. if hour >= 9 and hour <= 16:
  38. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/pavtrainstation_winter_day.jpg"></center>'
  39. else
  40. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/pavtrainstation_winter_night.jpg"></center>'
  41. end
  42. else
  43. if hour >= 7 and hour <= 18:
  44. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/pavtrainstation_day.jpg"></center>'
  45. else
  46. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/pavtrainstation_night.jpg"></center>'
  47. end
  48. end
  49. if car > 0 and cardrive = 19:
  50. cardrive = 19
  51. 'In the parking lot is <a href="exec:GS ''carF'',''start''">your <<$car>></a>.'
  52. end
  53. 'There is a path leading off in to the distance, in the direction of the <a href="exec:minut += 60 & gt ''city_lake'', ''start''">lake</a>.'
  54. act 'Walk to the City Industrial Region': minut += 15 & gt 'city_industrial'
  55. act 'Walk to the lake': minut += 60 & gt 'city_lake', 'start'
  56. act 'Enter the station building': minut += 2 & gt 'city_industrial_train', 'inside'
  57. end
  58. if $ARGS[0] = 'platform':
  59. $loc_arg = 'platform'
  60. $loc = 'city_industrial_train'
  61. $menu_loc = 'city_industrial_train'
  62. $menu_arg = 'inside'
  63. menu_off = 0
  64. $location_type = 'public_outdoors'
  65. *clr & cla
  66. gs 'stat'
  67. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/vokzalper.jpg" ></center>'
  68. 'When you arrive at the platform, you can''t help but notice it bustling with activity. Lots of passengers are coming and going, all carrying large bags. It feels like it is always busy here, no matter at what time of the day you are here.'
  69. act 'Return to the station': minut += 5 & gt 'city_industrial_train', 'inside'
  70. if transportVars['trainpass_day'] > daystart:
  71. act 'Take a train to the city center (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''center'')>>)': gt 'train', 'ind_center'
  72. act 'Take a train to the old platform by the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''communal'')>>)': gt 'train', 'ind_communal'
  73. act 'Take a train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''village'')>>)': gt 'train', 'ind_village'
  74. act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''ind'', ''pavlovsk'')>>)': gt 'train', 'ind_pavlovsk'
  75. end
  76. end
  77. if $ARGS[0] = 'toilet':
  78. $locM_arg = 'toilet'
  79. $locM = 'city_industrial_train'
  80. $loc_arg = 'toilet'
  81. $loc = 'city_industrial_train'
  82. $menu_loc = 'city_industrial_train'
  83. $menu_arg = 'inside'
  84. menu_off = 0
  85. $location_type = 'bathroom'
  86. $locclass = 'restroom'
  87. *clr & cla
  88. gs'stat'
  89. gs 'themes', 'indoors'
  90. '<center><img <<$set_imgh>> src="images/locations/shared/bathroom/publictoilet.jpg"></center>'
  91. act 'Return to the station': minut += 1 & gt 'city_industrial_train', 'inside'
  92. act 'Look in the mirror': gt 'mirror', 'start'
  93. if pcs_hairbsh < 1: act 'Brush your hair': gt 'mirror', 'brush'
  94. dynamic $tampon
  95. dynamic $quickwash
  96. dynamic $basin
  97. dynamic $publicpan
  98. end
  99. if $ARGS[0] = 'ticket':
  100. $menu_loc = 'city_industrial_train'
  101. $menu_arg = 'ticket'
  102. menu_off = 0
  103. *clr & cla
  104. gs 'stat'
  105. '<center><h4>Ticket office</h4></center>'
  106. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/trainstation/ticketoffice.jpg"></center>'
  107. act 'Leave the ticket office':minut += 1 & gt 'city_industrial_train', 'inside'
  108. if money >= 50:
  109. act 'Buy a ticket':
  110. cla
  111. gs 'city_industrial_train', 'buy_ticket'
  112. end
  113. end
  114. gs 'transport_functions', 'buy_train_pass'
  115. end
  116. if $ARGS[0] = 'buy_ticket':
  117. $menu_loc = 'city_industrial_train'
  118. $menu_arg = 'buy_ticket'
  119. menu_off = 0
  120. act 'Leave the ticket office': gt 'city_industrial_train', 'inside'
  121. gs 'transport_functions', 'buy_train_ticket', 'ind'
  122. end
  123. --- city_industrial_train ---------------------------------