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

@@ -1,4 +1,4 @@
let hasMagazine = await Dialog.confirm({content: "<p>Does the vessel have a magazine or any other kind of store for blackpowder?</p>"});
let hasMagazine = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content: "<p>Le navire a-t-il un magasin ou tout autre type de réserve pour la poudre noire ?</p>"});
if (!hasMagazine) return;
@@ -27,4 +27,4 @@ for (let i = 0; i < roll.total; i++) {
const items = await this.actor.createEmbeddedDocuments("Item", crits);
const speaker = ChatMessage.getSpeaker({actor: this.actor});
const uuids = items.map(i => `@UUID[${i.uuid}]`);
this.script.scriptMessage(`<p><b>${this.item.name}</b> caused an additional ${anchor.outerHTML} Critical Hits to the Hull!</p><ul><li>${uuids.join('<li>')}</ul>`)
this.script.message(`<p><b>${this.item.name}</b> provoque un nombre supplémentaire de ${anchor.outerHTML} Coups Critiques à la Coque!</p><ul><li>${uuids.join('<li>')}</ul>`)