mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
Updated the sidebar so the new Placeables tab coems in
This commit is contained in:
parent
c17020c2c8
commit
6a0a8d8d6e
1 changed files with 14 additions and 47 deletions
|
|
@ -1,52 +1,19 @@
|
||||||
export default class DhSidebar extends foundry.applications.sidebar.Sidebar {
|
export default class DhSidebar extends foundry.applications.sidebar.Sidebar {
|
||||||
|
static buildTabs() {
|
||||||
|
const { settings, ...tabs } = super.TABS;
|
||||||
|
return {
|
||||||
|
...tabs,
|
||||||
|
daggerheartMenu: {
|
||||||
|
tooltip: 'DAGGERHEART.UI.Sidebar.daggerheartMenu.title',
|
||||||
|
img: 'systems/daggerheart/assets/logos/FoundryBorneLogoWhite.svg',
|
||||||
|
gmOnly: true
|
||||||
|
},
|
||||||
|
settings
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
static TABS = {
|
static TABS = DhSidebar.buildTabs();
|
||||||
chat: {
|
|
||||||
documentName: 'ChatMessage'
|
|
||||||
},
|
|
||||||
combat: {
|
|
||||||
documentName: 'Combat'
|
|
||||||
},
|
|
||||||
scenes: {
|
|
||||||
documentName: 'Scene',
|
|
||||||
gmOnly: true
|
|
||||||
},
|
|
||||||
actors: {
|
|
||||||
documentName: 'Actor'
|
|
||||||
},
|
|
||||||
items: {
|
|
||||||
documentName: 'Item'
|
|
||||||
},
|
|
||||||
journal: {
|
|
||||||
documentName: 'JournalEntry',
|
|
||||||
tooltip: 'SIDEBAR.TabJournal'
|
|
||||||
},
|
|
||||||
tables: {
|
|
||||||
documentName: 'RollTable'
|
|
||||||
},
|
|
||||||
cards: {
|
|
||||||
documentName: 'Cards'
|
|
||||||
},
|
|
||||||
macros: {
|
|
||||||
documentName: 'Macro'
|
|
||||||
},
|
|
||||||
playlists: {
|
|
||||||
documentName: 'Playlist'
|
|
||||||
},
|
|
||||||
compendium: {
|
|
||||||
tooltip: 'SIDEBAR.TabCompendium',
|
|
||||||
icon: 'fa-solid fa-book-atlas'
|
|
||||||
},
|
|
||||||
daggerheartMenu: {
|
|
||||||
tooltip: 'DAGGERHEART.UI.Sidebar.daggerheartMenu.title',
|
|
||||||
img: 'systems/daggerheart/assets/logos/FoundryBorneLogoWhite.svg',
|
|
||||||
gmOnly: true
|
|
||||||
},
|
|
||||||
settings: {
|
|
||||||
tooltip: 'SIDEBAR.TabSettings',
|
|
||||||
icon: 'fa-solid fa-gears'
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
static PARTS = {
|
static PARTS = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue