In other languages: Deutsch 日本語

Quickbar: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Fixed syntax highlighting)
(→‎Blueprints, blueprint books and planners on the quickbar: combined from inventory and from library sections because they are largely the same. removed deletion warning because it has a confirmation now)
 
(36 intermediate revisions by 4 users not shown)
Line 1: Line 1:
The Quickbar is a user interface element designed to give quick access to commonly used items. It is always visible at the bottom of the screen. It shows between one and four bars of item slots from a maximum of ten total bars. Clicking any filled slot will give the player that item in their hand if it is in their inventory. If it is not, the game can be configured to instead provide an [[Entity ghost]]. Additionally the quickbar shows a number of shortcut icons for regularly used features such as 'ALT mode', Cut/Copy/Paste and blank planners.
{{Languages}}
[[File:Quickbar-example.png|thumb|right|450px|An example of a quickbar layout. Two visible bars containing various items plus an [[upgrade planner]] and two [[blueprint book]]s.]]
The '''quickbar''' is a user interface component for creating shortcut links to items, [[blueprint]]s, [[blueprint book]]s, [[deconstruction planner]]s and [[upgrade planner]]s. Once created they can be quickly selected at any time without needing to open the inventory. The quickbar is always visible at the bottom of the screen. It shows between one and four bars from a set of ten available, each containing 10 slots. Clicking any filled slot will place the chosen item in the player's hand if available in the inventory. It can also be configured to provide a [[ghost]] of any item the player is not currently carrying. The quickbar also allows blueprints and books to be pinned directly from the blueprint library, providing quick access to these blueprints without cluttering the inventory.
 
On the [[Nintendo Switch version|Nintendo Switch]], this GUI is replaced by the [[quick panel]].


== A shortcut to items, not an inventory  ==
== A shortcut to items, not an inventory  ==


In previous versions of the game the Toolbelt was also an inventory. The quickbar is not. It can contain links to any item in the game, regardless of whether it is in the player's inventory. Items that are in the inventory will show a number underneath them, showing the number that the player is holding. Items that are not present in the inventory will have no count, and be slightly dimmed in appearance.  
The quickbar replaces the toolbelt found in previous versions of the game. The toolbelt also functioned as inventory space; the quickbar does not. It contains links to items regardless of whether they are in the player's inventory.


== Ten Quickbars available ==
== Ten quickbars available ==


In total the player has 10 different Quickbars they can use, providing space for up to 100 different items. To see all the quickbars at once, click the number against any visible quickbar.
In total the player has 10 different quickbars available for use, providing space to shortcut up to 100 different items. To see all the quickbars, the number against any visible bar can be clicked.


[[File:Quickbar-AllBars.png]]
[[File:Quickbar-View10Bars.gif]]


== Basic Usage ==
== Basic Usage ==
 
[[File:Quickbar-ConfigureVisibleNumber.png|thumb|right|331x33px|Configuring the number of visible quickbars.]]
[[File:Quickbar.png]]
 
=== Setting the number of visible quickbars ===
=== Setting the number of visible quickbars ===


The game defaults to showing two quickbars. This can be changed to between one and four visible at a time. To configure this go to '''Settings->Interface''' and change '''Active quickbars''' :
The game defaults to showing two quickbars. This can be changed to between one and four visible at a time, configured with the '''Active quickbars''' option in '''Settings->Interface'''.


[[File:Quickbar-ConfigureVisibleNumber.png]]
There is no research connected to the quickbar; the player can access all quickbars from the beginning of the game.


=== What can be placed on a quickbar ===
=== What can be placed on a quickbar ===


* Any type of entity, including modded entities.
* Any type of item, including modded items. Items can be added regardless of whether they are currently being carried.
* Any [[Blueprint]], [[Blueprint book]], [[Deconstruction planner]] or [[Upgrade planner]] that you have in your inventory.
* Any [[blueprint]], [[blueprint book]], [[deconstruction planner]] or [[upgrade planner]] in the player's inventory or the blueprint library.
* Blueprints and Blueprint books directly from the blueprint library.


=== Adding and removing items ===
=== Adding and removing items ===


* Click {{Keybinding|lmb}} on an empty slot to choose what goes in it from the Filter Selection window.
* Clicking {{Keybinding|lmb}} on an empty slot opens the [[Items|item selection]] window, allowing the selection of the item to be linked in that slot.
* With an item in your hand you can click {{Keybinding|lmb}} on any empty slot to place that item in that slot.
* With an item in the hand, clicking {{Keybinding|lmb}} or {{Keybinding|mmb}} on an empty slot creates a link to that item.
* To clear a filled slot, press {{Keybinding|mmb}} on it. You can now place a new item in that slot.
* Existing links can be removed by clicking {{Keybinding|mmb}} on the slot.
* You need to clear a slot before you can place a new item in it.
** On macOS the default binding is instead {{Keybinding|cmd|rmb}}.
* A slot must be cleared before a new item can be placed in it.


=== Accessing items ===
=== Accessing items ===


* Click with {{Keybinding|lmb}} on any filled slot and, if you have that item in your inventory, you will get one stack of it.
* Clicking {{Keybinding|lmb}} on a filled slot will, when that item is carried in the inventory, place one [[stack]] in the hand.
* To get half a stack, click {{Keybinding|rmb}} on a filled slot.
[[File:Quickbar-InventoryItemvsGhostItem.png|frame|right|The player is carrying 300 [[Express transport belt|express belts]] but no [[Fast transport belt|fast belts]].]]
* If you do not have an item in your inventory, you can optionally get an entity ghost of that item. To enable this, tick '''Pick ghost item if no items are available''' in '''Settings->Interface'''
* Clicking {{Keybinding|rmb}} will place half a stack in the hand.
* If a slot is clicked while another item is in the hand, the held item will change to the newly clicked item.
* If a given item is not available in the inventory the game can optionally give an entity ghost. This feature can be enabled by selecting '''Pick ghost item if no items are available''' in '''Settings->Interface'''.
 
=== Inventory counts ===
 
Items that the player is carrying in their inventory will show a number underneath indicating the total amount carried. Items not present in the inventory will have no number and appear dimmed.
 
The exception to this rule is the [[artillery targeting remote]], which will show you how many artillery turrets, that have shells, are in range of your current position.


== Accessing multiple quickbars ==
== Accessing multiple quickbars ==
 
[[File:Quickbar-SwapBarsExample.png|thumb|right|400px|The player has three visible quickbars and has changed the second bar to bar 5 and the third to bar 4.]]
=== With the mouse ===
=== With the mouse ===


You can click on the number next to any Quickbar to bring up the list of all 10 quickbars. You can then click the number against any other quickbar and it will swap into the position you originally selected.
Clicking on the number next to any visible quickbar will bring up a list of all 10 quickbars. Then clicking the number against any other bar will move it into the position originally selected.  


=== With the keyboard ===
=== With the keyboard ===


The game provides three different methods of manipulating the visible quickbars using the keyboard:
Three different methods are provided for manipulating the visible quickbars using the keyboard:


# '''Select quickbar''' shortcuts, defaulting to {{Keybinding|Shift-1}} through {{Keybinding|Shift-0}}.   
# '''Select quickbar''' shortcuts, defaulting to {{Keybinding|shift|1}} through {{Keybinding|shift|0}}.   
## Pressing one of these shortcuts will change the top visible quickbar to the bar selected by the shortcut.
## Changes the top visible quickbar to the bar selected by the shortcut.
# '''Next active quickbar''' and '''Previous active quickbar''' shortcuts. Not bound by default.   
# '''Next active quickbar''' and '''Previous active quickbar''' shortcuts. Not bound by default.   
## Pressing '''Next active quickbar''' will change the top quickbar to the next highest number. For example if you have bar 3 in the top position, it will change to bar 4. If pressed when bar 10 is at the top, bar 1 is placed there.
## '''Next active quickbar''' will change the top quickbar to the next highest number. For example if bar 3 is in the top position it will change to bar 4. Bar 10 will change to bar 1.
## Pressing '''Previous active quickbar''' does the opposite; bar 3 would change to bar 2. If pressed when bar 1 is at the top, bar 10 is placed there.
## '''Previous active quickbar''' does the opposite; bar 3 would change to bar 2. Bar 1 will change to bar 10.
# '''Rotate active quickbars'', defaulting to {{Keybinding|X}}.
# '''Rotate active quickbars''', defaulting to {{Keybinding|X}}.
## This rotates all the visible quickbars down to the next position, and the bar at the bottom goes to the top. It does not change which quickbars are visible, only their relative positions.
## Rotates all the visible quickbars down to the next position. The bottom bar goes to the top. It does not change which quickbars are visible, only their relative positions.
 
== Selecting quickbar items with the keyboard ==
 
In addition to using the mouse to click on an item slot it is also possible to use keyboard shortcuts. Combined with the '''Select quickbar''' shortcuts for accessing specific bars, this provides the ability to select any one of up to 100 different items with at most two successive keyboard shortcuts.
 
Two sets of 10 hotkeys are available: one set for accessing items on the top visible bar, the second set for the second visible bar.
 
=== Shortcut 1-10 (top bar) ===


== Shortcut Icons ==
* The keyboard shortcuts named '''Shortcut 1''' to '''Shortcut 10''' access the items on the top bar currently visible.
* The default bindings are {{Keybinding|1}} through {{Keybinding|0}} for items 1 to 10 respectively.


To the right of the quickbar slots are the shortcut icons.
=== Secondary Shortcut 1-10 (second bar) ===


[[File:Quickbar-ShortcutIcons.png]]
* The keyboard shortcuts named '''Secondary Shortcut 1''' to '''Secondary Shortcut 10''' access the items on the second bar currently visible.
* These are not bound by default. An example binding could be {{Keybinding|ctrl|1}} through {{Keybinding|ctrl|0}}.


This area provides quick icons for:
== Blueprints, blueprint books and planners on the quickbar ==
* Toggling 'ALT mode' on and off (the displaying of additional information about built entities such as recipes in assembler machines.)
* Accessing Undo, Cut, Copy and Paste blueprint modes.
* Getting a blank [[Blueprint]], [[Blueprint book]], [[Deconstruction planner]] or [[Upgrade planner]]
* Importing a blueprint string
* Toggling [[Personal roboport]]s and [[Exoskeleton]]s.


Additional shortcut icons can be added by mods.
[[File:Quickbar-BlueprintsPlanners.png|thumb|right|240px|Planners, a blueprint and a blueprint book pinned to the quickbar.]]
Any blueprint, blueprint book, deconstruction planner or upgrade planner currently in the inventory or the blueprint library can be pinned to a quickbar slot.


=== Configuring the shortcut icons ===
The advantage of pinning from the library is that it provides permanent and quick access to the blueprints in question without the player needing to keep copies in their inventory. This saves inventory space for other purposes. There is no visual distinction between blueprints from the blueprint library or the inventory.


In the top right of the shortcut icons area is a button that provides configuration options. Click this button to pop out the configuration panel in which you can choose which icons appear and in which order:
If the item in question is deleted or destroyed, the quickbar link for it will be automatically removed. If the item is removed from the inventory or blueprint library, for example by being placed in a chest, the quickbar link will remain but will not function until the blueprint or planner returns to the player's inventory or blueprint library.


[[File:Quickbar-ShortcutIcons-config.png]]
{{Keybinding|rmb}} on a quickbar slot containing a blueprint, blueprint book or planner will open that item's edit window. If the item is in the blueprint library, this  will directly access the library copy. This can only be noticed by the window title of the blueprint or the blueprint book location mentioning the blueprint library.


Individual icons can be turned on or off by clicking their tick-box. The order of the icons can be changed by dragging the ridged area on the right-hand side of any icon bar.
== History ==


=== Availability of shortcut icons ===
{{history|0.17.0|
* Introduced}}


The 'ALT mode' icon is always available in all games. The other icons only appear when the player has first researched [[Construction robotics (research)|Construction robotics]] in any game. Once this has been achieved once, the other icons will appear in that and all future games.
== See also ==


Alternatively, the player can enable the additional icons at any time using the [[Console]] command:
* [https://youtu.be/8VZ_TsXVv3U Quickbar Hotkey Demo (Video demonstration/tutorial)]
<syntaxhighlight lang="lua">
* [[Shortcut bar]]
/unlock-shortcut-bar
</syntaxhighlight>


This will not disable achievements.
{{C|GUI}}

Latest revision as of 11:36, 30 May 2023

An example of a quickbar layout. Two visible bars containing various items plus an upgrade planner and two blueprint books.

The quickbar is a user interface component for creating shortcut links to items, blueprints, blueprint books, deconstruction planners and upgrade planners. Once created they can be quickly selected at any time without needing to open the inventory. The quickbar is always visible at the bottom of the screen. It shows between one and four bars from a set of ten available, each containing 10 slots. Clicking any filled slot will place the chosen item in the player's hand if available in the inventory. It can also be configured to provide a ghost of any item the player is not currently carrying. The quickbar also allows blueprints and books to be pinned directly from the blueprint library, providing quick access to these blueprints without cluttering the inventory.

On the Nintendo Switch, this GUI is replaced by the quick panel.

A shortcut to items, not an inventory

The quickbar replaces the toolbelt found in previous versions of the game. The toolbelt also functioned as inventory space; the quickbar does not. It contains links to items regardless of whether they are in the player's inventory.

Ten quickbars available

In total the player has 10 different quickbars available for use, providing space to shortcut up to 100 different items. To see all the quickbars, the number against any visible bar can be clicked.

Quickbar-View10Bars.gif

Basic Usage

Configuring the number of visible quickbars.

Setting the number of visible quickbars

The game defaults to showing two quickbars. This can be changed to between one and four visible at a time, configured with the Active quickbars option in Settings->Interface.

There is no research connected to the quickbar; the player can access all quickbars from the beginning of the game.

What can be placed on a quickbar

Adding and removing items

  • Clicking Left mouse button on an empty slot opens the item selection window, allowing the selection of the item to be linked in that slot.
  • With an item in the hand, clicking Left mouse button or Middle mouse button on an empty slot creates a link to that item.
  • Existing links can be removed by clicking Middle mouse button on the slot.
    • On macOS the default binding is instead Command + Right mouse button.
  • A slot must be cleared before a new item can be placed in it.

Accessing items

  • Clicking Left mouse button on a filled slot will, when that item is carried in the inventory, place one stack in the hand.
The player is carrying 300 express belts but no fast belts.
  • Clicking Right mouse button will place half a stack in the hand.
  • If a slot is clicked while another item is in the hand, the held item will change to the newly clicked item.
  • If a given item is not available in the inventory the game can optionally give an entity ghost. This feature can be enabled by selecting Pick ghost item if no items are available in Settings->Interface.

Inventory counts

Items that the player is carrying in their inventory will show a number underneath indicating the total amount carried. Items not present in the inventory will have no number and appear dimmed.

The exception to this rule is the artillery targeting remote, which will show you how many artillery turrets, that have shells, are in range of your current position.

Accessing multiple quickbars

The player has three visible quickbars and has changed the second bar to bar 5 and the third to bar 4.

With the mouse

Clicking on the number next to any visible quickbar will bring up a list of all 10 quickbars. Then clicking the number against any other bar will move it into the position originally selected.

With the keyboard

Three different methods are provided for manipulating the visible quickbars using the keyboard:

  1. Select quickbar shortcuts, defaulting to SHIFT + 1 through SHIFT + 0.
    1. Changes the top visible quickbar to the bar selected by the shortcut.
  2. Next active quickbar and Previous active quickbar shortcuts. Not bound by default.
    1. Next active quickbar will change the top quickbar to the next highest number. For example if bar 3 is in the top position it will change to bar 4. Bar 10 will change to bar 1.
    2. Previous active quickbar does the opposite; bar 3 would change to bar 2. Bar 1 will change to bar 10.
  3. Rotate active quickbars, defaulting to X.
    1. Rotates all the visible quickbars down to the next position. The bottom bar goes to the top. It does not change which quickbars are visible, only their relative positions.

Selecting quickbar items with the keyboard

In addition to using the mouse to click on an item slot it is also possible to use keyboard shortcuts. Combined with the Select quickbar shortcuts for accessing specific bars, this provides the ability to select any one of up to 100 different items with at most two successive keyboard shortcuts.

Two sets of 10 hotkeys are available: one set for accessing items on the top visible bar, the second set for the second visible bar.

Shortcut 1-10 (top bar)

  • The keyboard shortcuts named Shortcut 1 to Shortcut 10 access the items on the top bar currently visible.
  • The default bindings are 1 through 0 for items 1 to 10 respectively.

Secondary Shortcut 1-10 (second bar)

  • The keyboard shortcuts named Secondary Shortcut 1 to Secondary Shortcut 10 access the items on the second bar currently visible.
  • These are not bound by default. An example binding could be CTRL + 1 through CTRL + 0.

Blueprints, blueprint books and planners on the quickbar

Planners, a blueprint and a blueprint book pinned to the quickbar.

Any blueprint, blueprint book, deconstruction planner or upgrade planner currently in the inventory or the blueprint library can be pinned to a quickbar slot.

The advantage of pinning from the library is that it provides permanent and quick access to the blueprints in question without the player needing to keep copies in their inventory. This saves inventory space for other purposes. There is no visual distinction between blueprints from the blueprint library or the inventory.

If the item in question is deleted or destroyed, the quickbar link for it will be automatically removed. If the item is removed from the inventory or blueprint library, for example by being placed in a chest, the quickbar link will remain but will not function until the blueprint or planner returns to the player's inventory or blueprint library.

Right mouse button on a quickbar slot containing a blueprint, blueprint book or planner will open that item's edit window. If the item is in the blueprint library, this will directly access the library copy. This can only be noticed by the window title of the blueprint or the blueprint book location mentioning the blueprint library.

History

See also