forked from public/foundryvtt-wh4-lang-fr-fr
Update scripts
This commit is contained in:
@ -13,17 +13,17 @@
|
||||
let personalityQuirk = (await game.wfrp4e.tables.rollTable("personality-quirks", {hideDSN: true})).text;
|
||||
|
||||
|
||||
let templateItem = await game.wfrp4e.utility.findItemId(templateMap[template._id]);
|
||||
let templateItem = await warhammer.utility.findItemId(templateMap[template._id]);
|
||||
|
||||
let bio =
|
||||
`
|
||||
<p><strong>Template</strong>: ${template.text}</p>
|
||||
<p><strong>Bizarrerie Physique</strong>: ${physicalQuirk}</p>
|
||||
<p><strong>Etique de travail</strong>: ${workEthic}</p>
|
||||
<p><strong>Bizarrerie de personnalité</strong>: ${personalityQuirk}</p>
|
||||
<p><strong>Trait physique</strong>: ${physicalQuirk}</p>
|
||||
<p><strong>Ethique</strong>: ${workEthic}</p>
|
||||
<p><strong>Trait de personnalité</strong>: ${personalityQuirk}</p>
|
||||
`
|
||||
|
||||
this.script.scriptMessage(bio, {whisper : ChatMessage.getWhisperRecipients("GM")})
|
||||
this.script.message(bio, {whisper : ChatMessage.getWhisperRecipients("GM")})
|
||||
|
||||
await this.actor.update({"system.details.gmnotes.value" : bio})
|
||||
|
||||
|
Reference in New Issue
Block a user