Skip to content

An independent player wiki

Code: Terraform

Power the base. Explore the planet. Make the machines work for you. Get practical help with scripts, solar tracking, harvesting and the next problem in your save.

Code: Terraform official artwork: an alien planet seen through a spacecraft cockpit window
Official Code: Terraform artwork · AppsMafiaOpen full image ↗
Official Code: Terraform artwork · AppsMafia
Start hereMove your Demo scripts into the full gameBack up the old save, extract script source and libraries, and rebuild without pretending the whole save is compatible.

Find your next guide

What are you working on?

Code: Terraform Power screen with solar panel tilt, sun elevation, efficiency and battery charge
Compare tilt, sun elevation and efficiency in the Power screen. Manage opens the device controls. Official Steam screenshot; displayed values are examples.Open full image ↗

Power & solar tracking

Separate a bad angle, a stopped script, and a night-time power shortage.

Code: Terraform surface map and Harvester panel showing position and heat beside a script editor
Find the Harvester position and heat beside the sector map. This official screenshot shows H18; use the position in your own save.Open full image ↗

Harvester movement & heat

Separate an invalid destination from heat, then get a short route working.

Code: Terraform Rover and Pioneer dashboard with navigation, sonar, drill and battery modules
Rover and Pioneer have their own modules and batteries. Official Steam screenshot.Open full image ↗

Pioneer charging & rescue

Get a parked vehicle charging or help one stranded away from the base.

Code: Terraform script editor open beside the Supply Dock orders screen
The in-game editor beside Supply Dock orders. Use your own script and current device docs rather than copying the screenshot. Official Steam screenshot.Open full image ↗

Scripting basics

Build small helpers that stay readable when your automation grows.

Code: Terraform script editor open beside the Supply Dock orders screen
Recover the source you wrote, then rebuild in a fresh save. Editor screenshot—not a save-file diagram.Open full image ↗

Save & script recovery

Keep the reusable code. Leave incompatible world progress behind.

Code: Terraform research catalog with Inventory and Shop navigation plus separate infrastructure components
Find Inventory and Shop in the sidebar. Official screenshot of the Research catalog, not a completed sale.Open full image ↗

Inventory & trade

Send each item to the right system—and never delete a useful stack by accident.

Code: Terraform planet map showing explored sectors, a base, Rover and Pioneer
Build a location list for your own world. Planet overview—not a Bio Collector scan.Open full image ↗

Biology & specimen tracking

Turn unknown Bio Collector locations into a reusable catalog for your own save.

Inside the game

A planet of programmable systems

Official game screenshots. Open any image to inspect the interface at full size.

How the game works

Check the world. Choose an action. Run the script. Check the result.

Most Code: Terraform problems become easier when you slow the loop down: read what the machine or inventory is reporting, choose the system that can do the job, run one change, and make sure it worked before adding more automation.

  1. 01Check

    Read the sensor, inventory, machine state, error message, or save file first.

  2. 02Choose

    Decide whether the next step belongs in the Shop, Inventory, Bio Exchange, or a machine script.

  3. 03Run

    Make one change at a time so a bad item ID or outdated call is easy to spot.

  4. 04Confirm

    Check credits, inventory, machine output, or the first script error before continuing.

Code: Terraform planet map showing explored sectors, a base, Rover and Pioneer
Explore the planet sector by sector. Your own save has its own map. Official Steam screenshot.Open full image ↗

Choose by outcome

More safe starting points

01Solve one problemOpen the guide that matches what you are trying to do right now.
02Protect your progressBack up saves and double-check destructive inventory actions before running them.
03Expect Early Access changesCheck the current in-game docs when an older script call no longer works.