106 lines
13 KiB
Text
106 lines
13 KiB
Text
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
|
|
<Style src="project://database/Assets/UI/Styles/style1.uss?fileID=7433441132597879392&guid=97546bb1d1d93d84e9b4ef0c8ae11a0e&type=3#style1" />
|
|
<Style src="project://database/Assets/UI/Styles/Abilities.uss?fileID=7433441132597879392&guid=6b393637cabb3ce42bcdb2396af15f70&type=3#Abilities" />
|
|
<Style src="project://database/Assets/Dice.uss?fileID=7433441132597879392&guid=a485f2375ba46a046bbd6fd661492785&type=3#Dice" />
|
|
<Style src="project://database/Assets/UI/Styles/HealthBar.uss?fileID=7433441132597879392&guid=be54492010453064cb419a92c1c53a8d&type=3#HealthBar" />
|
|
<engine:VisualElement name="VisualElement" style="flex-grow: 1; right: auto; justify-content: space-between; align-items: flex-end; flex-direction: flex-start; align-self: stretch; flex-basis: initial; width: initial; flex-shrink: 0;">
|
|
<engine:VisualElement name="Right" style="flex-grow: 1; align-self: flex-end; max-width: none; justify-content: flex-end; flex-direction: row; right: auto; position: relative; align-items: auto; width: 20%;">
|
|
<engine:VisualElement name="HealthArea" class="border margin" style="flex-grow: 0; width: auto; height: auto; align-self: flex-start; align-items: stretch; background-color: rgb(192, 162, 112);">
|
|
<engine:VisualElement name="Area1" enabled="true" class="area inactive" style="background-color: rgb(21, 173, 0); flex-direction: column;">
|
|
<engine:Label text="0" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area2" class="area" style="background-color: rgb(37, 197, 5);">
|
|
<engine:Label text="0" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area3" class="area" style="background-color: rgb(148, 243, 0);">
|
|
<engine:Label text="-1" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area4" class="area" style="background-color: rgb(243, 238, 0);">
|
|
<engine:Label text="-2" tabindex="0" name="Label" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area5" class="area" style="background-color: rgb(243, 192, 0);">
|
|
<engine:Label text="-4" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area6" class="area" style="background-color: rgb(243, 157, 0);">
|
|
<engine:Label text="-6" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area7" class="area" style="background-color: rgb(243, 97, 0);">
|
|
<engine:Label text="-9" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area8" class="area" style="background-color: rgb(243, 44, 0);">
|
|
<engine:Label text="-12" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area9" class="area" style="background-color: rgb(204, 14, 0);">
|
|
<engine:Label text="-16" class="text" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Area10" style="flex-grow: 0; flex-shrink: 1; background-color: rgb(115, 8, 0); align-items: center; justify-content: center; margin-top: 2px; margin-right: 2px; margin-bottom: 2px; margin-left: 2px; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px; border-top-left-radius: 2px; border-top-right-radius: 2px; border-bottom-right-radius: 2px; border-bottom-left-radius: 2px;">
|
|
<engine:Label text="-20" class="text" />
|
|
<engine:VisualElement name="Skull" style="width: 40px; height: 40px; flex-shrink: 0; background-image: url("project://database/Assets/Sprites/Skull%20Cropped.png?fileID=2800000&guid=251a73d312e38e24d970c06b9ea50c5f&type=3#Skull Cropped"); -unity-background-scale-mode: stretch-to-fill; background-repeat: no-repeat no-repeat;" />
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Ribbon" class="margin" style="flex-grow: 0; flex-shrink: 1; width: auto; align-self: flex-start; flex-direction: column; align-items: stretch; justify-content: flex-start; flex-basis: auto; flex-wrap: nowrap; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0); border-top-width: 3px; border-right-width: 3px; border-bottom-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px;">
|
|
<engine:VisualElement name="Chest" style="flex-grow: 0; flex-shrink: 1; background-color: rgb(255, 200, 71); justify-content: flex-start; align-items: stretch; border-left-width: 3px;">
|
|
<engine:VisualElement name="HeartAndDiamond" style="flex-grow: 1; align-items: stretch; flex-shrink: 1; justify-content: space-between; border-bottom-width: 2px; border-left-color: rgb(0, 0, 0); border-right-color: rgb(0, 0, 0); border-top-color: rgb(0, 0, 0); border-bottom-color: rgb(0, 0, 0);">
|
|
<engine:VisualElement style="flex-grow: 0; flex-direction: row; flex-shrink: 1; justify-content: space-around;">
|
|
<engine:VisualElement name="ArmorAndShield" enabled="true" style="flex-grow: 0; background-image: url("project://database/Assets/Sprites/HeartAndDiamond.png?fileID=2800000&guid=a3052a5a54720ef4d98f96950d425fe8&type=3#HeartAndDiamond"); align-items: center; width: 100px; height: 100px; flex-shrink: 0; align-self: center;" />
|
|
</engine:VisualElement>
|
|
<engine:GroupBox name="HeartAndDiamondUses" style="flex-direction: row; align-items: stretch; justify-content: space-between; flex-shrink: 1; flex-grow: 0;">
|
|
<engine:Toggle name="Toggle" enabled="false" focusable="false" />
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
</engine:GroupBox>
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Torch" class="BottonLine" style="flex-grow: 1; align-items: stretch; justify-content: space-between;">
|
|
<engine:VisualElement name="VisualElement" style="flex-grow: 0; flex-direction: row; flex-shrink: 1; justify-content: space-around; align-items: stretch;">
|
|
<engine:VisualElement name="Key" style="flex-grow: 0; background-image: url("project://database/Assets/Sprites/Key.png?fileID=2800000&guid=99e2733a78fd7a543b2adc84e3d4d3b4&type=3#Key"); align-items: center; width: 50px; height: 50px; flex-shrink: 0; align-self: center; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px;" />
|
|
</engine:VisualElement>
|
|
<engine:GroupBox name="KeyUses" style="flex-direction: row; align-items: stretch; justify-content: space-around; flex-shrink: 1; flex-grow: 0;">
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
</engine:GroupBox>
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="BlackDice" class="BottonLine" style="flex-grow: 0; align-items: stretch; justify-content: space-between;">
|
|
<engine:VisualElement name="VisualElement" style="flex-grow: 0; flex-direction: row; flex-shrink: 1; justify-content: space-around;">
|
|
<engine:VisualElement name="BlackDie" style="flex-grow: 0; background-image: url("project://database/Assets/Sprites/No%20Edges.png?fileID=2800000&guid=982f0bccdf239df48af0a465f9ce7536&type=3#No Edges"); align-items: center; width: 50px; height: 50px; flex-shrink: 0; align-self: center; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px;" />
|
|
</engine:VisualElement>
|
|
<engine:GroupBox name="BlackDieUses" style="flex-direction: row; align-items: stretch; justify-content: space-between; flex-shrink: 1; flex-grow: 0;">
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
<engine:Toggle enabled="false" focusable="false" />
|
|
</engine:GroupBox>
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="BaseBlackDice" style="flex-grow: 0; background-color: rgb(59, 115, 40); align-items: stretch;">
|
|
<engine:VisualElement style="flex-grow: 0;">
|
|
<engine:VisualElement name="StartingBlackDie" style="flex-grow: 0; background-image: url("project://database/Assets/Sprites/No%20Edges.png?fileID=2800000&guid=982f0bccdf239df48af0a465f9ce7536&type=3#No Edges"); align-items: center; width: 50px; height: 50px; flex-shrink: 0; align-self: center; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px;" />
|
|
</engine:VisualElement>
|
|
<engine:VisualElement style="flex-grow: 1;">
|
|
<engine:GroupBox name="StartingBlackDieUses" style="flex-direction: row; align-items: stretch; justify-content: space-between; flex-shrink: 1; flex-grow: 0;">
|
|
<engine:Toggle focusable="false" enabled="true" picking-mode="Ignore" />
|
|
<engine:Toggle focusable="false" picking-mode="Ignore" />
|
|
<engine:Toggle focusable="false" picking-mode="Ignore" />
|
|
</engine:GroupBox>
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="Bottom" style="flex-grow: 0; flex-direction: row; flex-shrink: 1; height: auto; max-width: 100%; justify-content: flex-start; align-items: flex-end; align-self: stretch;">
|
|
<engine:VisualElement name="DiamondCountBox" class="border margin" style="flex-grow: 0; width: 106px; height: 50px; background-color: rgb(188, 188, 188); align-self: flex-end; flex-direction: row; justify-content: space-between;">
|
|
<engine:VisualElement name="Diamond" style="flex-grow: 0; background-image: url("project://database/Assets/Sprites/Loot/Crystal%20(1x1)%201.png?fileID=2800000&guid=12c75eb8a2e326b4e9c47b9f7cb06a2c&type=3#Crystal (1x1) 1"); height: 50px; width: 50px; flex-shrink: 0; align-self: center;" />
|
|
<engine:VisualElement style="flex-grow: 1; justify-content: center;">
|
|
<engine:Label text="0" name="DiamondCount" class="MenuText" style="-unity-text-align: middle-center; font-size: 38px;" />
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
<engine:VisualElement name="DiceRoller" style="flex-grow: 0; align-self: flex-end; flex-direction: row-reverse; position: absolute; bottom: 0; left: 0; right: 0; justify-content: center;">
|
|
<engine:Button text="Roll" name="RollPass" class="button MenuText" style="align-self: center; border-top-left-radius: 7px; border-top-right-radius: 7px; border-bottom-right-radius: 7px; border-bottom-left-radius: 7px; height: 50px; margin-left: 11px; margin-bottom: 3px; width: 106px;" />
|
|
<engine:GroupBox name="Dice" style="flex-direction: row; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; padding-left: 0;">
|
|
<engine:Button text="1" name="BlackDie" class="die black margin MenuText" />
|
|
<engine:Button text="1" enabled="true" class="die white used margin MenuText" />
|
|
<engine:Button text="1" class="die white margin MenuText" />
|
|
<engine:Button text="1" class="die white margin MenuText" />
|
|
<engine:Button text="1" class="die white margin MenuText" />
|
|
</engine:GroupBox>
|
|
</engine:VisualElement>
|
|
</engine:VisualElement>
|
|
</engine:UXML>
|