Module:CosmeticInfo/Data/doc: Difference between revisions
From MCC Island Wiki
More actions
No edit summary |
updated for the RoyalReputation type now that it works |
||
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