Initial items
This commit is contained in:
@@ -15,13 +15,15 @@ export default class FTLNomadArmorSheet extends FTLNomadItemSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/armor.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/armor.hbs",
|
||||
},
|
||||
}
|
||||
|
||||
/** @override */
|
||||
async _prepareContext() {
|
||||
const context = await super._prepareContext()
|
||||
context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true })
|
||||
|
||||
return context
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import FTLNomadActorSheet from "./base-actor-sheet.mjs"
|
||||
|
||||
export default class FTLNomadNPCSheet extends FTLNomadActorSheet {
|
||||
export default class FTLNomadCreatureSheet extends FTLNomadActorSheet {
|
||||
/** @override */
|
||||
static DEFAULT_OPTIONS = {
|
||||
classes: ["npc"],
|
||||
@@ -12,9 +12,9 @@ export default class FTLNomadNPCSheet extends FTLNomadActorSheet {
|
||||
contentClasses: ["npc-content"],
|
||||
},
|
||||
actions: {
|
||||
createArmor: FTLNomadNPCSheet.#onCreateArmor,
|
||||
createWeapon: FTLNomadNPCSheet.#onCreateWeapon,
|
||||
createSkill: FTLNomadNPCSheet.#onCreateSkill,
|
||||
createArmor: FTLNomadCreatureSheet.#onCreateArmor,
|
||||
createWeapon: FTLNomadCreatureSheet.#onCreateWeapon,
|
||||
createSkill: FTLNomadCreatureSheet.#onCreateSkill,
|
||||
|
||||
},
|
||||
}
|
||||
@@ -22,16 +22,16 @@ export default class FTLNomadNPCSheet extends FTLNomadActorSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/npc-main.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/creature-main.hbs",
|
||||
},
|
||||
tabs: {
|
||||
template: "templates/generic/tab-navigation.hbs",
|
||||
},
|
||||
skills: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/npc-skills.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/creature-skills.hbs",
|
||||
},
|
||||
biography: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/npc-biography.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/creature-biography.hbs",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -15,13 +15,14 @@ export default class FTLNomadEquipmentSheet extends FTLNomadItemSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/equipment.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/equipment.hbs",
|
||||
},
|
||||
}
|
||||
|
||||
/** @override */
|
||||
async _prepareContext() {
|
||||
const context = await super._prepareContext()
|
||||
context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true })
|
||||
return context
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ export default class FTLNomadImplantSheet extends FTLNomadItemSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/implant.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/implant.hbs",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export default class FTLNomadLanguageSheet extends FTLNomadItemSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/language.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/language.hbs",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export default class FTLNomadPsionicSheet extends FTLNomadItemSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/psionic.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/psionic.hbs",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ export default class FTLNomadWeaponSheet extends FTLNomadItemSheet {
|
||||
/** @override */
|
||||
static PARTS = {
|
||||
main: {
|
||||
template: "systems/fvtt-cthulhu-eternal/templates/weapon.hbs",
|
||||
template: "systems/fvtt-ftl-nomad/templates/weapon.hbs",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user