We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63455f7 commit 70e7d2cCopy full SHA for 70e7d2c
1 file changed
src/utils/items.ts
@@ -1,3 +1,5 @@
1
+import { AchievementReward } from './Achievement.js';
2
+
3
export interface ItemDrop {
4
item: ItemString;
5
result: ItemExecuteResult;
@@ -16,6 +18,12 @@ export interface ItemExecuteResult {
16
18
item?: ItemString;
17
19
}
20
21
+export interface ItemUseResult {
22
+ inventory: ItemString[];
23
+ result: ItemExecuteResult;
24
+ achievement?: AchievementReward;
25
+}
26
27
export type ItemRarityString = keyof typeof ItemRarity;
28
export type ItemTypeString = keyof typeof ItemType;
29
export type ItemTypeStringUppercase = Uppercase<ItemTypeString>;
0 commit comments