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" as ManagerTooltipsUtil
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. |
Default |
Recipe<any> |
"Select a line, vehicle, station or depot."In game Select a line, vehicle, station or depot. |
SelectLine |
Recipe<LineUtil.LineSelectionDetails> |
"Select <line name>." for a picked line (nothing if the line does not exist). used 1× in the base game |
AddVehicleToSelection |
Recipe<Engine.Entity> |
"Add <name> to selection." used 1× in the base game |
RemoveVehicleFromSelection |
Recipe<Engine.Entity> |
"Remove <name> from selection." used 1× in the base game |
AddVehicleToList |
Recipe<Engine.Entity> |
"Add <name> to list." used 1× in the base game |
RemoveVehicleFromList |
Recipe<Engine.Entity> |
"Remove <name> from list."In game Remove {name} from list. |
OpenDepot |
Recipe<Engine.Entity> |
"Buy vehicles at <depot name>."In game Buy vehicles at {name}. used 1× in the base game |
AddOrRemoveDepotVehiclesToVehicleList |
Recipe<LineUtil.VehicleDepotDetails> |
"Add vehicles in <depot> to list." or "Remove vehicles in <depot> from list.", depending on removeFromList.In game Remove vehicles in {name} from list. · Add vehicles in {name} to list. used 1× in the base game |
OpenWarehouse |
Recipe<Engine.Entity> |
"Open <warehouse name>."In game Open {name}. used 1× in the base game |
CreateLine |
Recipe<LineUtil.StationSelectionDetails> |
"Create new line starting at <station name>."In game Create new line starting at {name}. used 2× in the base game |
CreateLineError |
Recipe<any> |
"Start new line is currently disabled."In game Start new line is currently disabled. used 2× in the base game |
LMDefault |
Recipe<any> |
"Select a station to add stops."In game Select a station to add stops. |
LMDefaultMoveStop |
Recipe<any> |
"Select the station to which the stop should be moved."In game 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."In game Select the location to which the waypoint should be moved. used 1× in the base game |
LMSelectSection |
Recipe<integer> |
"Select line section <index>." for the given stop number.In game Select line section {index}. used 1× in the base game |
LMSelectSectionFirst |
Recipe<any> |
"Select a segment."In game Select a segment. |
LMMoveStopTarget |
Recipe<LineUtil.StationSelectionDetails> |
"Move stop to <station> [terminal <n>]."In game {name} terminal {index} · Move stop to {name}. used 1× in the base game |
LMMoveStopTargetError |
Recipe<any> |
"Cannot move stop here."In game Cannot move stop here. used 1× in the base game |
LMMoveWaypoint |
Recipe<LineUtil.WaypointSelectionDetails> |
"Move waypoint <stop number>."In game Move waypoint {index}. used 1× in the base game |
LMSelectDepotForLine |
Recipe<LineUtil.DepotAndLineParams> |
"Buy vehicles for <line> at <depot>."In game Buy vehicles for {lineName} at {depotName}. used 1× in the base game |
LMMoveWaypointTarget |
Recipe<Waypoint> |
"Move waypoint to <edge name>." or "Move waypoint here."In game Move waypoint to {name}. · Move waypoint here. used 2× in the base game |
LMWaypointTooClose |
Recipe<Waypoint> |
"Too close to other waypoint."In game Too close to other waypoint. used 1× in the base game |
LMWaterWaypointOnLand |
Recipe<Waypoint> |
"Ship waypoints must be on water."In game Ship waypoints must be on water. used 2× in the base game |
LMAddStop |
Recipe<LineUtil.StationSelectionDetails> |
"Add stop at <station> [terminal <n>]."In game Add stop at {name} terminal {index}. · Add stop at {name}. used 1× in the base game |
LMAddWaypoint |
Recipe<Waypoint> |
"Add waypoint here."In game Add waypoint here. used 2× in the base game |
LMPromptWaypointModifier |
Recipe<Waypoint> |
Hint to hold the precision-mode input action to add a waypoint.In game (Hold) Add Waypoint used 2× in the base game |
VMDefault |
Recipe<integer> |
"Select a line, station or depot to send <count> vehicles to."In game Select a line, station or depot to send {count} vehicles to. used 1× in the base game |
VMSendToLine |
Recipe<SendToLineOrDepotParams> |
"Send <count> vehicle(s) to <line>."In game Send {count} vehicle to {lineName}. / Send {count} vehicles to {lineName}. used 1× in the base game |
VMSendToNewLine |
Recipe<integer> |
"Create new line from this stop and assign <count> vehicle(s)."In game Create new line from this stop and assign {count} vehicle. / Create new line from this stop and assign {count} vehicles. used 1× in the base game |
VMSendToDepot |
Recipe<SendToLineOrDepotParams> |
"Send <count> vehicle(s) to <depot>."In game Send {count} vehicle to {depotName}. / Send {count} vehicles to {depotName}. used 1× in the base game |
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 <name>." for the entity.
In game Select {name}.
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 <name> to selection.".
In game Add {name} to selection.
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 <name> from selection.".
In game Remove {name} from selection.
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 <name> to list.".
In game Add {name} to list.
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_tooltips_util.tl:245
manager_tooltips_util.VMSendToLine = react.RegisterRecipe("VMSendToLine", function(params : ManagerTooltipsUtil.SendToLineOrDepotParams) : TreeNodeId
base/content/gui/gui/line_vehicle_mgmt/manager_window.tl:1243
Fields
| Name | Type | Description |
|---|---|---|
numVehicles |
integer |
Number of vehicles to send. |
lineOrDepotEntity |
Engine.Entity |
Target line or depot. |