|
@@ -526,113 +526,113 @@ end
|
|
|
!! !!
|
|
|
!!-----------------------!!
|
|
|
|
|
|
-if $ARGS[0] = 'pavlovsk_village':
|
|
|
- $loc = 'train'
|
|
|
- $loc_arg = 'village'
|
|
|
+if $ARGS[0] = 'pavlovsk_center':
|
|
|
+ $loc = 'city_train'
|
|
|
+ $loc_arg = 'start'
|
|
|
menu_off = 1
|
|
|
- transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'village')
|
|
|
+ transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
|
|
|
minut += transportVars['timecost']
|
|
|
gs 'stat'
|
|
|
|
|
|
if transportVars['train_event_day'] ! daystart:
|
|
|
transportVars['rand'] = rand(1, 100)
|
|
|
- if transportVars['rand'] <= 10:
|
|
|
+ if transportVars['rand'] <= 14:
|
|
|
+ gt 'train_events', 'private'
|
|
|
+ elseif transportVars['rand'] <= 39:
|
|
|
+ gt 'train_events', 'Gopnik'
|
|
|
+ elseif transportVars['rand'] <= 45:
|
|
|
gt 'train_incidental', 'events'
|
|
|
- elseif transportVars['rand'] <= 27:
|
|
|
+ elseif transportVars['rand'] <= 56:
|
|
|
gt 'train_events', 'events'
|
|
|
+ elseif tranportVars['rand'] <= 66:
|
|
|
+ gt 'train_events', 'weed'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
|
|
|
- 'After <<transportVars[''timecost'']>> minutes, the train stops at the small station near the village of Gadukino.'
|
|
|
+ '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
|
|
|
+ 'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
|
|
|
act 'Get off the train':
|
|
|
if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
|
|
|
- gt 'train', 'village'
|
|
|
+ gt 'city_train', 'start'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pavlovsk_communal':
|
|
|
- $loc = 'train'
|
|
|
- $loc_arg = 'communal'
|
|
|
+if $ARGS[0] = 'pavlovsk_ind':
|
|
|
+ $loc = 'city_industrial_train'
|
|
|
+ $loc_arg = 'platform'
|
|
|
menu_off = 1
|
|
|
- transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'communal')
|
|
|
+ transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'ind')
|
|
|
minut += transportVars['timecost']
|
|
|
gs 'stat'
|
|
|
|
|
|
if transportVars['train_event_day'] ! daystart:
|
|
|
transportVars['rand'] = rand(1, 100)
|
|
|
- if transportVars['rand'] <= 10:
|
|
|
+ if transportVars['rand'] <= 14:
|
|
|
+ gt 'train_events', 'private'
|
|
|
+ elseif transportVars['rand'] <= 39:
|
|
|
+ gt 'train_events', 'Gopnik'
|
|
|
+ elseif transportVars['rand'] <= 45:
|
|
|
gt 'train_incidental', 'events'
|
|
|
- elseif transportVars['rand'] <= 38:
|
|
|
+ elseif transportVars['rand'] <= 56:
|
|
|
gt 'train_events', 'events'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
|
|
|
- 'After <<transportVars[''timecost'']>> minutes you arrive at an old railway platform near the communal village.'
|
|
|
+ '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
|
|
|
+ 'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city industrial area station.'
|
|
|
act 'Get off the train':
|
|
|
if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
|
|
|
- gt 'train', 'communal'
|
|
|
+ gt 'city_industrial_train', 'inside'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pavlovsk_ind':
|
|
|
- $loc = 'city_industrial_train'
|
|
|
- $loc_arg = 'platform'
|
|
|
+if $ARGS[0] = 'pavlovsk_communal':
|
|
|
+ $loc = 'train'
|
|
|
+ $loc_arg = 'communal'
|
|
|
menu_off = 1
|
|
|
- transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'ind')
|
|
|
+ transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'communal')
|
|
|
minut += transportVars['timecost']
|
|
|
gs 'stat'
|
|
|
|
|
|
if transportVars['train_event_day'] ! daystart:
|
|
|
transportVars['rand'] = rand(1, 100)
|
|
|
- if transportVars['rand'] <= 14:
|
|
|
- gt 'train_events', 'private'
|
|
|
- elseif transportVars['rand'] <= 39:
|
|
|
- gt 'train_events', 'Gopnik'
|
|
|
- elseif transportVars['rand'] <= 45:
|
|
|
+ if transportVars['rand'] <= 10:
|
|
|
gt 'train_incidental', 'events'
|
|
|
- elseif transportVars['rand'] <= 56:
|
|
|
+ elseif transportVars['rand'] <= 38:
|
|
|
gt 'train_events', 'events'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- '<center><img <<$set_imgh>> src="images/locations/shared/train/indusplat.jpg" ></center>'
|
|
|
- 'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city industrial area station.'
|
|
|
+ '<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
|
|
|
+ 'After <<transportVars[''timecost'']>> minutes you arrive at an old railway platform near the communal village.'
|
|
|
act 'Get off the train':
|
|
|
if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
|
|
|
- gt 'city_industrial_train', 'inside'
|
|
|
+ gt 'train', 'communal'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
-if $ARGS[0] = 'pavlovsk_center':
|
|
|
- $loc = 'city_train'
|
|
|
- $loc_arg = 'start'
|
|
|
+if $ARGS[0] = 'pavlovsk_village':
|
|
|
+ $loc = 'train'
|
|
|
+ $loc_arg = 'village'
|
|
|
menu_off = 1
|
|
|
- transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
|
|
|
+ transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'village')
|
|
|
minut += transportVars['timecost']
|
|
|
gs 'stat'
|
|
|
|
|
|
if transportVars['train_event_day'] ! daystart:
|
|
|
transportVars['rand'] = rand(1, 100)
|
|
|
- if transportVars['rand'] <= 14:
|
|
|
- gt 'train_events', 'private'
|
|
|
- elseif transportVars['rand'] <= 39:
|
|
|
- gt 'train_events', 'Gopnik'
|
|
|
- elseif transportVars['rand'] <= 45:
|
|
|
+ if transportVars['rand'] <= 10:
|
|
|
gt 'train_incidental', 'events'
|
|
|
- elseif transportVars['rand'] <= 56:
|
|
|
+ elseif transportVars['rand'] <= 27:
|
|
|
gt 'train_events', 'events'
|
|
|
- elseif tranportVars['rand'] <= 64:
|
|
|
- gt 'train_events', 'weed'
|
|
|
end
|
|
|
end
|
|
|
|
|
|
- '<center><img <<$set_imgh>> src="images/locations/shared/train/cityplat.jpg" ></center>'
|
|
|
- 'After <<transportVars[''timecost'']>> minutes, the train stops at the St. Petersburg city center station. The large office blocks and shopping centers fill your view.'
|
|
|
+ '<center><img <<$set_imgh>> src="images/locations/shared/train/gadplat.jpg" ></center>'
|
|
|
+ 'After <<transportVars[''timecost'']>> minutes, the train stops at the small station near the village of Gadukino.'
|
|
|
act 'Get off the train':
|
|
|
if transportVars['train_event_day'] ! daystart and rand(1, 100) <= 5: gt 'train_incidental', 'end'
|
|
|
- gt 'city_train', 'start'
|
|
|
+ gt 'train', 'village'
|
|
|
end
|
|
|
end
|
|
|
|