Skip to content

Commit 458e933

Browse files
committed
v1.0.3
1 parent 93291ad commit 458e933

File tree

6 files changed

+219
-117
lines changed

6 files changed

+219
-117
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## V1.0.3
4+
5+
- Added `packer.DisableImportPrompts();` as a way to prevent the popups from appearing when opening your module's compendiums.
6+
- Added `Unpack Scene Data` option to Scene context menu.
7+
- Changed Scene context menu options to only show based on whether the Scene has Packed Data already.
8+
- Default to showing the context menu on scenes for GMs.
9+
- Changed the flag used to store whether the adventure module has been imported from a `boolean` to a `version` string to allow future support of "upgrades" to the module.
10+
- Exposed `HasPackedData(scene, moduleName, tokenFlag, journalFlag)` static method to allow checking whether a given Scene has data packed for the given module.
11+
312
## v1.0.2
413

514
- Fixed bug that would occur if Journal entries weren't in a folder of the same name as the adventure.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ Hooks.once('scenePackerReady', ({ getInstance }) => {
7575
if (additionalJournals.length) {
7676
packer.SetAdditionalJournalsToImport(additionalJournals);
7777
}
78+
// If you don't want the dialogs to appear when your users first open the compendiums, uncomment the following line.
79+
// packer.DisableImportPrompts();
7880
});
7981
```
8082

languages/en.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,16 @@
5858
},
5959
"compendium": {
6060
"title": "{title} Importer",
61-
"info-scene": "Please <strong>view each scene</strong> after importing to allow the module to correctly relink Journal Pins and Actors.",
62-
"info-other": "To import this adventure correctly, please <strong>import just the scenes</strong> first and then view each one. This will allow the module to correctly relink Journal Pins and Actors."
61+
"info-scene": "Please <strong>view each scene</strong> or choose <strong>Unpack Scene Data</strong> from the Scene context menu after importing to allow the module to correctly relink Journal Pins and Actors.",
62+
"info-other": "To import this adventure correctly, please <strong>import just the scenes</strong> first and then view each one (or choose Unpack Scene Data from the context menu). This will allow the module to correctly relink Journal Pins and Actors."
6363
},
6464
"scene-context": {
6565
"pack": {
6666
"title": "Pack Scene Data"
6767
},
68+
"unpack": {
69+
"title": "Unpack Scene Data"
70+
},
6871
"clear": {
6972
"title": "Clear Packed Scene Data"
7073
}

module.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "scene-packer",
33
"title": "Library: Scene Packer",
44
"description": "A module to assist with Scene and Adventure packing and unpacking.",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"library": "true",
77
"manifestPlusVersion": "1.0.0",
88
"minimumCoreVersion": "0.7.9",
@@ -27,7 +27,7 @@
2727
}],
2828
"url": "https://github.com/League-of-Foundry-Developers/scene-packer",
2929
"manifest": "https://github.com/League-of-Foundry-Developers/scene-packer/releases/latest/download/module.json",
30-
"download": "https://github.com/League-of-Foundry-Developers/scene-packer/releases/download/1.0.2/module.zip",
30+
"download": "https://github.com/League-of-Foundry-Developers/scene-packer/releases/download/1.0.3/module.zip",
3131
"bugs": "https://github.com/League-of-Foundry-Developers/scene-packer/issues",
3232
"changelog": "https://github.com/League-of-Foundry-Developers/scene-packer/blob/master/changelog.md",
3333
"allowBugReporter": true

scene-context-menu.png

-7.74 KB
Loading

0 commit comments

Comments
 (0)