daggerheart/templates/settings/homebrew-settings
Iohan Trézze 7c84de6a96 [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-03 23:56:25 -03:00
..
change-currency-icon.hbs [Feature] Support for configurable currency icons (#1422) 2025-12-13 23:03:34 +01:00
domains.hbs Adding scrollable to various tabs in the homebrew settings (#1483) 2025-12-28 17:26:39 +01:00
downtime.hbs Fixed DowntimeMoves and ItemFeatures reset functions (#1568) 2026-01-21 13:47:03 +01:00
footer.hbs Corrected use of Foundry's Reset translation 2026-04-15 18:47:20 +02:00
itemFeatures.hbs Fixed DowntimeMoves and ItemFeatures reset functions (#1568) 2026-01-21 13:47:03 +01:00
resources.hbs [Feature] Custom Resources (#1714) 2026-03-11 11:10:28 +01:00
settings.hbs [Feature] Configurable starting gold amounts in Homebrew settings 2026-06-03 23:56:25 -03:00
types.hbs Adding scrollable to various tabs in the homebrew settings (#1483) 2025-12-28 17:26:39 +01:00