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

BetterBetterTeleporter

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

Date uploaded 7 months ago
Version 1.1.2
Download link jaramp-BetterBetterTeleporter-1.1.2.zip
Downloads 1221
Dependency string jaramp-BetterBetterTeleporter-1.1.2

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. The default configuration matches the unmodded version of the game, so this mod will not do anything unless you configure it.

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 comma-separated 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 Boolean false Resets the cooldown time on teleporters between days.

Teleporter

Option Value Default Description
TeleporterCooldown Numeric 10 Cooldown time (in seconds) for using the Teleporter.
TeleporterBehavior Drop or Keep Drop Sets whether items are kept or dropped when using the Teleporter.
TeleporterAlwaysKeep ItemList Treat these items as Keep regardless of Teleporter behavior.
TeleporterAlwaysDrop ItemList 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 Numeric 210 Cooldown time (in seconds) for using the Inverse Teleporter.
InverseTeleporterBehavior Drop or Keep Drop Sets whether items are kept or dropped when using the Inverse Teleporter.
InverseTeleporterAlwaysKeep ItemList Treat these items as Keep regardless of Inverse Teleporter behavior.
InverseTeleporterAlwaysDrop ItemList Treat these items as Drop regardless of Inverse Teleporter behavior.
BatteryDrainPercent Numeric 0 Percent drain on held battery items when using the Inverse Teleporter (0 to disable).

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

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

Item Names

You can specify multiple items to keep/drop by listing them separated by commas (such as Shovel,Key,Flashlight,WalkieTalkie). BetterBetterTeleporter will do its best to resolve items with inconsistent names (example: "clipboard" vs "Clipboard" vs "ClipboardItem"). As long as you have a reasonable idea of what the item is called, it should work.

Here is a list of Lethal Company's internal item names that can be used for whitelisting/blacklisting items:

7Ball ClownHorn Flask Phone SteeringWheel
Airhorn Cog1 GarbageLid PickleJar StickyNote
BabyKiwiEgg ComedyMask GiftBox PillBottle StopSign
Bell ControlPad GoldBar PlasticCup StunGrenade
BeltBag Dentures GunAmmo ProFlashlight TeaKettle
BigBolt DiyFlashbang Hairdryer RadarBooster ToiletPaperRolls
Binoculars DustPan Jetpack Ragdoll Toothpaste
Boombox EasterEgg Key RedLocustHive ToyCube
BottleBin EggBeater Knife Remote ToyTrain
Brush EnginePart1 LockPicker Ring TragedyMask
Candy ExtensionLadder LungApparatus RobotToy TZPInhalant
CardboardBox FancyCup MagnifyingGlass RubberDuck WalkieTalkie
CashRegister FancyLamp MapDevice Shotgun WeedKillerBottle
CaveDwellerBaby FancyPainting MetalSheet Shovel WhoopieCushion
ChemicalJug FishTestProp MoldPan SoccerBall YieldSign
Clipboard FlashLaserPointer Mug SodaCanRed ZapGun
Clock Flashlight PerfumeBottle SprayPaint Zeddog

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 could have issues between players that use different language settings.

If you have LethalConfig installed, there is a button at the bottom of the BetterBetterTeleporter config section to display the names of all items you're currently holding in your inventory. This should help verify if you're using the correct item name.

Dependencies

Installation

It's recommended to install from Thunderstore using a mod manager such as Gale.

Contributing

See CONTRIBUTING.md for information on how to contribute to the mod.

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