Add in throwable items (dagger) from pixel dungeon
This commit is contained in:
@@ -5,14 +5,18 @@ export const ITEMS: Record<string, Item> = {
|
||||
id: "health_potion",
|
||||
name: "Health Potion",
|
||||
type: "Consumable",
|
||||
icon: "potion_red",
|
||||
stats: {} // Special logic for usage
|
||||
textureKey: "items",
|
||||
spriteIndex: 57,
|
||||
stats: {
|
||||
hp: 5
|
||||
}
|
||||
},
|
||||
"iron_sword": {
|
||||
id: "iron_sword",
|
||||
name: "Iron Sword",
|
||||
type: "Weapon",
|
||||
icon: "sword_iron",
|
||||
textureKey: "items",
|
||||
spriteIndex: 2,
|
||||
stats: {
|
||||
attack: 2
|
||||
}
|
||||
@@ -21,9 +25,21 @@ export const ITEMS: Record<string, Item> = {
|
||||
id: "leather_armor",
|
||||
name: "Leather Armor",
|
||||
type: "BodyArmour",
|
||||
icon: "armor_leather",
|
||||
textureKey: "items",
|
||||
spriteIndex: 25,
|
||||
stats: {
|
||||
defense: 2
|
||||
}
|
||||
},
|
||||
"throwing_dagger": {
|
||||
id: "throwing_dagger",
|
||||
name: "Throwing Dagger",
|
||||
type: "Consumable",
|
||||
textureKey: "items",
|
||||
spriteIndex: 15,
|
||||
stats: {
|
||||
attack: 4
|
||||
},
|
||||
throwable: true
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user