[B42] Condition Protection + Katana sharpening

If you liked this item, please rate it up on Steam Workshop page.

Author: Corvus

Last revision: 20 May at 12:52 UTC

File size: 902.12 KB

On Steam Workshop

Description:
[B42] Condition Protection + Katana sharpening

This mod introduces a dedicated condition protection logic specifically designed for bladed weapons. While the introduction of sharpness in Build 42 helps, vanilla condition loss can still feel too harsh for high-tier or rare weapons.

Note: By default, the vanilla Katana cannot be sharpened. This mod fixes that by making the vanilla Katana sharpenable.

IMPORTANT NOTE: If you are already using my Nihonto Pack, do not install this mod. This framework is already built directly into the Nihonto Pack!

I originally created this mechanic to protect the weapons in my main mod, but decided to release it as a standalone framework so everyone can benefit from it (but be sure to check out the Nihonto Pack if you haven’t yet ;)).

How it functions:

Every time the game tries to lower a weapon’s condition (for all sharpenable categories: Long Blades, Small Blades, and Axes), the mod intercepts the event. It calculates a chance to completely prevent condition loss at the cost of dulling the blade a bit. Your character will comment via on-screen text when sharpness drops below certain thresholds, warning you that the blade is losing its edge.

The logic takes the following factors into consideration:

  • Current Sharpness: Higher sharpness grants a higher protection chance (scaled linearly with current sharpness).
  • Maintenance & Weapon Skill: Higher levels in maintenance and your proficiency with the specific weapon class increase the protection chance.

Note: Both the base protection chance and the sharpness degradation multiplier can be fully adjusted via the Sandbox Options.

Compatibility & Permissions:
  • Compatibility: Works out of the box with vanilla weapons (including the now sharpenable Katana) and all weapon packs that utilize the native "base:sharpenable" tag.
  • Server Packs: You are free to include this mod in your server packs. Please do not re-upload or modify the core code without permission.

Available Translations (in alphabetical order): Chinese, English, German, Japanese, Polish, Portuguese (BR), Russian, Spanish.
Don’t see your language? Feel free to post your translation in the comments, and I will gladly add it!

Keep your blade sharp, survivor.

Workshop ID: 3729571199
Mod ID: Condition Protection