aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/firmament
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-10-28 03:36:11 +0200
committerLinnea Gräf <nea@nea.moe>2023-11-12 09:35:33 +0100
commite15406e22ef65b4933274df791632b6c17f594be (patch)
treee1625c713bf95e9f0cb65dfe9a7c9b9ceaa46402 /src/main/resources/assets/firmament
parent47fbb25ab280b6af9496780672780db78fe36f27 (diff)
downloadfirmament-e15406e22ef65b4933274df791632b6c17f594be.tar.gz
firmament-e15406e22ef65b4933274df791632b6c17f594be.tar.bz2
firmament-e15406e22ef65b4933274df791632b6c17f594be.zip
Add Inventory Buttons
Diffstat (limited to 'src/main/resources/assets/firmament')
-rw-r--r--src/main/resources/assets/firmament/gui/button_editor_fragment.xml32
-rw-r--r--src/main/resources/assets/firmament/lang/en_us.json4
-rw-r--r--src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.pngbin0 -> 635 bytes
-rw-r--r--src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png.license3
4 files changed, 39 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+
+SPDX-License-Identifier: GPL-3.0-or-later
+-->
+
+<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd">
+ <Panel>
+ <Column>
+ <Row>
+ <ItemStack value="@getItemIcon"/>
+ <Text text="Icon"/>
+ </Row>
+ <Hover lines="Put your display item in here.;Can be any SkyBlock item id.">
+ <TextField value="@icon" width="180"/>
+ </Hover>
+ <Text text="Command"/>
+ <Hover lines="Put the command in here.;The text box should not start with a /">
+ <Row>
+ <Text text="/"/>
+ <TextField value="@command" width="180"/>
+ </Row>
+ </Hover>
+ <Button onClick="@delete">
+ <Text text="Delete"/>
+ </Button>
+ </Column>
+ </Panel>
+</Root>
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
--- /dev/null
+++ b/src/main/resources/assets/firmament/textures/gui/sprites/inventory_button_background.png
Binary files 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 <nea@nea.moe>
+
+SPDX-License-Identifier: CC0-1.0