daggerheart/module
Iohan Trézze d549a609e3 [Feature] Configurable starting gold amounts in Homebrew settings
Added `initialAmount` field to each currency type (coins, handfuls, bags, chests)
in the Homebrew settings schema. Defaults match book values (0, 1, 0, 0).

- Homebrew.mjs: added `initialAmount` NumberField per currency; `_initializeSource`
  coerces empty submissions to 0; `refreshConfig()` syncs values to
  `CONFIG.DH.RESOURCE.character.initialCurrency`
- resourceConfig.mjs: added mutable `initialCurrency` object on `character` export
- actorField.mjs: added `CharacterGoldField` subclass that reads initial values
  from config at actor creation time
- character.mjs: switched from `GoldField` to `CharacterGoldField`
- settings.hbs: restructured currency section to CSS Grid with column headers
  ("Quantity Name" / "Starting Amount") instead of per-field inline labels
- settings.less: added `.currency-rows` grid styles
- en.json: added `quantityName` and `initialAmount` localisation keys
2026-06-05 23:29:50 -03:00
..
applications Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
canvas Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
config [Feature] Configurable starting gold amounts in Homebrew settings 2026-06-05 23:29:50 -03:00
data [Feature] Configurable starting gold amounts in Homebrew settings 2026-06-05 23:29:50 -03:00
dice Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
documents Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
enrichers Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
helpers Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
macros [V14] [Feature] Spotlight Without Combat (#1755) 2026-03-27 22:01:50 -04:00
systemRegistration Replace prettier with stylistic, improve types, and add no-undef rule (#1975) 2026-06-05 15:53:15 -04:00
_module.mjs Added system keybind for spotlighting a combatant (#1749) 2026-03-26 16:12:05 +01:00