Jelajahi Sumber

[fixed] added `$location_type` to the various train locations to better simulate their correct environments

anjuna krokus 9 bulan lalu
induk
melakukan
1293b7972f
1 mengubah file dengan 22 tambahan dan 0 penghapusan
  1. 22 0
      locations/train.qsrc

+ 22 - 0
locations/train.qsrc

@@ -12,6 +12,7 @@ if $ARGS[0] = 'communal':
 	*clr & cla
 	$menu_loc = 'train'
 	$menu_arg = 'communal'
+	$location_type = 'public_outdoors'
 	menu_off = 0
 	gs 'stat'
 	'<center><img <<$set_imgh>> src="images/locations/shared/train/oldplat.jpg" ></center>'
@@ -57,6 +58,7 @@ if $ARGS[0] = 'village':
 	$loc_arg = 'village'
 	$menu_loc = 'train'
 	$menu_arg = 'village'
+	$location_type = 'public_outdoors'
 	display_bb = 0
 	menu_off = 0
 	
@@ -117,6 +119,7 @@ end
 if $ARGS[0] = 'center_ind':
 	$loc = 'city_industrial_train'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'ind')
 	minut += transportVars['timecost']
@@ -144,6 +147,7 @@ end
 if $ARGS[0] = 'center_communal':
 	$loc = 'train'
 	$loc_arg = 'communal'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'communal')
 	minut += transportVars['timecost']
@@ -169,6 +173,7 @@ end
 if $ARGS[0] = 'center_village':
 	$loc = 'train'
 	$loc_arg = 'village'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'village')
 	minut += transportVars['timecost']
@@ -194,6 +199,7 @@ end
 if $ARGS[0] = 'center_pavlovsk':
 	$loc = 'pav_train_hall'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'center', 'pavlovsk')
 	minut += transportVars['timecost']
@@ -230,6 +236,7 @@ end
 if $ARGS[0] = 'ind_center':
 	$loc = 'city_train'
 	$loc_arg = 'start'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	*clr & cla
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'center')
@@ -260,6 +267,7 @@ end
 if $ARGS[0] = 'ind_communal':
 	$loc = 'train'
 	$loc_arg = 'communal'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'communal')
 	minut += transportVars['timecost']
@@ -278,6 +286,7 @@ end
 if $ARGS[0] = 'ind_village':
 	$loc = 'train'
 	$loc_arg = 'village'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'village')
 	minut += transportVars['timecost']
@@ -303,6 +312,7 @@ end
 if $ARGS[0] = 'ind_pavlovsk':
 	$loc = 'pav_train_hall'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'ind', 'pavlovsk')
 	minut += transportVars['timecost']
@@ -339,6 +349,7 @@ end
 if $ARGS[0] = 'communal_center':
 	$loc = 'city_train'
 	$loc_arg = 'start'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'center')
 	minut += transportVars['timecost']
@@ -364,6 +375,7 @@ end
 if $ARGS[0] = 'communal_ind':
 	$loc = 'city_industrial_train'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'ind')
 	minut += transportVars['timecost']
@@ -382,6 +394,7 @@ end
 if $ARGS[0] = 'communal_village':
 	$loc = 'train'
 	$loc_arg = 'village'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'village')
 	minut += transportVars['timecost']
@@ -400,6 +413,7 @@ end
 if $ARGS[0] = 'communal_pavlovsk':
 	$loc = 'pav_train_hall'
 	$loc_arg = ''
+	$location_type = 'public_indoors'
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'communal', 'pavlovsk')
 	minut += transportVars['timecost']
 	menu_off = 1
@@ -429,6 +443,7 @@ end
 if $ARGS[0] = 'village_center':
 	$loc = 'city_train'
 	$loc_arg = 'start'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'center')
 	minut += transportVars['timecost']
@@ -454,6 +469,7 @@ end
 if $ARGS[0] = 'village_ind':
 	$loc = 'city_industrial_train'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'ind')
 	minut += transportVars['timecost']
@@ -479,6 +495,7 @@ end
 if $ARGS[0] = 'village_communal':
 	$loc = 'train'
 	$loc_arg = 'communal'
+	$location_type = 'public_indoors'
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'communal')
 	minut += transportVars['timecost']
 	menu_off = 1
@@ -497,6 +514,7 @@ end
 if $ARGS[0] = 'village_pavlovsk':
 	$loc = 'pav_train_hall'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'village', 'pavlovsk')
 	minut += transportVars['timecost']
 	menu_off = 1
@@ -529,6 +547,7 @@ end
 if $ARGS[0] = 'pavlovsk_center':
 	$loc = 'city_train'
 	$loc_arg = 'start'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'center')
 	minut += transportVars['timecost']
@@ -560,6 +579,7 @@ end
 if $ARGS[0] = 'pavlovsk_ind':
 	$loc = 'city_industrial_train'
 	$loc_arg = 'platform'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'ind')
 	minut += transportVars['timecost']
@@ -589,6 +609,7 @@ end
 if $ARGS[0] = 'pavlovsk_communal':
 	$loc = 'train'
 	$loc_arg = 'communal'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'communal')
 	minut += transportVars['timecost']
@@ -614,6 +635,7 @@ end
 if $ARGS[0] = 'pavlovsk_village':
 	$loc = 'train'
 	$loc_arg = 'village'
+	$location_type = 'public_indoors'
 	menu_off = 1
 	transportVars['timecost'] = func('transport_functions', 'get_train_timecost', 'pavlovsk', 'village')
 	minut += transportVars['timecost']