This commit is contained in:
Nikolaj
2025-08-05 14:13:52 +02:00
parent b69fb94cbb
commit 0b617de0e3
6 changed files with 14 additions and 21 deletions

View File

@@ -43,7 +43,8 @@ function preloadHandlebarsTemplates() {
const templatePaths = [ const templatePaths = [
"systems/pokemon/templates/partials/character-sheet-character.hbs", "systems/pokemon/templates/partials/character-sheet-character.hbs",
"systems/pokemon/templates/partials/character-sheet-combat.hbs" "systems/pokemon/templates/partials/character-sheet-combat.hbs",
"systems/pokemon/templates/partials/character-sheet-inventory.hbs"
]; ];

View File

@@ -1,5 +1,5 @@
{ {
"version": "0.1.23", "version": "0.1.24",
"id": "pokemon", "id": "pokemon",
"title": "Pokémon TTRPG", "title": "Pokémon TTRPG",
"description": "A Pokémon TTRPG", "description": "A Pokémon TTRPG",

Binary file not shown.

View File

@@ -0,0 +1,2 @@
<div class="inventoryBox">
</div>

View File

@@ -50,6 +50,11 @@
<i class="fa-solid fa-swords"></i> <i class="fa-solid fa-swords"></i>
</a> </a>
</div> </div>
<div class="menuIcon" style="left: 180px;">
<a class="item" data-tab="tab3" data-group="primary-tabs">
<i class="fa-solid fa-box-open"></i>
</a>
</div>
</nav> </nav>
</div> </div>
@@ -62,6 +67,10 @@
<div class="tab" data-tab="tab2" data-group="primary-tabs"> <div class="tab" data-tab="tab2" data-group="primary-tabs">
{{> "systems/pokemon/templates/partials/character-sheet-combat.hbs"}} {{> "systems/pokemon/templates/partials/character-sheet-combat.hbs"}}
</div> </div>
<div class="tab" data-tab="tab3" data-group="primary-tabs">
{{> "systems/pokemon/templates/partials/character-sheet-inventory.hbs"}}
</div>
</section> </section>
</div> </div>

View File

@@ -1,19 +0,0 @@
Types,Normal,Fire,Water,Electric,Grass,Ice,Fighting,Poison,Ground,Flying,Psychic,Bug,Rock,Ghost,Dragon,Dark,Steel,Fairy
Normal,,,,,,,,,,,,,0.5,0,,,0.5,
Fire,,0.5,0.5,,2,2,,,,,,2,0.5,,0.5,,2,
Water,,2,0.5,,0.5,,,,2,,,,2,,0.5,,,
Electric,,,2,0.5,0.5,,,,0,2,,,,,0.5,,,
Grass,,0.5,2,,0.5,,,0.5,2,0.5,,0.5,2,,0.5,,0.5,
Ice,,0.5,0.5,,2,0.5,,,2,2,,,,,2,,0.5,
Fighting,2,,,,,2,,0.5,,0.5,0.5,0.5,2,0,,2,2,0.5
Poison,,,,,2,,,0.5,0.5,,,,0.5,0.5,,,0,2
Ground,,2,,2,0.5,,,2,,0,,0.5,2,,,,2,
Flying,,,,0.5,2,,2,,,,,2,0.5,,,,0.5,
Psychic,,,,,,,2,2,,,0.5,,,,,0,0.5,
Bug,,0.5,,,2,,0.5,0.5,,0.5,2,,,0.5,,2,0.5,0.5
Rock,,0.5,,,,2,0.5,,0.5,2,,2,,,,,0.5,
Ghost,0,,,,,,,,,,2,,,2,,0.5,,
Dragon,,,,,,,,,,,,,,,2,,0.5,0
Dark,,,,,,,0.5,,,,2,,,2,,0.5,,0.5
Steel,,0.5,0.5,0.5,,2,,,,,,,2,,,,0.5,2
Fairy,,0.5,,,,,2,0.5,,,,,,,2,2,0.5,
1 Types Normal Fire Water Electric Grass Ice Fighting Poison Ground Flying Psychic Bug Rock Ghost Dragon Dark Steel Fairy
2 Normal 0.5 0 0.5
3 Fire 0.5 0.5 2 2 2 0.5 0.5 2
4 Water 2 0.5 0.5 2 2 0.5
5 Electric 2 0.5 0.5 0 2 0.5
6 Grass 0.5 2 0.5 0.5 2 0.5 0.5 2 0.5 0.5
7 Ice 0.5 0.5 2 0.5 2 2 2 0.5
8 Fighting 2 2 0.5 0.5 0.5 0.5 2 0 2 2 0.5
9 Poison 2 0.5 0.5 0.5 0.5 0 2
10 Ground 2 2 0.5 2 0 0.5 2 2
11 Flying 0.5 2 2 2 0.5 0.5
12 Psychic 2 2 0.5 0 0.5
13 Bug 0.5 2 0.5 0.5 0.5 2 0.5 2 0.5 0.5
14 Rock 0.5 2 0.5 0.5 2 2 0.5
15 Ghost 0 2 2 0.5
16 Dragon 2 0.5 0
17 Dark 0.5 2 2 0.5 0.5
18 Steel 0.5 0.5 0.5 2 2 0.5 2
19 Fairy 0.5 2 0.5 2 2 0.5