mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
feat(content): Delightful Dinos Bundle
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import defaults from 'lodash/defaults';
|
||||
import each from 'lodash/each';
|
||||
import moment from 'moment';
|
||||
import t from './translation';
|
||||
import { tasksByCategory } from './tasks';
|
||||
|
||||
@@ -26,6 +25,7 @@ import {
|
||||
|
||||
import appearances from './appearance';
|
||||
import { backgroundsTree, backgroundsFlat } from './appearance/backgrounds';
|
||||
import bundles from './bundles';
|
||||
import spells from './spells'; // eslint-disable-line import/no-cycle
|
||||
import subscriptionBlocks from './subscriptionBlocks';
|
||||
import faq from './faq';
|
||||
@@ -58,211 +58,7 @@ api.timeTravelerStore = timeTravelers.timeTravelerStore;
|
||||
|
||||
api.officialPinnedItems = officialPinnedItems;
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------
|
||||
Discounted Item Bundles
|
||||
---------------------------------------------------------------
|
||||
*/
|
||||
|
||||
api.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,
|
||||
},
|
||||
};
|
||||
api.bundles = bundles;
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user