Skip to content

My personal modding tools for Lethal Company

License

Notifications You must be signed in to change notification settings

VisualError/Evaisa.LethalLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cd0503b · Jan 10, 2024

History

80 Commits
Jan 10, 2024
Jan 10, 2024
Jan 10, 2024
Jan 10, 2024
Jan 10, 2024
Jan 10, 2024
Nov 16, 2023
Jan 10, 2024
Jan 10, 2024
Jan 10, 2024
Nov 16, 2023
Dec 1, 2023
Jan 10, 2024
Jan 10, 2024

Repository files navigation

LethalLib

GitHub Build Status Thunderstore Version Thunderstore Downloads

A library for adding new content to Lethal Company, mainly for personal use.

Features

Currently includes:

  • Custom Scrap Item API
  • Custom Shop Item API
  • Unlockables API
  • Map Objects API
  • Dungeon API
  • Custom Enemy API
  • Network Prefab API
  • Weather API

Changes

See the changelog for changes by-version and unreleased changes.

Contributing

Fork & Clone

Fork the repository on GitHub and clone your fork locally.

Configure Git hooks & post-checkout

Configure the Git hooks directory for your local copy of the repository:

git config core.hooksPath hooks/

Alternatively, you can create symbolic links in .git/hooks/* that point to ../hooks/*.

Then re-checkout to trigger the post-checkout hook:

git checkout main

LethalLib.csproj.user

You will need to create a LethalLib/LethalLib.csproj.user file to provide your Lethal Company game directory path.

Template

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <LethalCompanyDir>C:/Program Files (x86)/Steam/steamapps/common/Lethal Company/</LethalCompanyDir>
        <TestProfileDir>$(APPDATA)/r2modmanPlus-local/LethalCompany/profiles/Test LethalLib/</TestProfileDir>
    </PropertyGroup>

    <!-- Enable by setting the Condition attribute to "true". *nix users should switch out `copy` for `cp`. -->
    <Target Name="CopyToTestProfile" DependsOnTargets="NetcodePatch" AfterTargets="PostBuildEvent" Condition="false">
        <MakeDir
                Directories="$(TestProfileDir)BepInEx/plugins/Evaisa-LethalLib/LethalLib"
                Condition="!Exists('$(TestProfileDir)BepInEx/plugins/Evaisa-LethalLib/LethalLib')"
        />
        <Exec Command="copy &amp;quot;$(TargetPath)&amp;quot; &amp;quot;$(TestProfileDir)BepInEx/plugins/Evaisa-LethalLib/LethalLib/&amp;quot;" />
    </Target>
</Project>

About

My personal modding tools for Lethal Company

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%