[Fix] Address PR review feedback for starting gold feature

- Disabled denominations now receive 0 at character creation
- Replace CharacterGoldField subclass with GoldField options callback;
  initial value logic now lives in character.mjs
- Use formInput instead of plain text inputs for denomination labels
- Rename "Quantity Name" column header to "Denomination"
- Remove initialCurrency from resourceConfig and currency sync from
  refreshConfig (no longer needed)
This commit is contained in:
Iohan Trézze 2026-06-05 23:27:37 -03:00
parent d549a609e3
commit 83b25f4771
6 changed files with 39 additions and 30 deletions

View file

@ -239,11 +239,6 @@ export default class DhHomebrew extends foundry.abstract.DataModel {
...config.base
});
}
const currencyInitial = CONFIG.DH.RESOURCE.character.initialCurrency;
for (const type of ['coins', 'handfuls', 'bags', 'chests']) {
currencyInitial[type] = this.currency[type].initialAmount;
}
}
}