/FG-PFRPG-Item-Durability

This extension adds hardness, hitpoints, and damage fields to item sheets. It also does most of the work for you in calculating these values and applies penalties to broken weapons and armor.

Primary LanguageLuaOtherNOASSERTION

Build FG-Usable File Luacheck

Item Durability

This extension adds hardness, hitpoints, and damage fields to item sheets. It also does most of the work for you in calculating these values, although most items will need their 'substance' and 'thickness' fields filled in. For the list of accepted substances, see the items listed in brackets after "aSubstances" here. Thickness is in inches and can be any number (including non-whole numbers). A good starting point for a light bladed weapon is 0.125 inches, while a greatsword would be around .33 inches. Just use your best judgement on how thick the structure of an item is, and feel free to check your results against the reference table here.

Damage rolled can be dragged to the item damage field to have most applicable reductions performed, hardness subtracted, and the resulting damage added to the previous field contents. If the damage is at least 50% of the total item hitpoints, the broken condition is applied. If the damage is at least 100%, the item is unequipped or deleted, depending on the option configured.

If the item is a weapon, any attacks made with the broken item suffer a –2 penalty on attack and damage rolls. Such weapons only score a critical hit on a natural 20 and only deal ×2 damage on a confirmed critical hit. If the item is a suit of armor or a shield, the bonus it grants to AC is halved, rounding down. Broken armor doubles its armor check penalty on skills.

When attacking with a weapon, it will be checked for the "fragile" quality and broken automatically on a natural 1. If the weapon is already broken, the weapon will be destroyed instead.

Compatibility and Instructions

This extension has been tested with FantasyGrounds Unity v4.3.8 (2023-04-25).

Features

  • Simplifies tracking hitpoints of weapons, armor, and equipment.
  • Provides visual indication of item damage by color coding the number proportionately to damage.
  • Automate penalties for damaged armor and/or weapons and unequip or delete it if totally destroyed.
  • Calculate/guess hardness and hitpoints based on item type, properties, name, character size, and more. Many items require you to enter 'thickness' to get the final value.

Video Demonstration (click for video)