diff --git a/src/script/api/script_airport.hpp b/src/script/api/script_airport.hpp index aa469bc5f0..7b25471fa0 100644 --- a/src/script/api/script_airport.hpp +++ b/src/script/api/script_airport.hpp @@ -147,7 +147,7 @@ public: * @exception ScriptError::ERR_AREA_NOT_CLEAR * @exception ScriptError::ERR_FLAT_LAND_REQUIRED * @exception ScriptError::ERR_LOCAL_AUTHORITY_REFUSES - * @exception ScriptStation::ERR_STATION_TOO_LARGE + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @exception ScriptStation::ERR_STATION_TOO_CLOSE_TO_ANOTHER_STATION * @return Whether the airport has been/can be build or not. */ diff --git a/src/script/api/script_marine.hpp b/src/script/api/script_marine.hpp index 2c18aa4a9b..c5556948e1 100644 --- a/src/script/api/script_marine.hpp +++ b/src/script/api/script_marine.hpp @@ -123,6 +123,7 @@ public: * @exception ScriptError::ERR_SITE_UNSUITABLE * @exception ScriptStation::ERR_STATION_TOO_CLOSE_TO_ANOTHER_STATION * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the dock has been/can be build or not. */ static bool BuildDock(TileIndex tile, StationID station_id); @@ -136,6 +137,7 @@ public: * @exception ScriptError::ERR_SITE_UNSUITABLE * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS * @exception ScriptError::ERR_BRIDGE_TOO_LOW + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the buoy has been/can be build or not. */ static bool BuildBuoy(TileIndex tile); diff --git a/src/script/api/script_rail.hpp b/src/script/api/script_rail.hpp index e9207c7bc8..414aa15b7d 100644 --- a/src/script/api/script_rail.hpp +++ b/src/script/api/script_rail.hpp @@ -263,6 +263,7 @@ public: * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN * @exception ScriptError::ERR_BRIDGE_TOO_LOW + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the station has been/can be build or not. */ static bool BuildRailStation(TileIndex tile, RailTrack direction, SQInteger num_platforms, SQInteger platform_length, StationID station_id); @@ -301,6 +302,7 @@ public: * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN * @exception ScriptError::ERR_BRIDGE_TOO_LOW + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the station has been/can be build or not. */ static bool BuildNewGRFRailStation(TileIndex tile, RailTrack direction, SQInteger num_platforms, SQInteger platform_length, StationID station_id, CargoType cargo_type, IndustryType source_industry, IndustryType goal_industry, SQInteger distance, bool source_station); @@ -315,6 +317,7 @@ public: * @game @pre ScriptCompanyMode::IsValid(). * @exception ScriptError::ERR_FLAT_LAND_REQUIRED * @exception ScriptError::ERR_BRIDGE_TOO_LOW + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the rail waypoint has been/can be build or not. */ static bool BuildRailWaypoint(TileIndex tile); diff --git a/src/script/api/script_road.hpp b/src/script/api/script_road.hpp index d8b4708dab..048b4ae311 100644 --- a/src/script/api/script_road.hpp +++ b/src/script/api/script_road.hpp @@ -447,6 +447,7 @@ public: * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN * @exception ScriptError::ERR_BRIDGE_TOO_LOW + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the station has been/can be build or not. */ static bool BuildRoadStation(TileIndex tile, TileIndex front, RoadVehicleType road_veh_type, StationID station_id); @@ -473,6 +474,7 @@ public: * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS * @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN * @exception ScriptError::ERR_BRIDGE_TOO_LOW + * @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT * @return Whether the station has been/can be build or not. */ static bool BuildDriveThroughRoadStation(TileIndex tile, TileIndex front, RoadVehicleType road_veh_type, StationID station_id);