From 2b166af82a82187b13310f8aa5b3f4adfa1b9a36 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Mon, 29 Jun 2020 15:15:11 -0500 Subject: [PATCH] feat(content): July 2020 subscriber set Also refactor repetitive subscriber item code --- website/common/locales/en/gear.json | 4 + website/common/locales/en/subscriber.json | 1 + .../script/content/gear/sets/mystery.js | 1221 +++-------------- .../broad_armor_mystery_202007.png | Bin 0 -> 838 bytes .../mystery_202007/head_mystery_202007.png | Bin 0 -> 611 bytes .../shop_armor_mystery_202007.png | Bin 0 -> 746 bytes .../shop_head_mystery_202007.png | Bin 0 -> 528 bytes .../shop_set_mystery_202007.png | Bin 0 -> 1026 bytes .../slim_armor_mystery_202007.png | Bin 0 -> 822 bytes website/server/controllers/api-v3/news.js | 40 +- 10 files changed, 209 insertions(+), 1057 deletions(-) create mode 100644 website/raw_sprites/spritesmith/gear/events/mystery_202007/broad_armor_mystery_202007.png create mode 100644 website/raw_sprites/spritesmith/gear/events/mystery_202007/head_mystery_202007.png create mode 100644 website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_armor_mystery_202007.png create mode 100644 website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_head_mystery_202007.png create mode 100644 website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_set_mystery_202007.png create mode 100644 website/raw_sprites/spritesmith/gear/events/mystery_202007/slim_armor_mystery_202007.png diff --git a/website/common/locales/en/gear.json b/website/common/locales/en/gear.json index 029df893fe..3663ffd243 100644 --- a/website/common/locales/en/gear.json +++ b/website/common/locales/en/gear.json @@ -941,6 +941,8 @@ "armorMystery201910Notes": "This enigmatic armor will protect you from terrors seen and unseen. Confers no benefit. October 2019 Subscriber Item.", "armorMystery202006Text": "Multichrome Merfolk Tail", "armorMystery202006Notes": "Even among the brightest corals and anemones, this tail proudly stands out from the crowd! Confers no benefit. June 2020 Subscriber Item.", + "armorMystery202007Text": "Outstanding Orca Costume", + "armorMystery202007Notes": "Swim, flip, dive, and race with this handsome and powerful tail! Confers no benefit. July 2020 Subscriber Item.", "armorMystery301404Text": "Steampunk Suit", "armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.", "armorMystery301703Text": "Steampunk Peacock Gown", @@ -1532,6 +1534,8 @@ "headMystery202003Notes": "Be careful, this helm is sharp in more ways than one! Confers no benefit. March 2020 Subscriber Item.", "headMystery202006Text": "Sugilite Circlet", "headMystery202006Notes": "The positive energy of these radiant purple stones will draw the sea's friendliest creatures to your side. Confers no benefit. June 2020 Subscriber Item.", + "headMystery202007Text": "Outstanding Orca Helm", + "headMystery202007Notes": "This helm will tune you in to the complex and beautiful songs of your fellow cetaceans. Confers no benefit. July 2020 Subscriber Item.", "headMystery301404Text": "Fancy Top Hat", "headMystery301404Notes": "A fancy top hat for the finest of gentlefolk! January 3015 Subscriber Item. Confers no benefit.", "headMystery301405Text": "Basic Top Hat", diff --git a/website/common/locales/en/subscriber.json b/website/common/locales/en/subscriber.json index a28b23650d..5f5a8e2d59 100644 --- a/website/common/locales/en/subscriber.json +++ b/website/common/locales/en/subscriber.json @@ -174,6 +174,7 @@ "mysterySet202004": "Mighty Monarch Set", "mysterySet202005": "Wondrous Wyvern Set", "mysterySet202006": "Multichrome Merfolk Set", + "mysterySet202007": "Outstanding Orca Set", "mysterySet301404": "Steampunk Standard Set", "mysterySet301405": "Steampunk Accessories Set", "mysterySet301703": "Peacock Steampunk Set", diff --git a/website/common/script/content/gear/sets/mystery.js b/website/common/script/content/gear/sets/mystery.js index 4f564766b5..7da55eb311 100644 --- a/website/common/script/content/gear/sets/mystery.js +++ b/website/common/script/content/gear/sets/mystery.js @@ -1,1055 +1,224 @@ +import defaults from 'lodash/defaults'; +import forEach from 'lodash/forEach'; import t from '../../translation'; const armor = { - 201402: { - text: t('armorMystery201402Text'), - notes: t('armorMystery201402Notes'), - mystery: '201402', - value: 0, - }, - 201403: { - text: t('armorMystery201403Text'), - notes: t('armorMystery201403Notes'), - mystery: '201403', - value: 0, - }, - 201405: { - text: t('armorMystery201405Text'), - notes: t('armorMystery201405Notes'), - mystery: '201405', - value: 0, - }, - 201406: { - text: t('armorMystery201406Text'), - notes: t('armorMystery201406Notes'), - mystery: '201406', - value: 0, - }, - 201407: { - text: t('armorMystery201407Text'), - notes: t('armorMystery201407Notes'), - mystery: '201407', - value: 0, - }, - 201408: { - text: t('armorMystery201408Text'), - notes: t('armorMystery201408Notes'), - mystery: '201408', - value: 0, - }, - 201409: { - text: t('armorMystery201409Text'), - notes: t('armorMystery201409Notes'), - mystery: '201409', - value: 0, - }, - 201410: { - text: t('armorMystery201410Text'), - notes: t('armorMystery201410Notes'), - mystery: '201410', - value: 0, - }, - 201412: { - text: t('armorMystery201412Text'), - notes: t('armorMystery201412Notes'), - mystery: '201412', - value: 0, - }, - 201501: { - text: t('armorMystery201501Text'), - notes: t('armorMystery201501Notes'), - mystery: '201501', - value: 0, - }, - 201503: { - text: t('armorMystery201503Text'), - notes: t('armorMystery201503Notes'), - mystery: '201503', - value: 0, - }, - 201504: { - text: t('armorMystery201504Text'), - notes: t('armorMystery201504Notes'), - mystery: '201504', - value: 0, - }, - 201506: { - text: t('armorMystery201506Text'), - notes: t('armorMystery201506Notes'), - mystery: '201506', - value: 0, - }, - 201508: { - text: t('armorMystery201508Text'), - notes: t('armorMystery201508Notes'), - mystery: '201508', - value: 0, - }, - 201509: { - text: t('armorMystery201509Text'), - notes: t('armorMystery201509Notes'), - mystery: '201509', - value: 0, - }, - 201511: { - text: t('armorMystery201511Text'), - notes: t('armorMystery201511Notes'), - mystery: '201511', - value: 0, - }, - 201512: { - text: t('armorMystery201512Text'), - notes: t('armorMystery201512Notes'), - mystery: '201512', - value: 0, - }, - 201603: { - text: t('armorMystery201603Text'), - notes: t('armorMystery201603Notes'), - mystery: '201603', - value: 0, - }, - 201604: { - text: t('armorMystery201604Text'), - notes: t('armorMystery201604Notes'), - mystery: '201604', - value: 0, - }, - 201605: { - text: t('armorMystery201605Text'), - notes: t('armorMystery201605Notes'), - mystery: '201605', - value: 0, - }, - 201606: { - text: t('armorMystery201606Text'), - notes: t('armorMystery201606Notes'), - mystery: '201606', - value: 0, - }, - 201607: { - text: t('armorMystery201607Text'), - notes: t('armorMystery201607Notes'), - mystery: '201607', - value: 0, - }, - 201609: { - text: t('armorMystery201609Text'), - notes: t('armorMystery201609Notes'), - mystery: '201609', - value: 0, - }, - 201610: { - text: t('armorMystery201610Text'), - notes: t('armorMystery201610Notes'), - mystery: '201610', - value: 0, - }, - 201612: { - text: t('armorMystery201612Text'), - notes: t('armorMystery201612Notes'), - mystery: '201612', - value: 0, - }, - 201703: { - text: t('armorMystery201703Text'), - notes: t('armorMystery201703Notes'), - mystery: '201703', - value: 0, - }, - 201704: { - text: t('armorMystery201704Text'), - notes: t('armorMystery201704Notes'), - mystery: '201704', - value: 0, - }, - 201707: { - text: t('armorMystery201707Text'), - notes: t('armorMystery201707Notes'), - mystery: '201707', - value: 0, - }, - 201710: { - text: t('armorMystery201710Text'), - notes: t('armorMystery201710Notes'), - mystery: '201710', - value: 0, - }, - 201711: { - text: t('armorMystery201711Text'), - notes: t('armorMystery201711Notes'), - mystery: '201711', - value: 0, - }, - 201712: { - text: t('armorMystery201712Text'), - notes: t('armorMystery201712Notes'), - mystery: '201712', - value: 0, - }, - 201802: { - text: t('armorMystery201802Text'), - notes: t('armorMystery201802Notes'), - mystery: '201802', - value: 0, - }, - 201806: { - text: t('armorMystery201806Text'), - notes: t('armorMystery201806Notes'), - mystery: '201806', - value: 0, - }, - 201807: { - text: t('armorMystery201807Text'), - notes: t('armorMystery201807Notes'), - mystery: '201807', - value: 0, - }, - 201808: { - text: t('armorMystery201808Text'), - notes: t('armorMystery201808Notes'), - mystery: '201808', - value: 0, - }, - 201809: { - text: t('armorMystery201809Text'), - notes: t('armorMystery201809Notes'), - mystery: '201809', - value: 0, - }, - 201810: { - text: t('armorMystery201810Text'), - notes: t('armorMystery201810Notes'), - mystery: '201810', - value: 0, - }, - 201903: { - text: t('armorMystery201903Text'), - notes: t('armorMystery201903Notes'), - mystery: '201903', - value: 0, - }, - 201904: { - text: t('armorMystery201904Text'), - notes: t('armorMystery201904Notes'), - mystery: '201904', - value: 0, - }, - 201906: { - text: t('armorMystery201906Text'), - notes: t('armorMystery201906Notes'), - mystery: '201906', - value: 0, - }, - 201907: { - text: t('armorMystery201907Text'), - notes: t('armorMystery201907Notes'), - mystery: '201907', - value: 0, - }, - 201908: { - text: t('armorMystery201908Text'), - notes: t('armorMystery201908Notes'), - mystery: '201908', - value: 0, - }, - 201909: { - text: t('armorMystery201909Text'), - notes: t('armorMystery201909Notes'), - mystery: '201909', - value: 0, - }, - 201910: { - text: t('armorMystery201910Text'), - notes: t('armorMystery201910Notes'), - mystery: '201910', - value: 0, - }, - 202006: { - text: t('armorMystery202006Text'), - notes: t('armorMystery202006Notes'), - mystery: '202006', - value: 0, - }, - 301404: { - text: t('armorMystery301404Text'), - notes: t('armorMystery301404Notes'), - mystery: '301404', - value: 0, - }, - 301703: { - text: t('armorMystery301703Text'), - notes: t('armorMystery301703Notes'), - mystery: '301703', - value: 0, - }, - 301704: { - text: t('armorMystery301704Text'), - notes: t('armorMystery301704Notes'), - mystery: '301704', - value: 0, - }, + 201402: { }, + 201403: { }, + 201405: { }, + 201406: { }, + 201407: { }, + 201408: { }, + 201409: { }, + 201410: { }, + 201412: { }, + 201501: { }, + 201503: { }, + 201504: { }, + 201506: { }, + 201508: { }, + 201509: { }, + 201511: { }, + 201512: { }, + 201603: { }, + 201604: { }, + 201605: { }, + 201606: { }, + 201607: { }, + 201609: { }, + 201610: { }, + 201612: { }, + 201703: { }, + 201704: { }, + 201707: { }, + 201710: { }, + 201711: { }, + 201712: { }, + 201802: { }, + 201806: { }, + 201807: { }, + 201808: { }, + 201809: { }, + 201810: { }, + 201903: { }, + 201904: { }, + 201906: { }, + 201907: { }, + 201908: { }, + 201909: { }, + 201910: { }, + 202006: { }, + 202007: { }, + 301404: { }, + 301703: { }, + 301704: { }, }; const back = { - 201402: { - text: t('backMystery201402Text'), - notes: t('backMystery201402Notes'), - mystery: '201402', - value: 0, - }, - 201404: { - text: t('backMystery201404Text'), - notes: t('backMystery201404Notes'), - mystery: '201404', - value: 0, - }, - 201410: { - text: t('backMystery201410Text'), - notes: t('backMystery201410Notes'), - mystery: '201410', - value: 0, - }, - 201504: { - text: t('backMystery201504Text'), - notes: t('backMystery201504Notes'), - mystery: '201504', - value: 0, - }, - 201507: { - text: t('backMystery201507Text'), - notes: t('backMystery201507Notes'), - mystery: '201507', - value: 0, - }, - 201510: { - text: t('backMystery201510Text'), - notes: t('backMystery201510Notes'), - mystery: '201510', - value: 0, - }, - 201602: { - text: t('backMystery201602Text'), - notes: t('backMystery201602Notes'), - mystery: '201602', - value: 0, - }, - 201608: { - text: t('backMystery201608Text'), - notes: t('backMystery201608Notes'), - mystery: '201608', - value: 0, - }, - 201702: { - text: t('backMystery201702Text'), - notes: t('backMystery201702Notes'), - mystery: '201702', - value: 0, - }, - 201704: { - text: t('backMystery201704Text'), - notes: t('backMystery201704Notes'), - mystery: '201704', - value: 0, - }, - 201706: { - text: t('backMystery201706Text'), - notes: t('backMystery201706Notes'), - mystery: '201706', - value: 0, - }, - 201709: { - text: t('backMystery201709Text'), - notes: t('backMystery201709Notes'), - mystery: '201709', - value: 0, - }, - 201801: { - text: t('backMystery201801Text'), - notes: t('backMystery201801Notes'), - mystery: '201801', - value: 0, - }, - 201803: { - text: t('backMystery201803Text'), - notes: t('backMystery201803Notes'), - mystery: '201803', - value: 0, - }, - 201804: { - text: t('backMystery201804Text'), - notes: t('backMystery201804Notes'), - mystery: '201804', - value: 0, - }, - 201805: { - text: t('backMystery201805Text'), - notes: t('backMystery201805Notes'), - mystery: '201805', - value: 0, - }, - 201812: { - text: t('backMystery201812Text'), - notes: t('backMystery201812Notes'), - mystery: '201812', - value: 0, - }, - 201905: { - text: t('backMystery201905Text'), - notes: t('backMystery201905Notes'), - mystery: '201905', - value: 0, - }, - 201912: { - text: t('backMystery201912Text'), - notes: t('backMystery201912Notes'), - mystery: '201912', - value: 0, - }, - 202001: { - text: t('backMystery202001Text'), - notes: t('backMystery202001Notes'), - mystery: '202001', - value: 0, - }, - 202004: { - text: t('backMystery202004Text'), - notes: t('backMystery202004Notes'), - mystery: '202004', - value: 0, - }, - 202005: { - text: t('backMystery202005Text'), - notes: t('backMystery202005Notes'), - mystery: '202005', - value: 0, - }, + 201402: { }, + 201404: { }, + 201410: { }, + 201504: { }, + 201507: { }, + 201510: { }, + 201602: { }, + 201608: { }, + 201702: { }, + 201704: { }, + 201706: { }, + 201709: { }, + 201801: { }, + 201803: { }, + 201804: { }, + 201805: { }, + 201812: { }, + 201905: { }, + 201912: { }, + 202001: { }, + 202004: { }, + 202005: { }, }; const body = { - 201705: { - text: t('bodyMystery201705Text'), - notes: t('bodyMystery201705Notes'), - mystery: '201705', - value: 0, - }, - 201706: { - text: t('bodyMystery201706Text'), - notes: t('bodyMystery201706Notes'), - mystery: '201706', - value: 0, - }, - 201711: { - text: t('bodyMystery201711Text'), - notes: t('bodyMystery201711Notes'), - mystery: '201711', - value: 0, - }, - 201901: { - text: t('bodyMystery201901Text'), - notes: t('bodyMystery201901Notes'), - mystery: '201901', - value: 0, - }, - 202002: { - text: t('bodyMystery202002Text'), - notes: t('bodyMystery202002Notes'), - mystery: '202002', - value: 0, - }, - 202003: { - text: t('bodyMystery202003Text'), - notes: t('bodyMystery202003Notes'), - mystery: '202003', - value: 0, - }, + 201705: { }, + 201706: { }, + 201711: { }, + 201901: { }, + 202002: { }, + 202003: { }, }; const eyewear = { - 201503: { - text: t('eyewearMystery201503Text'), - notes: t('eyewearMystery201503Notes'), - mystery: '201503', - value: 0, - }, - 201506: { - text: t('eyewearMystery201506Text'), - notes: t('eyewearMystery201506Notes'), - mystery: '201506', - value: 0, - }, - 201507: { - text: t('eyewearMystery201507Text'), - notes: t('eyewearMystery201507Notes'), - mystery: '201507', - value: 0, - }, - 201701: { - text: t('eyewearMystery201701Text'), - notes: t('eyewearMystery201701Notes'), - mystery: '201701', - value: 0, - }, - 201902: { - text: t('eyewearMystery201902Text'), - notes: t('eyewearMystery201902Notes'), - mystery: '201902', - value: 0, - }, - 201907: { - text: t('eyewearMystery201907Text'), - notes: t('eyewearMystery201907Notes'), - mystery: '201907', - value: 0, - }, - 301404: { - text: t('eyewearMystery301404Text'), - notes: t('eyewearMystery301404Notes'), - mystery: '301404', - value: 0, - }, - 301405: { - text: t('eyewearMystery301405Text'), - notes: t('eyewearMystery301405Notes'), - mystery: '301405', - value: 0, - }, - 301703: { - text: t('eyewearMystery301703Text'), - notes: t('eyewearMystery301703Notes'), - mystery: '301703', - value: 0, - }, + 201503: { }, + 201506: { }, + 201507: { }, + 201701: { }, + 201902: { }, + 201907: { }, + 301404: { }, + 301405: { }, + 301703: { }, }; const head = { - 201402: { - text: t('headMystery201402Text'), - notes: t('headMystery201402Notes'), - mystery: '201402', - value: 0, - }, - 201405: { - text: t('headMystery201405Text'), - notes: t('headMystery201405Notes'), - mystery: '201405', - value: 0, - }, - 201406: { - text: t('headMystery201406Text'), - notes: t('headMystery201406Notes'), - mystery: '201406', - value: 0, - }, - 201407: { - text: t('headMystery201407Text'), - notes: t('headMystery201407Notes'), - mystery: '201407', - value: 0, - }, - 201408: { - text: t('headMystery201408Text'), - notes: t('headMystery201408Notes'), - mystery: '201408', - value: 0, - }, - 201411: { - text: t('headMystery201411Text'), - notes: t('headMystery201411Notes'), - mystery: '201411', - value: 0, - }, - 201412: { - text: t('headMystery201412Text'), - notes: t('headMystery201412Notes'), - mystery: '201412', - value: 0, - }, - 201501: { - text: t('headMystery201501Text'), - notes: t('headMystery201501Notes'), - mystery: '201501', - value: 0, - }, - 201505: { - text: t('headMystery201505Text'), - notes: t('headMystery201505Notes'), - mystery: '201505', - value: 0, - }, - 201508: { - text: t('headMystery201508Text'), - notes: t('headMystery201508Notes'), - mystery: '201508', - value: 0, - }, - 201509: { - text: t('headMystery201509Text'), - notes: t('headMystery201509Notes'), - mystery: '201509', - value: 0, - }, - 201511: { - text: t('headMystery201511Text'), - notes: t('headMystery201511Notes'), - mystery: '201511', - value: 0, - }, - 201512: { - text: t('headMystery201512Text'), - notes: t('headMystery201512Notes'), - mystery: '201512', - value: 0, - }, - 201601: { - text: t('headMystery201601Text'), - notes: t('headMystery201601Notes'), - mystery: '201601', - value: 0, - }, - 201602: { - text: t('headMystery201602Text'), - notes: t('headMystery201602Notes'), - mystery: '201602', - value: 0, - }, - 201603: { - text: t('headMystery201603Text'), - notes: t('headMystery201603Notes'), - mystery: '201603', - value: 0, - }, - 201604: { - text: t('headMystery201604Text'), - notes: t('headMystery201604Notes'), - mystery: '201604', - value: 0, - }, - 201605: { - text: t('headMystery201605Text'), - notes: t('headMystery201605Notes'), - mystery: '201605', - value: 0, - }, - 201606: { - text: t('headMystery201606Text'), - notes: t('headMystery201606Notes'), - mystery: '201606', - value: 0, - }, - 201607: { - text: t('headMystery201607Text'), - notes: t('headMystery201607Notes'), - mystery: '201607', - value: 0, - }, - 201608: { - text: t('headMystery201608Text'), - notes: t('headMystery201608Notes'), - mystery: '201608', - value: 0, - }, - 201609: { - text: t('headMystery201609Text'), - notes: t('headMystery201609Notes'), - mystery: '201609', - value: 0, - }, - 201610: { - text: t('headMystery201610Text'), - notes: t('headMystery201610Notes'), - mystery: '201610', - value: 0, - }, - 201611: { - text: t('headMystery201611Text'), - notes: t('headMystery201611Notes'), - mystery: '201611', - value: 0, - }, - 201612: { - text: t('headMystery201612Text'), - notes: t('headMystery201612Notes'), - mystery: '201612', - value: 0, - }, - 201702: { - text: t('headMystery201702Text'), - notes: t('headMystery201702Notes'), - mystery: '201702', - value: 0, - }, - 201703: { - text: t('headMystery201703Text'), - notes: t('headMystery201703Notes'), - mystery: '201703', - value: 0, - }, - 201705: { - text: t('headMystery201705Text'), - notes: t('headMystery201705Notes'), - mystery: '201705', - value: 0, - }, - 201707: { - text: t('headMystery201707Text'), - notes: t('headMystery201707Notes'), - mystery: '201707', - value: 0, - }, - 201710: { - text: t('headMystery201710Text'), - notes: t('headMystery201710Notes'), - mystery: '201710', - value: 0, - }, - 201712: { - text: t('headMystery201712Text'), - notes: t('headMystery201712Notes'), - mystery: '201712', - value: 0, - }, - 201802: { - text: t('headMystery201802Text'), - notes: t('headMystery201802Notes'), - mystery: '201802', - value: 0, - }, - 201803: { - text: t('headMystery201803Text'), - notes: t('headMystery201803Notes'), - mystery: '201803', - value: 0, - }, - 201805: { - text: t('headMystery201805Text'), - notes: t('headMystery201805Notes'), - mystery: '201805', - value: 0, - }, - 201806: { - text: t('headMystery201806Text'), - notes: t('headMystery201806Notes'), - mystery: '201806', - value: 0, - }, - 201807: { - text: t('headMystery201807Text'), - notes: t('headMystery201807Notes'), - mystery: '201807', - value: 0, - }, - 201808: { - text: t('headMystery201808Text'), - notes: t('headMystery201808Notes'), - mystery: '201808', - value: 0, - }, - 201809: { - text: t('headMystery201809Text'), - notes: t('headMystery201809Notes'), - mystery: '201809', - value: 0, - }, - 201810: { - text: t('headMystery201810Text'), - notes: t('headMystery201810Notes'), - mystery: '201810', - value: 0, - }, - 201811: { - text: t('headMystery201811Text'), - notes: t('headMystery201811Notes'), - mystery: '201811', - value: 0, - }, - 201901: { - text: t('headMystery201901Text'), - notes: t('headMystery201901Notes'), - mystery: '201901', - value: 0, - }, - 201903: { - text: t('headMystery201903Text'), - notes: t('headMystery201903Notes'), - mystery: '201903', - value: 0, - }, - 201904: { - text: t('headMystery201904Text'), - notes: t('headMystery201904Notes'), - mystery: '201904', - value: 0, - }, - 201907: { - text: t('headMystery201907Text'), - notes: t('headMystery201907Notes'), - mystery: '201907', - value: 0, - }, - 201909: { - text: t('headMystery201909Text'), - notes: t('headMystery201909Notes'), - mystery: '201909', - value: 0, - }, - 201910: { - text: t('headMystery201910Text'), - notes: t('headMystery201910Notes'), - mystery: '201910', - value: 0, - }, - 201911: { - text: t('headMystery201911Text'), - notes: t('headMystery201911Notes'), - mystery: '201911', - value: 0, - }, - 201912: { - text: t('headMystery201912Text'), - notes: t('headMystery201912Notes'), - mystery: '201912', - value: 0, - }, - 202001: { - text: t('headMystery202001Text'), - notes: t('headMystery202001Notes'), - mystery: '202001', - value: 0, - }, - 202003: { - text: t('headMystery202003Text'), - notes: t('headMystery202003Notes'), - mystery: '202003', - value: 0, - }, - 202006: { - text: t('headMystery202006Text'), - notes: t('headMystery202006Notes'), - mystery: '202006', - value: 0, - }, - 301404: { - text: t('headMystery301404Text'), - notes: t('headMystery301404Notes'), - mystery: '301404', - value: 0, - }, - 301405: { - text: t('headMystery301405Text'), - notes: t('headMystery301405Notes'), - mystery: '301405', - value: 0, - }, - 301703: { - text: t('headMystery301703Text'), - notes: t('headMystery301703Notes'), - mystery: '301703', - value: 0, - }, - 301704: { - text: t('headMystery301704Text'), - notes: t('headMystery301704Notes'), - mystery: '301704', - value: 0, - }, + 201402: { }, + 201405: { }, + 201406: { }, + 201407: { }, + 201408: { }, + 201411: { }, + 201412: { }, + 201501: { }, + 201505: { }, + 201508: { }, + 201509: { }, + 201511: { }, + 201512: { }, + 201601: { }, + 201602: { }, + 201603: { }, + 201604: { }, + 201605: { }, + 201606: { }, + 201607: { }, + 201608: { }, + 201609: { }, + 201610: { }, + 201611: { }, + 201612: { }, + 201702: { }, + 201703: { }, + 201705: { }, + 201707: { }, + 201710: { }, + 201712: { }, + 201802: { }, + 201803: { }, + 201805: { }, + 201806: { }, + 201807: { }, + 201808: { }, + 201809: { }, + 201810: { }, + 201811: { }, + 201901: { }, + 201903: { }, + 201904: { }, + 201907: { }, + 201909: { }, + 201910: { }, + 201911: { }, + 201912: { }, + 202001: { }, + 202003: { }, + 202006: { }, + 202007: { }, + 301404: { }, + 301405: { }, + 301703: { }, + 301704: { }, }; const headAccessory = { - 201403: { - text: t('headAccessoryMystery201403Text'), - notes: t('headAccessoryMystery201403Notes'), - mystery: '201403', - value: 0, - }, - 201404: { - text: t('headAccessoryMystery201404Text'), - notes: t('headAccessoryMystery201404Notes'), - mystery: '201404', - value: 0, - }, - 201409: { - text: t('headAccessoryMystery201409Text'), - notes: t('headAccessoryMystery201409Notes'), - mystery: '201409', - value: 0, - }, - 201502: { - text: t('headAccessoryMystery201502Text'), - notes: t('headAccessoryMystery201502Notes'), - mystery: '201502', - value: 0, - }, - 201510: { - text: t('headAccessoryMystery201510Text'), - notes: t('headAccessoryMystery201510Notes'), - mystery: '201510', - value: 0, - }, - 201801: { - text: t('headAccessoryMystery201801Text'), - notes: t('headAccessoryMystery201801Notes'), - mystery: '201801', - value: 0, - }, - 201804: { - text: t('headAccessoryMystery201804Text'), - notes: t('headAccessoryMystery201804Notes'), - mystery: '201804', - value: 0, - }, - 201812: { - text: t('headAccessoryMystery201812Text'), - notes: t('headAccessoryMystery201812Notes'), - mystery: '201812', - value: 0, - }, - 201905: { - text: t('headAccessoryMystery201905Text'), - notes: t('headAccessoryMystery201905Notes'), - mystery: '201905', - value: 0, - }, - 201906: { - text: t('headAccessoryMystery201906Text'), - notes: t('headAccessoryMystery201906Notes'), - mystery: '201906', - value: 0, - }, - 201908: { - text: t('headAccessoryMystery201908Text'), - notes: t('headAccessoryMystery201908Notes'), - mystery: '201908', - value: 0, - }, - 202004: { - text: t('headAccessoryMystery202004Text'), - notes: t('headAccessoryMystery202004Notes'), - mystery: '202004', - value: 0, - }, - 202005: { - text: t('headAccessoryMystery202005Text'), - notes: t('headAccessoryMystery202005Notes'), - mystery: '202005', - value: 0, - }, - 301405: { - text: t('headAccessoryMystery301405Text'), - notes: t('headAccessoryMystery301405Notes'), - mystery: '301405', - value: 0, - }, + 201403: { }, + 201404: { }, + 201409: { }, + 201502: { }, + 201510: { }, + 201801: { }, + 201804: { }, + 201812: { }, + 201905: { }, + 201906: { }, + 201908: { }, + 202004: { }, + 202005: { }, + 301405: { }, }; const shield = { - 201601: { - text: t('shieldMystery201601Text'), - notes: t('shieldMystery201601Notes'), - mystery: '201601', - value: 0, - }, - 201701: { - text: t('shieldMystery201701Text'), - notes: t('shieldMystery201701Notes'), - mystery: '201701', - value: 0, - }, - 201708: { - text: t('shieldMystery201708Text'), - notes: t('shieldMystery201708Notes'), - mystery: '201708', - value: 0, - }, - 201709: { - text: t('shieldMystery201709Text'), - notes: t('shieldMystery201709Notes'), - mystery: '201709', - value: 0, - }, - 201802: { - text: t('shieldMystery201802Text'), - notes: t('shieldMystery201802Notes'), - mystery: '201802', - value: 0, - }, - 201902: { - text: t('shieldMystery201902Text'), - notes: t('shieldMystery201902Notes'), - mystery: '201902', - value: 0, - }, - 301405: { - text: t('shieldMystery301405Text'), - notes: t('shieldMystery301405Notes'), - mystery: '301405', - value: 0, - }, - 301704: { - text: t('shieldMystery301704Text'), - notes: t('shieldMystery301704Notes'), - mystery: '301704', - value: 0, - }, + 201601: { }, + 201701: { }, + 201708: { }, + 201709: { }, + 201802: { }, + 201902: { }, + 301405: { }, + 301704: { }, }; const weapon = { - 201411: { - text: t('weaponMystery201411Text'), - notes: t('weaponMystery201411Notes'), - mystery: '201411', - value: 0, - }, - 201502: { - text: t('weaponMystery201502Text'), - notes: t('weaponMystery201502Notes'), - mystery: '201502', - value: 0, - }, - 201505: { - text: t('weaponMystery201505Text'), - notes: t('weaponMystery201505Notes'), - mystery: '201505', - value: 0, - }, - 201611: { - text: t('weaponMystery201611Text'), - notes: t('weaponMystery201611Notes'), - mystery: '201611', - value: 0, - }, - 201708: { - text: t('weaponMystery201708Text'), - notes: t('weaponMystery201708Notes'), - mystery: '201708', - value: 0, - }, - 201811: { - text: t('weaponMystery201811Text'), - notes: t('weaponMystery201811Notes'), - mystery: '201811', - value: 0, - }, - 201911: { - text: t('weaponMystery201911Text'), - notes: t('weaponMystery201911Notes'), - mystery: '201911', - value: 0, - }, - 202002: { - text: t('weaponMystery202002Text'), - notes: t('weaponMystery202002Notes'), - mystery: '202002', - value: 0, - }, - 301404: { - text: t('weaponMystery301404Text'), - notes: t('weaponMystery301404Notes'), - mystery: '301404', - value: 0, - }, + 201411: { }, + 201502: { }, + 201505: { }, + 201611: { }, + 201708: { }, + 201811: { }, + 201911: { }, + 202002: { }, + 301404: { }, }; +forEach({ + armor, + back, + body, + eyewear, + head, + headAccessory, + shield, + weapon, +}, (gearType, typeKey) => { + forEach(gearType, (gearItem, itemKey) => { + defaults(gearItem, { + text: (t(`${typeKey}Mystery${itemKey}Text`)), + notes: (t(`${typeKey}Mystery${itemKey}Notes`)), + mystery: itemKey, + value: 0, + }); + }); +}); + export { armor, back, diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_202007/broad_armor_mystery_202007.png b/website/raw_sprites/spritesmith/gear/events/mystery_202007/broad_armor_mystery_202007.png new file mode 100644 index 0000000000000000000000000000000000000000..b561ed0a128bf923ffa49559dc2bcfd35a5715a6 GIT binary patch literal 838 zcmeAS@N?(olHy`uVBq!ia0vp^B|u!x!3HER@uhSEDYhhUcNd2LAh=-f^2tCE&H|6f zVg?3oVGw3ym^DWND9B#o>Fdh=giS(3T1-}vr9VJbV@SoVw|8u_g99blKO7T( z5wUbxl=aW1NkQeet-c9&ENXu6$X(#z(R_t>dai|mF(T^6e;IXjFa5an=)zFxquU+1 zoE|I8vpcm{ZKdaJ>H7UI1^nLGzI^%l`I9@OG!+qPKl z{a2OuE8foER>pp_^VTR`(M%`vpYz}8scku(qv>^quV2P%z5bc=%fJ0yxqPLqVd0j0 zr#`;Fw|C~P<9+iz-`;h0p1ComG`~7`cl-2bcKPI--CjB|*V}J9* z>UdGDqK&8CCY*80zh~q9_Ta&0-rpw5eTsd#i`UhKt~lZP#4I58*SuS`mWI~5f7or! z-deu0wjyPTZgPdi-c9N;dhdPS?q#+%dTibo*_z~}8SrG9-IcIKrNQ6+NA%pRs^9rG zx#M`x^Q^QprJ`M&OD!fw|No_0Yq&^y6fqaAA#lOQk?rhHOzuCGndge#D^S>4Dz1`sUakZ1H zp3?TsK~r?~^p|(smbTjR>qw-rp|rWS-~6bTb#G6leA6;t*JUlSUn}HEP{)o}LYmhe zrEdMf68T5A?XkMwvTwca{nBo!wclKydA7H=2UqWv{|AYduMr>jRn6OZT}prc)1&Ww z-e3E2Z(r{1Pz^Pa)pxG0ty_F?ZLBe{#YIkjC^29d$3%-*zM^bq3MFdh=giS(3n&sV$+S3dSj2}E*978H@y}h;HFE~-+z{6`6 z8w@3aol2aN(zpLJe93CD;{WFqkBz_YOJ&t&&a zp5y%LG+ByE^st_ixorsj)l%)$pj{{*SgHrl-qR zJPAtWUp?pAjIC?V)Xm=Gwe0=TA0@L+WzKsozBw${e?L&cqba)+KR$C1$yZBJHIJK| zE^95qy!7DmJ2qxhkJ!9EQj$J*!rK6zDQt6!x}UB4{O0GX6Ti%--@jd^!PfQUp7vVz ze17h=pI?5Ser)LtzNs;HB5o9GFBWB-J$LTkcdOR@-0G|~B{6kNc;dUoWe* zGbHlqrirDSdd+#emTg@z<)cpdt;%52CrY<$(d(= z#cBinaMZyt08H>q+2U3Ia;3e*y8kQnKdU+a;n1&}VrD=8=OhU>ui(kiX?3sXL|TUw gF#@9*Cs>g9kE!wN`W+TlQgt9jp00i_>zopr0O_I>X#fBK literal 0 HcmV?d00001 diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_armor_mystery_202007.png b/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_armor_mystery_202007.png new file mode 100644 index 0000000000000000000000000000000000000000..3c86b9da706b0853d25280c3339c3685b7fe7d11 GIT binary patch literal 746 zcmV?m1s0=>R!MlzraXzVdBQ0U`*Wj4~%;^MB_%|2I7ik z1s2AQ4dVyWxB#@(__Z)3CX9>rD0iIc7sJrf_gUU{&ZIL>&VA1<2qAqLii?0Egp1u?` zx_)8dDFByeZUAs{Y|JqyEmLGj(mf>3j4+GOiw)~cPF;*#H&a$huTtqLG9;-U(yAH8 z=H?p!Mn}&@uE$|@?LK?mQ)Ea|hWJ~*0T>RMu~zvEK(+b_fD45}TXmO9wcL`)90y=L zd(1J#?yDZs?S^19+-GWL1S6S_>e_WyC+@z14C!)1f}cM;fNJPv**YVcAe1;8 z^7nfmE3MU+Aw4q7G<##VJIp?u2jKQCH;34IT#ngmBVP!GIaUu)AlgIa+sn^aymg@O~@~S68`k{x!5tm2WH7=s} zcrv6X4XN)MHWfdcpQ{^kvm-M$igS)>R&U8>o?V(EL-wJEcmS2{?EqlBzS!(6HO>s% zovvT2ef;RbtlLAZ$8>0l3`sqQ>=;~kCRaNvwf}2ou3W9?y{?bJ=dA%qY@2qA<{9 literal 0 HcmV?d00001 diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_head_mystery_202007.png b/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_head_mystery_202007.png new file mode 100644 index 0000000000000000000000000000000000000000..b42d7b54c4deaa02c3a03b5a87642eec14261adf GIT binary patch literal 528 zcmeAS@N?(olHy`uVBq!ia0vp^E+EXo1|%(nCvO5$Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPVn}mqG#JsOh8WWoMto1gbBMII?hd^c=k>wjM!- zm5Np8rtB$?7rJMA=eH6Q&>|rCaDBzjs*5Mz&X(WL-yAL|C^>KIu8$wTWxnX{*s{ko z`R~trS=W!2pL^Jn?0kjC^ilS&%rp8rdXnEgKWFvKT6F&GZ5f`8GxSe!oSl<<%(?#h zi5F$>&-KrqU?R`wX{mQB@nM z&uz%++-28(W2^IS&uM~@D*?y}vd$@?2>|~I=Vbr@ literal 0 HcmV?d00001 diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_set_mystery_202007.png b/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_set_mystery_202007.png new file mode 100644 index 0000000000000000000000000000000000000000..99ec37ff1a628385d64030d1fa034842e75fd56a GIT binary patch literal 1026 zcmV+d1pWJoP)9Y5EF_e6FuIUF!2&T6kXBJ~FpWl@!|Q?Gliv4kACJ<9=R39c-5;;LpPutQ_Z1L{ zL?Zu+gylxBy<8YCf1gQx0sy4%^z@atC$4A40iY*&SQ&r!Osvmjod#hdWP}hIL_~3Q zMY-OzXTS1Zcb$kKQfOXIju67MyIzT)o#SM@8#=A*=*huXx4IXA7e_a;xdj^q8?Iy!9=QiPDO5TYYvX=&PMJoRgD?^KBK zB1H%ZTMXeuoEsPf0LEFjT5G_Mya zwU!X#MTi#}UNwVh&7mV@<@aA9q^=3EihlqA&5R6+`h~(W0HCM4yQ+mUQ;u(mM%xtU zNTkrZn9oH3Akmw&-D(cM4w%+WPo|{W^+ibJYr!F+LH(|X47(-j&nA|}(LB0!2@Bf6 z&5~kDh7e*(i2ZXl0ssZ(=%^hnQJXnVSFQK^oHv`F$!kYV9cq4dMzTzxPF1&K+(!&Q z83h2`x~cjQYS;M~uldD?gzY?J-N`mJ?&vQ>2-z$lmSs_XuWsOcP6!F3{73pD9X0?Y z4z>c=c>Y0EFP(#=Oa6mu6d`1%#}J)#exzFBD#V_M5E4p4N?C)d;@6`iB|>iaB4cr4 zL?MmlOH<8LBT|Hr0Aq+#MXs$m=MAMs)BkU9GAKJ;y69Yf`gmB4Arxb_m=qx-FdtG@ zxRyIt{*-;-`~}CSym?!3$L+Zf%4G3)oE-7C_!c2#3w#KjNGU#ooGK?J+tg?SK=a;x z;#B{a7*a8&kP^Mgik;}J_5QuvN|xcVq(ZeF0XCj61|4gJkQxx;N(>hf#Q!bGYb0{6 wKfZt4(kvu|Yy%;iBB<8)EQE+eB2j?)2c-OFdh=giS(3THDprVG;ua(_v2+$B>F!Z|~Up2M0>9f0*WR zXa!rh(&P-2+ye2!C&Ch)d}?}iEXj`^nH#**b9t;(*l1z6$U;J#^DAp2lZeSaUp2KW z2P=Nf*s|^Dw4#sSXZxMl`F&o|uRq0ARr$r1KufWLTl({lI*NB6J@vk9XUw_x*NV%W z`@es=m*n()Mr~y0wT%Cb%`5kA`)2f2Qr`alrJw2P^2@%pcCO}KKf6^UY@w3)>N~l| zax$Nkm_~(%OUwO!@-fEyx|Ma=y2Sa5ot;JzeM+}c_d|I?KcBkM%Cs#eC?Tw$l%U|_vwldtk=cD3QbMyPlzs;ODaa+&Bmxr9P z#JSpot1BJ^oc+<89JX*qfRV_~pZ&A1X1rbbSFYPI`lbGsTAq({K1QAG*}2HcaAAsi zk@o$4%lMzoE)~-GcJixu(EJ_OZ>_TLtKGiw@5dDZJ{mVW@6>m0`jJ@w>7Gy4{T*@D z`sUv<)7DpPcUui~Y{wnhpf|5gi?yz_C>52v?Tqnz+xS@hcJZaDs-j(-OAmjVSyt(iHa zceZG_Uij|&`>i9Zr%Hz(mF9SeF)n$>7VVfPaq*+tma12^Yrj4Hyu2^h tWktZm?h}9gm3K-1F9+Je2uxdbKRLVE9%g!ato#N_X`ZfrF6*2UngAn3feHWs literal 0 HcmV?d00001 diff --git a/website/server/controllers/api-v3/news.js b/website/server/controllers/api-v3/news.js index 2d954f3e41..dfd5232f7d 100644 --- a/website/server/controllers/api-v3/news.js +++ b/website/server/controllers/api-v3/news.js @@ -4,7 +4,7 @@ const api = {}; // @TODO export this const, cannot export it from here because only routes are exported from // controllers -const LAST_ANNOUNCEMENT_TITLE = 'BLOG POSTS: GUILD AND USE CASE SPOTLIGHTS'; +const LAST_ANNOUNCEMENT_TITLE = 'LAST CHANCE FOR MULTICHROME MERFOLK SET!'; const worldDmg = { // @TODO bailey: false, }; @@ -31,41 +31,19 @@ api.getNews = {

${res.t('newStuff')}

-

6/25/2020 - ${LAST_ANNOUNCEMENT_TITLE}

+

6/29/2020 - ${LAST_ANNOUNCEMENT_TITLE}


-
-

Guild Spotlight: Nakonana's Favorites

+

- For this year's Guild Spotlight series, we're highlighting some favorites from Habitica's - staff, moderators, and some high-level contributors! + Reminder: this is the last day to receive the Multichrome Merfolk Set when you sign up for a new Habitica subscription! + Subscribing also lets you buy Gems with Gold. The longer your subscription, the more Gems + you can get!

-

- This month we're sharing picks from socialite and translator Nakonana! If you want to curate - your Habitica experience and join active, positive Guilds, this is a great way to pick up - some new ideas for Guilds to join. -

-
by shanaqui
-
-

Use Case Spotlight: Adapting to Life Changes

-

- This month's Use Case Spotlight is about Adapting to Life Changes! It features a - number of great suggestions submitted by Habiticans in the Use Case Spotlights Guild. - We hope it helps any of you who might be facing changes in your routine. -

-

- Plus, we're collecting user submissions for the next spotlight! How do you use Challenges - to enhance your Habitica experience? We’ll be featuring player-submitted examples in Use - Case Spotlights on the Habitica Blog next month, so post your suggestions in the Use Case - Spotlight Guild now. We look forward to learning more about how you use Habitica to - improve your life and get things done! -

-
by shanaqui
+

Thanks so much for your support! You help keep Habitica running.

+
by Beffymaroo
`, });