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,17 +1,17 @@
let type = this.item.getFlag("wfrp4e", "breath")
let types = {
none : "None",
cold : "Cold",
none : "Aucun",
cold : "Froid",
corrosion : "Corrosion",
fire : "Fire",
electricity : "Electricity",
fire : "Feu",
electricity : "Electricité",
poison : "Poison",
smoke : "Smoke",
various : "Various"
smoke : "Fumée",
various : "Divers"
}
if (!type)
{
type = (await ItemDialog.create(ItemDialog.objectToArray(types, this.item.img), 1, "Choose Breath"))[0]?.id;
type = (await ItemDialog.create(ItemDialog.objectToArray(types, this.item.img), 1, "Choisir le Souffle"))[0]?.id;
this.item.updateSource({"flags.wfrp4e.breath" : type})
}