mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(event): Summer Splash 2018
Also gets rid of those Fairy Potions, FOR REAL this time, and fixes a couple of minor Market layout issues
This commit is contained in:
@@ -32,6 +32,7 @@ export const EVENTS = {
|
||||
fall2017: { start: '2017-09-21', end: '2017-11-02' },
|
||||
winter2018: { start: '2017-12-19', end: '2018-02-02' },
|
||||
spring2018: { start: '2018-03-20', end: '2018-05-02' },
|
||||
summer2018: { start: '2018-06-19', end: '2018-08-02' },
|
||||
};
|
||||
|
||||
export const SEASONAL_SETS = {
|
||||
@@ -97,6 +98,37 @@ export const SEASONAL_SETS = {
|
||||
'spring2018DucklingRogueSet',
|
||||
'spring2018GarnetHealerSet',
|
||||
],
|
||||
summer: [
|
||||
// summer 2014
|
||||
'daringSwashbucklerSet',
|
||||
'emeraldMermageSet',
|
||||
'reefSeahealerSet',
|
||||
'roguishPirateSet',
|
||||
|
||||
// summer 2015
|
||||
'sunfishWarriorSet',
|
||||
'shipSoothsayerSet',
|
||||
'strappingSailorSet',
|
||||
'reefRenegadeSet',
|
||||
|
||||
// summer 2016
|
||||
'summer2016SharkWarriorSet',
|
||||
'summer2016DolphinMageSet',
|
||||
'summer2016SeahorseHealerSet',
|
||||
'summer2016EelSet',
|
||||
|
||||
// summer 2017
|
||||
'summer2017SandcastleWarriorSet',
|
||||
'summer2017WhirlpoolMageSet',
|
||||
'summer2017SeashellSeahealerSet',
|
||||
'summer2017SeaDragonSet',
|
||||
|
||||
// summer 2018
|
||||
'summer2018BettaFishWarriorSet',
|
||||
'summer2018LionfishMageSet',
|
||||
'summer2018MerfolkMonarchSet',
|
||||
'summer2018FisherRogueSet',
|
||||
],
|
||||
};
|
||||
|
||||
export const GEAR_TYPES = [
|
||||
|
||||
@@ -8,7 +8,7 @@ import takeThisGear from './special-takeThis';
|
||||
import wonderconGear from './special-wondercon';
|
||||
import t from '../../../translation';
|
||||
|
||||
const CURRENT_SEASON = '_NONE_';
|
||||
const CURRENT_SEASON = 'summer';
|
||||
|
||||
let armor = {
|
||||
0: backerGear.armorSpecial0,
|
||||
@@ -815,6 +815,9 @@ let armor = {
|
||||
notes: t('armorSpecialSummer2017RogueNotes', { per: 15 }),
|
||||
value: 90,
|
||||
per: 15,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Warrior: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -824,6 +827,9 @@ let armor = {
|
||||
notes: t('armorSpecialSummer2017WarriorNotes', { con: 9 }),
|
||||
value: 90,
|
||||
con: 9,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Mage: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -833,6 +839,9 @@ let armor = {
|
||||
notes: t('armorSpecialSummer2017MageNotes', { int: 9 }),
|
||||
value: 90,
|
||||
int: 9,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Healer: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -842,6 +851,9 @@ let armor = {
|
||||
notes: t('armorSpecialSummer2017HealerNotes', { con: 15 }),
|
||||
value: 90,
|
||||
con: 15,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
fall2017Rogue: {
|
||||
event: EVENTS.fall2017,
|
||||
@@ -957,6 +969,42 @@ let armor = {
|
||||
value: 90,
|
||||
con: 15,
|
||||
},
|
||||
summer2018Rogue: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'rogue',
|
||||
set: 'summer2018FisherRogueSet',
|
||||
text: t('armorSpecialSummer2018RogueText'),
|
||||
notes: t('armorSpecialSummer2018RogueNotes', { per: 15 }),
|
||||
value: 90,
|
||||
per: 15,
|
||||
},
|
||||
summer2018Warrior: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'warrior',
|
||||
set: 'summer2018BettaFishWarriorSet',
|
||||
text: t('armorSpecialSummer2018WarriorText'),
|
||||
notes: t('armorSpecialSummer2018WarriorNotes', { con: 9 }),
|
||||
value: 90,
|
||||
con: 9,
|
||||
},
|
||||
summer2018Mage: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'wizard',
|
||||
set: 'summer2018LionfishMageSet',
|
||||
text: t('armorSpecialSummer2018MageText'),
|
||||
notes: t('armorSpecialSummer2018MageNotes', { int: 9 }),
|
||||
value: 90,
|
||||
int: 9,
|
||||
},
|
||||
summer2018Healer: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'healer',
|
||||
set: 'summer2018MerfolkMonarchSet',
|
||||
text: t('armorSpecialSummer2018HealerText'),
|
||||
notes: t('armorSpecialSummer2018HealerNotes', { con: 15 }),
|
||||
value: 90,
|
||||
con: 15,
|
||||
},
|
||||
};
|
||||
|
||||
let back = {
|
||||
@@ -1954,6 +2002,9 @@ let head = {
|
||||
notes: t('headSpecialSummer2017RogueNotes', { per: 9 }),
|
||||
value: 60,
|
||||
per: 9,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Warrior: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -1963,6 +2014,9 @@ let head = {
|
||||
notes: t('headSpecialSummer2017WarriorNotes', { str: 9 }),
|
||||
value: 60,
|
||||
str: 9,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Mage: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -1972,6 +2026,9 @@ let head = {
|
||||
notes: t('headSpecialSummer2017MageNotes', { per: 7 }),
|
||||
value: 60,
|
||||
per: 7,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Healer: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -1981,6 +2038,9 @@ let head = {
|
||||
notes: t('headSpecialSummer2017HealerNotes', { int: 7 }),
|
||||
value: 60,
|
||||
int: 7,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
namingDay2017: {
|
||||
text: t('headSpecialNamingDay2017Text'),
|
||||
@@ -2102,6 +2162,42 @@ let head = {
|
||||
value: 60,
|
||||
int: 7,
|
||||
},
|
||||
summer2018Rogue: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'rogue',
|
||||
set: 'summer2018FisherRogueSet',
|
||||
text: t('headSpecialSummer2018RogueText'),
|
||||
notes: t('headSpecialSummer2018RogueNotes', { per: 9 }),
|
||||
value: 60,
|
||||
per: 9,
|
||||
},
|
||||
summer2018Warrior: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'warrior',
|
||||
set: 'summer2018BettaFishWarriorSet',
|
||||
text: t('headSpecialSummer2018WarriorText'),
|
||||
notes: t('headSpecialSummer2018WarriorNotes', { str: 9 }),
|
||||
value: 60,
|
||||
str: 9,
|
||||
},
|
||||
summer2018Mage: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'wizard',
|
||||
set: 'summer2018LionfishMageSet',
|
||||
text: t('headSpecialSummer2018MageText'),
|
||||
notes: t('headSpecialSummer2018MageNotes', { per: 7 }),
|
||||
value: 60,
|
||||
per: 7,
|
||||
},
|
||||
summer2018Healer: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'healer',
|
||||
set: 'summer2018MerfolkMonarchSet',
|
||||
text: t('headSpecialSummer2018HealerText'),
|
||||
notes: t('headSpecialSummer2018HealerNotes', { int: 7 }),
|
||||
value: 60,
|
||||
int: 7,
|
||||
},
|
||||
};
|
||||
|
||||
let headAccessory = {
|
||||
@@ -2985,6 +3081,9 @@ let shield = {
|
||||
notes: t('shieldSpecialSummer2017RogueNotes', { str: 8 }),
|
||||
value: 80,
|
||||
str: 8,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Warrior: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -2994,6 +3093,9 @@ let shield = {
|
||||
notes: t('shieldSpecialSummer2017WarriorNotes', { con: 7 }),
|
||||
value: 70,
|
||||
con: 7,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Healer: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -3003,6 +3105,9 @@ let shield = {
|
||||
notes: t('shieldSpecialSummer2017HealerNotes', { con: 9 }),
|
||||
value: 70,
|
||||
con: 9,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
fall2017Rogue: {
|
||||
event: EVENTS.fall2017,
|
||||
@@ -3085,6 +3190,33 @@ let shield = {
|
||||
value: 70,
|
||||
con: 9,
|
||||
},
|
||||
summer2018Rogue: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'rogue',
|
||||
set: 'summer2018FisherRogueSet',
|
||||
text: t('weaponSpecialSummer2018RogueText'),
|
||||
notes: t('weaponSpecialSummer2018RogueNotes', { str: 8 }),
|
||||
value: 80,
|
||||
str: 8,
|
||||
},
|
||||
summer2018Warrior: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'warrior',
|
||||
set: 'summer2018BettaFishWarriorSet',
|
||||
text: t('shieldSpecialSummer2018WarriorText'),
|
||||
notes: t('shieldSpecialSummer2018WarriorNotes', { con: 7 }),
|
||||
value: 70,
|
||||
con: 7,
|
||||
},
|
||||
summer2018Healer: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'healer',
|
||||
set: 'summer2018MerfolkMonarchSet',
|
||||
text: t('shieldSpecialSummer2018HealerText'),
|
||||
notes: t('shieldSpecialSummer2018HealerNotes', { con: 9 }),
|
||||
value: 70,
|
||||
con: 9,
|
||||
},
|
||||
};
|
||||
|
||||
let weapon = {
|
||||
@@ -3896,6 +4028,9 @@ let weapon = {
|
||||
notes: t('weaponSpecialSummer2017RogueNotes', { str: 8 }),
|
||||
value: 80,
|
||||
str: 8,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Warrior: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -3905,6 +4040,9 @@ let weapon = {
|
||||
notes: t('weaponSpecialSummer2017WarriorNotes', { str: 15 }),
|
||||
value: 90,
|
||||
str: 15,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Mage: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -3916,6 +4054,9 @@ let weapon = {
|
||||
value: 160,
|
||||
int: 15,
|
||||
per: 7,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
summer2017Healer: {
|
||||
event: EVENTS.summer2017,
|
||||
@@ -3925,6 +4066,9 @@ let weapon = {
|
||||
notes: t('weaponSpecialSummer2017HealerNotes', { int: 9 }),
|
||||
value: 90,
|
||||
int: 9,
|
||||
canBuy: () => {
|
||||
return CURRENT_SEASON === 'summer';
|
||||
},
|
||||
},
|
||||
fall2017Rogue: {
|
||||
event: EVENTS.fall2017,
|
||||
@@ -4040,6 +4184,44 @@ let weapon = {
|
||||
value: 90,
|
||||
int: 9,
|
||||
},
|
||||
summer2018Rogue: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'rogue',
|
||||
set: 'summer2018FisherRogueSet',
|
||||
text: t('weaponSpecialSummer2018RogueText'),
|
||||
notes: t('weaponSpecialSummer2018RogueNotes', { str: 8 }),
|
||||
value: 80,
|
||||
str: 8,
|
||||
},
|
||||
summer2018Warrior: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'warrior',
|
||||
set: 'summer2018BettaFishWarriorSet',
|
||||
text: t('weaponSpecialSummer2018WarriorText'),
|
||||
notes: t('weaponSpecialSummer2018WarriorNotes', { str: 15 }),
|
||||
value: 90,
|
||||
str: 15,
|
||||
},
|
||||
summer2018Mage: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'wizard',
|
||||
set: 'summer2018LionfishMageSet',
|
||||
twoHanded: true,
|
||||
text: t('weaponSpecialSummer2018MageText'),
|
||||
notes: t('weaponSpecialSummer2018MageNotes', { int: 15, per: 7 }),
|
||||
value: 160,
|
||||
int: 15,
|
||||
per: 7,
|
||||
},
|
||||
summer2018Healer: {
|
||||
event: EVENTS.summer2018,
|
||||
specialClass: 'healer',
|
||||
set: 'summer2018MerfolkMonarchSet',
|
||||
text: t('weaponSpecialSummer2018HealerText'),
|
||||
notes: t('weaponSpecialSummer2018HealerNotes', { int: 9 }),
|
||||
value: 90,
|
||||
int: 9,
|
||||
},
|
||||
};
|
||||
|
||||
let specialSet = {
|
||||
|
||||
@@ -3,7 +3,7 @@ import defaults from 'lodash/defaults';
|
||||
import each from 'lodash/each';
|
||||
import t from './translation';
|
||||
|
||||
const CURRENT_SEASON = 'May';
|
||||
const CURRENT_SEASON = '_NONE_';
|
||||
|
||||
let drops = {
|
||||
Base: {
|
||||
|
||||
@@ -9,32 +9,32 @@ const featuredItems = {
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
path: 'hatchingPotions.Red',
|
||||
path: 'hatchingPotions.Desert',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Fairy',
|
||||
type: 'food',
|
||||
path: 'food.Fish',
|
||||
},
|
||||
{
|
||||
type: 'card',
|
||||
path: 'cardTypes.goodluck',
|
||||
path: 'cardTypes.congrats',
|
||||
},
|
||||
],
|
||||
quests: [
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.squirrel',
|
||||
path: 'quests.dilatory_derby',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.taskwoodsTerror1',
|
||||
path: 'quests.dilatoryDistress1',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.butterfly',
|
||||
path: 'quests.whale',
|
||||
},
|
||||
],
|
||||
seasonal: '',
|
||||
seasonal: 'summerRogue',
|
||||
timeTravelers: [
|
||||
// TODO
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user