foundryvtt-wh4-lang-fr-fr/scripts/toSrgcvWq9b5eN0K.js

4 lines
293 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let location = await game.wfrp4e.tables.rollTable("hitloc", {hideDSN: true})
this.item.updateSource({name : `${this.item.name} (${location.description})`})
this.script.scriptMessage(`<strong>Localisation:</strong> ${location.description}`, { whisper: ChatMessage.getWhisperRecipients("GM") })