Skip to content

Commit

Permalink
fix: move breathing bar above hunger bar when Hunger is active (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedation authored Nov 2, 2021
1 parent a69ac46 commit 1869c54
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
{
"id": "Inventory",
"minVersion": "1.1.0"
},
{
"id": "Breathing",
"optional": true
}
],
"isLibrary": true,
Expand Down
28 changes: 28 additions & 0 deletions overrides/Breathing/ui/Breathing.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"type": "BreathingBar",
"skin": "HUD",
"contents": {
"type": "relativeLayout",
"contents": [
{
"type": "UIIconBar",
"id": "breathBar",
"icon": "CoreAssets:icons#bubble",
"family": "breathBar",
"emptyIcon": "CoreAssets:icons#burstBubble",
"halfIconMode": "shrink",
"spacing": 2,
"maxIcons": 10,
"layoutInfo": {
"use-content-width": true,
"use-content-height": true,
"position-horizontal-center": {},
"position-bottom": {
"target": "BOTTOM",
"offset": 102
}
}
}
]
}
}

0 comments on commit 1869c54

Please sign in to comment.