mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Extract classes, events and gearTypes into constants file.
This commit is contained in:
36
common/script/content/constants.js
Normal file
36
common/script/content/constants.js
Normal file
@@ -0,0 +1,36 @@
|
||||
/* eslint-disable key-spacing */
|
||||
|
||||
export const CLASSES = [
|
||||
'warrior',
|
||||
'rogue',
|
||||
'healer',
|
||||
'wizard',
|
||||
];
|
||||
|
||||
// IMPORTANT: The end date should be one to two days AFTER the actual end of
|
||||
// the event, to allow people in different timezones to still buy the
|
||||
// event gear up until at least the actual end of the event.
|
||||
|
||||
export const EVENTS = {
|
||||
winter: { start: '2013-12-31', end: '2014-02-01' },
|
||||
birthday: { start: '2013-01-30', end: '2014-02-01' },
|
||||
spring: { start: '2014-03-21', end: '2014-05-01' },
|
||||
summer: { start: '2014-06-20', end: '2014-08-01' },
|
||||
gaymerx: { start: '2014-07-02', end: '2014-08-01' },
|
||||
fall: { start: '2014-09-21', end: '2014-11-01' },
|
||||
winter2015: { start: '2014-12-21', end: '2015-02-02' },
|
||||
spring2015: { start: '2015-03-20', end: '2015-05-02' },
|
||||
summer2015: { start: '2015-06-20', end: '2015-08-02' },
|
||||
fall2015: { start: '2015-09-21', end: '2015-11-01' },
|
||||
};
|
||||
|
||||
export const GEAR_TYPES = [
|
||||
'weapon',
|
||||
'armor',
|
||||
'head',
|
||||
'shield',
|
||||
'body',
|
||||
'back',
|
||||
'headAccessory',
|
||||
'eyewear',
|
||||
];
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user