14 lines
400 B
JavaScript
14 lines
400 B
JavaScript
let properties = {
|
|
fine : "Fine",
|
|
durable : "Durable",
|
|
lightweight : "Lightweight",
|
|
practical : "Practical"
|
|
};
|
|
|
|
|
|
let choice = await ItemDialog.create(ItemDialog.objectToArray(properties), 1, {title: this.effect.name, text: "Select Property"});
|
|
|
|
if (choice[0])
|
|
{
|
|
this.effect.updateSource({"flags.wfrp4e.property" : choice[0].id, name : this.effect.setSpecifier(choice[0].name)});
|
|
} |