You are viewing a potentially older version of this package. View all versions.
jaramp-BetterBetterTeleporter-1.0.1 icon

BetterBetterTeleporter

A fully customizable Teleporter and Inverse Teleporter mod with advanced item filtering.

Date uploaded 8 months ago
Version 1.0.1
Download link jaramp-BetterBetterTeleporter-1.0.1.zip
Downloads 278
Dependency string jaramp-BetterBetterTeleporter-1.0.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2304 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2304

README

BetterBetterTeleporter

BetterBetterTeleporter is a mod for Lethal Company that adds configurable features for both the regular Teleporter as well as the Inverse Teleporter.

Features

  • Configurable Cooldowns: Adjust the cooldown times for each teleporter.
  • Item Teleport Behavior: Choose whether items are kept or dropped when using the teleporters.
  • Item Whitelists/Blacklists: Specify lists of items that are always kept or dropped, overriding the general item teleport behavior.
  • Reset Cooldown on Orbit: Automatically reset teleporter cooldowns when returning to orbit.
  • Inverse Teleporter Battery Drain: An optional penalty to decrease battery charge for held items when using the Inverse Teleporter.

Configuration

The mod is configured using BepInEx's configuration system. You can modify the settings in the BepInEx/config/BetterBetterTeleporter.cfg file.

If LethalConfig is installed, you can also configure the mod in-game through the LethalConfig menu.

Configuration Options

General

Option Value Default Description
ResetCooldownOnOrbit true/false true Resets the cooldown time on teleporters between days.

Teleporter

Option Value Default Description
TeleporterCooldown Number 10 Cooldown time (in seconds) for using the Teleporter.
TeleporterBehavior Drop/Keep Drop Sets whether items are kept or dropped when using the Teleporter.
TeleporterAlwaysKeep Text Treat these items as Keep regardless of Teleporter behavior.
TeleporterAlwaysDrop Text Treat these items as Drop regardless of Teleporter behavior.

As an example, if you wanted a Teleporter that keeps all items except for the shovel, stop sign, and yield sign:

TeleporterCooldown = 10
TeleporterBehavior = Keep
TeleporterAlwaysKeep =
TeleporterAlwaysDrop = Shovel,StopSign,YieldSign

Inverse Teleporter

Option Value Default Description
InverseTeleporterCooldown Number 210 Cooldown time (in seconds) for using the Inverse Teleporter.
InverseTeleporterBehavior Drop/Keep Drop Sets whether items are kept or dropped when using the Inverse Teleporter.
InverseTeleporterAlwaysKeep Text Key Treat these items as Keep regardless of Inverse Teleporter behavior.
InverseTeleporterAlwaysDrop Text Treat these items as Drop regardless of Inverse Teleporter behavior.
BatteryDrainPercent 0.0-1.0 0.0 Percent drain on held battery items when using the Inverse Teleporter.

As an example, if you wanted an Inverse Teleporter that drops all items except for keys and walkie-talkies, and drains batteries by 50%:

InverseTeleporterCooldown = 210
InverseTeleporterBehavior = Drop
InverseTeleporterAlwaysKeep = Key,WalkieTalkie
InverseTeleporterAlwaysDrop =
BatteryDrainPercent = 0.5

Item Names

Here are some example names that can be used for whitelisting/blacklisting items:

  • GunAmmo
  • BeltBag
  • Binoculars
  • Boombox
  • CardboardBox
  • Clipboard
  • ExtensionLadder
  • Flashlight
  • Jetpack
  • Key
  • LockPicker
  • CaveDwellerBaby
  • MapDevice
  • ProFlashlight
  • RadarBooster
  • Shovel
  • SprayPaint
  • StickyNote
  • StunGrenade
  • TZPInhalant
  • WalkieTalkie
  • WeedKillerBottle
  • ZapGun

This is not an exhaustive list. Any item should work, including from other mods. Names are not case-sensitive. Using the in-game display name will also work, but it may have issues when playing with players that use different language settings.

CHANGELOG

Version 1.3.0

  • Include utility slot in teleport logic
  • Added [utilslot] and [nonutilslot] filters
  • Fix issue displaying weight after teleporting

Version 1.2.4

  • Compatibility update for v80

Version 1.2.3

  • Fix issue with lightning strikes on conductive items after teleporting

Version 1.2.2

  • Fix a compatibility issue with mods that modify carry weight

Version 1.2.1

  • Delay visual fixes to compensate for possible lag
  • Fix issue where players that die during teleport keep items

Version 1.2.0

  • Added [filter:item] syntax
  • Added patch to fix a visual bug on the teleporter

Version 1.1.5

  • Added [all] item filter
  • Added [none] item filter
  • Added [gordion] item filter
  • Added [gordioff] item filter

Version 1.1.4

  • Added [battery] item filter
  • Added [charged] item filter
  • Added [discharged] item filter
  • Added [metal] item filter
  • Added [nonbattery] item filter
  • Added [nonmetal] item filter
  • Added [nonscrap] item filter
  • Added [nonweapon] item filter
  • Added [onehanded] item filter
  • Added [pocketed] item filter
  • Added [scrap] item filter
  • Added [twohanded] item filter
  • Added [value] item filter
  • Added [weapon] item filter
  • Added [weighted] item filter
  • Added [weightless] item filter
  • Added [worthless] item filter

Version 1.1.3

  • Added experimental item filter engine
  • Added [held] item filter

Version 1.1.2

  • Rewrote netcode from scratch

Version 1.1.1

  • Fix issue where dead players wouldn't drop some items
  • Fix issue where reconnecting players would always drop all items when teleporting

Version 1.1.0

  • Using CSync for better network communication
  • Changed BatteryDrainPercent to an integer range from 0 to 100
  • Improving init and update performance
  • Fix issue where disconnecting players wouldn't drop some items
  • Fix incorrect default value on ResetCooldownOnOrbit
  • Fix issue where changing server host synced incorrect settings

Version 1.0.2

  • Setting default config to match unmodded game behavior
  • Fix issue with incorrect carry weight after teleporting

Version 1.0.1

  • Hotfix to fix packaged file structure

Version 1.0.0

Initial Release

  • Reset cooldowns on orbit
  • Customize Teleporter cooldown
  • Customizable list of items to keep on Teleport
  • Customize Inverse Teleporter cooldown
  • Customizable list of items to keep on Inverse Teleport
  • Customizable battery drain on Inverse Teleport