✨
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
export default class PokemonItemSheet extends ItemSheet {
|
export default class PokemonItemSheet extends foundry.appv1.sheets.ItemSheet {
|
||||||
get template() {
|
get template() {
|
||||||
return `systems/pokemon/templates/sheets/${this.item.type}-sheet.html`
|
return `systems/pokemon/templates/sheets/${this.item.type}-sheet.html`
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,6 @@ import PokemonItemSheet from "./modules/sheets/PokemonItemSheet.js";
|
|||||||
Hooks.once("init", function() {
|
Hooks.once("init", function() {
|
||||||
console.log("pokemon | Initializing the Pokémon system");
|
console.log("pokemon | Initializing the Pokémon system");
|
||||||
|
|
||||||
Items.unregisterSheet("core", ItemSheet);
|
foundry.documents.collections.Items.unregisterSheet("core", foundry.appv1.sheets.ItemSheet);
|
||||||
Items.registerSheet("pokemon", PokemonItemSheet, { makeDefault: true });
|
foundry.documents.collections.Items.registerSheet("pokemon", PokemonItemSheet, { makeDefault: true });
|
||||||
});
|
});
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.0.6",
|
"version": "0.0.7",
|
||||||
"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