feat: consumable icons

This commit is contained in:
TrèsAbhi committed 2024-01-17 11:34:27 -06:00
1 parent d4e8ec125f
commit c56eaa258d
4 files changed
+161 -4

No files matched your search

+3 -3
View File
@@ -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(