diff options
author | mat <github@matdoes.dev> | 2022-03-21 20:20:17 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-03-21 20:20:17 -0500 |
commit | dfb5b8dce49ab268df945e29441bd57ab5a8d15a (patch) | |
tree | bdd6523b5a4c2a7b701d5dbc69d948b72b809fb9 /src/lib/minecraft/inventory.ts | |
parent | 9850eb69b6d0c9b7742145dd8be481d064d3f82e (diff) | |
download | skyblock-stats-dfb5b8dce49ab268df945e29441bd57ab5a8d15a.tar.gz skyblock-stats-dfb5b8dce49ab268df945e29441bd57ab5a8d15a.tar.bz2 skyblock-stats-dfb5b8dce49ab268df945e29441bd57ab5a8d15a.zip |
show personal vault icon when it's the only inv
Diffstat (limited to 'src/lib/minecraft/inventory.ts')
-rw-r--r-- | src/lib/minecraft/inventory.ts | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/lib/minecraft/inventory.ts b/src/lib/minecraft/inventory.ts index 9c78259..563e96a 100644 --- a/src/lib/minecraft/inventory.ts +++ b/src/lib/minecraft/inventory.ts @@ -34,6 +34,67 @@ const INVENTORIES = { personal_vault: 'personal_vault_contents' } +export const inventoryIconMap: Record<string, string | Item> = { + inventory: { + id: 'SKYBLOCK_MENU', + vanillaId: 'nether_star', + display: { name: 'SkyBlock Menu' }, + }, + ender_chest: { + vanillaId: 'ender_chest', + display: { name: '\\u00a7aEnder Chest' }, + }, + talisman_bag: { + vanillaId: 'skull:3', + display: { name: 'Accessory Bag' }, + headTexture: '961a918c0c49ba8d053e522cb91abc74689367b4d8aa06bfc1ba9154730985ff', + }, + potion_bag: { + vanillaId: 'skull:3', + display: { name: 'Potion Bag' }, + headTexture: '9f8b82427b260d0a61e6483fc3b2c35a585851e08a9a9df372548b4168cc817c', + }, + fishing_bag: { + vanillaId: 'skull:3', + display: { name: 'Fishing Bag' }, + headTexture: 'eb8e297df6b8dffcf135dba84ec792d420ad8ecb458d144288572a84603b1631', + }, + quiver: { + vanillaId: 'skull:3', + display: { + name: 'Quiver', + }, + headTexture: '4cb3acdc11ca747bf710e59f4c8e9b3d949fdd364c6869831ca878f0763d1787', + }, + wardrobe: { + vanillaId: 'leather_chestplate', + display: { + name: '\\u00a7aWardrobe', + }, + }, + trick_or_treat_bag: { + vanillaId: 'skull:3', + display: { + name: 'Trick or Treat Bag', + }, + headTexture: 'e50f712e877dfd910c97f3819a200a05d49ee6b83b592686e099b9ecd443f228', + }, + personal_vault: { + vanillaId: 'iron_door', + display: { + lore: [ + '§7Store your valuable items in a', + '§7safe place that only you can', + '§7access!', + '', + '§eClick to view!', + ], + name: '§aPersonal Vault', + }, + }, +} + + export type Inventories = { [name in keyof typeof INVENTORIES]: Item[] } export function itemToUrl(item: Item, pack?: skyblockAssets.MatcherFile): string { |