mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Cleanup
This commit is contained in:
parent
5a97755506
commit
210a093e49
2 changed files with 0 additions and 19 deletions
|
|
@ -12,8 +12,6 @@ const { TextEditor } = foundry.applications.ux;
|
|||
export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
|
||||
constructor(options = {}) {
|
||||
super(options);
|
||||
|
||||
this.contextMenu = null;
|
||||
}
|
||||
|
||||
static DEFAULT_OPTIONS = {
|
||||
|
|
@ -276,11 +274,6 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
|
|||
},
|
||||
callback: this.constructor.toggleVault.bind(this)
|
||||
},
|
||||
consumeItem: {
|
||||
name: 'DAGGERHEART.Sheets.PC.ContextMenu.Consume',
|
||||
icon: '<i class="fa-solid fa-bottle-droplet"></i>',
|
||||
callback: this.constructor.useItem.bind(this)
|
||||
},
|
||||
sendToChat: {
|
||||
name: 'DAGGERHEART.Sheets.PC.ContextMenu.SendToChat',
|
||||
icon: '<i class="fa-regular fa-message"></i>',
|
||||
|
|
@ -298,8 +291,6 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
|
|||
case 'domainCard':
|
||||
menuItems.push(...[allOptions.sendToLoadout, allOptions.sendToVault]);
|
||||
break;
|
||||
case 'consumable':
|
||||
menuItems.push(...[allOptions.consumeItem]);
|
||||
}
|
||||
menuItems.push(...[allOptions.sendToChat, allOptions.edit, allOptions.delete]);
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ export default class RegisterHandlebarsHelpers {
|
|||
includes: this.includes,
|
||||
debug: this.debug,
|
||||
signedNumber: this.signedNumber,
|
||||
cleanClass: this.cleanClass,
|
||||
tertiary: this.tertiary,
|
||||
length: this.length,
|
||||
switch: this.switch,
|
||||
case: this.case,
|
||||
|
|
@ -139,12 +137,4 @@ export default class RegisterHandlebarsHelpers {
|
|||
console.log(a);
|
||||
return a;
|
||||
}
|
||||
|
||||
static cleanClass(className) {
|
||||
return className.replaceAll('.', '-');
|
||||
}
|
||||
|
||||
static tertiary(condition, a, b) {
|
||||
return condition ? a : b;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue