Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 09:19:48 +02:00
parent 7b97578bd7
commit 039df5c10a
119 changed files with 255 additions and 232 deletions

View File

@ -11,7 +11,7 @@ await this.actor.removeSystemEffect("stinkingdrunk1")
await this.actor.addCondition("fatigued")
const duration = 10 - parseInt(this.actor.system.characteristics.t.bonus)
this.effect.updateSource({"duration.rounds" : duration});
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> has lost all alcohol related penalties and gains the Fatigued Condition for ${duration} hours.</p>`,
this.script.scriptMessage(`<p><strong>${this.actor.prototypeToken.name}</strong> ne souffre des pénalités dues à l'alcool et reçoit 1 état Fatigué pour ${duration} heures.</p>`,
{
whisper: ChatMessage.getWhisperRecipients("GM"),
blind: true