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/backpack.d.ts
Views: 713
1
export declare type BackpackItemType = "item" | "mathTownFrame" | "relic" | "fossil" | "follow" | "mount" | "spellRelic" | "weapon" | "outfit" | "boots" | "hat" | "currency" | "mathTownInterior" | "key";
2
export declare interface Backpack {
3
addKeyItem(ID: number, something: number): void;
4
updated: boolean;
5
data: BackpackData
6
}
7
export declare interface BackpackItem {
8
/** Item count. */
9
ID: number;
10
[index: string]: number;
11
N?: number;
12
}
13
export declare type BackpackData = {
14
[type in BackpackItemType]: BackpackItem[]
15
}
16