Skip to content

Commit f7f736a

Browse files
committed
add current pull count stuff to settings
1 parent 283baaf commit f7f736a

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

UI.lua

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,18 +223,19 @@ local KeyInfoBar = {
223223
}
224224
local KeyLevel = MPT:CreateTextSetting("Key Level", "KeyLevel", 2, true)
225225
local DungeonName = MPT:CreateTextSetting("Dungeon Name", "DungeonName", 3, true)
226+
DungeonName.args.Shorten = MPT:CreateRange(11, "Shorten", "Shorten Dungeon Name after X Characters", 5, 30, 1, {"DungeonName", "Shorten"}, true)
226227
local Affixes = MPT:CreateTextSetting("Affixes", "AffixIcons", 4, true)
227228
local Deaths = MPT:CreateTextSetting("Deaths", "DeathCounter", 5, true)
228229
local DeathIcon = {
229230
type = "group",
230231
name = "Death Icon",
231232
order = 6,
232233
args = {
233-
enabled = MPT:CreateToggle(1, "Enable", "Enable Death Icon", {"enabled", "Iconenabled"}, true),
234+
enabled = MPT:CreateToggle(1, "Enable", "Enable Death Icon", {"DeathCounter", "Iconenabled"}, true),
234235
iconAnchor = MPT:CreateDropDown(2, {["LEFT"] = "LEFT", ["RIGHT"] = "RIGHT", ["CENTER"] = "CENTER"}, "Anchor", "", {"DeathCounter", "IconAnchor"}, true),
235236
iconRelativeTo = MPT:CreateDropDown(3, {["LEFT"] = "LEFT", ["RIGHT"] = "RIGHT", ["CENTER"] = "CENTER"}, "Relative To", "", {"DeathCounter", "IconRelativeTo"}, true),
236-
xOffset = MPT:CreateRange(4, "X Offset", "X Offset of the Death Icon", -300, 300, 1, {"Icon XOffset", "IconxOffset"}, true),
237-
yOffset = MPT:CreateRange(5, "Y Offset", "Y Offset of the Death Icon", -300, 300, 1, {"Icon YOffset", "IconyOffset"}, true),
237+
xOffset = MPT:CreateRange(4, "X Offset", "X Offset of the Death Icon", -300, 300, 1, {"DeathCounter", "IconxOffset"}, true),
238+
yOffset = MPT:CreateRange(5, "Y Offset", "Y Offset of the Death Icon", -300, 300, 1, {"DeathCounter", "IconyOffset"}, true),
238239
}
239240
}
240241
local KeyInfo = {
@@ -382,9 +383,18 @@ local CurrentPullBar = {
382383
order = 6,
383384
args = {
384385
enabled = MPT:CreateToggle(1, "Enable", "Enable Current Pull Bar", {"CurrentPullBar", "enabled"}, true),
385-
Color = MPT:CreateColor(8, "Color", "Color of the Current Pull Bar", {"CurrentPullBar", "Color"}, true),
386-
texture = MPT:CreateDropDown(9, textureTable, "Texture", "", {"CurrentPullBar", "Texture"}, true),
387-
text = MPT:CreateToggle(10, "Show Text", "Show Text of the Current Pull", {"ForcesBar", "PullText"}, true),
386+
Color = MPT:CreateColor(2, "Color", "Color of the Current Pull Bar", {"CurrentPullBar", "Color"}, true),
387+
texture = MPT:CreateDropDown(3, textureTable, "Texture", "", {"CurrentPullBar", "Texture"}, true),
388+
Realenabled = MPT:CreateToggle(4, "RealCount Pull", "Show Current Pull Real Count", {"RealCount", "pullcount"}, true),
389+
Percentenabled = MPT:CreateToggle(5, "Percent Pull", "Show Current Pull Percent", {"PercentCount", "pullcount"}, true),
390+
Gap1 = MPT:CreateSpace(6),
391+
RealRemaining = MPT:CreateToggle(7, "RealCount Remaining", "Show Remaining Count instead of current Count for Current Pull", {"RealCount", "remaining"}, true),
392+
PercentRemaining = MPT:CreateToggle(8, "Percent Remaining", "Show Remaining Percent instead of current Percent for Current Pull", {"PercentCount", "remaining"}, true),
393+
Gap2 = MPT:CreateSpace(9),
394+
RealAfterPull = MPT:CreateToggle(10, "RealCount After Pull", "Show Count after Pull instead of how much you are gaining", {"RealCount", "afterPull"}, true),
395+
PercentAfterPull = MPT:CreateToggle(11, "Percent After Pull", "Show Percent after Pull instead of how much you are gaining", {"PercentCount", "afterPull"}, true),
396+
Gap3 = MPT:CreateSpace(12),
397+
RealTotalCount = MPT:CreateToggle(13, "Show Total", "Show Total Count needed", {"RealCount", "total"}, true),
388398
}
389399
}
390400
local EnemyForces = {

0 commit comments

Comments
 (0)