mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
commit28193f86fbAuthor: Phillip Thelen <phillip@habitica.com> Date: Fri Jun 21 11:12:18 2024 +0200 Fix serving memoized content commit877fe48225Author: Phillip Thelen <phillip@habitica.com> Date: Thu Jun 20 12:23:24 2024 +0200 correctly memoize conent api commite0f6f79c5bAuthor: Phillip Thelen <phillip@habitica.com> Date: Thu Jun 20 10:11:27 2024 +0200 don’t build multiple times on heroku commitf62254d68eAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 19:40:20 2024 +0200 fix client command commitd054e6fc16Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 19:36:57 2024 +0200 correct build call commit7231f699c1Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 19:32:32 2024 +0200 try setting up with heroku buildpack commit1dae0793fdAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:50:32 2024 +0200 call gulp build:prod commitf18fbe86b6Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:40:53 2024 +0200 build client commit61a61724caAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:33:18 2024 +0200 testing commit93cf30eb18Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:20:25 2024 +0200 integration fix commitcff08adcd0Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:13:20 2024 +0200 specify dev docker file commit4da2ed4a1fAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:10:07 2024 +0200 initialize stub commit11c5b26c59Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:08:45 2024 +0200 test heroku file commitac85bb2e2dAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:03:15 2024 +0200 fix stub reference commit74dfb2710fAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 18:01:27 2024 +0200 test fixes commit8dbd3c3db1Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:37:04 2024 +0200 fix canOwn test commit74b3b348ffAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:32:31 2024 +0200 fix buy test commit3386d61fdeAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:30:37 2024 +0200 fix debug tests commit19da14531cAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:05:25 2024 +0200 add chameleon to featured quests commit254dd80f24Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 17:05:14 2024 +0200 fix import commit0bc3f16b4bAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:33:22 2024 +0200 add new content to new release file commit5184973bd5Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:33:11 2024 +0200 fix release date tests commitb6accca5caAuthor: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:33:06 2024 +0200 fix armoire tests commitfec68e6211Author: Phillip Thelen <phillip@habitica.com> Date: Wed Jun 19 16:02:03 2024 +0200 fix tests commitfc63c906ddAuthor: Phillip Thelen <phillip@habitica.com> Date: Mon Jun 10 14:44:21 2024 +0200 Improve test coverage commit3333f8f0f5Author: Phillip Thelen <phillip@habitica.com> Date: Mon Jun 10 14:24:59 2024 +0200 allow hatching potions to have a release date commit89a3ac3ddeAuthor: Phillip Thelen <phillip@habitica.com> Date: Mon Jun 10 14:11:38 2024 +0200 allow eggs to have a release date # Conflicts: # test/content/armoire.test.js commit16551ec83fMerge:f5f4974a732645bf6023Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 15:03:12 2024 -0400 Merge branch '2024-07-content-prebuild' into subs-private commit2645bf6023Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 15:02:47 2024 -0400 update habitica images commitf5f4974a73Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 14:58:13 2024 -0400 update habitica-images commit162e337d14Merge:f2506c323121a7d36b7bAuthor: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 13:46:03 2024 -0400 Merge branch '2024-07-content-prebuild' into subs-private commit21a7d36b7bAuthor: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 13:45:09 2024 -0400 update sprites commitf2506c3231Author: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 13:24:21 2024 -0400 updated sprites css commitd47641e25aAuthor: CuriousMagpie <eilatan@gmail.com> Date: Tue Jun 18 12:46:59 2024 -0400 typo fix commitfb8479ad1eAuthor: CuriousMagpie <eilatan@gmail.com> Date: Mon Jun 17 13:44:36 2024 -0400 finish July prebuild commit3810cf3ef3Author: CuriousMagpie <eilatan@gmail.com> Date: Fri Jun 14 10:42:47 2024 -0400 add chameleon quest commitd05da3722cAuthor: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 17:12:43 2024 -0400 add June background notes commitb8a3440ef2Author: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 16:40:04 2024 -0400 fix mystery item and background description commit44d63032d8Author: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 15:38:23 2024 -0400 add subscriber gear, enchanted armoire, and background commit9d7da91ec6Author: CuriousMagpie <eilatan@gmail.com> Date: Thu Jun 13 14:44:59 2024 -0400 add sprites
333 lines
4.8 KiB
JavaScript
333 lines
4.8 KiB
JavaScript
import defaults from 'lodash/defaults';
|
|
import forEach from 'lodash/forEach';
|
|
import t from '../../translation';
|
|
|
|
const armor = {
|
|
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: { },
|
|
202101: { },
|
|
202102: { },
|
|
202103: { },
|
|
202104: { },
|
|
202106: { },
|
|
202110: { },
|
|
202112: { },
|
|
202204: { },
|
|
202207: { },
|
|
202210: { },
|
|
202212: { },
|
|
202304: { },
|
|
202306: { },
|
|
202307: { },
|
|
202310: { },
|
|
202401: { },
|
|
202406: { },
|
|
202407: { },
|
|
301404: { },
|
|
301703: { },
|
|
301704: { },
|
|
};
|
|
|
|
const back = {
|
|
201402: { },
|
|
201404: { },
|
|
201410: { },
|
|
201504: { },
|
|
201507: { },
|
|
201510: { },
|
|
201602: { },
|
|
201608: { },
|
|
201702: { },
|
|
201704: { },
|
|
201706: { },
|
|
201709: { },
|
|
201801: { },
|
|
201803: { },
|
|
201804: { },
|
|
201805: { },
|
|
201812: { },
|
|
201905: { },
|
|
201912: { },
|
|
202001: { },
|
|
202004: { },
|
|
202005: { },
|
|
202009: { },
|
|
202010: { },
|
|
202012: { },
|
|
202105: { },
|
|
202109: { },
|
|
202203: { },
|
|
202205: { },
|
|
202206: { },
|
|
202301: { },
|
|
202302: { },
|
|
202305: { },
|
|
202309: { },
|
|
202401: { },
|
|
202402: { },
|
|
202405: { },
|
|
};
|
|
|
|
const body = {
|
|
201705: { },
|
|
201706: { },
|
|
201711: { },
|
|
201901: { },
|
|
202002: { },
|
|
202003: { },
|
|
202008: { },
|
|
202107: { },
|
|
};
|
|
|
|
const eyewear = {
|
|
201503: { },
|
|
201506: { },
|
|
201507: { },
|
|
201701: { },
|
|
201902: { },
|
|
201907: { },
|
|
202108: { },
|
|
202201: { },
|
|
202202: { },
|
|
'202204A': { mystery: '202204' },
|
|
'202204B': { mystery: '202204' },
|
|
202208: { },
|
|
202303: { },
|
|
202308: { },
|
|
202312: { },
|
|
202406: { },
|
|
301404: { },
|
|
301405: { },
|
|
301703: { },
|
|
};
|
|
|
|
const head = {
|
|
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: { },
|
|
202008: { },
|
|
202010: { },
|
|
202011: { },
|
|
202012: { },
|
|
202101: { },
|
|
202103: { },
|
|
202106: { },
|
|
202107: { },
|
|
202108: { },
|
|
202110: { },
|
|
202111: { },
|
|
202112: { },
|
|
202202: { },
|
|
202206: { },
|
|
202207: { },
|
|
202208: { },
|
|
202210: { },
|
|
202211: { },
|
|
202301: { },
|
|
202303: { },
|
|
202304: { },
|
|
202308: { },
|
|
202310: { },
|
|
202311: { },
|
|
202312: { },
|
|
202402: { },
|
|
202403: { },
|
|
202404: { },
|
|
202406: { },
|
|
202407: { },
|
|
301404: { },
|
|
301405: { },
|
|
301703: { },
|
|
301704: { },
|
|
};
|
|
|
|
const headAccessory = {
|
|
201403: { },
|
|
201404: { },
|
|
201409: { },
|
|
201502: { },
|
|
201510: { },
|
|
201801: { },
|
|
201804: { },
|
|
201812: { },
|
|
201905: { },
|
|
201906: { },
|
|
201908: { },
|
|
202004: { },
|
|
202005: { },
|
|
202009: { },
|
|
202102: { },
|
|
202105: { },
|
|
202109: { },
|
|
202203: { },
|
|
202212: { },
|
|
202205: { },
|
|
202307: { },
|
|
202302: { },
|
|
202305: { },
|
|
202309: { },
|
|
202310: { },
|
|
202405: { },
|
|
301405: { },
|
|
};
|
|
|
|
const shield = {
|
|
201601: { },
|
|
201701: { },
|
|
201708: { },
|
|
201709: { },
|
|
201802: { },
|
|
201902: { },
|
|
202011: { },
|
|
202209: { },
|
|
301405: { },
|
|
301704: { },
|
|
};
|
|
|
|
const weapon = {
|
|
201411: { },
|
|
201502: { },
|
|
201505: { },
|
|
201611: { },
|
|
201708: { },
|
|
201811: { },
|
|
201911: { },
|
|
202002: { },
|
|
202102: { },
|
|
202104: { twoHanded: true },
|
|
202111: { twoHanded: true },
|
|
202211: { twoHanded: true },
|
|
202201: { },
|
|
202212: { },
|
|
202209: { },
|
|
202306: { },
|
|
202311: { },
|
|
202403: { },
|
|
202404: { twoHanded: true },
|
|
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,
|
|
body,
|
|
eyewear,
|
|
head,
|
|
headAccessory,
|
|
shield,
|
|
weapon,
|
|
};
|