Skip to content

Commit

Permalink
update module.json for 0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zarmstrong committed Jul 25, 2021
1 parent 1bd10a1 commit fcbc1b2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 12 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.3 (Jul 25, 2021)

* removed the option to not delete inventory, as it doesn't currently work well. it will be re-added in the future

## 0.6.2 (Jul 20, 2021)

* fixed alignment not being set on import
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Pathbuilder 2e Import",
"description": "This module allows players and GMs to import player characters built in Pathbuilder 2e",
"author": "slate",
"version": "0.6.2",
"version": "0.6.3",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "0.8.8",
"esmodules": [
Expand All @@ -14,7 +14,7 @@
"license": "MIT",
"url": "https://github.com/zarmstrong/foundry-pathbuilder2e-import",
"manifest": "https://raw.githubusercontent.com/zarmstrong/foundry-pathbuilder2e-import/master/module.json",
"download": "https://github.com/zarmstrong/foundry-pathbuilder2e-import/releases/download/foundry-pathbuilder2e-import-0.6.2/foundry-pathbuilder2e-import-0.6.2.zip",
"download": "https://github.com/zarmstrong/foundry-pathbuilder2e-import/releases/download/foundry-pathbuilder2e-import-0.6.3/foundry-pathbuilder2e-import-0.6.3.zip",
"changelog": "https://github.com/zarmstrong/foundry-pathbuilder2e-import/blob/master/CHANGELOG.md",
"bugs": "https://github.com/zarmstrong/herovau.lt-foundry/issues",
"flags": {
Expand Down
11 changes: 6 additions & 5 deletions pathbuilder-import-min.js

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions pathbuilder-import.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var fbpiDebug = false;
const fpbi = "0.6.2";
const fpbi = "0.6.1";
const reportDomain = "https://www.pf2player.com/";

const pbcolor1 = "color: #7bf542"; //bright green
Expand Down Expand Up @@ -89,7 +89,8 @@ export async function beginPathbuilderImport(targetActor, isHV = false) {
<p>Step 2: Export your character from Pathbuilder 2e via the app menu</p>
<p>Step 3: Enter the 6 digit user ID number from the pathbuilder export dialog below</p>
<br>
<p>Please note - items which cannot be matched to the Foundry database will not be imported!<p>
<p>Please note - items which cannot be matched to the Foundry database will not be imported!</p>
<p><strong>All inventory items will be removed upon import.</strong> The option to turn this off will return in the future.</p>
<div>
<hr/>
<form>
Expand All @@ -99,8 +100,8 @@ export async function beginPathbuilderImport(targetActor, isHV = false) {
<label for="checkBoxEquipment"> Import Equipment?</label><br>
<input type="checkbox" id="checkBoxMoney" name="checkBoxMoney" checked>
<label for="checkBoxMoney"> Import Money?</label><br><br>
<input type="checkbox" id="checkBoxDeleteAll" name="checkBoxDeleteAll" checked>
<label for="checkBoxDeleteAll"> Delete all existing items before import (including spells)?</label><br><br>
<!--input type="checkbox" id="checkBoxDeleteAll" name="checkBoxDeleteAll" checked>
< label for="checkBoxDeleteAll"> Delete all existing items before import (including spells)?</label><br><br -->
<input type="checkbox" id="checkBoxSpells" name="checkBoxSpells" checked>
<label for="checkBoxSpells"> Import Spells? (Always deletes existing)</label><br><br>
${heroVault}
Expand Down Expand Up @@ -169,7 +170,8 @@ export async function beginPathbuilderImport(targetActor, isHV = false) {
addEquipment = html.find('[name="checkBoxEquipment"]')[0].checked;
addMoney = html.find('[name="checkBoxMoney"]')[0].checked;
addSpellcasters = html.find('[name="checkBoxSpells"]')[0].checked;
deleteAll = html.find('[name="checkBoxDeleteAll"]')[0].checked;
//deleteAll = html.find('[name="checkBoxDeleteAll"]')[0].checked;
deleteAll = true;
if (isHV)
heroVaultExport = html.find('[name="checkBoxHVExport"]')[0].checked;
if (fbpiDebug)
Expand Down

0 comments on commit fcbc1b2

Please sign in to comment.