some minor consumables fixes, more to come later (#429)

* some minor consumables fixes, more to come later

* another typo T_T

* more loot rename fixes

* more loot fixes

* Changed miscellaneous to loot

---------

Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
CPTN Cosmo 2025-07-27 15:50:48 +02:00 committed by GitHub
parent 8cb4b7663e
commit 5215212e02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
86 changed files with 5254 additions and 1049 deletions

View file

@ -55,7 +55,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
},
{
handler: CharacterSheet.#getItemContextOptions,
selector: '[data-item-uuid][data-type="consumable"], [data-item-uuid][data-type="miscellaneous"]',
selector: '[data-item-uuid][data-type="consumable"], [data-item-uuid][data-type="loot"]',
options: {
parentClassHooks: false,
fixed: true
@ -325,7 +325,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
}
/**
* Get the set of ContextMenu options for Consumable and Miscellaneous.
* Get the set of ContextMenu options for Consumable and Loot.
* @returns {import('@client/applications/ux/context-menu.mjs').ContextMenuEntry[]} - The Array of context options passed to the ContextMenu instance
* @this {CharacterSheet}
* @protected