You are viewing a potentially older version of this package. View all versions.
SleepyMiles-TZPPlus-1.3.0 icon

TZPPlus

TZP Inhalant overhaul: heals while inhaling, shows its gas, builds up damage reduction (incl. fall damage), calms paranoia, configurable gas and price, and too much gives a Lethal Dose. Host-synced.

Date uploaded a month ago
Version 1.3.0
Download link SleepyMiles-TZPPlus-1.3.0.zip
Downloads 184
Dependency string SleepyMiles-TZPPlus-1.3.0

This mod requires the following mods to function

Sigurd-CSync-5.0.1 icon
Sigurd-CSync

Configuration file syncing library for BepInEx.

Preferred version: 5.0.1
BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305

README

TZPPlus

Left: the vanilla HUD. Right: with EladsHUD+.

Makes the TZP Inhalant worth carrying. Inhale it to heal, see exactly how much gas is left, and build up damage reduction that also protects you from fall damage. Push it too far and you may take a Lethal Dose.

Fully configurable. Gameplay settings are synced from the host, so everyone plays with the same numbers.


Features

๐Ÿฉน Healing
  • Heals 5 HP per second while inhaling (up to 100 HP).
  • Stops bleeding / limping once you are back above 10 HP.
  • Your teammates see your new health without the "got hurt" flinch.
๐Ÿ”‹ Gas meter
  • The TZP's remaining gas shows in the battery meter while you hold it.
  • A full tank lasts 38 seconds of inhaling (configurable, see ๐Ÿงช TZP item).
  • The TZP is never treated as a battery item, so it can't be "charged" at the ship's charger.
๐Ÿงช TZP item
  • Set how long one TZP lasts: Seconds of gas per TZP (vanilla 38 seconds). The battery meter and the seconds left follow it.
  • Set the TZP-Inhalant's store price (vanilla $120). Store sales still apply.
  • Both are synced from the host, so everyone has the same tank and pays the same price.
๐Ÿ›ก๏ธ Damage reduction
  • Inhaling builds up damage reduction: +2% per second, up to 40%
    • 20% after 10 seconds, 40% after 20 seconds.
  • Reduces all damage, including fall damage (can be turned off).
    • Example: a 100 damage fall becomes 80 at 20% and 60 at 40%.
  • The buff holds while you inhale and for 10 seconds after you stop, then fades by 2% per second.
  • Exploit protection: with no buff, inhaling counts right away. Once you have a buff, a new puff must last 2.5 seconds before it stacks again and refreshes the timer. Shorter puffs add nothing.
  • Instant kills (e.g. being grabbed by a Forest Giant) are not affected.
โ˜ ๏ธ Lethal Dose & Withdrawal

Optional, off by default.

  • Inhale TZP for 20 seconds in one high (short puffs add up until the TZP has fully worn off) and you take a Lethal Dose.
  • Lethal Dose: you're concussed (motion blur, red tint and dark edges) until every TZP effect has worn off. Only the game view gets it, so your HUD stays readable.
  • Withdrawal: right after the Lethal Dose ends, for 60 seconds:
    • you walk and run 15% slower
    • you jump 15% lower
    • stamina refills 15% slower and drains 8% faster
    • being alone makes you paranoid 1.5x faster
  • Inhaling TZP during Withdrawal makes it wear off 10x faster (every 0.1 s of inhaling takes 1 s off).
  • With FrailtyMedical, its Sedatives make Withdrawal wear off 2x faster while they last.
๐Ÿง  Paranoia
  • TZP calms you down: while you inhale, your paranoia (the game's insanity, which brings the creepy sounds and moving doors) drops 2 per second.
  • Withdrawal does the opposite: alone, your paranoia rises 1.5x faster.
  • With FrailtyPlus you can see it: its Paranoid debuff shows up at 75%.
๐Ÿฆด Frailty injuries

Optional, off by default. Needs Frailty.

  • While you inhale TZP, broken / fractured legs and arms heal 10x faster.
๐ŸŽจ UI Display
  • Damage Reduction (buff): builds up while you inhale: you take less damage (fall damage too). The value above it is the %.
  • Withdrawal (debuff): after a Lethal Dose, you're slower, jump lower, your stamina refills slower and drains faster, and being alone makes you paranoid faster.
  • Lethal Dose (debuff): too much TZP: you're concussed (blur, red tint, dark edges) until every TZP effect has worn off.

ย ย 

Icon
  • Every effect gets an icon with its value or time left.
  • Placed in the bottom-left corner next to the vanilla HUD, right after Frailty's injury icons (same size and tilt), with the value above each icon.
  • Move it or resize it with Icon row X offset, Icon row Y offset and Icon row size.
Text
  • Small lines in the bottom-right corner instead of icons, one line per effect (e.g. Damage Reduction 24%, Withdrawal 41s).
  • Move it or resize it with Text X offset, Text Y offset and Text size.

Additional UI features

  • We also added icons for the vanilla TZP buff / debuff the game never shows you (off by default, turn on Show vanilla TZP effects):
    • TZP Rush (buff): you move faster and sprinting barely uses stamina.
    • Slippery: slow to start and stop, you slide around.
    • Dizzy: your camera lags behind your mouse.
    • Warped: pitched-up voice, hazy vision, muffled sound.
  • Timers show how long until the effect wears off if you stop now (they count up while you keep inhaling).
  • Color changes:
    • The vanilla stamina meter fades to gold while the damage reduction is active.
    • It turns red while you have Withdrawal.
  • You decide what shows up: the effect display can be set to Icons, Text or Off, and TZPPlus's own effects (Damage Reduction, Lethal Dose, Withdrawal) and the vanilla TZP effects can each be turned on or off on their own.

Configuration

Every number is adjustable in BepInEx/config/Miles.TZPPlus.cfg, or in-game with LethalConfig.

Section What Synced?
1. Healing on/off, HP per second โœ… from the host
2. Damage Reduction on/off, include fall damage, max damage reduction %, reduction gained per second %, minimum puff seconds, grace seconds, decay % per second โœ… from the host
3. Display UI gas meter, effect display (icons / text / off), show TZPPlus effects, show vanilla TZP effects (off by default), buff icon numbers in buff color, icon row position / size, text position / size, stamina meter gold / red, color โŒ client side only
4. Lethal Dose on/off (off by default), seconds of inhaling, withdrawal seconds, withdrawal strength %, withdrawal stamina drain %, withdrawal countdown while inhaling โœ… from the host
5. Frailty injuries on/off (off by default), leg / arm injury countdown while inhaling โœ… from the host
6. EladsHUD compatibility health / stamina bar gold, red stamina bar during withdrawal โŒ client side only
7. TZP item seconds of gas per TZP, store price โœ… from the host
8. Paranoia withdrawal paranoia multiplier, TZP calm per second, Sedatives Withdrawal speed โœ… from the host

Compatibility

  • Everyone in the lobby needs this mod.
  • Elad's HUD / EladsHUD+
    • The gas meter also shows the seconds of gas left.
    • The health and stamina bars fade to gold while the damage reduction is active (stronger buff = stronger color), and the health bar stays visible while buffed. Low stamina still turns the bar red.
    • The stamina bar turns red during Withdrawal.
    • With the SleepyMiles fork of Elad's HUD, the icons go in its row under the health bar, with tooltips when you point at them.
  • Frailty / FrailtyPlus: optional, for faster-healing leg / arm injuries. The icons sit right after Frailty's own icons. FrailtyPlus' injuries also come from the damage after TZPPlus' reduction, so the buff lowers them too. With FrailtyMedical installed, TZP can't heal you while you're bleeding (FrailtyPlus' rule).
  • FrailtyMedical: its Antibiotics clear Withdrawal and its Sedatives make it wear off faster; its icons sit on the same row.
  • Drinkable: its icons sit on the same row.
  • LethalConfig: change every setting in-game.
  • AdvancedCompany: stacks with the Protective Skin perk (multiplicatively, e.g. 10% + 20% = 28%).
  • โš ๏ธ Do not use together with EnhancedTZP, TZPReworkedHealing or TZPHealingCustom. They also change the TZP and would heal on top of this mod.

Play them together

These mods are made by SleepyMiles to work as one set. They share one row of buff / debuff icons (or EladsHUD+'s status row) and one CONSUMABLES store section, and they know about each other's effects. Each one also works on its own (FrailtyMedical needs FrailtyPlus).

Mod What it adds
TZPPlus (this mod) The TZP heals you, shows its gas, builds up damage reduction (fall damage too). Too much gives a Lethal Dose.
FrailtyPlus Injuries: broken / fractured legs and arms, bleeding, concussions, Paralyze. A rebuilt Frailty.
FrailtyMedical Beta. Bandage, First Aid Kit, Morphine (revive a teammate), Epinephrine, Painkillers and Antibiotics to treat them.
Drinkable Drink the Red soda, 19 new drinks with their own buffs, the Soda Machine and the Drink Machine.
EladsHUD+ Elad's HUD for V81, with a status row that shows every buff, debuff and injury from all of these with the time left.

Download & bug reports


Credits

CHANGELOG

Changelog

1.3.1

๐Ÿ› Fixes and changes
  • Without EladsHUD+, the icon row drifted a little further off with every FrailtyPlus injury icon in front of it. It now lines up along the same tilted line as FrailtyPlus' icons.
  • On some setups (where BepInEx' own object is removed when the game loads a scene) EladsHUD+ and FrailtyMedical weren't found.
  • Cleaner settings: no numbers in front of the sections any more, and only four of them, in this order: General (healing, damage reduction, gas, store price, TZP calm), Lethal Dose (with the Withdrawal paranoia settings), Compatible (FrailtyPlus and EladsHUD+), Display UI. Your settings are moved over once.
  • The icon frame moves like FrailtyPlus' icons (its dashes change a few times a second), and debuff pictures slowly pulse red, like FrailtyPlus' injuries.

1.3.0

โœจ New
  • TZP calms you down: while you inhale, your paranoia (the game's insanity) drops 2 per second (TZP calm per second).
  • Withdrawal makes you paranoid: alone, your paranoia rises 1.5x faster (Withdrawal paranoia multiplier).
  • FrailtyMedical's Sedatives make Withdrawal wear off 2x faster (Sedatives Withdrawal speed).
  • All three are in the new section 8. Paranoia, synced from the host.
๐Ÿ”ง Changes
  • New, more polished icons for every buff / debuff.
  • Overdose is now called Warped.
  • Clearer descriptions for every buff / debuff.

1.2.0

โœจ New
  • TZP gas: set how long one TZP lasts with Seconds of gas per TZP (vanilla 38). The battery meter and the seconds left follow it.
  • TZP price: set the TZP-Inhalant's Store price (vanilla $120).
  • Both are in the new section 7. TZP item, synced from the host.
๐Ÿ”ง Changes
  • Seconds of inhaling for Lethal Dose can now go above 38 (for longer tanks).
  • README: works with FrailtyPlus, FrailtyMedical, Drinkable and EladsHUD+.

1.1.0

โœจ New
  • Buff / debuff icons with their value or time left for Damage Reduction, Lethal Dose, Withdrawal, and the vanilla TZP effects TZP Rush, Slippery, Dizzy and Overdose.
    • Shown in the bottom-left corner next to the vanilla HUD (after Frailty's icons), or under the health bar with the SleepyMiles fork of Elad's HUD (with tooltips).
    • Or pick Text (bottom-right lines) or Off.
    • TZPPlus's own effects and the vanilla TZP effects can be turned on/off separately.
  • Lethal Dose (optional, off by default): inhaling 20 seconds in one high concusses you (motion blur, red tint, dark edges) until every TZP effect has worn off. Only the game view gets it, the HUD stays readable. Frailty is not needed.
  • Withdrawal after a Lethal Dose: 60 seconds of 15% slower walking / running, 15% lower jumps, 15% slower stamina refill and 8% faster stamina drain. Inhaling TZP makes it wear off 10x faster.
  • Frailty injuries (optional, off by default): with Frailty installed, inhaling TZP makes broken / fractured legs and arms heal 10x faster.
  • Color changes: the vanilla stamina meter fades to gold while the damage reduction is active and turns red during Withdrawal (Elad's HUD too).
๐Ÿ”ง Changes
  • Damage reduction cap raised to 40% (was 20%). It still builds at 2% per second (20% after 10 s, 40% after 20 s).
  • Damage reduction now holds for 10 seconds (was 5) after a counted puff before it starts to fade.
  • The "TZP -X% DMG" text is now the Text option of the new effect display.
โš™๏ธ Settings
  • New: Max damage reduction % and Reduction gained per second % (replace Max reduction % and Seconds to max).
  • Include fall damage moved right under Enable damage reduction.
  • 3. Display UI (client side only): Effect display, Show TZPPlus effects, Show vanilla TZP effects, Buff icon numbers in buff color, icon row and text position / size, stamina meter gold / red.
  • New sections 4. Lethal Dose and 5. Frailty injuries (synced from the host).
  • New section 6. EladsHUD compatibility (client side only) for the Elad's HUD bar colors.

1.0.2

Details
  • Damage reduction: with no buff, inhaling now counts right away (no 2.5 s wait).
  • With a buff already active, a new puff must last 2.5 seconds before the buff stacks again; stacking starts from that moment and the grace timer resets. Shorter puffs still do nothing.

1.0.1

Details
  • Fixed an error that stopped the mod from working.

1.0.0

Details
  • Initial release for Lethal Company V.81.
  • TZP heals while inhaling (5 HP/s by default), synced to other players without hurt animations.
  • TZP gas shown in the battery meter (vanilla HUD and Elad's HUD, incl. seconds left).
  • Damage reduction buff from inhaling: up to 20%, builds up over 10 s, 2.5 s minimum puff, 5 s grace, 2%/s decay. Includes fall damage.
  • "TZP -X% DMG" text, and Elad's HUD health / stamina bars fade to the buff color.
  • All gameplay settings synced from the host (CSync); display settings per player; editable in-game with LethalConfig.