DICE PACKS BUNDLE
  1. #1

    Join Date
    Mar 2009
    Location
    Lidingö, Sweden, Europe
    Posts
    374

    BRP Automatic encumbrance penalty calculator extension

    This extension calculates and applies encumbrance penalties according to the 2010 edition of Basic Roleplaying. The rules are found on p. 180 and 261 (p. 182 and 263 in the PDF version).

    The extension uses the following rules:

    • Encumbrance penalty for physical skills: skill penalty per type of armor (if worn), includes all physical skills (including dodge).
    • Encumbrance penalty for the dodge skill: ENC - ENC for worn (equipped) armor, i.e. carried armor does count for dodge penalty.
    • Encumbrance penalty for perception skills: skill penalty per type of armor (if worn).


    Forge Link: https://forge.fantasygrounds.com/shop/items/1253/view


    Version history:
    2023-06-29 Version 1.0 Initial version.
    2023-08-09 Version 1.1 Cleaned up code and fixed a bug: the correct skill category was not selected and as a result the dodge penalty was applied incorrectly.
    2023-08-11 Version 1.2 Gave a name to "campaign/scripts/encumbrance_penalty.lua" so that the roll skill chat command can access its code.
    2023-08-13 Version 1.3 Refactored code so that the BRP Roll Skill extension could co-exist with this extension. Moved campaign/scripts/encumbrance_penalty.lua to scripts/manager_char_encumberance_penalty.lua.

    Source code included below
    Attached Files Attached Files
    Last edited by peterb; August 13th, 2023 at 21:31. Reason: Updated code

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
STAR TREK 2d20

Log in

Log in