First sheet release with datas

This commit is contained in:
2022-03-22 09:01:20 +01:00
parent 178ccbd12f
commit 46d666b779
38 changed files with 923 additions and 655 deletions

View File

@ -15,7 +15,7 @@ export class Imperium5ActorSheet extends ActorSheet {
return mergeObject(super.defaultOptions, {
classes: ["fvtt-imperium5", "sheet", "actor"],
template: "systems/fvtt-imperium5/templates/actor-sheet.html",
width: 920,
width: 800,
height: 720,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "combat" }],
dragDrop: [{ dragSelector: ".item-list .item", dropSelector: null }],
@ -41,6 +41,13 @@ export class Imperium5ActorSheet extends ActorSheet {
archetype: this.actor.getArchetype(),
specialites: this.actor.getSpecialites(),
familiarites: this.actor.getFamiliarites(),
nature: this.actor.getNatureProfonde(),
traits: this.actor.getTraits(),
symbioses: this.actor.getSymbioses(),
equipements: this.actor.getEquipements(),
capacites: this.actor.getCapacites(),
singularites: this.actor.getSingularites(),
contacts: this.actor.getContacts(),
effects: this.object.effects.map(e => foundry.utils.deepClone(e.data)),
limited: this.object.limited,
options: this.options,