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 {
|
||||
/** @override */
|
||||
static TABS = {
|
||||
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'
|
||||
},
|
||||
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: {
|
||||
tooltip: 'SIDEBAR.TabSettings',
|
||||
icon: 'fa-solid fa-gears'
|
||||
}
|
||||
settings
|
||||
};
|
||||
}
|
||||
|
||||
/** @override */
|
||||
static TABS = DhSidebar.buildTabs();
|
||||
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue