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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file great_asset-1.2.0.tar.gz.

File metadata

  • Download URL: great_asset-1.2.0.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.0-12-amd64

File hashes

Hashes for great_asset-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f35db4883ffa792862655a8a04d73de097dfbe8b026870dc748ceb7979bc3da8
MD5 6f635c5aa6d7a1434c9969abd4d9000d
BLAKE2b-256 54521f1821cac1bc7f96669e0a4fffa9debba1609ddd2e3398d604718e227e65

See more details on using hashes here.

File details

Details for the file great_asset-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: great_asset-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.1.0-12-amd64

File hashes

Hashes for great_asset-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f909fe3c5e28aa812c6e1606178b7edc7d74d09b53b89f22cdb4e0adcb89e8ff
MD5 bc3114f22d96df2f7636fbf52f937975
BLAKE2b-256 0479138209384cb65d2775c1f5ef9de0f0d518425d3cc8153720a648173a7a2d

See more details on using hashes here.

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