collapse zones with no active quests

This commit is contained in:
smthbh 2025-04-28 13:17:18 -04:00
parent 91257a09f4
commit 3541eff537
3 changed files with 18 additions and 2 deletions

View file

@ -101,6 +101,12 @@ export class Armory {
helpers: {
// eslint-disable-next-line @typescript-eslint/no-var-requires
...require("handlebars-helpers")(),
eq: function(a: any, b: any) {
return a === b;
},
hasInProgressQuests: function(quests: any[]) {
return quests.some(quest => quest.status === 'In Progress');
}
},
}),
);