diff --git a/Changelog.txt b/Changelog.txt index 769d041..a61fe33 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -1,3 +1,7 @@ +**v0.7.3 Monster Ability Fix** +**BUG FIXES:** +Monster sheet was unable to add abilities. + **v0.7.2 Monster Save Fix** **MINOR CHANGES:** Changed the changlog to bold text. diff --git a/package/acks-v0.7.3.zip b/package/acks-v0.7.3.zip new file mode 100644 index 0000000..c7a8901 Binary files /dev/null and b/package/acks-v0.7.3.zip differ diff --git a/src/lang/en.json b/src/lang/en.json index cdd4b7e..7ee7ec4 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -19,6 +19,9 @@ "ACKS.dialog.generateSaves": "Generate Saves", "ACKS.dialog.generateScores": "Generate Scores", "ACKS.dialog.generateScore": "Rolling {score} ({count})", + "ACKS.dialog.createItem": "Create Item", + "ACKS.dialog.itemType": "Item type", + "ACKS.dialog.itemName": "Item name", "ACKS.Formula": "Formula", "ACKS.SitMod": "Situational Modifier", diff --git a/src/lang/fr.json b/src/lang/fr.json index e947aaf..6a4e346 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -19,6 +19,9 @@ "ACKS.dialog.generateSaves": "Générer les Sauvegardes", "ACKS.dialog.generateScores": "Générer les Scores", "ACKS.dialog.generateScore": "Création: {score} ({count})", + "ACKS.dialog.createItem": "Créer un Objet", + "ACKS.dialog.itemType": "Type de l'Objet", + "ACKS.dialog.itemName": "Nom de l'Objet", "ACKS.Formula": "Formule", "ACKS.SitMod": "Mod. de situation", diff --git a/src/module/actor/monster-sheet.js b/src/module/actor/monster-sheet.js index 2f655a9..b54b7ca 100644 --- a/src/module/actor/monster-sheet.js +++ b/src/module/actor/monster-sheet.js @@ -105,15 +105,15 @@ export class AcksActorSheetMonster extends AcksActorSheet { /* -------------------------------------------- */ async _chooseItemType(choices = ["weapon", "armor", "shield", "gear"]) { - let templateData = { upper: "", lower: "", types: choices }, + let templateData = { types: choices }, dlg = await renderTemplate( - "templates/sidebar/entity-create.html", + "systems/acks/templates/items/entity-create.html", templateData ); //Create Dialog window return new Promise((resolve) => { new Dialog({ - title: "", + title: game.i18n.localize("ACKS.dialog.createItem"), content: dlg, buttons: { ok: { diff --git a/src/system.json b/src/system.json index 102a150..7d2dbe6 100644 --- a/src/system.json +++ b/src/system.json @@ -2,7 +2,7 @@ "name": "acks", "title": "Adventurer Conqueror King System", "description": "Play B/X or other OSR compatible content using the ACKS system", - "version": "0.7.2", + "version": "0.7.3", "minimumCoreVersion": "0.7.4", "compatibleCoreVersion": "0.7.5", "templateVersion": 2, @@ -185,5 +185,5 @@ "gridUnits": "ft", "url": "https://github.com/thehappyanarchist/foundryacks", "manifest": "https://github.com/thehappyanarchist/foundryacks/raw/master/src/system.json", - "download": "https://github.com/thehappyanarchist/foundryacks/raw/master/package/acks-v0.7.2.zip" + "download": "https://github.com/thehappyanarchist/foundryacks/raw/master/package/acks-v0.7.3.zip" } diff --git a/src/templates/items/entity-create.html b/src/templates/items/entity-create.html new file mode 100644 index 0000000..dba6f36 --- /dev/null +++ b/src/templates/items/entity-create.html @@ -0,0 +1,20 @@ +