forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts + translations
This commit is contained in:
@ -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})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user