- 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)
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
* Initial
* .
* Fixed positioning
* .
* Only showing the menu if there are extra resources
* Improved resourceManager clickable
* .
* Changed variable name
* Refactor resources selection and data prep (#1721)
* Move resources select to scrolly text and accept actor object
* Convert isReversed to prepared data and add label
* Removed unused imports
---------
Co-authored-by: WBHarry <williambjrklund@gmail.com>
* Naming
* [Feature] Custom Homebrew Resources (#1718)
* Added resources to the Homebrew Menu
* Fixed translations
* .
* Inverted from isImage to isIcon. Should be more logical for users
* Removed testing resources
* Refactor resource settings to not be a method (#1723)
* Fix editing homebrew resources with a custom ResourcesField
* Fix removing homebrew resources
* Remove vestigial code
* Use custom config for module data instead of including in all (#1724)
* Use custom config for module data instead of including in all
* More simple
* base highest priority
---------
Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
* Improved the autocomplete typing experience
* Made it work. But I hate it.
* Revert "Made it work. But I hate it."
This reverts commit d2fc9fd648.
* Actually nice solution instead O_O
* Initial
* Added Character-Settings
* Finalized Character-Settings
* Hide CharacterSetup if any part is done manually
* Fixed class/subclass drag-drop
* Fixed relinking of Features from items created on Character
* Adding features on CharacterItems now adds them on the Character and relinks
* Made suggested items inactive in the Class sheet if rendered from inside a Character
* Added hope to CharacterSetting
* add style to textarea element, add spellcasting and domain class into char sheet and move rest buttons to another place
* Fixed characterCreation experience description
---------
Co-authored-by: moliloo <dev.murilobrito@gmail.com>
* Troubleshooting
Created test button in 'duality-roll.hbs' and functionality in chatLog.mjs
* Updated functionality
dialog recheck.
* Update duality-roll.hbs
testing toggle on specific areas so only tooltip is triggered.
Rest of CSS functionality not affected.
* Redoing Dice Reroll functionality
Attempting something new
* The rise of NaNs
Resolved Dice Parsing Errors, now dealing with parsing errors from system values.
* Forcing string evaluation for testing
* Fixed rerolling of duality dice
* Fixed message.rolls not being updated
* Added support for d20 rolls
* PR fixes
---------
Co-authored-by: Nikhil Nagarajan <potter.nikhil@gmail.com>