Signature asset

Script Library

Copyable starter patterns for first contact, sensor repair, solar tracking, biology, and contract transmission.

Launch library · checked 2026-09-08

Guide artwork of a code-driven planetary control room
Guide artwork — not an in-game screenshot.

Each entry remains fully rendered in HTML for search indexing. Filtering only changes what is visible in the browser.

StarterThermometer + Transmitter

Temperature uplink starter

Reads the live thermometer value and sends it to Earth with the current_temperature key.

thermo = get_component("thermometer")
value = thermo.get_value()
transmitter = get_component("transmitter")
transmitter.connect("earth")
transmitter.transmit("current_temperature", value)

Common failure: Fails if you forget connect("earth"), use the wrong component names, or pass a non-string key.

Closed testing / demo footage · checked 2026-09-08

Companion guide →

StarterOxygen sensor

Oxygen sensor calibration

Reads the raw oxygen value, converts it to the expected scale, and calibrates the sensor.

sensor = get_component("oxygen sensor")
oxygen = sensor.get_value()
corrected = oxygen * 100
sensor.calibrate(corrected)

Common failure: Fails if you hardcode a value or skip the live get_value() reading.

Video-verified repair pattern · checked 2026-09-08

Companion guide →

StarterPressure sensor

Pressure sensor stabilize

Keeps even readings and bumps odd readings by one before stabilizing the sensor.

p_sensor = get_component("pressure sensor")
p = p_sensor.get_value()
if p % 2 == 0:
    fixed = p
else:
    fixed = p + 1
p_sensor.stabilize(fixed)

Common failure: The common mistake is indentation or using = instead of == in the condition.

Video-verified repair pattern · checked 2026-09-08

Companion guide →

StarterSolar generator + Clock

Solar tracker loop

Continuously points the panel toward the sun by keeping tilt + sun elevation = 90.

clock = get_component("clock")
while True:
    sun = clock.get_elevation()
    self.set_tilt_degrees(90 - sun)

Common failure: If you only set the tilt once, the script ends and the panel stops tracking.

Tutorial objective pattern · checked 2026-09-08

Companion guide →

StarterBio collector

Bio collector starter loop

Scans for candidate sites, picks the first available one, and collects a specimen when cargo is empty.

while True:
    if self.cargo != 0:
        pass
    else:
        sites = self.scan()
        if len(sites) > 0:
            target = sites[0]
            self.collect(target.coords)

Common failure: The collector should wait if cargo already holds a specimen.

Tutorial collection pattern · checked 2026-09-08

Companion guide →