mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 13:47:33 +01:00
226 lines
4.6 KiB
JavaScript
226 lines
4.6 KiB
JavaScript
import moment from 'moment';
|
|
import t from './translation';
|
|
|
|
/*
|
|
---------------------------------------------------------------
|
|
Discounted Item Bundles
|
|
---------------------------------------------------------------
|
|
*/
|
|
|
|
const bundles = {
|
|
featheredFriends: {
|
|
key: 'featheredFriends',
|
|
text: t('featheredFriendsText'),
|
|
notes: t('featheredFriendsNotes'),
|
|
bundleKeys: [
|
|
'falcon',
|
|
'harpy',
|
|
'owl',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-05-09', '2019-06-02');
|
|
},
|
|
type: 'quests',
|
|
class: 'quest_bundle_featheredFriends',
|
|
value: 7,
|
|
},
|
|
splashyPals: {
|
|
key: 'splashyPals',
|
|
text: t('splashyPalsText'),
|
|
notes: t('splashyPalsNotes'),
|
|
bundleKeys: [
|
|
'dilatory_derby',
|
|
'turtle',
|
|
'whale',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-07-17', '2019-08-02');
|
|
},
|
|
type: 'quests',
|
|
class: 'quest_bundle_splashyPals',
|
|
value: 7,
|
|
},
|
|
farmFriends: {
|
|
key: 'farmFriends',
|
|
text: t('farmFriendsText'),
|
|
notes: t('farmFriendsNotes'),
|
|
bundleKeys: [
|
|
'cow',
|
|
'horse',
|
|
'sheep',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-08-08', '2019-09-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
witchyFamiliars: {
|
|
key: 'witchyFamiliars',
|
|
text: t('witchyFamiliarsText'),
|
|
notes: t('witchyFamiliarsNotes'),
|
|
bundleKeys: [
|
|
'rat',
|
|
'spider',
|
|
'frog',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-10-15', '2019-11-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
winterQuests: {
|
|
key: 'winterQuests',
|
|
text: t('winterQuestsText'),
|
|
notes: t('winterQuestsNotes'),
|
|
bundleKeys: [
|
|
'evilsanta',
|
|
'evilsanta2',
|
|
'penguin',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2017-12-14', '2018-01-01');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
hugabug: {
|
|
key: 'hugabug',
|
|
text: t('hugabugText'),
|
|
notes: t('hugabugNotes'),
|
|
bundleKeys: [
|
|
'snail',
|
|
'beetle',
|
|
'butterfly',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2018-02-06', '2018-04-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
cuddleBuddies: {
|
|
key: 'cuddleBuddies',
|
|
text: t('cuddleBuddiesText'),
|
|
notes: t('cuddleBuddiesNotes'),
|
|
bundleKeys: [
|
|
'bunny',
|
|
'ferret',
|
|
'guineapig',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2018-05-08', '2018-06-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
aquaticAmigos: {
|
|
key: 'aquaticAmigos',
|
|
text: t('aquaticAmigosText'),
|
|
notes: t('aquaticAmigosNotes'),
|
|
bundleKeys: [
|
|
'axolotl',
|
|
'kraken',
|
|
'octopus',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2018-06-12', '2018-07-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
forestFriends: {
|
|
key: 'forestFriends',
|
|
text: t('forestFriendsText'),
|
|
notes: t('forestFriendsNotes'),
|
|
bundleKeys: [
|
|
'ghost_stag',
|
|
'hedgehog',
|
|
'treeling',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2018-09-11', '2018-10-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
oddballs: {
|
|
key: 'oddballs',
|
|
text: t('oddballsText'),
|
|
notes: t('oddballsNotes'),
|
|
bundleKeys: [
|
|
'slime',
|
|
'rock',
|
|
'yarn',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-06-10', '2019-07-03');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
birdBuddies: {
|
|
key: 'birdBuddies',
|
|
text: t('birdBuddiesText'),
|
|
notes: t('birdBuddiesNotes'),
|
|
bundleKeys: [
|
|
'peacock',
|
|
'penguin',
|
|
'rooster',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2018-12-11', '2019-01-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
mythicalMarvels: {
|
|
key: 'mythicalMarvels',
|
|
text: t('mythicalMarvelsText'),
|
|
notes: t('mythicalMarvelsNotes'),
|
|
bundleKeys: [
|
|
'unicorn',
|
|
'seaserpent',
|
|
'gryphon',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-02-19', '2019-03-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
rockingReptiles: {
|
|
key: 'rockingReptiles',
|
|
text: t('rockingReptilesText'),
|
|
notes: t('rockingReptilesNotes'),
|
|
bundleKeys: [
|
|
'alligator',
|
|
'snake',
|
|
'velociraptor',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-09-10', '2019-10-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
delightfulDinos: {
|
|
key: 'delightfulDinos',
|
|
text: t('delightfulDinosText'),
|
|
notes: t('delightfulDinosNotes'),
|
|
bundleKeys: [
|
|
'pterodactyl',
|
|
'triceratops',
|
|
'trex_undead',
|
|
],
|
|
canBuy () {
|
|
return moment().isBetween('2019-11-14', '2019-12-02');
|
|
},
|
|
type: 'quests',
|
|
value: 7,
|
|
},
|
|
};
|
|
|
|
export default bundles;
|