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

TZPPlus

TZP Inhalant overhaul: heals while inhaling, shows its gas in the battery meter, and builds up damage reduction (incl. fall damage). Fully configurable, host-synced.

Date uploaded 3 days ago
Version 1.0.2
Download link SleepyMiles-TZPPlus-1.0.2.zip
Downloads 25
Dependency string SleepyMiles-TZPPlus-1.0.2

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2305
Sigurd-CSync-5.0.1 icon
Sigurd-CSync

Configuration file syncing library for BepInEx.

Preferred version: 5.0.1

README

TZPPlus

Makes the TZP Inhalant worth carrying. Inhale it to heal, see exactly how much gas is left, and build up a damage reduction buff that also protects you from fall damage.

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.
  • Works with the vanilla HUD and Elad's HUD (Elad's HUD also shows the seconds of gas left; a full tank lasts 38 seconds).
  • The TZP is never treated as a battery item, so it can't be "charged" at the ship's charger.

🛡️ Damage reduction

  • Inhaling builds up damage reduction: +2% per second, up to 20% (10 seconds of inhaling).
  • Reduces all damage, including fall damage. A deadly fall (100 damage) becomes survivable at full health with the full buff.
  • 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.
  • The buff holds while you inhale and for 5 seconds after a counted puff, then fades by 2% per second. A new counted puff resets the timer.
  • Instant kills (e.g. being grabbed by a Forest Giant) are not affected.

🎨 Indicators

  • A small "TZP -12% DMG" text in the bottom-right corner while the buff is active (shows fading while it decays).
  • With Elad's HUD: the health and stamina bars fade to gold — the stronger the buff, the stronger the color — and fade back as it wears off. The health bar stays visible while buffed. Low stamina still turns the bar red.

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, max %, seconds to max, minimum puff seconds, grace seconds, decay % per second, include fall damage ✅ from the host
3. Display (per player) gas meter, text on/off/position/size, Elad's HUD health & stamina bar tint, color ❌ your own

Gameplay values are synced from the host with CSync, so everyone plays with the same numbers.

Compatibility

  • Everyone in the lobby needs this mod.
  • Optional: Elad's HUD (incl. the V.80 utility-slot fork) for the bar tint and seconds-left display, LethalConfig for in-game settings.
  • Stacks with AdvancedCompany's 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.

Credits

Inspired by EnhancedTZP (Asc3nt), TZPReworkedHealing (Hotoni) and TZPHealingCustom (riverbible). The code is written from scratch for game version V.81.

CHANGELOG

Changelog

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.