Module:CosmeticInfo/Data/doc: Difference between revisions
From MCC Island Wiki
More actions
Created page with "This page contains data taken from the API, for use by the main module page. All values are as follows (also documented [https://api.mccisland.net/docs#definition-Cosmetic here]): * <code>name</code> - The name of the cosmetic. * <code>description</code> - The description of the cosmetic. * <code>type</code> - The type/category of cosmetic the cosmetic belongs to. * <code>collection</code> - The collection this cosmetic is in. * <code>rarity</cod..." |
updated for the RoyalReputation type now that it works |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
* <code>name</code> - The name of the cosmetic. | * <code>name</code> - The name of the cosmetic. | ||
* <code>description</code> - The description of the cosmetic. | * <code>description</code> - The description of the cosmetic. | ||
* <code> | * <code>category</code> - The category the cosmetic is in. | ||
* <code>collection</code> - The collection this cosmetic is in. | * <code>collection</code> - The collection this cosmetic is in. | ||
* <code>rarity</code> - The rarity of the cosmetic. | * <code>rarity</code> - The rarity of the cosmetic. | ||
Line 13: | Line 13: | ||
** This will be <code>nil</code> if the cosmetic does not award any trophies. | ** This will be <code>nil</code> if the cosmetic does not award any trophies. | ||
* <code>canBeDonated</code> - If this cosmetic can be donated for Royal Reputation. | * <code>canBeDonated</code> - If this cosmetic can be donated for Royal Reputation. | ||
* If <code>canBeDonated</code> is true, | |||
** <code>donationLimit</code> - The maximum number of donations that can be made for this cosmetic. | |||
** <code>reputationAmount</code> - The amount of reputation that each donation provides. | |||
* <code>globalNumberOwned</code> - The number of people who own this cosmetic. | * <code>globalNumberOwned</code> - The number of people who own this cosmetic. | ||
** The exact number is only displayed if fewer than 1000 players own this cosmetic. Otherwise, either 1000+ or 10000+ will be given, indicating the real value is higher than this number. Some cosmetics are excluded from ownership reporting, for these cosmetics it will be <code>nil</code>. | ** The exact number is only displayed if fewer than 1000 players own this cosmetic. Otherwise, either 1000+ or 10000+ will be given, indicating the real value is higher than this number. Some cosmetics are excluded from ownership reporting, for these cosmetics it will be <code>nil</code>. |
Latest revision as of 11:44, 17 July 2025
This page contains data taken from the API, for use by the main module page.
All values are as follows (also documented here):
name
- The name of the cosmetic.description
- The description of the cosmetic.category
- The category the cosmetic is in.collection
- The collection this cosmetic is in.rarity
- The rarity of the cosmetic.colorable
- If this cosmetic can be colored using Chroma Packs.trophies
- The number of trophies this cosmetic awards.- Note that this does not include the completion bonus for applying all Chroma Packs to the cosmetic.
isBonusTrophies
- If this cosmetic awards bonus trophies.- This will be
nil
if the cosmetic does not award any trophies.
- This will be
canBeDonated
- If this cosmetic can be donated for Royal Reputation.- If
canBeDonated
is true,donationLimit
- The maximum number of donations that can be made for this cosmetic.reputationAmount
- The amount of reputation that each donation provides.
globalNumberOwned
- The number of people who own this cosmetic.- The exact number is only displayed if fewer than 1000 players own this cosmetic. Otherwise, either 1000+ or 10000+ will be given, indicating the real value is higher than this number. Some cosmetics are excluded from ownership reporting, for these cosmetics it will be
nil
.
- The exact number is only displayed if fewer than 1000 players own this cosmetic. Otherwise, either 1000+ or 10000+ will be given, indicating the real value is higher than this number. Some cosmetics are excluded from ownership reporting, for these cosmetics it will be