/* It must not be a flat tile */
switch(FEAT_INDUSTRYTILES, SELF, bulk_terminal_tile2_flat_check, nearby_tile_slope(0,0) == SLOPE_FLAT) {
1: return CB_RESULT_LOCATION_DISALLOW; return CB_RESULT_LOCATION_ALLOW;
}
/* We allow on sea shores and on normal slopes - but not rivers and canals */
switch(FEAT_INDUSTRYTILES, SELF, bulk_terminal_tile2_land_check, nearby_tile_water_class(0,0) == WATER_CLASS_NONE) {
1: bulk_terminal_tile2_flat_check;
return CB_RESULT_LOCATION_DISALLOW;
}
switch(FEAT_INDUSTRYTILES, SELF, bulk_terminal_tile2_location_check, nearby_tile_water_class(0,0) == WATER_CLASS_SEA) {
1: bulk_terminal_tile2_flat_check;
bulk_terminal_tile2_land_check;
}