Skip to content

A Lethal Company mod that scans the number of scraps on the moon and sends it to the chat at the start of each day, just like the terminal scan technique.

License

Notifications You must be signed in to change notification settings

aoirint/AutoTerminalScanClassic

Repository files navigation

AutoTerminalScanClassic

A Lethal Company mod that scans the number of scraps on the moon and sends it to the chat at the start of each day, just like the terminal scan technique.

Development

Install .NET SDK 10.0 or later.

Restore NuGet packages.

dotnet restore --locked-mode

Code format

dotnet format

Package management

To update the lock file after modifying your package references, run:

dotnet restore --use-lock-file

GitHub Actions management

The repository uses GitHub Actions for CI.

The version of the actions are pinned with pinact.

# Pin
pinact run

# Update
pinact run --update

Build

# Debug build
DOTNET_CLI_UI_LANGUAGE=en dotnet build

# Release build
DOTNET_CLI_UI_LANGUAGE=en dotnet build --configuration Release

Release

  1. Replace version in AutoTerminalScanClassic/AutoTerminalScanClassic.csproj as semver format, e.g. 1.2.3.
  2. Commit and push the changes.
  3. CI will create a GitHub Release automatically.
  4. Download the release artifact from the GitHub Release page.
  5. Upload the artifact to Thunderstore. NOTE: prerelease version is not supported, e.g. 1.2.3-beta.1.

Debugging

r2modman

  1. Open r2modman.
  2. Open Config editor.
  3. Open BeplnEx\config\BepInEx.cfg in the config list.
  4. Set Logging.Console.LogLevels to All.
  5. Open Settings > Import local mod.
  6. Select the DLL file from bin/Debug/netstandard2.1/.
  7. Click Start modded.

Manual

  1. Install BeplnEx: https://docs.bepinex.dev/articles/user_guide/installation/index.html
  2. Launch Lethal Company.exe and exit to generate the BeplnEx config files.
  3. Open C:/Program Files (x86)/Steam/steamapps/common/Lethal Company/BeplnEx/config/BepInEx.cfg.
  4. Copy the DLL file into C:/Program Files (x86)/Steam/steamapps/common/Lethal Company/BepInEx/plugins/ from bin/Debug/netstandard2.1/.
  5. Set Logging.Console.Enabled to true.
  6. Set Logging.Console.LogLevels to All.
  7. Launch Lethal Company.exe again.

About

A Lethal Company mod that scans the number of scraps on the moon and sends it to the chat at the start of each day, just like the terminal scan technique.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages