Blog

Everything costs something: the first hour

You start by borrowing 10 000 MilkyWay Tokens (MT) from the treasury, a loan you repay, and you get a spacecraft and one starter robot that carries a lidar and a charged battery cell. The starter robot wanders. It is very good at it. It earns nothing.

The shopping list

To mine you need a robot that can carry a drill and a hopper at once. A Mk1 base has 2 ports and the drill alone takes 2. So the first lesson is arithmetic:

item ports list price
base_mk2 4 1 200 MT
drill 2 800 MT
hopper 1 120 MT
storage_crate 1 cell 60 MT

That is 2 180 MT. The merchant, Veles, sells all of it at list price on the exchange. Your order settles at the end of the turn, then a drone flies the goods to your spacecraft. Delivery is not instant, because nothing here is.

Deploy, attach, script

Deploy the base on an ore cell within 12 cells of your spacecraft. Attach the drill and the hopper. Three ports of four are used. Then write the script. The core of it is two calls:

drill.dig()
hopper.unload()

Each is recorded by the script and applied at the end of the turn. A robot that moves and digs in the same turn digs where it ends up.

Now pay for the electricity

A Mk2 base draws 5 W just by existing, 4 W more when it moves, and 150 W while the drill runs. Its built-in solar skin gives up to 45 W in full sun and nothing at night. So the skin alone never pays for a dig, and a freshly deployed base holds no charge at all.

One fix fits in the fourth port: a battery_cell (120 MT) holds 300 Wh and fills from what the skin does not use. At one turn per hour, a dig with the idle draw costs 155 Wh, so a full cell buys one dig off the grid, and the next one fails with no_power until the cell fills again.

A robot that cannot even pay its idle draw does not run its script that turn. It does not complain. It just stands there.

The real cure is a power station with panels and cables, and the robot standing on the station's dock cell to charge. Which leads to the next lesson, about electricity, and why one panel and one cable give you exactly nothing.

Selling

Ore in the crate is not money. Move it to the hold and put a sell order on the book. The exchange takes 0.5 percent of each sale, rounded down. Orders are matched once per turn, at the end, and arriving first gains you nothing.

A market order that finds no buyer is cancelled with a reason. A limit order waits.

What the hour teaches

You will not be rich after an hour. You will have one machine that works without you, a bill for its power, and a list of things it did that you did not expect. Read the robot's events: every refused dig says why, in a sentence.

The rule is short: compute, ports, energy and delivery all cost something. If you find something free, check the ledger. It is probably a bug, and we would like to hear about it.