✨
This commit is contained in:
@@ -63,6 +63,10 @@
|
|||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.invisibleInput {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
.advancementBox {
|
.advancementBox {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,6 +29,22 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi
|
|||||||
return this.actor.name;
|
return this.actor.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** @override */
|
||||||
|
getData() {
|
||||||
|
const data = super.getData();
|
||||||
|
data.dtypes = ['String', 'Number', 'Boolean'];
|
||||||
|
|
||||||
|
// // Prepare items.
|
||||||
|
// if (this.actor.type == 'character') {
|
||||||
|
// this._prepareCharacterItems(data);
|
||||||
|
// }
|
||||||
|
// data['totalWealth'] = this.actor.itemTypes.item.reduce((total, item) => total + (!isNaN(item.system.cost) ? item.system.cost * (item.system.quantity ?? 0) : 0), this.actor.system.money);
|
||||||
|
data.data = this.actor.system;
|
||||||
|
// data['origins'] = this.actor.origins;
|
||||||
|
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
|
||||||
/** @override */
|
/** @override */
|
||||||
_configureRenderOptions(options) {
|
_configureRenderOptions(options) {
|
||||||
super._configureRenderOptions(options);
|
super._configureRenderOptions(options);
|
||||||
|
|||||||
@@ -53,6 +53,9 @@
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
.pokemon.sheet.characterSheet .invisibleInput {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
.pokemon.sheet.characterSheet .advancementBox {
|
.pokemon.sheet.characterSheet .advancementBox {
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.0.16",
|
"version": "0.0.17",
|
||||||
"id": "pokemon",
|
"id": "pokemon",
|
||||||
"title": "Pokémon TTRPG",
|
"title": "Pokémon TTRPG",
|
||||||
"description": "A Pokémon TTRPG",
|
"description": "A Pokémon TTRPG",
|
||||||
|
|||||||
BIN
system.zip
BIN
system.zip
Binary file not shown.
Reference in New Issue
Block a user