Socket
Socket
Sign inDemoInstall

great_asset

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    great_asset

A small headless library for editing Lethal Company save files.


Maintainers
1

Readme

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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc