Skip to content

Commit 2b1f502

Browse files
authored
V1.0.2 (#2)
* Fix bug if folder name is different * Delay calling scenePackerReady hook until after canvas is ready * Added RelinkJournalEntries method
1 parent 16d3a2c commit 2b1f502

File tree

4 files changed

+394
-76
lines changed

4 files changed

+394
-76
lines changed

CHANGELOG.md

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

3+
## v1.0.2
4+
5+
- Fixed bug that would occur if Journal entries weren't in a folder of the same name as the adventure.
6+
- Delay calling `scenePackerReady` hook until after the canvas is ready.
7+
- Added `await window['scene-packer'].relinkJournalEntries('module-name');` static method
8+
- Automatically goes through the Journals in the module's compendium packs and updates the references from the World version to the Compendium versions.
9+
310
## v1.0.1
411

512
- Added localization.

languages/en.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,25 @@
101101
"details": "You must pass an array of strings to \"SetJournalPacks()\". They must be the names of Journal Packs. Received: {pack}",
102102
"missing": "SetJournalPacks() called with no value. This disables importing of Journals."
103103
}
104+
},
105+
"world-conversion": {
106+
"compendiums": {
107+
"unlock": "Unlocking compendiums: {list}",
108+
"lock": "Locking compendiums: {list}",
109+
"checking-and-updating": "Checking and updating {count} journal references from world links to compendium links.",
110+
"invalid-ref-type": "Found a journal reference that isn't handled: {type}. Skipping reference...",
111+
"invalid-no-name": "Found a journal reference but couldn't find its original name. Check console for details.",
112+
"invalid-no-matching-name": "Could not find reference name in world data",
113+
"invalid-not-found": "Found a journal reference but couldn't find its compendium version by name. Check console for details.",
114+
"invalid-not-found-console": "Could not find reference in compendium data. Skipping updating reference...",
115+
"invalid-too-many": "Found a journal reference but found more than one compendium version by name. Check console for details.",
116+
"invalid-too-many-console": "Found more than one reference in compendium data. Skipping updating reference...",
117+
"updating-journal-references": "Changing {count} journal references in: {journal}",
118+
"updating-reference-console": "Changing {pack}[{journalEntryId}] {type} reference {oldRef} -> {newRefPack}.{newRef}",
119+
"updating-reference": "Updating {count} references in {journal}. See console for full details.",
120+
"completed-journal": "Completed journal {journal} {entryId}",
121+
"completed": "Completed!"
122+
}
104123
}
105124
}
106125
}

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.1",
5+
"version": "1.0.2",
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.1/module.zip",
30+
"download": "https://github.com/League-of-Foundry-Developers/scene-packer/releases/download/1.0.2/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

0 commit comments

Comments
 (0)