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
+4 -4
View File
@@ -1,6 +1,6 @@
if (this.actor.system.status.advantage.value == 0)
{
return this.script.scriptNotification("Pas assez d'Avantages!", "error")
return this.script.scriptNotification("Not enough Advantage!", "error")
}
let hatred = await fromUuid("Compendium.wfrp4e-core.items.Item.aE3pyW20Orvdjzj0")
@@ -8,15 +8,15 @@ let frenzy = await fromUuid("Compendium.wfrp4e-core.items.Item.yRhhOlt18COq4e1q"
if (this.actor.system.status.advantage.value >= 3)
{
this.script.scriptNotification(`Ajout de ${frenzy.name}`)
this.script.scriptNotification(`Adding ${frenzy.name}`)
this.actor.setAdvantage(0)
this.actor.createEmbeddedDocuments("Item", [frenzy])
}
else if (this.actor.system.status.advantage.value >= 1)
{
let data = hatred.toObject();
data.system.specification.value = "Combatants au corps à corps"
this.script.scriptNotification(`Ajout de ${hatred.name}`)
data.system.specification.value = "Close Combat opponents"
this.script.scriptNotification(`Adding ${hatred.name}`)
this.actor.setAdvantage(0)
this.actor.createEmbeddedDocuments("Item", [data])
}