CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
ProdigyPNP

CoCalc is a real-time collaborative commercial alternative to JupyterHub and Overleaf that provides Jupyter Notebooks, LaTeX documents, and SageMath.

GitHub Repository: ProdigyPNP/ProdigyMathGameHacking
Path: blob/master/typings/item.d.ts
Views: 713
1
import { TODO } from "./util";
2
3
export declare interface Item<T extends string = string> extends PartialItem<T> {
4
assetID: number;
5
name: string;
6
data: Partial<ItemData>
7
gender: number;
8
metadata: Partial<ItemMetadata>
9
} // should have ID, type
10
export declare interface ItemData {
11
isPurchaseable: boolean;
12
items: unknown[];
13
name: string;
14
questions: number;
15
filename: string;
16
element: string;
17
damage: number;
18
type: number;
19
foreignSpellPools: number[][]
20
}
21
export declare interface ItemMetadata {
22
vIcon: number;
23
assets: { default: {v: number} }
24
}
25
export declare interface PartialItem<T extends string = string> {
26
ID: number;
27
type: T;
28
}
29