
Lethal Company
You are viewing a potentially older version of this package. View Latest Version

Lethal Company terminal wrapper which allows you to create and manage your own menus/modules for the in game terminal. You can also access the terminal from anywhere in game, using the INSERT key to toggle its display.
This requires BepInEx: https://builds.bepinex.dev/projects/bepinex_be/674/BepInEx-Unity.Mono-win-x64-6.0.0-be.674%2B82077ec.zip
Example Menu:
if (!Manager.Initialized()) return;
var mainMenu = new Menu("LethalOS", "Made by Verity", "lethalos"); //Create menus
var exampleCategory = new Category("Example", "Hello, this is an example category.", "example"); //Create Categories
exampleCategory.AddModule(new ExampleModule()); //Add modules to the category
exampleCategory.AddModule(new ExampleModuleTwo()); //Add modules to the category
mainMenu.AddCategory(exampleCategory); //Add Category to the menu
Manager.AddMenu(mainMenu); //Add everything in the menu to the terminal

