Add shiny pig tracker

This commit is contained in:
Linnea Gräf
2024-06-14 18:34:40 +02:00
parent cd1826a498
commit e4bd69a056
17 changed files with 548 additions and 6 deletions

View File

@@ -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>

View File

@@ -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>