STAR TREK 2d20
Page 1 of 12 12311 ... Last
  1. #1

    [Extension] 5E Attunement Tracker

    This is an extension for the 5E rule set to add a column at the end of the Character Sheet Inventory tab to allow players to track which items they have attuned. I found no way to track this easily within Fantasy Grounds, so created the extension.

    Thanks to badgr for providing an update to the extension that adds proficiency based attunement, artificer support, smart attunement, and individual attunement limits. Also for directing me on how to make more improvements.
    Thanks to st4lk3r87 for providing an update to the extension that adds an option to change the attunement limit from 1 to 10 within Options and also enforce the limit on the inventory tab. The default value is 3.
    Thanks to Valerian for providing an update to the extension that correctly handles deleting an item and updating the total attunement count.

    Version Changes
    2021/04/11 - Fixed an oversight where the [Add Item] button was covered by the attunement counter label.

    Screenshots and Explanation
    New Section in Options Menu to set the default attunement limit for all characters. Choices include 2, 3, 4, 5, or Proficiency Bonus based attunement limit.



    Equipment now has an ATND column to check which items a character is attuned to. Items will be parsed to have a dash [-] if they do not have the tag "Requires Attunement". Once the limit is hit, further attunement will be disabled with an icon. The current and maximum attunement counts for each character are displayed and updated in real time above the ATND column.



    The Link next to the ATND column opens settings for individual characters, allowing one character to have additional or fewer attunement slots. The total limit is updated instantly on the equipment page.



    These options should allow tracking of any future total attunement errors, and provide a multitude of options for those of you who wish to have very customized attunement settings.

    Compatibility
    The extension should be fully compatible with other extensions since it employs a merge join.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by dmssanctum; April 11th, 2021 at 16:58. Reason: Extension update

  2. #2
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,736
    Nice. Send me a PM so I remember to add it to the extension sticky.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  3. #3
    Awesome! Nicely done and thanks for sharing.
    Live stream: https://www.twitch.tv/gwydione
    Youtube replays of fg sessions and tutorials: https://www.youtube.com/channel/UCQr...bIpAauZB41z8gA

    Free stuff:
    D&D5e FAQ module for fg: https://www.dmsguild.com/product/196704/FAQs
    FG 5e Module Conversions: https://tinyurl.com/y6awo2la
    Map Maker Conversion: https://tinyurl.com/y3awlo4b
    Roll Player Conversion: https://tinyurl.com/y399kffz
    Rangers of Shadow Deep Conversion: https://tinyurl.com/rnyrgwg

  4. #4
    How would I go about limiting the attunement to 3? For those of us who use raw.

  5. #5
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,736
    Hi skarr and welcome to FG.

    As the author says in his initial post just count the ticks. Once you get to three that's it. (Just because there is no limit doesn't mean that it can't be used RAW; I suspect that it was just easier to not try to limit it to any particular number)

    If you wanted to actually gray out the boxes once the third one is ticked you'd need to dig into the code yourself.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  6. #6
    Thanks for the quick response Zacchaeus! I was afraid that was going to be the answer.. Guess I will try to learn .xml !!

  7. #7
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,736
    Quote Originally Posted by skarr View Post
    Thanks for the quick response Zacchaeus! I was afraid that was going to be the answer.. Guess I will try to learn .xml !!
    I suspect lua as well.
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  8. #8
    Quote Originally Posted by skarr View Post
    How would I go about limiting the attunement to 3? For those of us who use raw.
    It's been a while since I touched this, but I chose to leave it unlimited so that people could just count them and it would be fast to code. Creating a hard limit looked to be difficult, since that would be a different use of the checkboxes than anything else I've seen in Fantasy Grounds. Normally you have a specific number of boxes and once they are ticked, they grey out / disappear (Inspiration, spells). If that happened, your attunement boxes could disappear entirely. If I get some time, I will see if I can find some code that will work in this situation. The ideal scenario would be adding a selection in the Options that lets you select how many attunement slots you want to enforce, but I felt trying to go that far was overkill.

    Some of my players have complained that they want the 3 limit to be hard coded, so they don't have to count or pay attention, but this is still a lot better than having no guidance for tracking attunement at all, like a standard character sheet or any app I've seen.

  9. #9
    I agree, this IS MUCH better than nothing, and I appreciate your time in making this extension. I was just curious how hard it would be to limit the number of items. I like your idea of having it in the options menu but that sounds like a lot of effort for not much gain. For now my lazy players will just have to deal with it. Thanks for you time!

  10. #10
    Yea, that's what it boils down to, effort vs gain. I wanted some way to track it, but didn't want to have to spend days learning and troubleshooting the code. I'm not sure how much this extension is used right now, but if more people think the effort is worth it, I'll try to tackle it.

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
  •  
FG Spreadshirt Swag

Log in

Log in