aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/firmament/gui/anniversary_pig.xml
blob: eb83aa5a1ad9a45aa7307cc4e8a6633e71bca06c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>