Training Mode

This article may contain outdated information that is inaccurate for the current version of the game. It was last updated for Version 21 ("Tito").

Training Mode is where you can enter Programming into workerbots.

To get into training mode, press the "Record" button on the "My Brain" window (which you can open by pressing 'space' and clicking on the workerbot you wish to program).

The sections on this page refer to the diagram on the right.

## Instructions Left

The "16KB Free" means that you can have 16 more instructions (including Repeat commands) in this workerbot. (Note that the Basic and Steam Workerbots can have up to 32 instructions.)

## Cancel Changes

Pressing the 'X' button will cancel all changes made to the programming. You can only save your changes by pressing the Play button.

## Robot Name

*See also Name Badge#Steps to name a workerbot*
The robot's name can be configured if you have added a Name Badge into a workerbot's upgrade slot through the Open Trade Menu button.

## Programming Instructions

The area where programming instructions appear. You can drag and drop instructions to reorder them or to put them into (or take them out of) loops. If you right-click on an instruction, it will be deleted. (If you right-click on a loop, that loop and all its contents will be deleted.)

### Controls

In addition to dragging and dropping new instructions from Instructions tab, many of the controls you use to control your character can generate commands (so long as your mouse cursor is outside the training window), including:

* **q** - Stow held item
* **,** - Cycle held item to the left
* **.** - Cycle held item to the right
* **Left/Right Click** - Whatever you perform will show up as instructions. This can include:
	+ Putting something into a building → Move to building, Add to building
	+ Taking something out of a building (storage) → Move to building, Take from building
	+ Picking up an object → Find nearest target, Move to target, Pick up target
	+ Dropping an object on the ground → Drop all
	+ Using an item on something → Find nearest target, Move to target, Use held item
	+ Moving to a specific location without picking anything up → Move to location

## Open Trade Menu

Clicking on the Open Trade Menu button enables you to trade items between you and the workerbot.

## Instructions Toggle

Toggles showing the "Instructions Tab". You can click on one of six tabs, each of which may contain instructions that you can drag and drop into the program. The tabs and the commands they contain are as follows:

### Control

* Repeat
* Wait

### Inventory

* Stow held item
* Cycle held item

### Action

* Use held item
* Shout

## Play / Stop

Pressing the Play button confirms your changes; the workerbot will start running them immediately. The button will transform into the "Stop" button, which you can press immediately to prevent the workerbot from performing most commands.

## Repeat

You can drag and drop this button to place a Repeat loop at the target location. If you instead click the button, you will toggle whether the entire code is wrapped in a Repeat forever loop.

## Expand / Shrink

This button toggles whether to expand the width of the entire window (making it possible to see the ends of long lines).