mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Move item list to separate module
This commit is contained in:
56
common/script/src/content/item-list.js
Normal file
56
common/script/src/content/item-list.js
Normal file
@@ -0,0 +1,56 @@
|
||||
let itemList = {
|
||||
'weapon': {
|
||||
localeKey: 'weapon',
|
||||
isEquipment: true
|
||||
},
|
||||
'armor': {
|
||||
localeKey: 'armor',
|
||||
isEquipment: true
|
||||
},
|
||||
'head': {
|
||||
localeKey: 'headgear',
|
||||
isEquipment: true
|
||||
},
|
||||
'shield': {
|
||||
localeKey: 'offhand',
|
||||
isEquipment: true
|
||||
},
|
||||
'back': {
|
||||
localeKey: 'back',
|
||||
isEquipment: true
|
||||
},
|
||||
'body': {
|
||||
localeKey: 'body',
|
||||
isEquipment: true
|
||||
},
|
||||
'headAccessory': {
|
||||
localeKey: 'headAccessory',
|
||||
isEquipment: true
|
||||
},
|
||||
'eyewear': {
|
||||
localeKey: 'eyewear',
|
||||
isEquipment: true
|
||||
},
|
||||
'hatchingPotions': {
|
||||
localeKey: 'hatchingPotion',
|
||||
isEquipment: false
|
||||
},
|
||||
'eggs': {
|
||||
localeKey: 'eggSingular',
|
||||
isEquipment: false
|
||||
},
|
||||
'quests': {
|
||||
localeKey: 'quest',
|
||||
isEquipment: false
|
||||
},
|
||||
'food': {
|
||||
localeKey: 'foodText',
|
||||
isEquipment: false
|
||||
},
|
||||
'Saddle': {
|
||||
localeKey: 'foodSaddleText',
|
||||
isEquipment: false
|
||||
}
|
||||
};
|
||||
|
||||
export default itemList;
|
||||
Reference in New Issue
Block a user