mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
* create new summary field for challenges * finish implementating summary for challenges, add some support for guilds * make small improvements to challenges code * fix lint errors * add more code to support summaries for guilds (still more needed) * fix existing tests by adding summary field * make existing tests pass * WIP make "Public Challenges" text translatable * change "leader" locale key to "guildOrPartyLeader" to make searches for it easier * remove v-once from h2 headings * remove failed attempt to localise text in <script> * add quick-and-dirty error checking for guild not having categories * make "Public Challenges" text translatable * rename final ...PlaceHolder strings to ...Placeholder (lower-case "h") for consistency with existing Placeholder strings
21 lines
723 B
JavaScript
21 lines
723 B
JavaScript
export const MAX_HEALTH = 50;
|
|
export const MAX_LEVEL = 100;
|
|
export const MAX_STAT_POINTS = MAX_LEVEL;
|
|
export const ATTRIBUTES = ['str', 'int', 'per', 'con'];
|
|
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 = 500;
|
|
export const MAX_SUMMARY_SIZE_FOR_CHALLENGES = 250;
|
|
export const MIN_SHORTNAME_SIZE_FOR_CHALLENGES = 3;
|
|
|
|
export const SUPPORTED_SOCIAL_NETWORKS = [
|
|
{key: 'facebook', name: 'Facebook'},
|
|
{key: 'google', name: 'Google'},
|
|
];
|
|
|
|
export const GUILDS_PER_PAGE = 30; // number of guilds to return per page when using pagination
|
|
|
|
export const PARTY_LIMIT_MEMBERS = 30;
|