lammOS

版本 v1.5.0·更新於 2024-02-15

Reworks how the terminal commands work, changing how many of them function, and adding several new ones.

模組介紹 作者原文

What is lammOS?

lammOS is a mod that reworks how the terminal commands work, changing how many of them function, and adding several new ones.

What's Reworked

The way commands are parsed and processed by the terminal have been reworked, making using and adding new content to the terminal a smoother experience.

  • This has the negative side effect of command results not being 100% similar or synced with the vanilla game or other mods, especially if the game updates or mods change or add content making any drastic changes.
  • This will also cause commands added or changed by other mods to potentially be unusable with the terminal, though some will still work with minimal issues. It is possible for other mods to add their own lammOS compatible commands with an optional or required dependency if they so choose though, minimizing all potential issues.

Specifics

More specifically for modders or others that are curious, what I did is pre-patch the Terminal.OnSubmit method to conditionally do nothing if the player enters a valid lammOS command, which will then run my own mod's NewTerminal.OnSubmit method and thus executing the entered command. Otherwise, it'll run the default Terminal.OnSubmit method and check for terminal keyword matches as usual.

  • lammOS also removes most of the vanilla terminal keywords temporarily when the user tries to use terminal keywords instead of lammOS commands, so that users aren't routing to moons or buying items with the terminal keywords.

I also pre-patched the Terminal.TextChanged method to run my own NewTerminal.OnTextChanged method, which is functionally similar but different so that it works better with lammOS.

  • Several other Terminal methods have been patched, but are less signifigant and are only there to prevent bugs or weird visuals.

What's Changed

Commands

The >HELP command now lists all of the available commands and the arguments they take in, and giving it the name of another command as a argument will give you more information about that command.

Most commands now have shortcuts, all of which are viewable with the >SHORTCUTS command, but for some examples:

  • >MOON -> >M
  • >PING -> >P
  • >TRANSMIT -> >T

Commands like >MOON and >BESTIARY will show even more details about the moon or entity you are curious about.

The >STORE command will hide upgrades and other decorations that have already been purchased.

The >SCAN command now shows three categories for scanned items: in the ship, inside the building, and outside, as well as what items are at these locations and their values.

  • Bee hives will appear as being indoors instead of outdoors until they are picked up at least once.

The >VIEW MONITOR command has been simplified to >MONITOR, or simply >V with the command's shortcut, and the monitor now shows up instantly rather than slowly loading after entering the command.

The >SWITCH command will switch to the next radar target if entered with no arguments, as if you pushed the white button on the monitor.

The >PING and >FLASH commands will now act on the radar booster currently being viewed if entered with no arguments.

Config Options

You can disable confirmation screens for commands such as >ROUTE and >BUY by disabling the ShowCommandConfirmations config option.

You can change how many characters you must enter for the terminal to understand what you were trying to buy or view, this can be changed using the CharsToAutocomplete config option, but keep in mind that it will pick the first thing it finds that matches the first couple character(s) you enter and assume that's what you wanted.

  • Setting the CharsToAutocomplete config option to a value above the character length of certain options will require you to type the full name of the option.
  • You can enable the ShowMinimumChars config option to show the minimum number of characters you need to enter next to the names of things in lists, such as on the >MOONS and >STORE pages.

What's New

Commands

The >SHORTCUTS command, which will list all of

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackRune580-LethalCompany_InputUtils

檔案與校驗

檔案名稱
lammOS-1.5.0.zip
檔案大小
56.9 KiB