TerminalConsumables
Allows developers to add consumables to terminals.
About this mod Author’s original text
TerminalConsumables
Allows rundown developers to add consumables to the terminal system. Only consumables with registerInTerminalSystem enabled and non-blank terminalItemShortName and terminalItemLongName are added. These restrictions exclude all vanilla consumables by default.
Differs from PingConsumables in that vanilla consumables are not supported by default.
For Plugin Developers
This exposes an API at TerminalConsumables.API with the following features:
// Overrides normal query output. Returns the lines of text to print for a query command. Each element represents one line.
public delegate List QueryTextOverride(Item item, iTerminalItem terminalItem, List defaultDetails);
// Registers the passed item to the terminal system. Queries will print as if the item were a consumable.
// If the item already has a terminal item component, it will register it as a tracked item with the given settings.
public static iTerminalItem RegisterTerminalItem(Item item, bool ammoRel, QueryTextOverride? queryOverride);
// Modifies query-related options for the terminal item. If the item is not tracked, it is registered as a tracked item.
public static bool ModifyTerminalItem(iTerminalItem? terminalItem, bool ammoRel, QueryTextOverride? queryOverride);
public static bool ModifyTerminalItem(Item item, bool ammoRel, QueryTextOverride? queryOverride);
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: