Use case:
Prompt a user to pick a huge dragon, but I don't want them to be able to adjust the filters to toggle "beast" for example.
Currently one has to iterate through all the options and set them to -1. It would be nice to be able to just blanket-lock them all.
await dnd5e.applications.CompendiumBrowser.select({
tab: "actors",
mode: dnd5e.applications.CompendiumBrowser.MODES.ADVANCED,
selection: { min: 1, max: 3 },
filters: {
locked: {
types: new Set(["npc"]),
additional: {
cr: { min: 1, max: 30 },
movement: { walk: 1 },
size: { huge: 1 },
type: { dragon: 1 },
},
},
},
});
Use case:
Prompt a user to pick a huge dragon, but I don't want them to be able to adjust the filters to toggle "beast" for example.
Currently one has to iterate through all the options and set them to
-1. It would be nice to be able to just blanket-lock them all.