mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: consumable icons
This commit is contained in:
1 parent
d4e8ec125f
commit
c56eaa258d
4 files changed
+161
-4
No files matched your search
@@ -183,7 +183,7 @@ interface OptionalDeviceSlotRow {
|
||||
[key: string]: { device0: string; device1: string };
|
||||
}
|
||||
|
||||
interface Consumables {
|
||||
export interface ConsumablesCommon {
|
||||
[key: string]: {
|
||||
id: number;
|
||||
userString: string;
|
||||
@@ -259,8 +259,8 @@ export async function buildDefinitions() {
|
||||
const optionalDeviceSlots = await readXMLDVPL<{
|
||||
root: OptionalDeviceSlots;
|
||||
}>(`${DATA}/${POI.optionalDeviceSlots}.dvpl`);
|
||||
const consumables = await readXMLDVPL<{ root: Consumables }>(
|
||||
`${DATA}/${POI.consumables}.dvpl`,
|
||||
const consumables = await readXMLDVPL<{ root: ConsumablesCommon }>(
|
||||
`${DATA}/${POI.consumablesCommon}.dvpl`,
|
||||
);
|
||||
|
||||
await Promise.all(
|
||||
|
||||
Reference in new issue
Block a user