-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from NoobTaco/50-xiv-databar-integration-
- Loading branch information
Showing
13 changed files
with
186 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,9 +39,7 @@ luac.out | |
*.x86_64 | ||
*.hex | ||
|
||
<<<<<<< HEAD | ||
.vscode | ||
======= | ||
.vscode | ||
|
||
>>>>>>> 1.4.2 | ||
.editorconfig | ||
.pkgmeta | ||
.README.bbc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
local NoobTacoUI, E, L, V, P, G = unpack(select(2, ...)) | ||
|
||
function NoobTacoUI:XIV_Databar() | ||
-- Defaults On | ||
E.db["datatexts"]["panels"]["LeftChatDataPanel"]["enable"] = true | ||
E.db["datatexts"]["panels"]["RightChatDataPanel"]["enable"] = true | ||
|
||
-- Check if loaded | ||
if (C_AddOns.IsAddOnLoaded("XIV_Databar_Continued")) then | ||
-- Disable bottom data bars | ||
E.db["datatexts"]["panels"]["LeftChatDataPanel"]["enable"] = false | ||
E.db["datatexts"]["panels"]["RightChatDataPanel"]["enable"] = false | ||
|
||
-- Move lower UI elements up | ||
E.db["movers"]["LeftChatMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,4,30" | ||
E.db["movers"]["RightChatMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-4,30" | ||
|
||
E.db["databars"]["experience"]["height"] = 200 | ||
E.db["databars"]["reputation"]["height"] = 200 | ||
-- Experience and Reputation bars | ||
E.db["movers"]["ExperienceBarMover"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,505,30" | ||
E.db["movers"]["ReputationBarMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-505,30" | ||
-- Stance bar | ||
E.db["movers"]["ShiftAB"] = "BOTTOMLEFT,ElvUIParent,BOTTOMLEFT,514,30" | ||
-- Action bars | ||
E.db["movers"]["ElvAB_1"] = "BOTTOM,ElvUIParent,BOTTOM,0,30" | ||
E.db["movers"]["ElvAB_6"] = "BOTTOM,ElvUIParent,BOTTOM,0,66" | ||
E.db["movers"]["ElvAB_2"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-514,30" | ||
E.db["movers"]["ElvAB_3"] = "BOTTOM,ElvUIParent,BOTTOM,-285,30" | ||
E.db["movers"]["ElvAB_5"] = "BOTTOM,ElvUIParent,BOTTOM,285,30" | ||
-- Player castbar | ||
E.db["movers"]["ElvUF_PlayerCastbarMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,101" | ||
-- PowerBarContainerMover | ||
E.db["movers"]["PowerBarContainerMover"] = "BOTTOM,ElvUIParent,BOTTOM,0,105" | ||
|
||
print("XIV Databar Continued is loaded!") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
local NoobTacoUI, E, L, V, P, G = unpack(select(2, ...)) | ||
|
||
function NoobTacoUI:IntegrationBag() | ||
-- Defaults On | ||
E.private["bags"]["enable"] = true | ||
|
||
-- TODO: Add more bag mod checks | ||
if (C_AddOns.IsAddOnLoaded("Baganator")) then | ||
E.private["bags"]["enable"] = false | ||
print("Baganator is loaded. Disabling NoobTacoUI bag integration.") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
local NoobTacoUI, E, L, V, P, G = unpack(select(2, ...)) | ||
|
||
function NoobTacoUI:SetupIntegration(layout, wowver) | ||
NoobTacoUI:IntegrationBag() | ||
NoobTacoUI:XIV_Databar() | ||
end | ||
|
||
-- TODO: Cell integration code goes here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<Ui xmlns="http://www.blizzard.com/wow/ui/"> | ||
<Script file="integrations.lua"/> | ||
<Script file="bags/bags.lua"/> | ||
<Script file="XIV_Databar/XIV_Databar.lua"/> | ||
|
||
</Ui> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.