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 @@ +