Skip to content

Commit 960a8b8

Browse files
authored
feature: Add royal reputation amount and limits for cosmetics
1 parent 90d580f commit 960a8b8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

schema.graphqls

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,13 @@ type Cosmetic {
583583
"If this cosmetic can be donated for Royal Reputation."
584584
canBeDonated: Boolean!
585585

586+
"""
587+
Information about the Royal Reputation this cosmetic provides.
588+
589+
This will be `null` if the cosmetic cannot be donated.
590+
"""
591+
royalReputation: RoyalReputation
592+
586593
"""
587594
The number of people who own this cosmetic.
588595
@@ -594,6 +601,15 @@ type Cosmetic {
594601
@spectaql(options: [{ key: "example", value: "1000+" }])
595602
}
596603

604+
"Information about the Royal Reputation for a cosmetic."
605+
type RoyalReputation {
606+
"The maximum number of donations that can be made for this cosmetic."
607+
donationLimit: Int!
608+
609+
"The amount of reputation that each donation provides."
610+
reputationAmount: Int!
611+
}
612+
597613
"Available queries."
598614
type Query {
599615
"Given a UUID, returns a Player if they have logged in to MCC Island."

0 commit comments

Comments
 (0)