Ajout de la commande /voyage et grosse MAJK de la commande /auberge

This commit is contained in:
2026-01-07 15:04:49 +01:00
parent c8119601d8
commit f525b6c07a
1329 changed files with 24138 additions and 4397 deletions

View File

@@ -7,10 +7,9 @@ let items = await Promise.all(["Compendium.wfrp4e-wom.items.Item.EjGYZ4CgX2jZW7O
"Compendium.wfrp4e-wom.items.Item.CkMYRYCLrkMnyVm5",
"Compendium.wfrp4e-wom.items.Item.0Xdm4r7l2EwC4fcg"].map(fromUuid));
let choice = await game.wfrp4e.apps.ItemDialog.create(items, 1, "Sélectionner le Vent")
let choice = await game.wfrp4e.apps.ItemDialog.create(items, 1, "Sélectionner un Vent")
//this.actor.createEmbeddedDocuments("Item", items);
this.item.update(choice[0]?.toObject(), {diff: false, recursive : false});
//this.actor.items.getName(this.effect.item.name).delete() // For some reason this.effect.item.delete() throws an error