package for v1.2.1

This commit is contained in:
TheLastScrub
2023-07-20 18:12:36 -07:00
parent 6ef245f29f
commit b09e9cff14
49 changed files with 5 additions and 814454 deletions
+5
View File
@@ -1,5 +1,10 @@
## Release/Patch Notes
### Version 1.2.1 - 2023-07-20
* Enhancement [Github #76] - Jailensailen added drag drop functionality to items. If you hold alt and drag, it will automatically delete the item from the original sheet. Otherwise, it will duplicate the item.
* Fix [Github #74] - Jailensailen fixed issue with Portuguese (Brasil) translation.
### Version 1.2.0 - 2023-06-28 [BREAKING CHANGE: THIS VERSION FORWARD COMPATIBLE WITH FOUNDRY V11 OR HIGHER ONLY!]
* Fix [GitHub #71] - Fix for the update skill button does not work in Foundry V11.
Binary file not shown.
View File
-1
View File
@@ -1 +0,0 @@
MANIFEST-000012
View File
-3
View File
@@ -1,3 +0,0 @@
2023/07/15-16:30:45.643 695c Recovering log #9
2023/07/15-16:30:45.648 695c Delete type=0 #9
2023/07/15-16:30:45.648 695c Delete type=3 #7
-13
View File
@@ -1,13 +0,0 @@
2023/07/15-15:38:51.711 7354 Recovering log #6
2023/07/15-15:38:51.717 7354 Delete type=0 #6
2023/07/15-15:38:51.717 7354 Delete type=3 #4
2023/07/15-15:52:54.362 4c48 Level-0 table #10: started
2023/07/15-15:52:54.362 4c48 Level-0 table #10: 0 bytes OK
2023/07/15-15:52:54.363 4c48 Delete type=0 #8
2023/07/15-15:52:54.365 4c48 Manual compaction at level-0 from '!items!0iBS0OdEMPN6WTsu' @ 72057594037927935 : 1 .. '!items!oYJsYalfaNchDt34' @ 0 : 0; will stop at '!items!oYJsYalfaNchDt34' @ 6 : 1
2023/07/15-15:52:54.365 4c48 Compacting 1@0 + 0@1 files
2023/07/15-15:52:54.373 4c48 Generated table #11@0: 6 keys, 1038 bytes
2023/07/15-15:52:54.373 4c48 Compacted 1@0 + 0@1 files => 1038 bytes
2023/07/15-15:52:54.375 4c48 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/07/15-15:52:54.375 4c48 Delete type=2 #5
2023/07/15-15:52:54.396 4c48 Manual compaction at level-0 from '!items!oYJsYalfaNchDt34' @ 6 : 1 .. '!items!oYJsYalfaNchDt34' @ 0 : 0; will stop at (end)
Binary file not shown.
-23
View File
@@ -1,23 +0,0 @@
[
{
"name": "New Bond",
"type": "bond",
"img": "icons/svg/mystery-man.svg",
"data": {
"name": "",
"description": "",
"score": 10,
"relationship": ""
},
"effects": [],
"sort": 0,
"flags": {
"exportSource": {
"world": "dgtest",
"system": "deltagreen",
"coreVersion": "0.8.6",
"systemVersion": "1.0.0"
}
}
}
]
@@ -1,34 +0,0 @@
[
{
"name": "Unarmed Attack",
"type": "weapon",
"img": "systems/deltagreen/assets/icons/punch.svg",
"data": {
"name": "",
"description": "",
"skill": "melee_weapons",
"range": "0M",
"damage": "1D4-1",
"armorPiercing": 0,
"lethality": 0,
"isLethal": false,
"killRadius": "N/A",
"ammo": "",
"expense": "Standard",
"equipped": true
},
"effects": [],
"sort": 0,
"flags": {
"core": {
"sourceId": "Compendium.deltagreen.hand-to-hand-weapons.JQEMyFfCHx38gupS"
},
"exportSource": {
"world": "dgtest",
"system": "deltagreen",
"coreVersion": "0.8.6",
"systemVersion": "1.0.0"
}
}
}
]
-67
View File
@@ -1,67 +0,0 @@
async function FillCompendium() {
console.log('Loading compendium...');
const targetCompName = "pregens";
const agentsDataPath = 'http://localhost:30000/systems/deltagreen/packs/data-import/pregen-actor-data.json';
const bondDataPath = 'http://localhost:30000/systems/deltagreen/packs/data-import/fvtt-Item-new-bond.json';
const unarmedAttackDataPath = 'http://localhost:30000/systems/deltagreen/packs/data-import/fvtt-Item-unarmed-attack.json';
// check if pack already exists, and if it does, delete it to avoid duplicates
let pack = game.packs.get("world." + targetCompName);
if(typeof pack !== 'undefined'){
await pack.deleteCompendium();
}
// create or recreate the pack so we can add everything
let data = {
'label': "DG Pregens",
'entity': "Actor",
'name': targetCompName
};
await CompendiumCollection.createCompendium(data);
let targetPack = game.packs.get("world." + targetCompName);
let bondItemTemplate = '';
// get the item data for a placeholder bond
await fetch(bondDataPath).then(response => response.json()).then(function(response){
bondItemTemplate = response;
});
let unarmedAttackItemTemplate = '';
// get the item data for a placeholder bond
await fetch(unarmedAttackDataPath).then(response => response.json()).then(function(response){
unarmedAttackItemTemplate = response;
});
let agentArr = [];
// load JSON file filled with agent stats
await fetch(agentsDataPath).then(response => response.json()).then(function(response){
agentArr = Object.entries(response.agents);
});
//agentArr.forEach(function(item){
for(var item of agentArr){
agentData = item[1];
let worldActor = await Actor.create(agentData);
await worldActor.createEmbeddedDocuments("Item", bondItemTemplate);
await worldActor.createEmbeddedDocuments("Item", unarmedAttackItemTemplate);
await targetPack.importDocument(worldActor);
await worldActor.delete();
}
}
FillCompendium();
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
View File
-1
View File
@@ -1 +0,0 @@
MANIFEST-000012
View File
-3
View File
@@ -1,3 +0,0 @@
2023/07/15-16:30:45.643 a98 Recovering log #9
2023/07/15-16:30:45.647 a98 Delete type=0 #9
2023/07/15-16:30:45.647 a98 Delete type=3 #7
-13
View File
@@ -1,13 +0,0 @@
2023/07/15-15:38:51.711 577c Recovering log #6
2023/07/15-15:38:51.715 577c Delete type=0 #6
2023/07/15-15:38:51.715 577c Delete type=3 #4
2023/07/15-15:52:54.345 4c48 Level-0 table #10: started
2023/07/15-15:52:54.345 4c48 Level-0 table #10: 0 bytes OK
2023/07/15-15:52:54.346 4c48 Delete type=0 #8
2023/07/15-15:52:54.352 4c48 Manual compaction at level-0 from '!items!0Gz1jcY28Psezqrv' @ 72057594037927935 : 1 .. '!items!xb73X4SjsbuYs4D7' @ 0 : 0; will stop at '!items!xb73X4SjsbuYs4D7' @ 11 : 1
2023/07/15-15:52:54.352 4c48 Compacting 1@0 + 0@1 files
2023/07/15-15:52:54.360 4c48 Generated table #11@0: 11 keys, 2817 bytes
2023/07/15-15:52:54.360 4c48 Compacted 1@0 + 0@1 files => 2817 bytes
2023/07/15-15:52:54.361 4c48 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/07/15-15:52:54.362 4c48 Delete type=2 #5
2023/07/15-15:52:54.363 4c48 Manual compaction at level-0 from '!items!xb73X4SjsbuYs4D7' @ 11 : 1 .. '!items!xb73X4SjsbuYs4D7' @ 0 : 0; will stop at (end)
Binary file not shown.
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
MANIFEST-000012
View File
-3
View File
@@ -1,3 +0,0 @@
2023/07/15-16:30:45.648 1234 Recovering log #9
2023/07/15-16:30:45.653 1234 Delete type=0 #9
2023/07/15-16:30:45.653 1234 Delete type=3 #7
-13
View File
@@ -1,13 +0,0 @@
2023/07/15-15:38:51.717 3374 Recovering log #6
2023/07/15-15:38:51.722 3374 Delete type=0 #6
2023/07/15-15:38:51.723 3374 Delete type=3 #4
2023/07/15-15:52:54.363 4c48 Level-0 table #10: started
2023/07/15-15:52:54.363 4c48 Level-0 table #10: 0 bytes OK
2023/07/15-15:52:54.365 4c48 Delete type=0 #8
2023/07/15-15:52:54.386 4c48 Manual compaction at level-0 from '!items!0gCwBTqSAbG9J20Y' @ 72057594037927935 : 1 .. '!items!u5fnrg385Z79DUK6' @ 0 : 0; will stop at '!items!u5fnrg385Z79DUK6' @ 17 : 1
2023/07/15-15:52:54.386 4c48 Compacting 1@0 + 0@1 files
2023/07/15-15:52:54.393 4c48 Generated table #11@0: 17 keys, 2410 bytes
2023/07/15-15:52:54.393 4c48 Compacted 1@0 + 0@1 files => 2410 bytes
2023/07/15-15:52:54.395 4c48 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/07/15-15:52:54.396 4c48 Delete type=2 #5
2023/07/15-15:52:54.443 4c48 Manual compaction at level-0 from '!items!u5fnrg385Z79DUK6' @ 17 : 1 .. '!items!u5fnrg385Z79DUK6' @ 0 : 0; will stop at (end)
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
MANIFEST-000012
@@ -1,3 +0,0 @@
2023/07/15-16:30:45.661 1234 Recovering log #9
2023/07/15-16:30:45.665 1234 Delete type=0 #9
2023/07/15-16:30:45.665 1234 Delete type=3 #7
@@ -1,13 +0,0 @@
2023/07/15-15:38:51.730 577c Recovering log #6
2023/07/15-15:38:51.734 577c Delete type=0 #6
2023/07/15-15:38:51.734 577c Delete type=3 #4
2023/07/15-15:52:54.445 4c48 Level-0 table #10: started
2023/07/15-15:52:54.445 4c48 Level-0 table #10: 0 bytes OK
2023/07/15-15:52:54.448 4c48 Delete type=0 #8
2023/07/15-15:52:54.454 4c48 Manual compaction at level-0 from '!macros!YWm6lbQwW2la81fc' @ 72057594037927935 : 1 .. '!macros!YWm6lbQwW2la81fc' @ 0 : 0; will stop at '!macros!YWm6lbQwW2la81fc' @ 1 : 1
2023/07/15-15:52:54.454 4c48 Compacting 1@0 + 0@1 files
2023/07/15-15:52:54.463 4c48 Generated table #11@0: 1 keys, 1080 bytes
2023/07/15-15:52:54.463 4c48 Compacted 1@0 + 0@1 files => 1080 bytes
2023/07/15-15:52:54.468 4c48 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/07/15-15:52:54.468 4c48 Delete type=2 #5
2023/07/15-15:52:54.468 4c48 Manual compaction at level-0 from '!macros!YWm6lbQwW2la81fc' @ 1 : 1 .. '!macros!YWm6lbQwW2la81fc' @ 0 : 0; will stop at (end)
Binary file not shown.
@@ -1 +0,0 @@
MANIFEST-000012
-3
View File
@@ -1,3 +0,0 @@
2023/07/15-16:30:45.655 a98 Recovering log #9
2023/07/15-16:30:45.659 a98 Delete type=0 #9
2023/07/15-16:30:45.659 a98 Delete type=3 #7
@@ -1,13 +0,0 @@
2023/07/15-15:38:51.724 577c Recovering log #6
2023/07/15-15:38:51.728 577c Delete type=0 #6
2023/07/15-15:38:51.728 577c Delete type=3 #4
2023/07/15-15:52:54.443 4c48 Level-0 table #10: started
2023/07/15-15:52:54.443 4c48 Level-0 table #10: 0 bytes OK
2023/07/15-15:52:54.445 4c48 Delete type=0 #8
2023/07/15-15:52:54.448 4c48 Manual compaction at level-0 from '!tables!E5pMC6z88h7oJb9n' @ 72057594037927935 : 1 .. '!tables.results!z1U4mer6RZi2XE9J.ys6PlfT6lxFv1tQR' @ 0 : 0; will stop at '!tables.results!z1U4mer6RZi2XE9J.ys6PlfT6lxFv1tQR' @ 213 : 1
2023/07/15-15:52:54.448 4c48 Compacting 1@0 + 0@1 files
2023/07/15-15:52:54.451 4c48 Generated table #11@0: 259 keys, 21948 bytes
2023/07/15-15:52:54.451 4c48 Compacted 1@0 + 0@1 files => 21948 bytes
2023/07/15-15:52:54.454 4c48 compacted to: files[ 0 1 0 0 0 0 0 ]
2023/07/15-15:52:54.454 4c48 Delete type=2 #5
2023/07/15-15:52:54.468 4c48 Manual compaction at level-0 from '!tables.results!z1U4mer6RZi2XE9J.ys6PlfT6lxFv1tQR' @ 213 : 1 .. '!tables.results!z1U4mer6RZi2XE9J.ys6PlfT6lxFv1tQR' @ 0 : 0; will stop at (end)
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File
-1
View File
@@ -1 +0,0 @@
MANIFEST-000013
View File
-3
View File
@@ -1,3 +0,0 @@
2023/07/15-16:30:45.650 2c68 Recovering log #9
2023/07/15-16:30:45.656 2c68 Delete type=0 #9
2023/07/15-16:30:45.656 2c68 Delete type=3 #7
-14
View File
@@ -1,14 +0,0 @@
2023/07/15-15:38:51.719 75fc Recovering log #6
2023/07/15-15:38:51.725 75fc Delete type=0 #6
2023/07/15-15:38:51.725 75fc Delete type=3 #4
2023/07/15-15:52:54.384 4c48 Level-0 table #10: started
2023/07/15-15:52:54.384 4c48 Level-0 table #10: 0 bytes OK
2023/07/15-15:52:54.386 4c48 Delete type=0 #8
2023/07/15-15:52:54.396 4c48 Manual compaction at level-0 from '!actors!07Xmtm2QyTPVBo7R' @ 72057594037927935 : 1 .. '!actors.items!zyLwONWgS5HR3YXr.k81z0garljgh4wko' @ 0 : 0; will stop at '!actors.items!zyLwONWgS5HR3YXr.k81z0garljgh4wko' @ 5064 : 1
2023/07/15-15:52:54.396 4c48 Compacting 1@0 + 0@1 files
2023/07/15-15:52:54.428 4c48 Generated table #11@0: 876 keys, 2128739 bytes
2023/07/15-15:52:54.440 4c48 Generated table #12@0: 4189 keys, 646894 bytes
2023/07/15-15:52:54.440 4c48 Compacted 1@0 + 0@1 files => 2775633 bytes
2023/07/15-15:52:54.443 4c48 compacted to: files[ 0 2 0 0 0 0 0 ]
2023/07/15-15:52:54.443 4c48 Delete type=2 #5
2023/07/15-15:52:54.448 4c48 Manual compaction at level-0 from '!actors.items!zyLwONWgS5HR3YXr.k81z0garljgh4wko' @ 5064 : 1 .. '!actors.items!zyLwONWgS5HR3YXr.k81z0garljgh4wko' @ 0 : 0; will stop at (end)
Binary file not shown.