aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/firmament/gui
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-06-14 18:34:40 +0200
committerLinnea Gräf <nea@nea.moe>2024-06-14 18:34:40 +0200
commite4bd69a0569b4ccc49b9e4b89998220bf4bfe25a (patch)
tree2cb89c55c9c63cbb115cfeaff1848f301c9a461c /src/main/resources/assets/firmament/gui
parentcd1826a49822e7be0fb583e7b540270560fb657d (diff)
downloadFirmament-e4bd69a0569b4ccc49b9e4b89998220bf4bfe25a.tar.gz
Firmament-e4bd69a0569b4ccc49b9e4b89998220bf4bfe25a.tar.bz2
Firmament-e4bd69a0569b4ccc49b9e4b89998220bf4bfe25a.zip
Add shiny pig tracker
Diffstat (limited to 'src/main/resources/assets/firmament/gui')
-rw-r--r--src/main/resources/assets/firmament/gui/anniversary_pig.xml35
-rw-r--r--src/main/resources/assets/firmament/gui/pristine_profit.xml2
2 files changed, 36 insertions, 1 deletions
diff --git a/src/main/resources/assets/firmament/gui/anniversary_pig.xml b/src/main/resources/assets/firmament/gui/anniversary_pig.xml
new file mode 100644
index 0000000..eb83aa5
--- /dev/null
+++ b/src/main/resources/assets/firmament/gui/anniversary_pig.xml
@@ -0,0 +1,35 @@
+<?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"
+ xmlns:firm="http://firmament.nea.moe/moulconfig"
+>
+ <Column>
+ <Array data="@pigs">
+ <Row>
+ <Text text="Pig: "/>
+ <firm:Bar progress="@timeLeft" total="1" fillColor="#ffb6c1" emptyColor="#db7093"/>
+ </Row>
+ </Array>
+ <Text text="Profits:"/>
+ <Array data="@rewards">
+ <When condition="@isKnown">
+ <Row>
+ <Text text="@count"/>
+ <Text text="x "/>
+ <Text text="@name"/>
+ </Row>
+ <Row>
+ <Text text="Unknown reward: "/>
+ <Text text="@name"/>
+ </Row>
+ </When>
+ </Array>
+ </Column>
+</Root>
diff --git a/src/main/resources/assets/firmament/gui/pristine_profit.xml b/src/main/resources/assets/firmament/gui/pristine_profit.xml
index 2d69abb..5f9ea43 100644
--- a/src/main/resources/assets/firmament/gui/pristine_profit.xml
+++ b/src/main/resources/assets/firmament/gui/pristine_profit.xml
@@ -7,7 +7,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
-->
<Root xmlns="http://notenoughupdates.org/moulconfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:firm="http://nea.moe/Firmament"
+ xmlns:firm="http://firmament.nea.moe/moulconfig"
xsi:schemaLocation="http://notenoughupdates.org/moulconfig https://raw.githubusercontent.com/NotEnoughUpdates/MoulConfig/master/MoulConfig.xsd">
<Column>
<Row>