Files
habitica/website/common/script/content/constants/index.js
2022-04-11 17:10:01 -04:00

44 lines
1.3 KiB
JavaScript

import moment from 'moment';
export const CURRENT_SEASON = moment().isBefore('2020-08-02') ? 'summer' : '_NONE_';
export const CLASSES = [
'warrior',
'rogue',
'healer',
'wizard',
];
export const GEAR_TYPES = [
'weapon',
'armor',
'head',
'shield',
'body',
'back',
'headAccessory',
'eyewear',
];
export const USER_CAN_OWN_QUEST_CATEGORIES = [
'unlockable',
'gold',
'hatchingPotion',
'pet',
];
export { EVENTS } from './events';
export { default as SEASONAL_SETS } from './seasonalSets';
export { default as ANIMAL_COLOR_ACHIEVEMENTS } from './animalColorAchievements';
export { default as ANIMAL_SET_ACHIEVEMENTS } from './animalSetAchievements';
export { default as QUEST_SERIES_ACHIEVEMENTS } from './questSeriesAchievements';
export { default as ITEM_LIST } from './itemList';
export { default as QUEST_SERIES } from '../quests/series';
export { default as QUEST_MASTERCLASSER } from '../quests/masterclasser';
export { default as QUEST_GENERIC } from '../quests/generic';
export { default as QUEST_SEASONAL } from '../quests/seasonal';
export { default as QUEST_PETS } from '../quests/pets';
export { default as QUEST_POTIONS } from '../quests/potions';
export { default as QUEST_TIME_TRAVEL } from '../quests/timeTravel';
export { default as QUEST_WORLD } from '../quests/world';