daggerheart/module/data/actor
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
..
_module.mjs [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
adversary.mjs Fix tier adjustment on actions that use standard attack damage (#1942) 2026-05-30 12:47:06 +02:00
base.mjs [Fix] origin change values and prioritize item options (#1835) 2026-04-26 00:06:41 +02:00
character.mjs [Feature] Configurable starting gold amounts in Homebrew settings 2026-06-05 23:29:50 -03:00
companion.mjs [Fix] companion hope levelup feature and default stress (#1839) 2026-04-26 11:20:06 +02:00
creature.mjs [Fix] companion hope levelup feature and default stress (#1839) 2026-04-26 11:20:06 +02:00
environment.mjs Show notification when invalid item types are added to actors (#1807) 2026-04-16 08:23:25 +02:00
npc.mjs [Feature] NPC Actors (#1949) 2026-05-30 21:11:43 -04:00
party.mjs Prevent class sheet and character errors when features/domains no longer exist (#1833) 2026-04-24 20:49:42 +02:00
tierAdjustment.mjs Fix several issues with inline damage (#1973) 2026-06-05 11:33:20 +02:00