Thread: 5E - Ammo Manager
-
September 16th, 2022, 03:36 #1
5E - Ammo Manager
Forge Page:
https://forge.fantasygrounds.com/shop/items/845/view
Description:
This D&D 5E extension allows players to link an ammo entry in their inventory to the ammo a weapon uses in the actions tab of their character sheet. The linked ammo's count will be automatically changed in the actions tab when it is increased or decreased in the inventory, and - upon ammo recovery - will update the inventory's ammo count accordingly.
Ammo bundles (i.e. "Arrows (20)" ) are handled correctly, and ammo will only be removed from the inventory in batches of the number listed in the item's name (20 in this case). The remainder will stay ticked in the actions tab (future recoveries will not take into account the remainder from a previous recovery. For this reason, it is recommended you adjust the bundle amount in your inventory manually after a recovery, or you use ammo singles).
An added house rule setting allows you to pick between 25%, 50% (default), 75%, and 100% ammo recovery.
Specifics:
In order to be correctly linked, an item record must be in the players inventory and must have the subtype "Ammunition". The copy of the record that exists in the inventory must be dragged onto the empty link space on the actions tab next to the ammo count for the weapon you want to link it to. Multiple weapons can share the same ammo entry in the inventory, and their checkboxes will be synced. Two new radial menu options will appear when right-clicking the ammo counter: "Remove Ammo Link" to break the link between the weapon and the ammo entry in the inventory, and "Recover Ammo" to untick all ticked ammo checkboxes and remove half (by default) the expended ammo from your inventory.
Compatibility:
This extension should be fully compatible with most extensions, unless another extension modifies the ammo section of the actions tab.
Github:
https://github.com/GE0NE/FGU-AmmoManager
Changelog:
- Hotfix to v1.0.1.5
--Fixed not removing weapon entry after weapon removed from inventory.
- Hotfix to v1.0.1.4
--Fixed not hiding non-ranged link on clients' view.
- Hotfix to v1.0.1.3
--Fixed infinite loop for real this time.
- Hotfix to v1.0.1.2
--Fixed infinite loop when unticking ammo checkboxes.
- Hotfix to v1.0.1.1
--Fixed invalid processing when removing ammo not linked to any weapon from an inventory.
- Updated to v1.0.1
--Multiple weapons using the same ammo entry will have their ammo checkboxes linked.
- Released v1.0.0Last edited by GEONE; November 1st, 2023 at 01:02. Reason: Hotfix to v1.0.1.5
-
September 16th, 2022, 12:45 #2
Very nice! Any plans to put it on github or gitlab?
I'd love to extend it to all CoreRPG-based rulesets.
EDIT: looks like it relies heavily on some stuff that aren't available in CoreRPG so it's not going to be as easy as I'd hoped!Last edited by bmos; September 20th, 2022 at 14:22.
-
September 16th, 2022, 13:25 #3
Sure, here you go: https://github.com/GE0NE/FGU-AmmoManager
I might go through and add comments when I have time, but hopefully things are understood easily enough as-is.Last edited by GEONE; September 16th, 2022 at 13:38.
-
September 18th, 2022, 07:15 #4
-
September 18th, 2022, 14:58 #5
Looking forward to trying this out.
FG:Unity Ultimate License Holder: Meaning anyone can join my games, even those with just the Demo . . .
Timezone: UTC-6/CST (My 'Current' Local Time)
Currently Running: An Old-School Essentials campaign, set in Hârn . . . Here is the discord channel -> Hârnic OSE.
Current Design Project: Developing a stand-alone "Hârnic 5e" setting for OSE and Fifth Edition . . .
-
September 19th, 2022, 18:42 #6
Nice job, thanks for sharing!
My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
-
September 20th, 2022, 13:50 #7
- Hotfix to v1.0.1.2
Patched an urgent bug causing an infinite loop when manually unchecking ammo checkboxes that share an ammo link with another weapon. Forge build should hopefully be approved soon
- Hotfix to v1.0.1.3
Patched infinite loop for real this time (client issue)Last edited by GEONE; September 27th, 2022 at 05:12.
-
September 23rd, 2022, 23:26 #8
- Join Date
- Feb 2019
- Posts
- 10
Love it!
slight improvement question?
would it be possible to add the extra damage and or effects special arrows do?
-
October 18th, 2022, 19:40 #9
- Join Date
- Jan 2020
- Posts
- 280
Very helpful addition. The view from the player's side is different than expected though and a little buggy. Non-ranged weapons have the ammo indicator and in some cases it overlaps with the other controls.
Player view - player.jpg
DM view - dm.jpg
-
October 18th, 2022, 20:27 #10
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks