Skip to content

Commit

Permalink
Fix bulk of coins (foundryvtt#12278)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam committed Dec 15, 2023
1 parent cae5ba2 commit a52b397
Show file tree
Hide file tree
Showing 114 changed files with 186 additions and 170 deletions.
2 changes: 2 additions & 0 deletions build/run-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import { Migration906LimitStackGroup } from "@module/migration/migrations/906-li
import { Migration907RestructureArmorWeaponRunes } from "@module/migration/migrations/907-restructure-armor-weapon-runes.ts";
import { Migration909RefineConsumableData } from "@module/migration/migrations/909-refine-consumable-data.ts";
import { Migration910EdictsAnathemaArrays } from "@module/migration/migrations/910-edicts-anathema-arrays.ts";
import { Migration911CoinBulk } from "@module/migration/migrations/911-coin-bulk.ts";
// ^^^ don't let your IDE use the index in these imports. you need to specify the full path ^^^

const { window } = new JSDOM();
Expand All @@ -54,6 +55,7 @@ const migrations: MigrationBase[] = [
new Migration907RestructureArmorWeaponRunes(),
new Migration909RefineConsumableData(),
new Migration910EdictsAnathemaArrays(),
new Migration911CoinBulk(),
];

const packsDataPath = path.resolve(process.cwd(), "packs");
Expand Down
2 changes: 1 addition & 1 deletion packs/abomination-vaults-bestiary/carman-rajani.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/age-of-ashes-bestiary/bloody-blade-mercenary.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/age-of-ashes-bestiary/kralgurn.json
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/agents-of-edgewatch-bestiary/blune-bandersworth.json
Original file line number Diff line number Diff line change
Expand Up @@ -3037,7 +3037,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/agents-of-edgewatch-bestiary/franca-laurentz.json
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/book-of-the-dead-bestiary/harlo-krant.json
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/copper-pieces.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/gold-pieces.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/platinum-pieces.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/equipment/silver-pieces.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
6 changes: 3 additions & 3 deletions packs/fall-of-plaguestone/vilree.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": "u1zA8fSPZ0RdHY47",
"description": {
Expand Down Expand Up @@ -1282,7 +1282,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": "u1zA8fSPZ0RdHY47",
"description": {
Expand Down Expand Up @@ -1339,7 +1339,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": "u1zA8fSPZ0RdHY47",
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/iconics/amiri-level-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/amiri-level-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -912,7 +912,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/amiri-level-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -1127,7 +1127,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/ezren-level-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3420,7 +3420,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -3476,7 +3476,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/ezren-level-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2889,7 +2889,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -2945,7 +2945,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/ezren-level-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -1321,7 +1321,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/feiya-level-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3614,7 +3614,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -3670,7 +3670,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/feiya-level-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -1211,7 +1211,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/fumbus-level-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -497,7 +497,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/fumbus-level-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -497,7 +497,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
4 changes: 2 additions & 2 deletions packs/iconics/fumbus-level-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -497,7 +497,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/iconics/harsk-level-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2330,7 +2330,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
6 changes: 3 additions & 3 deletions packs/iconics/harsk-level-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -1434,7 +1434,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down Expand Up @@ -1490,7 +1490,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/iconics/jirelle-level-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
2 changes: 1 addition & 1 deletion packs/iconics/jirelle-level-5.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@
"system": {
"baseItem": null,
"bulk": {
"value": 0
"value": 1
},
"containerId": null,
"description": {
Expand Down
Loading

0 comments on commit a52b397

Please sign in to comment.