city_train.qsrc 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # city_train
  2. if $ARGS[0] = 'start':
  3. $loc_arg = 'start'
  4. $loc = 'city_train'
  5. $location_type = 'public_outdoors'
  6. $menu_loc = 'city_train'
  7. $menu_arg = 'start'
  8. menu_off = 0
  9. *clr & cla
  10. gs'stat'
  11. '<center><B>City center railway station</B></center>'
  12. '<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/central_station_inside.jpg"></center>'
  13. 'The grand old station in the city center is an impressive building. It is busy and has a number of shops and bars as well as all the platforms and trains. '
  14. *nl
  15. if car > 0 and cardrive = 2:
  16. 'In the parking lot is <a href="exec:GS ''carF'',''start''">your <<$car>></a>.'
  17. end
  18. act 'Walk to the city center (0:05)':minut += 5 & gt 'city_center'
  19. if transportVars['trainpass_day'] > daystart:
  20. func('transport_functions', 'display_trainpass_time')
  21. act 'Go to the platforms': gt 'city_train', 'platform'
  22. else
  23. act 'Go to the ticket office': gt 'city_train', 'tickets'
  24. end
  25. end
  26. if $ARGS[0] = 'tickets':
  27. $menu_loc = 'city_train'
  28. $menu_arg = 'tickets'
  29. menu_off = 0
  30. *clr & cla
  31. gs 'stat'
  32. '<center><h4>Ticket office</h4></center>'
  33. '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg" ></center>'
  34. act 'Leave the ticket office':minut += 1 & gt 'city_train', 'start'
  35. act 'Buy a ticket':
  36. cla
  37. gs 'city_train', 'buy_ticket'
  38. end
  39. gs 'transport_functions', 'buy_train_pass'
  40. end
  41. if $ARGS[0] = 'buy_ticket':
  42. $menu_loc = 'city_train'
  43. $menu_arg = 'buy_ticket'
  44. menu_off = 0
  45. act 'Leave the ticket office': minut += 1 & gt 'city_train', 'start'
  46. gs 'transport_functions', 'buy_train_ticket', 'center'
  47. end
  48. if $ARGS[0] = 'platform':
  49. $location_type = 'public_outdoors'
  50. $menu_loc = 'city_train'
  51. $menu_arg = 'platform'
  52. menu_off = 0
  53. gs 'stat'
  54. '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
  55. '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 shopping bags. It feels like it is always busy here, no matter at what time of the day it is.'
  56. act 'Return to the station hall':gt 'city_train', 'start'
  57. act 'Take a train to the city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''ind'')>>)': gt 'train', 'city_ind'
  58. act 'Take a train to the old platform by the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''communal'')>>)': gt 'train', 'city_communal'
  59. act 'Take a train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''village'')>>)': gt 'train', 'city_village'
  60. act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''pavlovsk'')>>)': gt 'train', 'city_pavlovsk'
  61. end
  62. --- city_train ---------------------------------