12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- # city_train
- if $ARGS[0] = 'start':
- $loc_arg = 'start'
- $loc = 'city_train'
- $location_type = 'public_outdoors'
- $menu_loc = 'city_train'
- $menu_arg = 'start'
- menu_off = 0
- *clr & cla
- gs'stat'
- '<center><B>City center railway station</B></center>'
- '<center><img <<$set_imgh>> src="images/locations/city/shared/trainstation/central_station_inside.jpg"></center>'
- '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. '
- *nl
- if car > 0 and cardrive = 2:
- 'In the parking lot is <a href="exec:GS ''carF'',''start''">your <<$car>></a>.'
- end
- act 'Walk to the city center (0:05)':minut += 5 & gt 'city_center'
- if transportVars['trainpass_day'] > daystart:
- func('transport_functions', 'display_trainpass_time')
- act 'Go to the platforms': gt 'city_train', 'platform'
- else
- act 'Go to the ticket office': gt 'city_train', 'tickets'
- end
- end
- if $ARGS[0] = 'tickets':
- $menu_loc = 'city_train'
- $menu_arg = 'tickets'
- menu_off = 0
- *clr & cla
- gs 'stat'
- '<center><h4>Ticket office</h4></center>'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/kassa.jpg" ></center>'
- act 'Leave the ticket office':minut += 1 & gt 'city_train', 'start'
-
- act 'Buy a ticket':
- cla
- gs 'city_train', 'buy_ticket'
- end
- gs 'transport_functions', 'buy_train_pass'
- end
- if $ARGS[0] = 'buy_ticket':
- $menu_loc = 'city_train'
- $menu_arg = 'buy_ticket'
- menu_off = 0
-
- act 'Leave the ticket office': minut += 1 & gt 'city_train', 'start'
- gs 'transport_functions', 'buy_train_ticket', 'center'
- end
- if $ARGS[0] = 'platform':
- $location_type = 'public_outdoors'
- $menu_loc = 'city_train'
- $menu_arg = 'platform'
- menu_off = 0
- gs 'stat'
- '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
- '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.'
- act 'Return to the station hall':gt 'city_train', 'start'
-
- act 'Take a train to the city industrial area (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''ind'')>>)': gt 'train', 'city_ind'
- act 'Take a train to the old platform by the communal village (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''communal'')>>)': gt 'train', 'city_communal'
- act 'Take a train to the village of Gadukino (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''village'')>>)': gt 'train', 'city_village'
- act 'Take a train to Pavlovsk (<<func(''transport_functions'', ''display_train_timecost'', ''center'', ''pavlovsk'')>>)': gt 'train', 'city_pavlovsk'
- end
- --- city_train ---------------------------------
|