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 0000000000..b561ed0a12 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_202007/broad_armor_mystery_202007.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_202007/head_mystery_202007.png b/website/raw_sprites/spritesmith/gear/events/mystery_202007/head_mystery_202007.png new file mode 100644 index 0000000000..838a1dcf14 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_202007/head_mystery_202007.png differ 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 0000000000..3c86b9da70 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_armor_mystery_202007.png differ 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 0000000000..b42d7b54c4 Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_head_mystery_202007.png differ 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 0000000000..99ec37ff1a Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_202007/shop_set_mystery_202007.png differ diff --git a/website/raw_sprites/spritesmith/gear/events/mystery_202007/slim_armor_mystery_202007.png b/website/raw_sprites/spritesmith/gear/events/mystery_202007/slim_armor_mystery_202007.png new file mode 100644 index 0000000000..aadd0f58fc Binary files /dev/null and b/website/raw_sprites/spritesmith/gear/events/mystery_202007/slim_armor_mystery_202007.png differ 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
`, });