Scripts englisch statt französisch

This commit is contained in:
alzer
2025-05-15 23:03:43 +02:00
parent 0bcbc29f0f
commit d80779f206
503 changed files with 10469 additions and 1616 deletions
+5 -3
View File
@@ -2,8 +2,10 @@
if (args.equipped) {
this.actor.createEmbeddedDocuments("ActiveEffect", [this.item.effects.contents[1]?.convertToApplied()])
this.script.scriptMessage(`${this.actor.name} porte <strong>${this.item.name}</strong>. <br>
Il bénéficie de +50 aux Tests de Natation et peut respirer sous l'eau.<br>Si il porte le masque pendant plus d'une heure ou bénéficie de l'un de ses effets, il est exposé à une @Corruption[moderate]{Corruption moderate}.`,
this.script.scriptMessage(`${this.actor.name} dons the <strong>${this.item.name}</strong>. <br>
They gain +50 to Swim Tests and can breathe underwater.<br>
If they wear the mask for more than an hour or benefit from any of its effects, they are exposed to @Corruption[moderate]{Moderate Corruption}.
`,
{whisper: ChatMessage.getWhisperRecipients("GM")})
}
@@ -12,7 +14,7 @@ else if (!args.equipped)
{
await this.item.effects.contents[0].delete();
await this.item.update({name : this.item.name += " (Used)"})
this.script.scriptMessage(`<strong>${this.item.name}</strong> porté par ${this.actor.name} a été enlevé et a perdu ses propriétés. Cependant, ses effets perdurent pendant [[1d10+4]] jours, après quoi il faudra les supprimer manuellement.`,
this.script.scriptMessage(`<strong>${this.item.name}</strong> on ${this.actor.name} has been taken off and loses its properties. However, the effects last for [[1d10+4]] days, after which they should be manually removed.`,
{whisper: ChatMessage.getWhisperRecipients("GM")}
)