manager_tooltips_util¶
Source: base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl
Notes
Tooltip recipes shown next to the cursor while the Line & Vehicle Manager tool is active (prefix LM = line management, VM = vehicle management).
ManagerTooltipsUtil¶
record global base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl:3
global record ManagerTooltipsUtil
Load: local manager_tooltips_util = ug_require "/gui/line_vehicle_mgmt/manager_tooltips_util.tl"
Notes
Cursor tooltips of the Line & Vehicle Manager, set with ContextBuilder.tooltip.
Fields
| Name | Type | Description |
|---|---|---|
Debug |
Recipe<string> |
Debug tooltip showing the given message. used 1× in the base game |
Default |
Recipe<any> |
"Select a line, vehicle, station or depot." |
SelectLine |
Recipe<LineUtil.LineSelectionDetails> |
"Select |
AddVehicleToSelection |
Recipe<Engine.Entity> |
"Add |
RemoveVehicleFromSelection |
Recipe<Engine.Entity> |
"Remove |
AddVehicleToList |
Recipe<Engine.Entity> |
"Add |
RemoveVehicleFromList |
Recipe<Engine.Entity> |
"Remove |
OpenDepot |
Recipe<Engine.Entity> |
"Buy vehicles at |
AddOrRemoveDepotVehiclesToVehicleList |
Recipe<LineUtil.VehicleDepotDetails> |
"Add vehicles in removeFromList. |
OpenWarehouse |
Recipe<Engine.Entity> |
"Open |
CreateLine |
Recipe<LineUtil.StationSelectionDetails> |
"Create new line starting at |
CreateLineError |
Recipe<any> |
"Start new line is currently disabled." used 2× in the base game |
LMDefault |
Recipe<any> |
"Select a station to add stops." |
LMDefaultMoveStop |
Recipe<any> |
"Select the station to which the stop should be moved." used 1× in the base game |
LMDefaultMoveWaypoint |
Recipe<any> |
"Select the location to which the waypoint should be moved." used 1× in the base game |
LMSelectSection |
Recipe<integer> |
"Select line section |
LMSelectSectionFirst |
Recipe<any> |
"Select a segment." used 1× in the base game |
LMMoveStopTarget |
Recipe<LineUtil.StationSelectionDetails> |
"Move stop to |
LMMoveStopTargetError |
Recipe<any> |
"Cannot move stop here." used 1× in the base game |
LMMoveWaypoint |
Recipe<LineUtil.WaypointSelectionDetails> |
"Move waypoint |
LMSelectDepotForLine |
Recipe<LineUtil.DepotAndLineParams> |
"Buy vehicles for |
LMMoveWaypointTarget |
Recipe<Waypoint> |
"Move waypoint to |
LMWaypointTooClose |
Recipe<Waypoint> |
"Too close to other waypoint." used 1× in the base game |
LMWaterWaypointOnLand |
Recipe<Waypoint> |
"Ship waypoints must be on water." used 2× in the base game |
LMAddStop |
Recipe<LineUtil.StationSelectionDetails> |
"Add stop at |
LMAddWaypoint |
Recipe<Waypoint> |
"Add waypoint here." used 2× in the base game |
LMPromptWaypointModifier |
Recipe<Waypoint> |
Hint to hold the precision-mode input action to add a waypoint. used 2× in the base game |
VMDefault |
Recipe<integer> |
"Select a line, station or depot to send |
VMSendToLine |
Recipe<SendToLineOrDepotParams> |
"Send |
VMSendToNewLine |
Recipe<integer> |
"Create new line from this stop and assign |
VMSendToDepot |
Recipe<SendToLineOrDepotParams> |
"Send |
Functions
makeSelectLineTooltip(entity : Engine.Entity) : string base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl:12
Call as manager_tooltips_util.makeSelectLineTooltip
Notes
Returns "Select
Returns string
makeAddVehicleToSelectionTooltip(Engine.Entity) : string base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl:14
Call as manager_tooltips_util.makeAddVehicleToSelectionTooltip
Notes
Returns "Add
Returns string
makeRemoveVehicleFromSelectionTooltip(Engine.Entity) : string base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl:16
Call as manager_tooltips_util.makeRemoveVehicleFromSelectionTooltip
Notes
Returns "Remove
Returns string
makeAddVehicleToListTooltip(Engine.Entity) : string base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl:18
Call as manager_tooltips_util.makeAddVehicleToListTooltip
Notes
Returns "Add
Returns string
ManagerTooltipsUtil.SendToLineOrDepotParams¶
record base/tealdef/gui/line_vehicle_mgmt/manager_tooltips_util.d.tl:4
record SendToLineOrDepotParams
Notes
Parameters of the VMSendToLine and VMSendToDepot tooltips.
Used in the base game: 4 times in 2 files
base/content/gui/gui/line_vehicle_mgmt/manager_window.tl:1243
base/content/gui/gui/line_vehicle_mgmt/manager_tooltips_util.tl:245
Fields
| Name | Type | Description |
|---|---|---|
numVehicles |
integer |
Number of vehicles to send. |
lineOrDepotEntity |
Engine.Entity |
Target line or depot. |