diff --git a/less/character-sheet.less b/less/character-sheet.less index afca1ba..2376d23 100644 --- a/less/character-sheet.less +++ b/less/character-sheet.less @@ -556,4 +556,16 @@ .moveName { width: 150px; } + + .normal { + background-color: #A8A77A; + } + + .fire { + background-color: #EE8130; + } + + .water { + background-color: #6390f0; + } } diff --git a/modules/sheets/pokemonCharacterSheet.js b/modules/sheets/pokemonCharacterSheet.js index da361c5..d2276e9 100644 --- a/modules/sheets/pokemonCharacterSheet.js +++ b/modules/sheets/pokemonCharacterSheet.js @@ -62,7 +62,8 @@ export default class pokemonCharacterSheet extends api.HandlebarsApplicationMixi items: baseData.document.items, config: CONFIG.POKEMON, isGM: baseData.user.isGM, - effects: baseData.document.effects + effects: baseData.document.effects, + types: ["normal", "fire", "water", "electric", "grass", "ice", "fighting", "poison", "ground", "flying", "psychic", "bug", "rock", "ghost", "dragon", "dark", "steel", "fairy"] }; context = this.calculateDerivated(context) diff --git a/system.json b/system.json index 2ec62c5..5073ff6 100644 --- a/system.json +++ b/system.json @@ -1,5 +1,5 @@ { - "version": "0.1.0", + "version": "0.1.1", "id": "pokemon", "title": "Pokémon TTRPG", "description": "A Pokémon TTRPG", diff --git a/system.zip b/system.zip index ce7b26f..cc32b5c 100644 Binary files a/system.zip and b/system.zip differ diff --git a/template.json b/template.json index d24260f..3f9394f 100644 --- a/template.json +++ b/template.json @@ -9,6 +9,8 @@ "tab": "tab1", "species": "species", + "type1": "Normal", + "type2": "", "experience": { "level": 1, diff --git a/templates/sheets/character/header.hbs b/templates/sheets/character/header.hbs index 65eb7cb..39d8bb8 100644 --- a/templates/sheets/character/header.hbs +++ b/templates/sheets/character/header.hbs @@ -1,7 +1,22 @@
- +
+ +
+ + +
+