The Happy Anarchist 2020-11-04 20:32:34 -10:00
commit d5284129f6
7 changed files with 35 additions and 5 deletions

View File

@ -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** **v0.7.2 Monster Save Fix**
**MINOR CHANGES:** **MINOR CHANGES:**
Changed the changlog to bold text. Changed the changlog to bold text.

BIN
package/acks-v0.7.3.zip Normal file

Binary file not shown.

View File

@ -19,6 +19,9 @@
"ACKS.dialog.generateSaves": "Generate Saves", "ACKS.dialog.generateSaves": "Generate Saves",
"ACKS.dialog.generateScores": "Generate Scores", "ACKS.dialog.generateScores": "Generate Scores",
"ACKS.dialog.generateScore": "Rolling {score} ({count})", "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.Formula": "Formula",
"ACKS.SitMod": "Situational Modifier", "ACKS.SitMod": "Situational Modifier",

View File

@ -19,6 +19,9 @@
"ACKS.dialog.generateSaves": "Générer les Sauvegardes", "ACKS.dialog.generateSaves": "Générer les Sauvegardes",
"ACKS.dialog.generateScores": "Générer les Scores", "ACKS.dialog.generateScores": "Générer les Scores",
"ACKS.dialog.generateScore": "Création: {score} ({count})", "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.Formula": "Formule",
"ACKS.SitMod": "Mod. de situation", "ACKS.SitMod": "Mod. de situation",

View File

@ -105,15 +105,15 @@ export class AcksActorSheetMonster extends AcksActorSheet {
/* -------------------------------------------- */ /* -------------------------------------------- */
async _chooseItemType(choices = ["weapon", "armor", "shield", "gear"]) { async _chooseItemType(choices = ["weapon", "armor", "shield", "gear"]) {
let templateData = { upper: "", lower: "", types: choices }, let templateData = { types: choices },
dlg = await renderTemplate( dlg = await renderTemplate(
"templates/sidebar/entity-create.html", "systems/acks/templates/items/entity-create.html",
templateData templateData
); );
//Create Dialog window //Create Dialog window
return new Promise((resolve) => { return new Promise((resolve) => {
new Dialog({ new Dialog({
title: "", title: game.i18n.localize("ACKS.dialog.createItem"),
content: dlg, content: dlg,
buttons: { buttons: {
ok: { ok: {

View File

@ -2,7 +2,7 @@
"name": "acks", "name": "acks",
"title": "Adventurer Conqueror King System", "title": "Adventurer Conqueror King System",
"description": "Play B/X or other OSR compatible content using the ACKS 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", "minimumCoreVersion": "0.7.4",
"compatibleCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.5",
"templateVersion": 2, "templateVersion": 2,
@ -185,5 +185,5 @@
"gridUnits": "ft", "gridUnits": "ft",
"url": "https://github.com/thehappyanarchist/foundryacks", "url": "https://github.com/thehappyanarchist/foundryacks",
"manifest": "https://github.com/thehappyanarchist/foundryacks/raw/master/src/system.json", "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"
} }

View File

@ -0,0 +1,20 @@
<form class="ose dialog">
<div class="form-group">
<label>{{localize 'ACKS.dialog.itemName'}}</label>
<div class="form-fields">
<input name="name" type="text" />
</div>
</div>
<div class="form-group">
<label>{{localize 'ACKS.dialog.itemType'}}</label>
<div class="form-fields">
<select name="type">
{{#select types}}
{{#each types as |type|}}
<option value="{{type}}">{{type}}</option>
{{/each}}
{{/select}}
</select>
</div>
</div>
</div>