This package contains art, text, or software code produced using generative AI.
Most code was developed collaboratively with Claude AI (Sonnet 4.5) based on the developer's requirements, with human-led testing and refinement.
Shadowdark Custom Coins is a module that extends the Shadowdark RPG system's coin management beyond the standard Gold, Silver, and Copper currencies. It enables Game Masters to add Electrum, Platinum, and fully custom coin types to their campaigns while maintaining Shadowdark's slot-based encumbrance system.
Core Functionality:
The module replaces Shadowdark's native coin tracking with an enhanced system that supports unlimited currency types. Each coin type has a configurable gold piece value and display order. The module automatically calculates total wealth in gold pieces and applies proper encumbrance—following Shadowdark's rule of 100 free coins, then 1 inventory slot per additional 100 coins across all currency types combined.
Key Features:
-
Configurable Currency System: Add, edit, or disable coin types through an intuitive settings menu. Set custom abbreviations, full names, gold piece values, and display order.
-
Seamless Integration: Coin inputs appear directly in character sheets with real-time calculation of total value and slots used. The module automatically hides native coin fields and manages a hidden "Coin Weight" inventory item to track encumbrance.
-
Smart Migration: Automatically transfers existing coins from Shadowdark's native system to the module's flag-based storage, preventing double-counting and ensuring accurate encumbrance.
-
Flexible Configuration: Adjust the coins-per-slot ratio (default 100) world-wide, with automatic recalculation for all characters.
Technical Implementation:
The module uses Foundry's flag system to store coin data, hooks into character sheet rendering to inject custom UI elements, and maintains a virtual inventory item for encumbrance tracking. It includes safeguards to prevent accidental deletion of the coin weight item and provides debug tools for troubleshooting.
Default Coin Types: Platinum (5 gp), Gold (1 gp), Electrum (0.5 gp), Silver (0.1 gp), Copper (0.01 gp)—all configurable or removable based on campaign needs.