This repository provides a template for creating a Limbus Company mod for custom modular consequences and value getters.
- Make sure you have installed Lethe.
- To setup a dev environment, copy the file
Directory.Build.example.propsinsrc/and rename the copy toDirectory.Build.props. - Modify the file as per the instructions inside.
- Modify
BasePlugin.csproj, changeRootNamespaceto the name of your mod. - Modify
main.cs, changeBaseModinnamespace BaseMod;to what you've entered in step 4. ChangeName,Version, andAuthoras you wish. - Modify
AssemblyInfo.csand fix the lineusing static BaseMod.Main;to use the proper root namespace. - Whenever you build, the development build of the BepInEx plugin should automatically be copied to your game folder.
To implement a custom consequence and value getter, you can create your own IModularConsequence and IModularAcquirer.
Refer to here
for the meaning of the arguments.