Add quick slot and consumables (health and mana potions)
This commit is contained in:
29
src/core/config/Items.ts
Normal file
29
src/core/config/Items.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import type { Item } from "../types";
|
||||
|
||||
export const ITEMS: Record<string, Item> = {
|
||||
"health_potion": {
|
||||
id: "health_potion",
|
||||
name: "Health Potion",
|
||||
type: "Consumable",
|
||||
icon: "potion_red",
|
||||
stats: {} // Special logic for usage
|
||||
},
|
||||
"iron_sword": {
|
||||
id: "iron_sword",
|
||||
name: "Iron Sword",
|
||||
type: "Weapon",
|
||||
icon: "sword_iron",
|
||||
stats: {
|
||||
attack: 2
|
||||
}
|
||||
},
|
||||
"leather_armor": {
|
||||
id: "leather_armor",
|
||||
name: "Leather Armor",
|
||||
type: "BodyArmour",
|
||||
icon: "armor_leather",
|
||||
stats: {
|
||||
defense: 2
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user