User:LoonWoof/Sandbox/Controls

Controls are actions performed by the player to dictate what their character does in the game world. These controls allow players to open menus, place and/or destroy blocks, use abilities, and otherwise serve as the interface by which players interact with the game mechanics. Most of the controls consist of simple keypresses (also known as "hot-keys"), some are only mouse clicks or movements, while others consist of a combination of keystrokes and mouse clicks/movement.

TUG can be played in different modes: Survival and Creative. Since Creative mode permits a greater control over the game environment, there are subsequently more controls available to the user in that mode. Therefore this page will describe the controls for the different modes separately. (See User Interface for more information.)

Most of the bindings can be changed in-game via Options > Input, however it's also possible to manually alter the  file inside the TUG data folders. The following lists describe the controls at their default settings.

(See Commands for additional ways in which to affect changes in the game.)

Definitions
Some (hopefully clarifying) definitions of terms used in the tables below:
 * targeted : the environment object (when the inventory window is closed) or the inventory space (when the inventory window is open) that the mouse cursor is hovering over; when targeted most objects in the environment will be identified with a pop-up "tooltip" indicator located just above the stat indicator bars (Survival mode). You may or may not be able to interact with the object depending on what the hand space contains.
 * drop : putting an object or a stack into the environment in its "item" or "clump" form.
 * place : putting an object into the environment in its "block" form. Many objects besides blocks, though not all, can be placed. They will not appear as blocks in the environment, of course, however they will "attach" themselves to other objects in a similar fashion, rather than being "loose" and (possibly) rolling around as they do in their "item" form.
 * swap : all inventory and cursor spaces can be considered to always contain something, whether it is a single, non-stackable object (a weapon for example), a stack of blocks or other items (apples, vines), or even an "empty stack"; therefore when swapping the contents of spaces, you may be swapping an empty stack in the cursor space with an object in the hand space ("picking up"), or swapping a stack of blocks in the cursor space with an empty inventory space ("putting down").

Survival Mode
When the inventory window is open in Survival mode, an inventory grid is shown at the top with room for 16 stacks of items. Below that are the three stat level indicators and below that is a "hot-bar" with four spaces plus a fifth "hand" space for the item currently held by the Seed. The stat indicators and hot-bar are visible whether or not the inventory window is open. When the inventory is open moving the mouse moves a cursor that allows the player to pick up and place items by left-clicking on them. In this way the contents of the inventory and hot-bar spaces can be rearranged. Right-clicking on an inventory or hot-bar space while no item is being held will cause the contents of that space and the contents of the hand to be swapped. When the inventory is closed this grid is not visible and no mouse cursor is available. Mouse movements while the inventory is closed perform the functions listed below in the View section.

Action
These actions are performed while the Inventory window is closed. Most of these actions are performed with or by the object in the Hand. 1 If the targeted object is an inventory object (an object which can be placed within the player's inventory space and carried) it will be "picked up", otherwise the action performed with be to "use" the object in the hand space on the targeted object (unless the object in the hand space is a food item, in which case it will be eaten). 2 When "using" an object the target may or may not be affected; some examples: using an empty hand on most environmental objects will not do anything (although some objects such as small plants can be "broken"); using a torch simply waves it about and doesn't affect any targeted objects; using a food object consumes the food (and obviously doesn't affect the target); using a knife on anything but a critter doesn't do anything, and even prevents you from picking up many objects! 3 When dropping, placing or eating items (any action in which the contents of the hand space are diminished) if the hand space is "emptied" (the last item of a stack is dropped/placed/eaten) the hand will automagically be "re-filled" if the inventory contains more stacks of the same item. 4 A throwable weapon must be in the Hand to use Throw Mode.

Inventory
These actions are performed while the inventory window is open. 1 Subsequent clicks transfer additional items. However, if the cursor stack contains items different from the targeted space, the stacks are swapped.

Creative Mode
The Creative mode interface shares much of the same controls as the Survival mode interface, however the appearance of the interface has significant differences. Unless otherwise stated below the controls listed above in Survival mode are also available in Creative mode. When the inventory window is open, all objects that are currently available are listed in a much larger, scrollable grid. In addition, instead of only five hot-bar spaces there are multiple hot-bars available, each with nine spaces visible on-screen at once.

The most significant difference between the Survival interface and the Creative interface is the Action Toolbar just above and to the right of the inventory hot-bar. This toolbar consists of six tools that allow the user to control how blocks and other ojects are manipulated.

Movement
1Pressing while flying will take you out of flying mode.