great_asset

A small headless library for editing Lethal Company save files.


Keywords
save-editor, wrapper, lethal-company
License
MIT
Install
pip install great_asset==1.2.0

Documentation

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.