Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Accessory bag storage and other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed May 15, 2022
1 parent 1afd955 commit fe06e0e
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typed-hypixel-api",
"version": "1.3.1",
"version": "1.4.0",
"main": "build/index.js",
"types": "build/index.d.js",
"repository": "https://github.com/skyblockstats/typed-hypixel-api.git",
Expand Down
2 changes: 2 additions & 0 deletions src/responses/resources/quests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export interface QuestsResponse {
| 'SkyClashCardPackReward'
| 'PitGold'
| 'BedwarsExpReward'
| 'WoolWarsWoolReward'
| 'WoolWarsExpReward'
amount: number
}[]
objectives: ({
Expand Down
2 changes: 1 addition & 1 deletion src/responses/resources/skyblock/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export interface SkyBlockItemsResponse {
level: number
}
dungeon_completion?: {
type: 'CATACOMBS'
type: 'CATACOMBS' | 'MASTER_CATACOMBS'
tier: number
}
/**
Expand Down
29 changes: 29 additions & 0 deletions src/responses/skyblock/_profile_member.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,35 @@ export interface SkyBlockProfileMember {
forge_1?: Record<number, ForgeProcess>
}
}
/** Extra information about the user's accessory bag upgrades and powers. */
accessory_bag_storage?: {
/** The member's tuning templates. https://wiki.hypixel.net/Powers#Tuning_Templates */
tuning: {
/**
* A tuning template. This is formatted as a record of stat ids to
* their upgraded value, for example { strength: 104 }.
* You can find more info at https://wiki.hypixel.net/Powers#Tuning_Templates
*/
[key: `slot_${number}`]: Record<string, number>
/**
* The number of extra tuning templates unlocked. For
* example, if this is 2, `slot_0`, `slot_1`, and `slot_2` will be
* in `tuning`. If this is missing, you can assume it's 0.
*/
highest_unlocked_slot?: number
}
/**
* The number of times the player has bought extra slots for their
* accessory bag. The unofficial wiki contains a table of the extra
* slots you gain per purchase.
* https://hypixel-skyblock.fandom.com/wiki/Accessory_Bag
*/
bag_upgrades_purchased?: number
/** The prefix of the active power stone. Power stones give you extra stats. */
selected_power?: string
/** The prefixes of the power stones that the member has unlocked. */
unlocked_powers?: string[]
}
unlocked_coll_tiers?: string[]
sacks_counts?: Record<string, number>

Expand Down

0 comments on commit fe06e0e

Please sign in to comment.