Skip to content

Update Babel packages and enhance VtmDiceRoller features - #44

Merged
Barata-Ribeiro merged 8 commits into
mainfrom
implement-2d-vtm-dice-roller-p2
Aug 6, 2026
Merged

Update Babel packages and enhance VtmDiceRoller features#44
Barata-Ribeiro merged 8 commits into
mainfrom
implement-2d-vtm-dice-roller-p2

Conversation

@Barata-Ribeiro

Copy link
Copy Markdown
Owner

This pull request introduces a significant upgrade to the Vampire: The Masquerade (VTM) dice roller utility. The main improvements include a new visual dice rolling experience, stricter validation and user feedback, and a clearer, more user-friendly interface. Additionally, a utility function for dice rolling is now shared and the codebase has been refactored for maintainability. There are also minor dependency updates.

VTM Dice Roller UI and Functionality Enhancements:

  • Added a visual dice roll result display using VTM dice images, showing regular and hunger dice outcomes with appropriate graphics and tooltips (vtm-dice-roller.tsx, dice image imports).
  • Introduced a prominent alert explaining the difference between regular and hunger dice, improving user understanding (vtm-alert.tsx, used in vtm-dice-roller.tsx).
  • Enforced stricter input validation for dice counts (regular dice max 10, hunger dice max 5, hunger dice cannot exceed regular dice) and improved error feedback to users (vtm-dice-roller.tsx) [1] [2].

Code Structure and Utilities:

  • Extracted dice rolling logic into a reusable rollDie utility function (dice-roller.utils.ts), and updated the dice roller to use this utility [1] [2].

Documentation and Accessibility:

  • Added a disclaimer and source attribution for dice images in the UI (vtm-dice-roller.tsx).

Dependency Updates:

  • Updated several Babel dependencies to newer patch versions in pnpm-lock.yaml for improved stability and compatibility [1] [2] [3] [4] [5] [6] [7] [8].

These changes together provide a more interactive, visually engaging, and robust dice rolling tool for Vampire: The Masquerade players.

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
utilities-webapp Ready Ready Preview Aug 5, 2026 4:29pm

@Barata-Ribeiro

Copy link
Copy Markdown
Owner Author

Implement significant refactors and enhancements to the Vampire: The Masquerade (V5) dice roller utility. The main improvements include a complete rewrite of the dice-rolling logic to accurately represent V5 rules and a new alert to warn about possible mistakes when rolling dice.

@Barata-Ribeiro
Barata-Ribeiro merged commit 5a12360 into main Aug 6, 2026
3 checks passed
@Barata-Ribeiro
Barata-Ribeiro deleted the implement-2d-vtm-dice-roller-p2 branch August 6, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant