foundryvtt-wh4-lang-fr-fr/scripts/7ateEtT5HXg1vObY.js

7 lines
340 B
JavaScript
Raw Permalink Normal View History

2024-10-08 20:52:09 +02:00
const uuids = [
"Compendium.wfrp4e-core.items.Item.AcnFuDKRemLI9ey7", // Nose for Trouble
"Compendium.wfrp4e-core.items.Item.WoXShzaYkV5F6c48", // Master of Disguise
];
const items = await Promise.all(uuids.map(uuid => fromUuid(uuid)));
await this.actor.createEmbeddedDocuments("Item", items, {fromEffect: this.effect.id});