added language item

- added to database and localization definitions
- added sheet
- added to talents overview
This commit is contained in:
Gesina Schwalbe 2021-01-08 23:23:53 +01:00
parent 9addb66a50
commit f8e1f32439
8 changed files with 60 additions and 17 deletions

View file

@ -50,6 +50,7 @@ export const DS4 = {
equipment: "DS4.ItemTypeEquipment",
talent: "DS4.ItemTypeTalent",
racialAbility: "DS4.ItemTypeRacialAbility",
language: "DS4.ItemTypeLanguage",
},
/**

View file

@ -32,6 +32,7 @@ Hooks.once("init", async function () {
async function registerHandlebarsPartials() {
const templatePaths = [
"systems/ds4/templates/item/partials/sheet-header.hbs",
"systems/ds4/templates/item/partials/description.hbs",
"systems/ds4/templates/item/partials/details.hbs",
"systems/ds4/templates/item/partials/effects.hbs",

View file

@ -7,7 +7,8 @@ export type DS4ItemDataType =
| DS4Trinket
| DS4Equipment
| DS4Talent
| DS4RacialAbility;
| DS4RacialAbility
| DS4Language;
// types
@ -34,6 +35,7 @@ interface DS4Shield extends DS4ItemBase, DS4ItemPhysical, DS4ItemEquipable, DS4I
interface DS4Trinket extends DS4ItemBase, DS4ItemPhysical, DS4ItemEquipable {}
interface DS4Equipment extends DS4ItemBase, DS4ItemPhysical {}
type DS4RacialAbility = DS4ItemBase;
type DS4Language = DS4ItemBase;
// templates