foundry-workshop / ammo-swapper Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Right now the bar seems to default to the right of the hotbar, but there are lots of modules that utilize this same area, causing it to block them. Would be nice if we could have some kind of configuration to move this bar elsewhere, especially as it doesn't stay a standard size, but grows as the character has more ranged weapons.
Environment Details:
Foundry VTT Version: 0.7.1
Operating System: [Linux]
How Are You Using Foundry: [Linux,Native Application (Electron), Chrome]
Which Game System: Dungeons and Dragons 5th Edition, version 0.96
Modules Enabled?: yes
OS, Hosting, Browser (if applicable): Linux/Node/Chrome
Module Version : 0.1.1
Description of the issue:
A better styling concept for this module wil be to show up a list of options not only for the ammunition, but for the ranged weapons too, without generate a new panel for each weapon ranged equipped.
It will be more usable with little monitor or mobile device.
Here some screenshoot for make more clear what i meant:
Module Version: v0.2.2
Describe the bug
No matter what I've tried, I have been unable to get the Ammo Swapper UI to pop up. (To be clear, I haven't gotten it working on older versions, either)
As a diagnostic, I tried creating a brand new test world, enabling the module, creating a player, creating a player character, giving the character a crossbow and bolts, and then logging in as the character. I then followed the regular instructions (i.e. assigning character, then equipping weapon). Even in a clean environment like this, no UI element pops up.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Ammo Swapper UI should pop up
Screenshots
This is probably related. I get slightly different errors depending on whether I'm on the 'clean' game world or my normal one.
"Real" game world:
Clean world (no other modules):
Browser:
Foundry Version: 11 build 315
Game System: PF2E 5.12.7
Additional context
I saw there was a closed bug #2 that described similar issues, but I haven't been able to get this working anywhere, after trying multiple computers. That bug also seems to be old. There's a comment there about certain conditions needing to be met for it to show up, but after fiddling around with the items as GM, that didn't seem to make any difference.
When using a repeating crossbow in pf2e or other common magazines, there will be individual non-stacked weapons defined by charges instead of total numbers. It would be nice to see Repeating Hand Crossbow Magazine (3/5) instead of Repeating Hand Crossbow Magazine (1)
Module Version: v0.3.0
Describe the bug
AmmoSwapper HUD is not displaying. Console says it is displaying
To Reproduce
Steps to reproduce the behavior:
Expected behavior
HUD should show up
Browser:
Foundry Version:
11.315
Game System:
DND 3.0.3
Additional context
I disabled all other modules except for TokenActionHUD before testing
Would love to have the hud visiable for GM aswell as an option
incase we have a few goblins with fire/acid/snaring arrows that they need to switch between!
Lots of love!
Module Version: v0.1.2
Describe the bug
We noticed that some users are able to view this module. However, I, as a GM, am unable to view the icons in the bottom left even when selecting the token for the character. Additionally, I logged in as a separate character and attempted to add a ranged weapon and ammunition to the character sheet. I hooked up the weapon to the ammunition, equipped the weapon, and even then, no icons appeared near the macro bar.
However, one player managed to see it without issues. They initially logged in via Firefox. I can now log in via Chrome into their player account and see the module.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We expected that anyone logged in with a bow (or other weapon consuming ammunition) equipped would be able to see the options to quickly change ammo. This includes the GM.
Screenshots
If applicable, add screenshots to help explain your problem.
Browser:
Foundry Version:
0.6.6
Game System:
D&D5E
Additional context
None. The same bug exists even when disabling all other modules.
Module Version: v0.1.2
Describe the bug
When swapping ammo between two choices, you have to select the current choice to toggle selection to the other choice, and it does not actually switch the ammo being used.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Swaps to the selected ammo and the weapon uses the selected ammo.
Screenshots
If applicable, add screenshots to help explain your problem.
Using Edge browser
Foundry Version 7.5:
ADD5E
Additional context
DAE, MidiQOL, Furnace, CUB modules enabled
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.