Your team
Open Build > Team. Each of the six hotbar slots has:
| Field | What it's for |
|---|---|
| Name | The unit's name as the game shows it at the top of its panel, such as Iron Sentinel. lunaMacro checks it before upgrading, so the right unit always gets the upgrade. Leave it empty to skip the check. |
| Key | The key that picks this unit up to place it. Click it, then press the key. |
| Type | Ground, Hill or Farm. Each type has its own pause after placing (see Placement), spots that turn out blocked are remembered per type, and Anti leech places farms first. |
Recording a match
The fastest way to build a config is to play a match yourself while lunaMacro writes it down.
- Get into a match and press Record on the Build page, or F5.
- Walk to where you want to stand. Your spot is saved as soon as you place your first unit.
- Play as normal. Each unit you place, upgrade, sell, or whose ability you use or switch to auto becomes a step.
- Press F5 again to finish.
Recording replaces the steps already in the config. Make a new config first if you want to keep the old one.
Only the order of what you did is kept, not the timing. When the macro plays it back, each step waits until there's enough yen.
Steps
Each step names a unit slot and a spot on the screen. The first step with a new spot places a unit there. Later steps on the same spot work on that same unit: upgrading it further, using its ability, or selling it.
| Option | What it does |
|---|---|
| Slot | Which hotbar slot the step uses. None makes a step that only waits. |
| X, Y | Where the unit goes. Type them in, click on the map preview, or press Pick spot and click in the game. |
| Upgrade to | The level to upgrade the unit to, or MAX to upgrade until it's fully upgraded. |
| Wait after | Milliseconds to wait before the next step. |
| Sell unit | Sells the unit on this spot. |
| Auto ability | Switches the unit's ability to auto, or back off. |
| Use ability | Uses the ability once. Abilities that ask where to go get the target X and Y, which you can also pick in the game. |
| First run only | Only does this step on the first match of a run. |
| Before starting | Does this step during the countdown, before the match begins. |
| Enabled | Untick to skip a step without deleting it. |
Add upgrade adds a step that only upgrades a unit placed earlier, so it can never place a second one by mistake.
Select several steps with Shift or Ctrl and move them up or down together. A step can also copy another one by its number.

Moving units
Changing a step's X or Y moves that whole unit: every one of its steps follows, from when it's placed until it's sold.
To move your whole team at once, press Move units. It goes through your units in order: click each one's new spot in the game, or press Skip to leave it where it is. Press Done to stop part-way.
How placing works
If a unit's spot is taken or blocked, lunaMacro tries the nearest free spots around it and keeps the one that works for the rest of the match. You can limit how far it may move in Settings > Placement. When there isn't enough yen yet, it waits for more.
Run options
| Option | What it does |
|---|---|
| Config name | The config's name. |
| When the stage ends | Replay the stage, or return to the lobby. The Summer Event always goes back to the lobby and joins again. |
| Times to run | How many matches to play. 0 keeps going until you stop it. |
| Stage | The map this config is for. In the Summer Event, each map uses its own config. |
| Save my spot | Stand where this config's units go, in a match, and press it. Each run teleports back to spawn and walks you there by the minimap before placing. |
The Configs page
The Configs page lists every config under its mode, with its map and how many steps it has. From there you can open one, delete it, or use Copy to to copy it into another mode.
Packs and sharing
A pack is a set of configs, usually one per map, kept together. Copy code turns a config or a whole pack into a code you can send to a friend, and Paste brings one in from your clipboard.
Routines
The Routine page plays several configs one after another, each for as many times as you set. Between configs, lunaMacro goes back to the lobby, lets you know on Discord and waits for you to start the next one.
