Skip to main content

A small headless library for editing Lethal Company save files.

Project description

GreatAsset

Build status Linting and Typechecking

Welcome, great assets to The Company!


This project is a small thin wrapper to edit save files for the Lethal Company video game.

Our documentation can be found here.

Example usage

Add 6000 credits and unlock all possible (found) ship upgrades.

import os

import great_asset

def main() -> None:
    # The classmethod here will resolve the full path to the save file and use save number `1`
    with great_asset.SaveFile.resolve_from_file(1) as save:
        # update credits to 6000
        save.update_credits(6000)

        # unlock all items within `great_asset.ShipUnlock` enum.
        save.unlock_all_ship_upgrades()

        # normally without the context manager you'd call the `save.write()` method but this is not necessary
        # as it is called upon exiting the context manager if there are no errors

Disclaimer

This project is not affiliated with Lethal Company, its creator or affiliates in any way. Use of this project within public games without players consent is likely going to remove a lot of the fun from the game and is discouraged.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

great_asset-1.2.0.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

great_asset-1.2.0-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page