WIP(event): partial content build

This commit is contained in:
Sabe Jones
2018-12-20 09:40:54 -06:00
parent 56d5f77b6e
commit 545499ea0b
98 changed files with 175 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
/* eslint-disable no-console */
const MIGRATION_NAME = 'mystery_items_201811';
const MYSTERY_ITEMS = ['head_mystery_201811', 'weapon_mystery_201811'];
const MIGRATION_NAME = 'mystery_items_201812';
const MYSTERY_ITEMS = ['headAccessory_mystery_201812', 'back_mystery_201812'];
import { model as User } from '../../website/server/models/user';
import { model as UserNotification } from '../../website/server/models/userNotification';

View File

@@ -2,8 +2,8 @@
// possible values are: normal, fall, habitoween, thanksgiving, winter, nye, birthday, valentines, spring, summer
// more to be added on future seasons
$npc_market_flavor: 'normal';
$npc_quests_flavor: 'normal';
$npc_seasonal_flavor: 'normal';
$npc_timetravelers_flavor: 'normal';
$npc_tavern_flavor: 'normal';
$npc_market_flavor: 'winter';
$npc_quests_flavor: 'winter';
$npc_seasonal_flavor: 'winter';
$npc_timetravelers_flavor: 'winter';
$npc_tavern_flavor: 'winter';

View File

@@ -274,6 +274,7 @@
"hatchingPotionGlass": "Glass",
"hatchingPotionGlow": "Glow-in-the-Dark",
"hatchingPotionFrost": "Frost",
"hatchingPotionIcySnow": "Icy Snow",
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
"premiumPotionAddlNotes": "Not usable on quest pet eggs.",

View File

@@ -1618,6 +1618,8 @@
"backMystery201803Notes": "These bright and shiny wings will carry you through soft spring breezes and across lily ponds with ease. Confers no benefit. March 2018 Subscriber Item.",
"backMystery201804Text": "Squirrel Tail",
"backMystery201804Notes": "Sure, it helps you balance while you jump on branches, but the most important thing is MAXIMUM FLUFF. Confers no benefit. April 2018 Subscriber Item.",
"backMystery201812Text": "Arctic Fox Tail",
"backMystery201812Notes": "Your luxurious tail shimmers like an icicle, bobbing happily as you pad softly over the snowdrifts. Confers no benefit. December 2018 Subscriber Item.",
"backMystery201805Text": "Phenomenal Peacock Tail",
"backMystery201805Notes": "This gorgeous feathery tail is perfect for a strut down a lovely garden path! Confers no benefit. May 2018 Subscriber Item.",
@@ -1784,6 +1786,8 @@
"headAccessoryMystery201801Notes": "These icy antlers shimmer with the glow of winter auroras. Confers no benefit. January 2018 Subscriber Item.",
"headAccessoryMystery201804Text": "Squirrel Ears",
"headAccessoryMystery201804Notes": "These fuzzy sound-catchers will ensure you never miss the rustle of a leaf or the sound of an acorn falling! Confers no benefit. April 2018 Subscriber Item.",
"headAccessoryMystery201812Text": "Arctic Fox Ears",
"headAccessoryMystery201812Notes": "Twitch twitch... you hear the subtle sound of snowflakes falling upon the landscape. Confers no benefit. December 2018 Subscriber Item.",
"headAccessoryMystery301405Text": "Headwear Goggles",
"headAccessoryMystery301405Notes": "\"Goggles are for your eyes,\" they said. \"Nobody wants goggles that you can only wear on your head,\" they said. Hah! You sure showed them! Confers no benefit. August 3015 Subscriber Item.",

View File

@@ -34,6 +34,7 @@ export const EVENTS = {
spring2018: { start: '2018-03-20', end: '2018-05-02' },
summer2018: { start: '2018-06-19', end: '2018-08-02' },
fall2018: { start: '2018-09-20', end: '2018-11-02' },
winter2019: { start: '2018-12-19', end: '2019-02-02' },
};
export const SEASONAL_SETS = {

View File

@@ -340,6 +340,12 @@ let back = {
mystery: '201805',
value: 0,
},
201812: {
text: t('backMystery201812Text'),
notes: t('backMystery201812Notes'),
mystery: '201812',
value: 0,
},
};
let body = {
@@ -718,6 +724,12 @@ let headAccessory = {
mystery: '201804',
value: 0,
},
201812: {
text: t('headAccessoryMystery201812Text'),
notes: t('headAccessoryMystery201812Notes'),
mystery: '201812',
value: 0,
},
301405: {
text: t('headAccessoryMystery301405Text'),
notes: t('headAccessoryMystery301405Notes'),

View File

@@ -1059,6 +1059,42 @@ let armor = {
value: 0,
canOwn: ownsItem('armor_special_turkeyArmorGilded'),
},
winter2019Rogue: {
event: EVENTS.winter2019,
specialClass: 'rogue',
set: 'winter2019ReindeerSet',
text: t('armorSpecialWinter2019RogueText'),
notes: t('armorSpecialWinter2019RogueNotes', { per: 15 }),
value: 90,
per: 15,
},
winter2019Warrior: {
event: EVENTS.winter2019,
specialClass: 'warrior',
set: 'winter2019GiftWrappedSet',
text: t('armorSpecialWinter2019WarriorText'),
notes: t('armorSpecialWinter2019WarriorNotes', { con: 9 }),
value: 90,
con: 9,
},
winter2019Mage: {
event: EVENTS.winter2019,
specialClass: 'wizard',
set: 'winter2019ConfettiSet',
text: t('armorSpecialWinter2019MageText'),
notes: t('armorSpecialWinter2019MageNotes', { int: 9 }),
value: 90,
int: 9,
},
winter2019Healer: {
event: EVENTS.winter2019,
specialClass: 'healer',
set: 'winter2019MistletoeSet',
text: t('armorSpecialWinter2019HealerText'),
notes: t('armorSpecialWinter2019HealerNotes', { con: 15 }),
value: 90,
con: 15,
},
};
let back = {
@@ -2398,6 +2434,42 @@ let head = {
value: 0,
canOwn: ownsItem('head_special_turkeyHelmGilded'),
},
winter2019Rogue: {
event: EVENTS.winter2019,
specialClass: 'rogue',
set: 'winter2019ReindeerSet',
text: t('headSpecialWinter2019RogueText'),
notes: t('headSpecialWinter2019RogueNotes', { per: 9 }),
value: 60,
per: 9,
},
winter2019Warrior: {
event: EVENTS.winter2019,
specialClass: 'warrior',
set: 'winter2019GiftWrappedSet',
text: t('headSpecialWinter2019WarriorText'),
notes: t('headSpecialWinter2019WarriorNotes', { str: 9 }),
value: 60,
str: 9,
},
winter2019Mage: {
event: EVENTS.winter2019,
specialClass: 'wizard',
set: 'winter2019ConfettiSet',
text: t('headSpecialWinter2019MageText'),
notes: t('headSpecialWinter2019MageNotes', { per: 7 }),
value: 60,
per: 7,
},
winter2019Healer: {
event: EVENTS.winter2019,
specialClass: 'healer',
set: 'winter2019MistletoeSet',
text: t('headSpecialWinter2019HealerText'),
notes: t('headSpecialWinter2019HealerNotes', { int: 7 }),
value: 60,
int: 7,
},
};
let headAccessory = {
@@ -3453,6 +3525,33 @@ let shield = {
value: 70,
con: 9,
},
winter2019Rogue: {
event: EVENTS.winter2019,
specialClass: 'rogue',
set: 'winter2019ReindeerSet',
text: t('shieldSpecialWinter2019RogueText'),
notes: t('shieldSpecialWinter2019RogueNotes', { str: 8 }),
value: 80,
str: 8,
},
winter2019Warrior: {
event: EVENTS.winter2019,
specialClass: 'warrior',
set: 'winter2019GiftWrappedSet',
text: t('shieldSpecialWinter2019WarriorText'),
notes: t('shieldSpecialWinter2019WarriorNotes', { con: 7 }),
value: 70,
con: 7,
},
winter2019Healer: {
event: EVENTS.winter2019,
specialClass: 'healer',
set: 'winter2019MistletoeSet',
text: t('shieldSpecialWinter2019HealerText'),
notes: t('shieldSpecialWinter2019HealerNotes', { con: 9 }),
value: 70,
con: 9,
},
};
let weapon = {
@@ -4508,6 +4607,44 @@ let weapon = {
value: 90,
int: 9,
},
winter2019Rogue: {
event: EVENTS.winter2019,
specialClass: 'rogue',
set: 'winter2019ReindeerSet',
text: t('weaponSpecialWinter2019RogueText'),
notes: t('weaponSpecialWinter2019RogueNotes', { str: 8 }),
value: 80,
str: 8,
},
winter2019Warrior: {
event: EVENTS.winter2019,
specialClass: 'warrior',
set: 'winter2019GiftWrappedSet',
text: t('weaponSpecialWinter2019WarriorText'),
notes: t('weaponSpecialWinter2019WarriorNotes', { str: 15 }),
value: 90,
str: 15,
},
winter2019Mage: {
event: EVENTS.winter2019,
specialClass: 'wizard',
set: 'winter2019ConfettiSet',
twoHanded: true,
text: t('weaponSpecialWinter2019MageText'),
notes: t('weaponSpecialWinter2019MageNotes', { int: 15, per: 7 }),
value: 170,
int: 15,
per: 7,
},
winter2019Healer: {
event: EVENTS.winter2019,
specialClass: 'healer',
set: 'winter2019MistletoeSet',
text: t('weaponSpecialWinter2019HealerText'),
notes: t('weaponSpecialWinter2019HealerNotes', { int: 9 }),
value: 90,
int: 9,
},
};
let specialSet = {

View File

@@ -3,7 +3,7 @@ import defaults from 'lodash/defaults';
import each from 'lodash/each';
import t from './translation';
const CURRENT_SEASON = '_NONE_';
const CURRENT_SEASON = 'December';
let drops = {
Base: {
@@ -118,13 +118,13 @@ let premium = {
value: 2,
text: t('hatchingPotionPeppermint'),
limited: true,
_season: 'winter',
_season: 'December',
},
StarryNight: {
value: 2,
text: t('hatchingPotionStarryNight'),
limited: true,
_season: 'January',
_season: 'December',
},
Rainbow: {
value: 2,
@@ -150,6 +150,12 @@ let premium = {
limited: true,
_season: 'November',
},
IcySnow: {
value: 2,
text: t('hatchingPotionIcySnow'),
limited: true,
_season: 'December',
},
};
each(drops, (pot, key) => {

View File

@@ -234,6 +234,10 @@ let mysterySets = {
start: '2018-11-28',
end: '2018-12-4',
},
201812: {
start: '2018-12-19',
end: '2019-01-02',
},
301404: {
start: '3014-03-24',
end: '3014-04-02',

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 608 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 574 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 695 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 918 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 781 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 644 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 680 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 704 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB