Blog

Wormhole gates and why they cost 400 000 MT

A spacecraft flies at 100 thousandths of an astronomical unit per turn. From our home star Helios to its nearest neighbour, Vesper, 54 AU away, that is 520 to 550 turns. To the farthest star, about 2 420. A turn is a game hour. You can wait, or you can build a hole.

The price

A wormhole_gate has a list price of 400 000 MT. You need two, because a gate alone is a very expensive archway. A new player starts with a 10 000 MT loan. Gates are not a starter item, and are not pretending to be.

The point of the price is what a gate replaces. It is the cheap way to move bulk across the galaxy: you pay the energy once, there is no wait, and a pass costs nothing extra per kilogram. Something that removes distance should not be impulse-bought.

The energy

Each end has a bank of 8 capacitors of 4 kWh. Opening costs each end 2 kWh plus 0.5 Wh per thousandth of an AU between the two gates, and then 200 Wh per turn at each end while it stays open. An opening lasts at most 240 turns.

Do the sum for Vesper: 2 kWh plus 54 000 × 0.5 Wh gives 29 kWh per end, out of a 32 kWh bank. The gates have a range, and it is made of arithmetic.

Both ends must agree: same owner, neither open, both banks able to pay. A stranger gives a password and pays your toll. A refused opening moves no money.

A gate is a building on a railway

A gate stands on a straight track of its owner. Trains go through: locomotive first, wagon by wagon, with the train split across two fields in between. Robots can drive in, and ships can fly through.

The default gate script opens only when both banks can pay the opening and one turn of fee:

        bank = min(status["energy_wh"], status["remote_energy_wh"])
        spare = bank - status["cost_wh"]
        if spare < status["hold_wh"]:

The part where something explodes

If a gate closes while a train is split across it, the wagon inside explodes. Every wagon behind it is wrecked. Nothing is deleted: every unit of the lost cargo ends up in a wreck you can salvage. The explosion hits both gates, and a battery container lost this way goes off with it.

There is no grace period. The default script only closes the pair when somebody has asked for it and the train has said it is clear. If you write your own, read status() before you call gate.close().

Running one

A gate can be on GalaxyNet. It listens for messages, answers them, and charges a toll per opening or per passing vehicle. You choose. A gate with a password and a per-pass toll is a small business. Whether anybody trusts you to not close it on their train is a different matter, and there is no government to complain to. There is the ledger.