mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
commit b7fb903dcab2dbdc55ddd27e9cbd8054f0d5e2a8
Author: SabreCat <sabe@habitica.com>
Date: Sat Aug 19 19:44:42 2023 -0500
fix(invites): add missing param
commit 30053cc8b86fc1992d872a068e60f3dd5a456a07
Author: SabreCat <sabe@habitica.com>
Date: Sat Aug 19 19:06:51 2023 -0500
fix(party): enforce size limit when using @-names
commit 62dd314cda4165bedbc6b490a8e2f21de87deaf4
Author: SabreCat <sabe@habitica.com>
Date: Sat Aug 19 19:01:15 2023 -0500
Revert "Revert "fix(parties): actual 30 not 29""
This reverts commit 63414a80fe.
41 lines
1.4 KiB
JavaScript
41 lines
1.4 KiB
JavaScript
export const MAX_HEALTH = 50;
|
|
export const MAX_LEVEL = 100;
|
|
export const MAX_STAT_POINTS = MAX_LEVEL;
|
|
export const MAX_LEVEL_HARD_CAP = 9999;
|
|
export const ATTRIBUTES = ['str', 'int', 'con', 'per'];
|
|
export const MAX_INCENTIVES = 500;
|
|
|
|
export const TAVERN_ID = '00000000-0000-4000-A000-000000000000';
|
|
export const LARGE_GROUP_COUNT_MESSAGE_CUTOFF = 5000;
|
|
export const MAX_SUMMARY_SIZE_FOR_GUILDS = 250;
|
|
export const MAX_SUMMARY_SIZE_FOR_CHALLENGES = 250;
|
|
export const MIN_SHORTNAME_SIZE_FOR_CHALLENGES = 3;
|
|
export const MAX_MESSAGE_LENGTH = 3000;
|
|
|
|
export const MAX_GIFT_MESSAGE_LENGTH = 200;
|
|
|
|
export const CHAT_FLAG_LIMIT_FOR_HIDING = 2; // hide posts that have this many flags
|
|
export const CHAT_FLAG_FROM_MOD = 5; // a flag from a moderator counts as this many flags
|
|
// a shadow-muted user's post starts with this many flags
|
|
export const CHAT_FLAG_FROM_SHADOW_MUTE = 10;
|
|
// @TODO use those constants to replace hard-coded numbers
|
|
|
|
export const SUPPORTED_SOCIAL_NETWORKS = [
|
|
{ key: 'google', name: 'Google' },
|
|
{ key: 'apple', name: 'Apple' },
|
|
];
|
|
|
|
export const GUILDS_PER_PAGE = 30; // number of guilds to return per page when using pagination
|
|
|
|
export const PARTY_LIMIT_MEMBERS = 30;
|
|
|
|
export const MINIMUM_PASSWORD_LENGTH = 8;
|
|
export const MAXIMUM_PASSWORD_LENGTH = 64;
|
|
|
|
export const TRANSFORMATION_DEBUFFS_LIST = {
|
|
snowball: 'salt',
|
|
spookySparkles: 'opaquePotion',
|
|
shinySeed: 'petalFreePotion',
|
|
seafoam: 'sand',
|
|
};
|