From e15406e22ef65b4933274df791632b6c17f594be Mon Sep 17 00:00:00 2001 From: nea Date: Sat, 28 Oct 2023 03:36:11 +0200 Subject: Add Inventory Buttons --- .../firmament/gui/button_editor_fragment.xml | 32 +++++++++++++++++++++ .../resources/assets/firmament/lang/en_us.json | 4 +++ .../gui/sprites/inventory_button_background.png | Bin 0 -> 635 bytes .../inventory_button_background.png.license | 3 ++ 4 files changed, 39 insertions(+) create mode 100644 src/main/resources/assets/firmament/gui/button_editor_fragment.xml create mode 100644 src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png create mode 100644 src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png.license (limited to 'src/main/resources/assets/firmament') diff --git a/src/main/resources/assets/firmament/gui/button_editor_fragment.xml b/src/main/resources/assets/firmament/gui/button_editor_fragment.xml new file mode 100644 index 0000000..2992825 --- /dev/null +++ b/src/main/resources/assets/firmament/gui/button_editor_fragment.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/assets/firmament/lang/en_us.json b/src/main/resources/assets/firmament/lang/en_us.json index 4e68efe..4d00d4d 100644 --- a/src/main/resources/assets/firmament/lang/en_us.json +++ b/src/main/resources/assets/firmament/lang/en_us.json @@ -61,6 +61,10 @@ "firmament.config.fishing-warning.display-warning": "Display a warning when you are about to hook a fish", "firmament.config.fishing-warning.highlight-wake-chain": "Highlight fishing particles", "firmament.protectitem": "Firmament protected your item: ", + "firmament.inventory-buttons.save-preset": "Save Preset", + "firmament.inventory-buttons.load-preset": "Load Preset", + "firmament.inventory-buttons.import-failed": "One of your buttons could only be imported partially", + "firmament.config.inventory-buttons": "One of your buttons could only be imported partially", "firmament.recipe.forge.time": "Forging Time: %s", "firmament.pv.skills": "Skills", "firmament.pv.skills.farming": "Farming", diff --git a/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png b/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png new file mode 100644 index 0000000..3e1e769 Binary files /dev/null and b/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png differ diff --git a/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png.license b/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png.license new file mode 100644 index 0000000..c01d463 --- /dev/null +++ b/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2023 Linnea Gräf + +SPDX-License-Identifier: CC0-1.0 -- cgit