diff options
author | Linnea Gräf <nea@nea.moe> | 2024-08-07 21:34:16 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-08-07 21:34:16 +0200 |
commit | b4f9ca21ef801bb3e39c53ae21bb6bf4398c94e9 (patch) | |
tree | 1f7928e5587b6d4d7ca071949f0a70bf81282c14 /src/main/resources | |
parent | 9b277bd897490d13ee4549a086e8d1b5f4cd0e10 (diff) | |
download | firmament-b4f9ca21ef801bb3e39c53ae21bb6bf4398c94e9.tar.gz firmament-b4f9ca21ef801bb3e39c53ae21bb6bf4398c94e9.tar.bz2 firmament-b4f9ca21ef801bb3e39c53ae21bb6bf4398c94e9.zip |
Add /firm npcs command
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/assets/firmament/gui/npc_waypoints.xml | 42 | ||||
-rw-r--r-- | src/main/resources/assets/firmament/textures/gui/waypoint_selected.png | bin | 0 -> 225 bytes | |||
-rw-r--r-- | src/main/resources/assets/firmament/textures/gui/waypoint_unselected.png | bin | 0 -> 217 bytes |
3 files changed, 42 insertions, 0 deletions
diff --git a/src/main/resources/assets/firmament/gui/npc_waypoints.xml b/src/main/resources/assets/firmament/gui/npc_waypoints.xml new file mode 100644 index 0000000..a71e899 --- /dev/null +++ b/src/main/resources/assets/firmament/gui/npc_waypoints.xml @@ -0,0 +1,42 @@ +<?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:firm="http://firmament.nea.moe/moulconfig"> + <Center> + <Panel background="VANILLA" insets="5"> + <Column> + <Center> + <TextField value="@search" width="200"/> + </Center> + <firm:Tick tick="@tick"/> + <Spacer height="5"/> + <Panel background="TRANSPARENT" insets="4"> + <ScrollPanel width="200" height="300"> + <Array data="@results"> + <Row> + <Text text="@name" width="180"/> + <firm:Hover lines="Click to set this waypoint as your destination;Shift-Click to warp to the nearest warp point and set this as your destination"> + <firm:Button onClick="@click" noBackground="true"> + <When condition="@isSelected"> + <firm:Image resource="firmament:textures/gui/waypoint_selected.png" + width="16" + height="16"/> + <firm:Image resource="firmament:textures/gui/waypoint_unselected.png" + width="16" + height="16"/> + </When> + </firm:Button> + </firm:Hover> + </Row> + </Array> + </ScrollPanel> + </Panel> + </Column> + </Panel> + </Center> +</Root> diff --git a/src/main/resources/assets/firmament/textures/gui/waypoint_selected.png b/src/main/resources/assets/firmament/textures/gui/waypoint_selected.png Binary files differnew file mode 100644 index 0000000..80108ad --- /dev/null +++ b/src/main/resources/assets/firmament/textures/gui/waypoint_selected.png diff --git a/src/main/resources/assets/firmament/textures/gui/waypoint_unselected.png b/src/main/resources/assets/firmament/textures/gui/waypoint_unselected.png Binary files differnew file mode 100644 index 0000000..3c47e75 --- /dev/null +++ b/src/main/resources/assets/firmament/textures/gui/waypoint_unselected.png |