from totem to vermine - v0.0.12
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import {onManageActiveEffect, prepareActiveEffectCategories} from "../system/effects.mjs";
|
||||
import { TotemActorSheet } from "./actor-sheet.mjs";
|
||||
import { VermineActorSheet } from "./actor-sheet.mjs";
|
||||
|
||||
/**
|
||||
* Extend the basic ActorSheet with some very simple modifications
|
||||
* @extends {ActorSheet}
|
||||
*/
|
||||
export class TotemCreatureSheet extends ActorSheet {
|
||||
export class VermineCreatureSheet extends ActorSheet {
|
||||
|
||||
/** @override */
|
||||
static get defaultOptions() {
|
||||
return mergeObject(super.defaultOptions, {
|
||||
classes: ["totem", "sheet", "actor"],
|
||||
template: "systems/totem/templates/actor/actor-sheet.html",
|
||||
classes: ["vermine2047", "sheet", "actor"],
|
||||
template: "systems/vermine2047/templates/actor/actor-sheet.html",
|
||||
width: 600,
|
||||
height: 600,
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "features" }]
|
||||
@@ -20,7 +20,7 @@ export class TotemCreatureSheet extends ActorSheet {
|
||||
|
||||
/** @override */
|
||||
get template() {
|
||||
return `systems/totem/templates/actor/actor-${this.actor.type}-sheet.html`;
|
||||
return `systems/vermine2047/templates/actor/actor-${this.actor.type}-sheet.html`;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@@ -39,7 +39,7 @@ export class TotemCreatureSheet extends ActorSheet {
|
||||
// Add the actor's data to context.data for easier access, as well as flags.
|
||||
context.system = actorData.system;
|
||||
context.flags = actorData.flags;
|
||||
context.config = CONFIG.TOTEM;
|
||||
context.config = CONFIG.VERMINE;
|
||||
|
||||
// Prepare character data and items.
|
||||
if (actorData.type == 'character') {
|
||||
|
||||
Reference in New Issue
Block a user