From 9850eb69b6d0c9b7742145dd8be481d064d3f82e Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 21 Mar 2022 20:16:02 -0500 Subject: Add personal vault --- src/lib/sections/Inventories.svelte | 53 ++++++++++++++++++++++++------------- 1 file changed, 34 insertions(+), 19 deletions(-) (limited to 'src/lib/sections/Inventories.svelte') diff --git a/src/lib/sections/Inventories.svelte b/src/lib/sections/Inventories.svelte index e570cc7..6d5ff71 100644 --- a/src/lib/sections/Inventories.svelte +++ b/src/lib/sections/Inventories.svelte @@ -58,28 +58,43 @@ }, 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', + }, + }, } -
- {#each displayingInventories as inventoryName} - - {/each} -
+{#if displayingInventories.length > 1} +
+ {#each displayingInventories as inventoryName} + + {/each} +
+{/if} {#each displayingInventories as inventoryName} {#if inventoryName === selectedInventoryName}
-- cgit