Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 01:07:37 +02:00
parent 0b286ac994
commit 7b97578bd7
191 changed files with 379 additions and 381 deletions

View File

@ -1,9 +1,9 @@
let uses = this.item.getFlag("wfrp4e", "uses") || 0;
uses++;
this.script.scriptNotification(`Used ${uses} times`)
this.script.scriptNotification(`Utilisé ${uses} fois`)
this.item.setFlag("wfrp4e", "uses", uses);
if (uses >= 3)
{
this.effect.update({"flags.wfrp4e.applicationData.type" : "other"})
this.script.scriptNotification(`Used up`);
this.script.scriptNotification(`Utilisé`);
}