daggerheart/module/data/fields
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
..
action Fixed ActiveEffectConfig not opening because NPC was not excluded. Fixed active effects not being appliable to NPCs because they lack system.rules (#1956) 2026-06-01 00:03:37 +02:00
_module.mjs [Feature] Damage Iterrable Rework (#1685) 2026-03-08 00:58:24 +01:00
actionField.mjs [Feature] Action Areas (#1815) 2026-04-21 22:27:52 +02:00
actorField.mjs [Feature] Configurable starting gold amounts in Homebrew settings 2026-06-03 23:56:25 -03:00
foreignDocumentUUIDArrayField.mjs Prevent class sheet and character errors when features/domains no longer exist (#1833) 2026-04-24 20:49:42 +02:00
foreignDocumentUUIDField.mjs [Feature] Improves ForeignDocumentUUIDArrayField for can use documents to update it. (#963) 2025-08-17 18:55:33 +02:00
formulaField.mjs [Feature] Beastform Compendium (#434) 2025-07-27 21:26:28 +02:00
itemLinkFields.mjs [Fix] Itemlink Redux Revengeance (#399) 2025-07-26 00:37:30 +02:00
iterableTypedObjectField.mjs [V14] TagTeamRoll Rework (#1732) 2026-03-16 09:31:15 +01:00
triggerField.mjs [Feature] Trigger System (#1500) 2026-01-11 11:51:05 +01:00