mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
feat: consumable buttons
This commit is contained in:
1 parent
a6c3ac36ef
commit
ad1ad80026
7 files changed
+120
-26
No files matched your search
@@ -7,7 +7,10 @@ import { readYAML } from '../../src/core/blitz/readYAML';
|
||||
import { readYAMLDVPL } from '../../src/core/blitz/readYAMLDVPL';
|
||||
import { toUniqueId } from '../../src/core/blitz/toUniqueId';
|
||||
import { commitAssets } from '../../src/core/blitzkrieg/commitAssets';
|
||||
import { ConsumableDefinitions } from '../../src/core/blitzkrieg/consumablesDefinitions';
|
||||
import {
|
||||
ConsumableDefinitionFilterCategory,
|
||||
ConsumableDefinitions,
|
||||
} from '../../src/core/blitzkrieg/consumablesDefinitions';
|
||||
import {
|
||||
EquipmentDefinitions,
|
||||
EquipmentPreset,
|
||||
@@ -666,7 +669,9 @@ export async function buildDefinitions(production: boolean) {
|
||||
} else if ('extendedTags' in excludeRaw) {
|
||||
consumableDefinitions[consumable.id].exclude!.push({
|
||||
type: 'category',
|
||||
categories: excludeRaw.extendedTags.split(' '),
|
||||
categories: excludeRaw.extendedTags.split(
|
||||
' ',
|
||||
) as ConsumableDefinitionFilterCategory[],
|
||||
});
|
||||
} else throw new SyntaxError('Unhandled exclude type');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user