diff --git a/build.sh b/build.sh index be59a3f..9aac928 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd .. -zip pokemon-foundry/system.zip -r pokemon-foundry/ \ No newline at end of file +rm system.zip +zip system.zip -r ../pokemon-foundry/ \ No newline at end of file diff --git a/pokemon.js b/pokemon.js index 7acc167..b78a8e2 100644 --- a/pokemon.js +++ b/pokemon.js @@ -43,8 +43,7 @@ function preloadHandlebarsTemplates() { const templatePaths = [ "systems/pokemon/templates/partials/character-sheet-character.hbs", - "systems/pokemon/templates/partials/character-sheet-background.hbs", - "systems/pokemon/templates/partials/character-sheet-moves.hbs" + "systems/pokemon/templates/partials/character-sheet-background.hbs" ]; diff --git a/system.zip b/system.zip index 13d2664..869323c 100644 Binary files a/system.zip and b/system.zip differ diff --git a/template.json b/template.json index 11cf7bc..4a7756a 100644 --- a/template.json +++ b/template.json @@ -13,24 +13,12 @@ "EXP": 0 }, - "armor class": 0, + "armorClass": 0, "stats": { - "attack": { - "value": 0, - "modifier": 0 - }, - "defense": { - "value": 0, - "modifier": 0 - }, - "move": { - "value": 0, - "modifier": 0 - }, - "hp": { - "value": 0, - "modifier": 0 - } + "attack": 0, + "defense": 0, + "move": 0, + "hp": 0 }, "speed": 0, "hp": { diff --git a/templates/partials/character-sheet-background.hbs b/templates/partials/character-sheet-background.hbs new file mode 100644 index 0000000..7a4d011 --- /dev/null +++ b/templates/partials/character-sheet-background.hbs @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/templates/partials/character-sheet-character.hbs b/templates/partials/character-sheet-character.hbs new file mode 100644 index 0000000..7a4d011 --- /dev/null +++ b/templates/partials/character-sheet-character.hbs @@ -0,0 +1,2 @@ +
+
\ No newline at end of file diff --git a/templates/sheets/character/header.hbs b/templates/sheets/character/header.hbs index 57e6d84..daa3e05 100644 --- a/templates/sheets/character/header.hbs +++ b/templates/sheets/character/header.hbs @@ -5,7 +5,10 @@ --}}
- +
+ + +
{{localize "POKEMON.System.LevelShort"}}
{{system.experience.level}}
diff --git a/templates/sheets/character/sidebar b/templates/sheets/character/sidebar index 325893d..897fda3 100644 --- a/templates/sheets/character/sidebar +++ b/templates/sheets/character/sidebar @@ -7,7 +7,8 @@
HP
{{system.hp.current}}
Max
{{system.hp.max}}
-
{{localize "POKEMON.System.Attack"}}
{{system.stats}}
+
{{localize "POKEMON.System.ArmorClass"}}
{{system.armorClass}}
+
{{localize "POKEMON.System.Speed"}}
{{system.speed}}
- - - - - @@ -64,26 +40,6 @@
{{> "systems/nether/templates/partials/character-sheet-background.hbs"}}
- -
- {{> "systems/nether/templates/partials/character-sheet-skill.hbs"}} -
- -
- {{> "systems/nether/templates/partials/character-sheet-combat.hbs"}} -
- -
- {{> "systems/nether/templates/partials/character-sheet-progression.hbs"}} -
- -
- Pfade -
- -
- Settings -
\ No newline at end of file